From c4e4ab1056b9ba1956f3dd146615537543a12b8f Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期三, 18 十月 2023 15:45:15 +0800
Subject: [PATCH] 操作证管理功能 前端界面更新

---
 src/views/eam/modules/operationCertificate/OperationCertificateForm.vue |   36 ++++++++++++++++++++++++------------
 1 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/src/views/eam/modules/operationCertificate/OperationCertificateForm.vue b/src/views/eam/modules/operationCertificate/OperationCertificateForm.vue
index 8d47cef..2821bf7 100644
--- a/src/views/eam/modules/operationCertificate/OperationCertificateForm.vue
+++ b/src/views/eam/modules/operationCertificate/OperationCertificateForm.vue
@@ -10,8 +10,8 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="12" >
-            <a-form-model-item label="鐢ㄦ埛ID" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userId">
-              <j-select-user-by-dep v-model="model.userId" :multi="true" />
+            <a-form-model-item label="濮撳悕" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userId">
+              <j-select-user-by-dep v-model="model.userId" :multi="false" />
             </a-form-model-item>
           </a-col>
           <a-col :span="12" >
@@ -122,39 +122,51 @@
             {
               title: '璇佷功ID',
               key: 'operationCertificateId',
-               type: JVXETypes.input,
+               type: JVXETypes.hidden,
               width:"200px",
+              placeholder: '璇疯緭鍏�${title}',
+              defaultValue:'',
+            },
+            {
+              title: '鏃ユ湡',
+              key: 'happenDate',
+              type: JVXETypes.date,
+              width:"120px",
               placeholder: '璇疯緭鍏�${title}',
               defaultValue:'',
             },
             {
               title: '绫诲瀷',
               key: 'type',
-               type: JVXETypes.input,
-              width:"200px",
+               type: JVXETypes.select,
+              dictCode: 'certificate_change_type',
+              width:"100px",
               placeholder: '璇疯緭鍏�${title}',
               defaultValue:'',
             },
             {
-              title: '璁惧id',
+              title: '璁惧缁熶竴缂栫爜',
               key: 'equipmentId',
-               type: JVXETypes.input,
-              width:"200px",
+              type: JVXETypes.selectSearch,
+              dictCode: 'mom_eam_equipment,num,id ',
+              width: '200px',
               placeholder: '璇疯緭鍏�${title}',
-              defaultValue:'',
+              defaultValue: '',
+              validateRules: [{ required: true, message: '${title}涓嶈兘涓虹┖' }]
             },
             {
               title: '鎵e垎椤�',
               key: 'deductionItem',
-               type: JVXETypes.input,
-              width:"200px",
+              type: JVXETypes.selectSearch,
+              dictCode: 'mom_eam_base_deduction_item,content,id ',
+              width:"500px",
               placeholder: '璇疯緭鍏�${title}',
               defaultValue:'',
             },
             {
               title: '鎵e垎鍛ㄦ湡',
               key: 'period',
-               type: JVXETypes.input,
+               type: JVXETypes.normal,
               width:"200px",
               placeholder: '璇疯緭鍏�${title}',
               defaultValue:'',

--
Gitblit v1.9.3