流程相关-分公司项目部新增

This commit is contained in:
lSun 2024-10-23 09:28:18 +08:00
parent 9c6cdb4774
commit 23725b96a3
1 changed files with 8 additions and 5 deletions

View File

@ -51,20 +51,23 @@
<el-table-column label="人员名称" align="center" prop="userName" :show-overflow-tooltip="true"/> <el-table-column label="人员名称" align="center" prop="userName" :show-overflow-tooltip="true"/>
<el-table-column label="审批状态" align="center" prop="reviewerStatus" :show-overflow-tooltip="true"> <el-table-column label="审批状态" align="center" prop="reviewerStatus" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.reviewerStatus == 0">待审核</span> <span v-if="scope.row.userName == null "></span>
<span v-else-if="scope.row.reviewerStatus == 1">已审核</span> <span v-else-if="scope.row.reviewerStatus == 0 ">待审核</span>
<span v-else-if="scope.row.reviewerStatus == 2">未通过</span> <span v-else-if="scope.row.reviewerStatus == 1 ">已审核</span>
<span v-else-if="scope.row.reviewerStatus == 2 ">未通过</span>
<span v-else></span>
</template> </template>
</el-table-column> </el-table-column>
<!-- v-hasPermi="['dept:role:edit']"--> <!-- v-hasPermi="['dept:role:edit']"-->
<!-- v-if="scope.row.reviewerStatus == null"-->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
v-if="scope.row.reviewerStatus == null" v-if="scope.row.userName == null"
@click="handleAllocation(scope.row)" @click="handleAllocation(scope.row)"
v-hasPermi="['dept:role:edit']" v-hasPermi="['dept:role:edit']"
>分配人员 >分配人员
@ -73,7 +76,7 @@
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
v-if="scope.row.reviewerStatus == 1 || scope.row.reviewerStatus == 2" v-if="scope.row.userName != null"
@click="handleChange(scope.row)" @click="handleChange(scope.row)"
v-hasPermi="['dept:role:edit']" v-hasPermi="['dept:role:edit']"
>人员变更 >人员变更