Your Name
2022-09-26 bb455cebea17349a2f5ed0d4e86eac3905b24585
src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
@@ -16,7 +16,7 @@
                </el-col>
                <el-col :span="24">
                    <el-form-item label="审批人" prop="unitList">
                        <el-select v-model="approveLevelForm.unitList" multiple placeholder="请选择审批人" class="input-add">
                        <el-select v-model="approveLevelForm.unitList" multiple placeholder="请选择审批人" class="input-add" clearable filterable>
                            <el-option v-for="item in userList" :key="item.id" :value="item.id" :label="item.realname"></el-option>
                        </el-select>
                    </el-form-item>
@@ -33,7 +33,6 @@
                    </el-form-item>
                </el-col>
                <div class="checkUnit-point">
                            <div class="filter-container">
                                <el-button size="default" type="primary" @click="openApproveActionDialog('新增', '', 0)">
                                    <el-icon>
@@ -47,7 +46,7 @@
                                <el-table-column property="itemName" label="审批项名称" show-overflow-tooltip> </el-table-column>
                                <el-table-column property="type" label="审批项类型" show-overflow-tooltip>
                                    <template slot-scope="scope">
                                        <div v-for="item in typeList">
                                        <div v-for="item in approveTypeList">
                                            <div v-if="scope.row.type === item.id">
                                                <span>{{item.name}}</span>
                                            </div>
@@ -67,7 +66,7 @@
                                    <template slot-scope="scope">
                                        <div v-for="item in standardList">
                                            <div v-if="scope.row.standId === item.ruleStandId">
                                                <span>{{item.text}}</span>
                                                <span>{{item.ruleStandTypeDesc}}</span>
                                            </div>
                                        </div>
                                    </template>
@@ -133,6 +132,11 @@
                { id: 1, name: '单人' },
                { id: 2, name: '多人' },
                { id: 3, name: '分析人' }
            ],
            approveTypeList: [
                { id: 1, name: '数值' },
                { id: 2, name: '选项' },
                { id: 3, name: '填空' }
            ],
            workLevelList: [],
            actionList: [],
@@ -202,7 +206,6 @@
        },
        achieveApprovalItem(value, title, index) {
            debugger
            if (title === '新增审批项') {
                this.approveLevelForm.itemList.push(value);
            } else {
@@ -222,7 +225,7 @@
            } else {
                this.$message({
                    type: 'warning',
                    message: res.data.msg
                    message: res.data.message
                });
            }
        },
@@ -234,7 +237,7 @@
            } else {
                this.$message({
                    type: 'warning',
                    message: res.data.msg
                    message: res.data.message
                });
            }
        },