From 7f98d8bf975e89b8ced554916d3a46739f5275d3 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期二, 24 十月 2023 18:44:39 +0800
Subject: [PATCH] 问题修改

---
 src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
index 9745f0c..94377f6 100644
--- a/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
+++ b/src/views/eam/modules/operationCertificateApply/OperationCertificateApplyForm.vue
@@ -6,7 +6,7 @@
         <a-row>
           <a-col :span='12'>
             <a-form-model-item label='鐢宠鍗曠紪鍙�' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='num'>
-              <a-input v-model='model.num' placeholder='璇疯緭鍏ョ敵璇峰崟缂栧彿'></a-input>
+              <a-input v-model='model.num' placeholder="灏嗙敱绯荤粺鐢熸垚"></a-input>
             </a-form-model-item>
           </a-col>
           <a-col :span='12'>
@@ -28,6 +28,12 @@
             <a-form-model-item label='鐢宠浜�' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='applicant'>
               <j-dict-select-tag type='list' v-model='model.applicant' dictCode='sys_user,realname,id'
                                  placeholder='璇烽�夋嫨鐢宠浜�' disabled />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span='12'>
+            <a-form-model-item label='鍔炵悊浜�' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='handlePerson'>
+              <j-dict-select-tag type='list' v-model='model.handlePerson' dictCode='sys_user,realname,id'
+                                 placeholder='璇烽�夋嫨鍔炵悊浜�'  />
             </a-form-model-item>
           </a-col>
           <a-col :span='12'>
@@ -99,9 +105,9 @@
       // 鏂板鏃跺瓙琛ㄩ粯璁ゆ坊鍔犲嚑琛岀┖鏁版嵁
       addDefaultRowNum: 1,
       validatorRules: {
-        num: [
-          { required: true, message: '璇疯緭鍏ョ敵璇峰崟缂栧彿!' }
-        ],
+        // num: [
+        //   { required: true, message: '璇疯緭鍏ョ敵璇峰崟缂栧彿!' }
+        // ],
         auditStatus: [
           { required: true, message: '璇疯緭鍏ュ鏍哥姸鎬�!' }
         ]
@@ -153,7 +159,7 @@
             validateRules: [{ required: true, message: '${title}涓嶈兘涓虹┖' }]
           },
           {
-            title: '琛ュ姙鍘熷洜',
+            title: '鐢宠/琛ュ姙鍘熷洜',
             key: 'replaceReason',
             type: JVXETypes.input,
             width: '200px',
@@ -189,8 +195,8 @@
           {
             title: '鑰冭瘯缁撹',
             key: 'examinationConclusion',
-            type: JVXETypes.checkbox,
-            customValue: ['Y', 'N'],
+            type: JVXETypes.select,
+            dictCode:'examination_conclusion',
             width: '200px',
             placeholder: '璇疯緭鍏�${title}',
             defaultValue: '',
@@ -203,7 +209,7 @@
           //   width: '200px',
           //   placeholder: '璇疯緭鍏�${title}',
           //   defaultValue: ''
-          // }
+          // } 
         ]
       },
       url: {
@@ -213,7 +219,8 @@
         queryById: '/eam/operationCertificateApply/queryById',
         operationCertificateApplyDetail: {
           list: '/eam/operationCertificateApply/queryOperationCertificateApplyDetailByMainId'
-        }
+        },
+        getNum: '/eam/sysIdentity/getNumNew',
       }
     }
   },
@@ -231,8 +238,17 @@
     }
   },
   created() {
+    this.initNum()
   },
   methods: {
+
+    initNum(){
+      getAction(this.url.getNum, { type: 'OperationCertificateApply', length: '4' }).then((res) => {
+            if (res.success) {
+              this.model.num = res.message
+            }
+          })
+    },
     addBefore() {
       this.operationCertificateApplyDetailTable.dataSource = []
     },

--
Gitblit v1.9.3