From 0dac7ba33f77342d2a9a1392c820d10d3b72d76c Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期三, 28 九月 2022 16:02:47 +0800
Subject: [PATCH] '修改'

---
 src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue b/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue
index 24d4154..8d9185e 100644
--- a/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue
+++ b/src/views/specialWorkSystem/workFlow/approveRule/components/approveLevelDialog.vue
@@ -14,6 +14,13 @@
                         </el-select>
                     </el-form-item>
                 </el-col>
+                <el-col :span="24" style="margin-bottom: 24px" 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" style="margin-bottom: 24px">
                     <el-form-item label="审批人" prop="unitList">
                         <el-select v-model="approveLevelForm.unitList" multiple placeholder="请选择审批人" class="input-add">
@@ -104,6 +111,7 @@
     userList: [];
     timeList: Array<type>;
     typeList: Array<type>;
+    auditTypeList: Array<type>;
     approveTypeList: Array<type>;
     workLevelList: [];
     standardList: Array<stand>;
@@ -122,6 +130,7 @@
     stepName: null;
     stepSerial: number | null;
     type: number | null;
+    auditType: number | null;
     continueTime: number | null;
     continueTimeUnit: number | null;
     unitList: Array<personType>;
@@ -150,6 +159,7 @@
                 stepName: null,
                 stepSerial: null,
                 type: null,
+                auditType: null,
                 continueTime: null,
                 continueTimeUnit: null,
                 unitList: [],
@@ -158,6 +168,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' }]
             },
@@ -172,6 +183,10 @@
                 { id: 1, name: '单人' },
                 { id: 2, name: '多人' },
                 { id: 3, name: '分析人' }
+            ],
+            auditTypeList: [
+                { id: 0, name: '单审' },
+                { id: 1, name: '会审' },
             ],
             approveTypeList: [
                 { id: 1, name: '数值' },
@@ -196,6 +211,7 @@
                     stepName: null,
                     stepSerial: null,
                     type: null,
+                    auditType: null,
                     continueTime: null,
                     continueTimeUnit: null,
                     unitList: [],

--
Gitblit v1.9.2