From bb455cebea17349a2f5ed0d4e86eac3905b24585 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Mon, 26 Sep 2022 17:19:35 +0800
Subject: [PATCH] '修改'
---
src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue b/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
index 3661acc..f817e86 100644
--- a/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
+++ b/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
});
}
},
--
Gitblit v1.9.2