From 4de5726e9d6d82f834dda3a7f08cb61547f9381b Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期日, 24 十二月 2023 14:09:54 +0800
Subject: [PATCH] 三级保养

---
 src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue |   36 +++++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
index 991fb92..b2f3d01 100644
--- a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
+++ b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
@@ -37,7 +37,7 @@
             >
               <!-- <a-input-search
                 :disabled="disableSubmit"
-                placeholder="璇烽�夋嫨瀵硅薄閮ㄩ棬"
+                placeholder="璇烽�夋嫨浣跨敤閮ㄩ棬"
                 enter-button
                 @search="onDepartList()"
                 :read-only="true"
@@ -108,28 +108,28 @@
               <a-input
                 allow-clear
                 :disabled="true"
-                :placeholder="disableSubmit?'':'璇疯緭鍏ヨ澶囩紪鐮�/鍚嶇О/鍨嬪彿'"
+                :placeholder="disableSubmit?'':'璇疯緭鍏ョ粺涓�缂栫爜/鍚嶇О/鍨嬪彿'"
                 v-decorator="['equipmentId', validatorRules.equipmentId ]"
               />
             </a-form-item>
           </a-col>
           <!-- <a-col :span="12">
             <a-form-item
-              label="瀵硅薄閮ㄩ棬Id"
+              label="浣跨敤閮ㄩ棬Id"
               :labelCol="labelCol"
               :wrapperCol="wrapperCol"
             >
               <a-input
                 allow-clear
                 :disabled="true"
-                :placeholder="disableSubmit?'':'璇疯緭鍏ュ璞¢儴闂╥d'"
+                :placeholder="disableSubmit?'':'璇疯緭鍏ヤ娇鐢ㄩ儴闂╥d'"
                 v-decorator="['useId', validatorRules.useId ]"
               />
             </a-form-item>
           </a-col> -->
         </a-row>
         <a-row :gutter="24">
-          <a-col :span="12">
+          <!-- <a-col :span="12">
             <a-form-item
               label="娲惧伐鏂瑰紡"
               :labelCol="labelCol"
@@ -144,7 +144,7 @@
                 v-decorator="['assignMode', validatorRules.assignMode]"
               />
             </a-form-item>
-          </a-col>
+          </a-col> -->
           <a-col :span="12">
             <a-form-item
               label="鐗堟湰"
@@ -226,7 +226,7 @@
             style="width: 100%"
             :disabled="false"
           />
-          <j-image-upload
+          <!-- <j-image-upload
             :value="text"
             v-if="col.dataIndex == 'photo'"
             :isMultiple="false"
@@ -234,7 +234,7 @@
             placeholder="璇蜂笂浼犲浘鐗�"
             @change="(e)=>handleChange(e, record.key, col, index)"
           >
-          </j-image-upload>
+          </j-image-upload> -->
           <a-input
             :value="text"
             v-if="col.dataIndex == 'location'"
@@ -352,13 +352,13 @@
           scopedSlots: { customRender: 'inspectionCycleId' },
           width: 170,
         },
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-          width: 170,
-        },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        //   width: 170,
+        // },
         {
           title: '閮ㄤ綅',
           align: 'center',
@@ -475,7 +475,7 @@
     edit(record) {
       let that = this;
       that.getInspectionCycle()
-      that.initOptions();
+      // that.initOptions();
       that.dataSource = [];
       that.form.resetFields();
       that.model = Object.assign({}, record);
@@ -536,7 +536,7 @@
 
     onDepartList() {
       this.$refs.DepartList.list();
-      this.$refs.DepartList.title = "閫夋嫨瀵硅薄閮ㄩ棬";
+      this.$refs.DepartList.title = "閫夋嫨浣跨敤閮ㄩ棬";
     },
     sendDepartRecord(data) {
       this.dataSource = [];
@@ -563,10 +563,12 @@
           let obj;
           if (!this.model.id) {
             formData.versionStatus = '1'
+            formData.approvalStatus = '1'
             obj = postAction(this.url.add, formData);
           } else {
             if (this.isRevise) {
               formData.versionStatus = '1'
+              formData.approvalStatus = '1'
               obj = postAction(this.url.revise, formData);
             } else {
               obj = requestPut(this.url.edit, formData, { id: this.model.id });

--
Gitblit v1.9.3