From 17bc12d7414dedab9d8eb60794603e61e8cce01e Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Tue, 25 Oct 2022 17:20:35 +0800
Subject: [PATCH] '更新'
---
src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue b/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
index f817e86..ad440aa 100644
--- a/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
+++ b/src/views/specialWorkManage/workFlow/approveRule/components/approveLevelDialog.vue
@@ -14,10 +14,17 @@
</el-select>
</el-form-item>
</el-col>
+ <el-col :span="24" v-if="approveLevelForm.type === 2">
+ <el-form-item label="审批类型" prop="auditType">
+ <el-select v-model="approveLevelForm.auditType" placeholder="请选择审批类型" class="input-add">
+ <el-option v-for="item in auditTypeList" :key="item.id" :value="item.id" :label="item.name"></el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
<el-col :span="24">
<el-form-item label="审批人" prop="unitList">
<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-option v-for="item in userList" :key="item.id" :value="item.id" :label="item.realname + '(' + item.username.toString().replace(/^(\d{3})\d{4}(\d{4})$/,'$1****$2') + ')'"></el-option>
</el-select>
</el-form-item>
</el-col>
@@ -110,6 +117,7 @@
stepName: null,
stepSerial: null,
type: null,
+ auditType: null,
continueTime: null,
continueTimeUnit: null,
unitList: [],
@@ -118,6 +126,7 @@
approveLevelFormRule: {
stepName: [{ required: true, message: '请填写层次名称', trigger: 'blur' }],
type: [{ required: true, message: '请选择审批层级', trigger: 'change' }],
+ auditType: [{ required: true, message: '请选择审批类型', trigger: 'change' }],
unitList: [{ required: true, message: '请选择审批人', trigger: 'change' }],
continueTime: [{ required: true, message: '请填写有效时间', trigger: 'blur' }]
},
@@ -132,6 +141,10 @@
{ id: 1, name: '单人' },
{ id: 2, name: '多人' },
{ id: 3, name: '分析人' }
+ ],
+ auditTypeList: [
+ { id: 1, name: '单审' },
+ { id: 2, name: '会审' },
],
approveTypeList: [
{ id: 1, name: '数值' },
@@ -161,6 +174,7 @@
stepName: null,
stepSerial: null,
type: null,
+ auditType: null,
continueTime: null,
continueTimeUnit: null,
unitList: [],
--
Gitblit v1.9.2