From eb48d3bada053e26def2a94d46dbe115a5a7bb2f Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期六, 18 十一月 2023 16:46:18 +0800
Subject: [PATCH] 问题项修改

---
 src/views/eam/DailyInspectionOrderList.vue                                         |  116 ++-
 src/views/eam/DailyInspectionStandardList.vue                                      |  184 +++++-
 src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue     |    4 
 src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue               |   15 
 src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue              |   12 
 src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue           |   22 
 src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue     |   27 
 src/views/eam/DailyMaintenanceStandardList.vue                                     |  156 ++++-
 src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue               |  113 +---
 src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue   |   87 --
 src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue  |   51 +
 src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue |   20 
 src/views/eam/Daily3MaintenanceOrderList.vue                                       |   69 +-
 src/views/eam/modules/daily3MaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue    |   15 
 src/views/eam/DailyMaintenanceOrderList.vue                                        |   80 +-
 src/views/eam/modules/inspectionProject/InspectionProjectModel.vue                 |  239 ++++----
 src/views/eam/modules/inspectionProject/InspectionProjectRight.vue                 |   66 +-
 src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue       |  228 ++++---
 18 files changed, 828 insertions(+), 676 deletions(-)

diff --git a/src/views/eam/Daily3MaintenanceOrderList.vue b/src/views/eam/Daily3MaintenanceOrderList.vue
index c08a5cc..cb174e0 100644
--- a/src/views/eam/Daily3MaintenanceOrderList.vue
+++ b/src/views/eam/Daily3MaintenanceOrderList.vue
@@ -174,7 +174,7 @@
             v-if="record.status == '2'"
             type="vertical"
           />
-          <a-popconfirm
+          <!-- <a-popconfirm
             title="纭畾鎭㈠宸ュ崟鍚�?"
             @confirm="() => handleOrderRecover(record)"
             v-has="'dailyMaintenanceOrder:recover'"
@@ -184,8 +184,8 @@
           <a-divider
             v-if="record.status == '7'"
             type="vertical"
-          />
-          <a-popconfirm
+          /> -->
+          <!-- <a-popconfirm
             title="纭畾浣滃簾宸ュ崟鍚�?"
             @confirm="() => handleOrderCancel(record)"
             v-has="'dailyMaintenanceOrder:recover'"
@@ -195,7 +195,7 @@
           <a-divider
             v-if="record.status == '2'"
             type="vertical"
-          />
+          /> -->
           <a-popconfirm
             title="纭畾棰嗗彇宸ュ崟鍚�?"
             @confirm="() => handleOrderGet(record)"
@@ -203,7 +203,7 @@
           >
             <a v-if="record.status == '2' && record.assignMode == '1'">棰嗗彇</a>
           </a-popconfirm>
-          <a
+          <!-- <a
             v-if="record.status == '2' && record.assignMode == '2'  "
             @click="handleAssignOrder(record)"
             v-has="'dailyMaintenanceOrder:assign'"
@@ -212,17 +212,17 @@
             v-if="record.status == '3'&& record.assignMode == '2'  && record.maintenanceUserName != null  "
             @click="handleAssignOrder(record)"
             v-has="'dailyMaintenanceOrder:assign'"
-          >鏀规淳</a>
+          >鏀规淳</a> -->
           <!-- <a
             v-if="record.status == '3'"
             @click="handleAssignOrder(record)"
           >鏀规淳</a> -->
-          <a-divider
+          <!-- <a-divider
             v-if="record.status == '2'"
             type="vertical"
-          />
+          />-->
           <a-divider
-            v-if="record.status === '3'&& record.assignMode == '2'  && record.maintenanceUserName != null  "
+            v-if="record.status === '2'"
             type="vertical"
           />
           <a
@@ -423,17 +423,20 @@
         {
           title: '鐘舵��',
           align: "center",
-          dataIndex: 'statusName'
+          dataIndex: 'statusName',
+          width: 100,
         },
         {
           title: '淇濆吇鍛ㄦ湡',
           align: "center",
           dataIndex: 'maintenanceCycleName',
+          width: 100,
         },
         {
           title: '娲惧伐鏂瑰紡',
           align: "center",
-          dataIndex: 'assignModeName'
+          dataIndex: 'assignModeName',
+          width: 100,
         },
         {
           title: '缁熶竴缂栫爜',
@@ -477,23 +480,23 @@
           align: "center",
           dataIndex: 'teamName'
         },
-        {
-          title: '宸ユ椂瀹氶',
-          align: "center",
-          dataIndex: 'workingHourQuota'
-        },
-        {
-          title: '璁″垝寮�濮嬫椂闂�',
-          align: "center",
-          dataIndex: 'planStartTime',
-          //width: '120px',
-        },
-        {
-          title: '璁″垝缁撴潫鏃堕棿',
-          align: "center",
-          dataIndex: 'planEndTime',
-          //width: '120px',
-        },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: "center",
+        //   dataIndex: 'workingHourQuota'
+        // },
+        // {
+        //   title: '璁″垝寮�濮嬫椂闂�',
+        //   align: "center",
+        //   dataIndex: 'planStartTime',
+        //   //width: '120px',
+        // },
+        // {
+        //   title: '璁″垝缁撴潫鏃堕棿',
+        //   align: "center",
+        //   dataIndex: 'planEndTime',
+        //   //width: '120px',
+        // },
         {
           title: '瀹為檯寮�濮嬫椂闂�',
           align: "center",
@@ -506,11 +509,11 @@
           dataIndex: 'actualEndTime',
           //width: '120px',
         },
-        {
-          title: '瀹為檯鐢ㄦ椂',
-          align: "center",
-          dataIndex: 'actualWorkingHourQuota',
-        },
+        // {
+        //   title: '瀹為檯鐢ㄦ椂',
+        //   align: "center",
+        //   dataIndex: 'actualWorkingHourQuota',
+        // },
         {
           title: '鎵ц浜�',
           align: "center",
diff --git a/src/views/eam/DailyInspectionOrderList.vue b/src/views/eam/DailyInspectionOrderList.vue
index d94dec3..7ba2ee7 100644
--- a/src/views/eam/DailyInspectionOrderList.vue
+++ b/src/views/eam/DailyInspectionOrderList.vue
@@ -150,7 +150,7 @@
             v-if="record.status == '2'"
             type="vertical"
           />
-          <a-popconfirm
+          <!-- <a-popconfirm
             title="纭畾鎭㈠宸ュ崟鍚�?"
             @confirm="() => handleOrderRecover(record)"
             v-has="'dailyInspectionOrder:recover'"
@@ -160,8 +160,8 @@
           <a-divider
             v-if="record.status == '7'"
             type="vertical"
-          />
-          <a-popconfirm
+          /> -->
+          <!-- <a-popconfirm
             title="纭畾浣滃簾宸ュ崟鍚�?"
             @confirm="() => handleOrderCancel(record)"
             v-has="'dailyInspectionOrder:recover'"
@@ -171,7 +171,7 @@
           <a-divider
             v-if="record.status == '2'"
             type="vertical"
-          />
+          /> -->
           <a-popconfirm
             title="纭畾棰嗗彇宸ュ崟鍚�?"
             @confirm="() => handleOrderGet(record)"
@@ -179,12 +179,12 @@
           >
             <a v-if="record.status == '2' && record.assignMode == '1'">棰嗗彇</a>
           </a-popconfirm>
-          <a
+          <!-- <a
             v-if="record.status == '2' && record.assignMode == '2'  "
             @click="handleAssignOrder(record)"
             v-has="'dailyInspectionOrder:assign'"
-          >娲惧伐</a>
-          <a
+          >娲惧伐</a> -->
+          <!-- <a
             v-if="record.status == '2'&& record.assignMode == '3'  && record.inspectionUserName != null  "
             @click="handleAssignOrder(record)"
             v-has="'dailyInspectionOrder:assign'"
@@ -193,7 +193,7 @@
             v-if="record.status == '3'"
             @click="handleAssignOrder(record)"
             v-has="'dailyInspectionOrder:assign'"
-          >鏀规淳</a>
+          >鏀规淳</a>-->
           <a-divider
             v-if="record.status == '2'"
             type="vertical"
@@ -209,6 +209,17 @@
           >鎵ц</a>
           <a-divider
             v-if="record.status === '3' || record.status === '4' "
+            type="vertical"
+          />
+          <a-popconfirm
+            title="缁翠慨浜虹‘璁ゅ畬宸ュ悧?"
+            @confirm="() => handleOrderRepairConfirm(record)"
+            v-has="'dailyInspectionOrder:repairConfirm'"
+          >
+            <a v-if="record.status == '5'">缁翠慨纭</a>
+          </a-popconfirm>
+          <a-divider
+            v-if="record.status == '5'"
             type="vertical"
           />
           <a
@@ -244,7 +255,7 @@
           slot-scope="text, record"
         >
           <a
-            v-if="record.status === '3' || record.status === '4' ||record.status === '5'  ||record.status === '7' "
+            v-if="record.status === '3' || record.status === '4' ||record.status === '5'  ||record.status === '6' "
             class="lot"
             @click="handleOrderExe(record)"
           >{{record.num}}</a>
@@ -331,19 +342,19 @@
         //     return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)
         //   }
         // },
-        {
-          title: '鐐规鏃堕棿',
-          align: "center",
-          dataIndex: 'inspectionTime',
-          // customRender: function (text) {
-          //   return !text ? "" : (text.length > 10 ? text.substr(11, 20) : text)
-          // }
-        },
-        {
-          title: '鎴鏃堕棿',
-          align: "center",
-          dataIndex: 'inspectionDeadline',
-        },
+        // {
+        //   title: '鐐规鏃堕棿',
+        //   align: "center",
+        //   dataIndex: 'inspectionTime',
+        //   // customRender: function (text) {
+        //   //   return !text ? "" : (text.length > 10 ? text.substr(11, 20) : text)
+        //   // }
+        // },
+        // {
+        //   title: '鎴鏃堕棿',
+        //   align: "center",
+        //   dataIndex: 'inspectionDeadline',
+        // },
         {
           title: '缁熶竴缂栫爜',
           align: "center",
@@ -381,33 +392,33 @@
         //     }
         //   },
         // },
-        {
-          title: '鐐规鏍囧噯缂栫爜',
-          align: "center",
-          dataIndex: 'inspectionStandardNum'
-        },
+        // {
+        //   title: '鐐规鏍囧噯缂栫爜',
+        //   align: "center",
+        //   dataIndex: 'inspectionStandardNum'
+        // },
         {
           title: '鐐规鍛ㄦ湡',
           align: "center",
           dataIndex: 'inspectionCycleName'
         },
-        {
-          title: '娲惧伐鏂瑰紡',
-          align: "center",
-          dataIndex: 'assignModeName'
-        },
-        {
-          title: '鐐规缁撴灉',
-          align: "center",
-          dataIndex: 'result'
-        },
+        // {
+        //   title: '娲惧伐鏂瑰紡',
+        //   align: "center",
+        //   dataIndex: 'assignModeName'
+        // },
+        // {
+        //   title: '鐐规缁撴灉',
+        //   align: "center",
+        //   dataIndex: 'result'
+        // },
         {
           title: '鐐规浜�',
           align: "center",
           dataIndex: 'inspectionUserName'
         },
         {
-          title: '瀹屾垚鏃堕棿',
+          title: '鐐规鏃堕棿',
           align: "center",
           dataIndex: 'actualEndTime',
           // customRender: function (text) {
@@ -415,10 +426,23 @@
           // }
         },
         {
-          title: '鍒涘缓浜�',
+          title: '缁翠慨纭浜�',
           align: "center",
-          dataIndex: 'createBy'
+          dataIndex: 'repairConfirmPerson'
         },
+        {
+          title: '纭鏃堕棿',
+          align: "center",
+          dataIndex: 'repairConfirmDate',
+          // customRender: function (text) {
+          //   return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)
+          // }
+        },
+        // {
+        //   title: '鍒涘缓浜�',
+        //   align: "center",
+        //   dataIndex: 'createBy'
+        // },
         {
           title: '鍒涘缓鏃ユ湡',
           align: "center",
@@ -496,7 +520,7 @@
         this.$refs.DailyInspectionOrderExeDrawer.buttonDistable = true
         this.$refs.DailyInspectionOrderExeDrawer.revocationDistable = false
         this.$refs.DailyInspectionOrderExeDrawer.SWbuttonDistable = true
-      } else if (record.status === '7') {
+      } else if (record.status === '6') {
         this.$refs.DailyInspectionOrderExeDrawer.buttonDistable = true
         this.$refs.DailyInspectionOrderExeDrawer.revocationDistable = true
         this.$refs.DailyInspectionOrderExeDrawer.SWbuttonDistable = true
@@ -541,15 +565,15 @@
         }
       })
     },
-    //浣滃簾
-    handleOrderCancel(record) {
+    //缁翠慨纭
+    handleOrderRepairConfirm(record) {
       const that = this;
-      requestPut(that.url.edit, { id: record.id, status: '7' }).then((res) => {
+      requestPut(that.url.edit, { id: record.id, status: '6' }).then((res) => {
         if (res.success) {
-          that.$message.success("宸ュ崟浣滃簾鎴愬姛锛�")
+          that.$message.success("宸ュ崟瀹屽伐鎴愬姛锛�")
           that.loadData()
         } else {
-          that.$message.warning("宸ュ崟浣滃簾澶辫触锛�")
+          that.$message.warning("宸ュ崟瀹屽伐澶辫触锛�")
         }
       })
     },
diff --git a/src/views/eam/DailyInspectionStandardList.vue b/src/views/eam/DailyInspectionStandardList.vue
index 463d03b..2ba59ba 100644
--- a/src/views/eam/DailyInspectionStandardList.vue
+++ b/src/views/eam/DailyInspectionStandardList.vue
@@ -67,9 +67,19 @@
         type='primary'
         icon='plus'
         v-has="'dailyInspectionStandard:add'"
-      >鏂板</a-button>
-      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
-        <a-button type="primary" icon="import">瀵煎叆</a-button>
+      >缂栧埗</a-button>
+      <a-upload
+        name="file"
+        :showUploadList="false"
+        :multiple="false"
+        :headers="tokenHeader"
+        :action="importExcelUrl"
+        @change="handleImportExcel"
+      >
+        <a-button
+          type="primary"
+          icon="import"
+        >瀵煎叆</a-button>
       </a-upload>
       <a-button
         type="primary"
@@ -102,7 +112,7 @@
         size='middle'
         bordered
         rowKey='id'
-        :scroll="{ x: 'calc(1600px + 50%)', y: 900 }"
+        :scroll="{ x: 'calc(2300px + 50%)', y: 900 }"
         :columns='columns'
         :dataSource='dataSource'
         :pagination='ipagination'
@@ -138,32 +148,51 @@
           slot="action"
           slot-scope="text, record"
         >
+
           <a
-            v-if="record.versionStatus == '2'"
-            @click="handleRevise(record)"
-            v-has="'dailyInspectionStandard:revise'"
-          >鍗囩増</a>
+            v-show="record.versionStatus == '1' && record.approvalStatus == '1' "
+            @click="handleAuditApproval(record)"
+            v-has="'dailyInspectionStandard:audit'"
+          >瀹℃牳</a>
           <a-divider type="vertical" />
           <a
-            v-if="record.versionStatus == '1'"
-            @click="handleTakeEffect(record)"
-            v-has="'dailyInspectionStandard:takeEffect'"
-          >鐢熸晥</a>
+            v-show="record.versionStatus == '1' && record.approvalStatus == '4'"
+            @click="handleAuditApproval(record)"
+            v-has="'dailyInspectionStandard:againAudit'"
+          >閲嶆柊瀹℃牳</a>
           <a-divider type="vertical" />
           <a
-            v-if="record.versionStatus == '1'"
+            v-show="record.versionStatus == '1'&& record.approvalStatus == '3' "
+            @click="handleAuditApproval(record)"
+            v-has="'dailyInspectionStandard:approval'"
+          >瀹℃壒</a>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus == '1' && (record.approvalStatus == '1' || record.approvalStatus == '2')"
             @click="handleEdit(record)"
             v-has="'dailyInspectionStandard:edit'"
           >缂栬緫</a>
           <a-divider type="vertical" />
           <a-popconfirm
-            v-if="record.versionStatus == '1'"
+            v-show="record.versionStatus == '1' && (record.approvalStatus == '1' || record.approvalStatus == '2')"
             title="纭畾鍒犻櫎鍚�?"
             @confirm="() => handleDelete(record.id)"
             v-has="'dailyInspectionStandard:delete'"
           >
             <a>鍒犻櫎</a>
           </a-popconfirm>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus != '1'"
+            @click="handleRevise(record)"
+            v-has="'dailyInspectionStandard:revise'"
+          >鍗囩増</a>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus == '2'"
+            @click="handleTakeEffect(record)"
+            v-has="'dailyInspectionStandard:loseEfficacy'"
+          >澶辨晥</a>
         </span>
 
       </a-table>
@@ -187,6 +216,11 @@
       ref='modalForm'
       @ok='modalFormOk'
     ></dailylnspection-standard-modal>
+
+    <audit-approval-modal
+      ref='auditApprovalModal'
+      @ok='modalFormOk'
+    ></audit-approval-modal>
   </a-card>
 </template>
 
@@ -197,6 +231,7 @@
 import { getAction, requestPut } from '@/api/manage'
 import DailyInspectionStandardDetail from './modules/dailyInspectionStandard/DailyInspectionStandardDetail'
 import DailylnspectionStandardModal from './modules/dailyInspectionStandard/DailylnspectionStandardModal'
+import AuditApprovalModal from './modules/dailyInspectionStandard/AuditApprovalModal'
 import '@/assets/less/TableExpand.less'
 
 export default {
@@ -204,7 +239,8 @@
   mixins: [JeecgListMixin],
   components: {
     DailyInspectionStandardDetail,
-    DailylnspectionStandardModal
+    DailylnspectionStandardModal,
+    AuditApprovalModal
   },
   data() {
     return {
@@ -226,10 +262,11 @@
           dataIndex: 'num',
         },
         {
-          title: '浣跨敤閮ㄩ棬',
+          title: '绛惧鐘舵��',
           align: 'center',
-          dataIndex: 'useDepartName',
+          dataIndex: 'approvalStatusName',
         },
+
         {
           title: '缁熶竴缂栫爜',
           align: 'center',
@@ -246,6 +283,11 @@
           dataIndex: 'equipmentModel',
         },
         {
+          title: '浣跨敤閮ㄩ棬',
+          align: 'center',
+          dataIndex: 'useDepartName',
+        },
+        {
           title: '璐d换鐝粍',
           align: 'center',
           dataIndex: 'teamName',
@@ -255,16 +297,54 @@
           align: 'center',
           dataIndex: 'assignModeName',
         },
-        // {
-        //   title: '鐢熸晥鏃堕棿',
-        //   align: 'center',
-        //   dataIndex: 'takeEffectTime',
-        // },
-        // {
-        //   title: '澶辨晥鏃堕棿',
-        //   align: 'center',
-        //   dataIndex: 'loseEfficacyTime',
-        // },
+        {
+          title: '瀹℃牳鎰忚',
+          align: 'center',
+          dataIndex: 'auditFeedback',
+        },
+        {
+          title: '瀹℃壒鎰忚',
+          align: 'center',
+          dataIndex: 'approvalFeedback',
+        },
+        {
+          title: '缂栧埗浜�',
+          align: 'center',
+          dataIndex: 'writePerson',
+        },
+        {
+          title: '瀹℃牳浜�',
+          align: 'center',
+          dataIndex: 'auditPerson',
+        },
+        {
+          title: '瀹℃壒浜�',
+          align: 'center',
+          dataIndex: 'approvalPerson',
+        },
+        {
+          title: '澶辨晥浜�',
+          align: 'center',
+          dataIndex: 'loseEfficacyPerson',
+        },
+        {
+          title: '缂栧埗鏃ユ湡',
+          align: 'center',
+          dataIndex: 'createTime',
+          width: 150,
+        },
+        {
+          title: '鐢熸晥鏃堕棿',
+          align: 'center',
+          dataIndex: 'takeEffectTime',
+          width: 150,
+        },
+        {
+          title: '澶辨晥鏃堕棿',
+          align: 'center',
+          dataIndex: 'loseEfficacyTime',
+          width: 150,
+        },
         {
           title: '鐗堟湰',
           align: 'center',
@@ -275,16 +355,12 @@
           align: 'center',
           dataIndex: 'versionStatusName',
         },
-        {
-          title: '鍒涘缓浜�',
-          align: 'center',
-          dataIndex: 'createBy',
-        },
-        {
-          title: '鍒涘缓鏃ユ湡',
-          align: 'center',
-          dataIndex: 'createTime',
-        },
+        // {
+        //   title: '鍒涘缓浜�',
+        //   align: 'center',
+        //   dataIndex: 'createBy',
+        // },
+
         // {
         //   title: '鏇存柊浜�',
         //   align: 'center',
@@ -329,10 +405,10 @@
     }
   },
   computed: {
-      importExcelUrl: function(){
-        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
-      }
-    },
+    importExcelUrl: function () {
+      return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+    }
+  },
   methods: {
     clickThenSelect(record) {
       return {
@@ -371,6 +447,12 @@
       this.$refs.modalForm.isRevise = false;
     },
 
+    //瀹℃牳瀹℃壒
+    handleAuditApproval: function (record) {
+      this.$refs.auditApprovalModal.showModals(record);
+      this.$refs.auditApprovalModal.title = "瀹℃牳";
+    },
+
     //鍗囩増
     handleRevise: function (record) {
       this.$refs.modalForm.edit(record);
@@ -378,23 +460,22 @@
       this.$refs.modalForm.disableSubmit = false;
       this.$refs.modalForm.isRevise = true;
     },
-
-    //鐢熸晥
+    //澶辨晥
     handleTakeEffect(record) {
       const that = this;
       that.confirmLoading = true;
       this.$confirm({
-        title: '鏃ュ父鐐规鏍囧噯鐗堟湰鐢熸晥锛�',
-        content: '鎻愮ず锛氱増鏈敓鏁堝悗涓婁竴鐗堟湰灏嗚嚜鍔ㄥけ鏁堬紝璇疯皑鎱庢搷浣滐紒',
+        title: '鏃ュ父鐐规鏍囧噯鐗堟湰澶辨晥锛�',
+        content: '鎻愮ず锛氱増鏈け鏁堝悗灏嗙姝娇鐢紝璇疯皑鎱庢搷浣滐紒',
         okText: '纭',
         cancelText: '鍙栨秷',
         onOk() {
-          requestPut(that.url.versionTakeEffect, { id: record.id, num: record.num, versionStatus: '2' }).then((res) => {
+          requestPut(that.url.versionTakeEffect, { id: record.id, num: record.num, versionStatus: '3' }).then((res) => {
             if (res.success) {
-              that.$message.success("鐗堟湰鐢熸晥鎴愬姛锛�")
+              that.$message.success("鐗堟湰澶辨晥鎴愬姛锛�")
               that.loadData(1)
             } else {
-              that.$message.warning("鐗堟湰鐢熸晥澶辫触锛�")
+              that.$message.warning("鐗堟湰澶辨晥澶辫触锛�")
             }
           }).finally(() => {
             that.confirmLoading = false;
@@ -436,6 +517,13 @@
       this.queryParam = {}
       this.loadData(1);
     },
+    modalFormOk() {
+      // 鏂板/淇敼 鎴愬姛鏃讹紝閲嶈浇鍒楄〃
+      this.loadData();
+      //娓呯┖鍒楄〃閫変腑
+      // this.onClearSelected()
+    },
+
   }
 }
 </script>
diff --git a/src/views/eam/DailyMaintenanceOrderList.vue b/src/views/eam/DailyMaintenanceOrderList.vue
index 3d0edaf..014bc4c 100644
--- a/src/views/eam/DailyMaintenanceOrderList.vue
+++ b/src/views/eam/DailyMaintenanceOrderList.vue
@@ -163,7 +163,7 @@
             v-if="record.status == '2'"
             type="vertical"
           />
-          <a-popconfirm
+          <!-- <a-popconfirm
             title="纭畾鎭㈠宸ュ崟鍚�?"
             @confirm="() => handleOrderRecover(record)"
             v-has="'dailyMaintenanceOrder:recover'"
@@ -173,14 +173,14 @@
           <a-divider
             v-if="record.status == '7'"
             type="vertical"
-          />
-          <a-popconfirm
+          /> -->
+          <!-- <a-popconfirm
             title="纭畾浣滃簾宸ュ崟鍚�?"
             @confirm="() => handleOrderCancel(record)"
             v-has="'dailyMaintenanceOrder:recover'"
           >
             <a v-if="record.status == '2'">浣滃簾</a>
-          </a-popconfirm>
+          </a-popconfirm> -->
           <a-divider
             v-if="record.status == '2'"
             type="vertical"
@@ -197,11 +197,11 @@
             @click="handleAssignOrder(record)"
             v-has="'dailyMaintenanceOrder:assign'"
           >娲惧伐</a>
-          <a
+          <!-- <a
             v-if="record.status == '3'&& record.assignMode == '2'  && record.maintenanceUserName != null  "
             @click="handleAssignOrder(record)"
             v-has="'dailyMaintenanceOrder:assign'"
-          >鏀规淳</a>
+          >鏀规淳</a> -->
           <!-- <a
             v-if="record.status == '3'"
             @click="handleAssignOrder(record)"
@@ -338,6 +338,7 @@
         {
           title: '鐘舵��',
           align: "center",
+          width: 100,
           dataIndex: 'statusName'
         },
         // {
@@ -345,15 +346,16 @@
         //   align: "center",
         //   dataIndex: 'maintenanceTypeName',
         // },
-        {
-          title: '淇濆吇鍛ㄦ湡',
-          align: "center",
-          dataIndex: 'maintenanceCycleName',
-        },
+        // {
+        //   title: '淇濆吇鍛ㄦ湡',
+        //   align: "center",
+        //   dataIndex: 'maintenanceCycleName',
+        // },
         {
           title: '娲惧伐鏂瑰紡',
           align: "center",
-          dataIndex: 'assignModeName'
+          dataIndex: 'assignModeName',
+          width: 100,
         },
         {
           title: '缁熶竴缂栫爜',
@@ -370,11 +372,11 @@
           align: "center",
           dataIndex: 'equipmentModel',
         },
-        {
-          title: '淇濆吇鏍囧噯缂栫爜',
-          align: "center",
-          dataIndex: 'maintenanceStandardNum',
-        },
+        // {
+        //   title: '淇濆吇鏍囧噯缂栫爜',
+        //   align: "center",
+        //   dataIndex: 'maintenanceStandardNum',
+        // },
 
         {
           title: '浣跨敤閮ㄩ棬',
@@ -386,23 +388,23 @@
           align: "center",
           dataIndex: 'teamName'
         },
-        {
-          title: '宸ユ椂瀹氶',
-          align: "center",
-          dataIndex: 'workingHourQuota'
-        },
-        {
-          title: '璁″垝寮�濮嬫椂闂�',
-          align: "center",
-          dataIndex: 'planStartTime',
-          //width: '120px',
-        },
-        {
-          title: '璁″垝缁撴潫鏃堕棿',
-          align: "center",
-          dataIndex: 'planEndTime',
-          //width: '120px',
-        },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: "center",
+        //   dataIndex: 'workingHourQuota'
+        // },
+        // {
+        //   title: '璁″垝寮�濮嬫椂闂�',
+        //   align: "center",
+        //   dataIndex: 'planStartTime',
+        //   //width: '120px',
+        // },
+        // {
+        //   title: '璁″垝缁撴潫鏃堕棿',
+        //   align: "center",
+        //   dataIndex: 'planEndTime',
+        //   //width: '120px',
+        // },
         {
           title: '瀹為檯寮�濮嬫椂闂�',
           align: "center",
@@ -415,11 +417,11 @@
           dataIndex: 'actualEndTime',
           //width: '120px',
         },
-        {
-          title: '瀹為檯鐢ㄦ椂',
-          align: "center",
-          dataIndex: 'actualWorkingHourQuota',
-        },
+        // {
+        //   title: '瀹為檯鐢ㄦ椂',
+        //   align: "center",
+        //   dataIndex: 'actualWorkingHourQuota',
+        // },
         {
           title: '鎵ц浜�',
           align: "center",
diff --git a/src/views/eam/DailyMaintenanceStandardList.vue b/src/views/eam/DailyMaintenanceStandardList.vue
index 6a743f4..c2b817e 100644
--- a/src/views/eam/DailyMaintenanceStandardList.vue
+++ b/src/views/eam/DailyMaintenanceStandardList.vue
@@ -90,7 +90,7 @@
         type='primary'
         icon='plus'
         v-has="'dailyMaintenanceStandard:add'"
-      >鏂板</a-button>
+      >缂栧埗</a-button>
       <a-button
         type='primary'
         @click='searchQuery'
@@ -122,7 +122,7 @@
         size='middle'
         bordered
         rowKey='id'
-        :scroll="{ x: 'calc(1600px + 50%)', y: 900 }"
+        :scroll="{ x: 'calc(2300px + 50%)', y: 900 }"
         :columns='columns'
         :dataSource='dataSource'
         :pagination='ipagination'
@@ -159,30 +159,49 @@
           slot-scope="text, record"
         >
           <a
-            v-if="record.versionStatus == '2'"
-            @click="handleRevise(record)"
-            v-has="'dailyMaintenanceStandard:revise'"
-          >鍗囩増</a>
-          <a
-            v-if="record.versionStatus == '1'"
-            @click="handleTakeEffect(record)"
-            v-has="'dailyMaintenanceStandard:takeEffect'"
-          >鐢熸晥</a>
+            v-show="record.versionStatus == '1' && record.approvalStatus == '1' "
+            @click="handleAuditApproval(record)"
+            v-has="'dailyMaintenanceStandard:audit'"
+          >瀹℃牳</a>
           <a-divider type="vertical" />
           <a
-            v-if="record.versionStatus == '1'"
+            v-show="record.versionStatus == '1' && record.approvalStatus == '4'"
+            @click="handleAuditApproval(record)"
+            v-has="'dailyMaintenanceStandard:againAudit'"
+          >閲嶆柊瀹℃牳</a>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus == '1'&& record.approvalStatus == '3' "
+            @click="handleAuditApproval(record)"
+            v-has="'dailyMaintenanceStandard:approval'"
+          >瀹℃壒</a>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus == '1' && (record.approvalStatus == '1' || record.approvalStatus == '2')"
             @click="handleEdit(record)"
             v-has="'dailyMaintenanceStandard:edit'"
           >缂栬緫</a>
           <a-divider type="vertical" />
           <a-popconfirm
-            v-if="record.versionStatus == '1'"
+            v-show="record.versionStatus == '1' && (record.approvalStatus == '1' || record.approvalStatus == '2')"
             title="纭畾鍒犻櫎鍚�?"
             @confirm="() => handleDelete(record.id)"
             v-has="'dailyMaintenanceStandard:delete'"
           >
             <a>鍒犻櫎</a>
           </a-popconfirm>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus != '1'"
+            @click="handleRevise(record)"
+            v-has="'dailyMaintenanceStandard:revise'"
+          >鍗囩増</a>
+          <a-divider type="vertical" />
+          <a
+            v-show="record.versionStatus == '2'"
+            @click="handleTakeEffect(record)"
+            v-has="'dailyMaintenanceStandard:loseEfficacy'"
+          >澶辨晥</a>
         </span>
 
       </a-table>
@@ -242,6 +261,11 @@
       ref='modalForm'
       @ok='modalFormOk'
     ></daily-maintenance-standard-modal>
+
+    <audit-approval-modal
+      ref='auditApprovalModal'
+      @ok='modalFormOk'
+    ></audit-approval-modal>
   </a-card>
 </template>
 
@@ -255,6 +279,7 @@
 import MaintenanceStandardSafetyRequirement from '@/views/eam/modules/dailyMaintenanceStandard/MaintenanceStandardSafetyRequirement'
 import DailyMaintenanceStandardModal from './modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal'
 import MaintenanceStandardWorkInstruction from '@/views/eam/modules/dailyMaintenanceStandard/MaintenanceStandardWorkInstruction'
+import AuditApprovalModal from './modules/dailyMaintenanceStandard/AuditApprovalModal'
 import '@/assets/less/TableExpand.less'
 
 export default {
@@ -265,7 +290,8 @@
     DailyMaintenanceStandardModal,
     MaintenanceStandardPlanningMaterial,
     MaintenanceStandardSafetyRequirement,
-    MaintenanceStandardWorkInstruction
+    MaintenanceStandardWorkInstruction,
+    AuditApprovalModal
   },
   data() {
     return {
@@ -285,7 +311,11 @@
           align: 'center',
           dataIndex: 'num',
         },
-
+        {
+          title: '绛惧鐘舵��',
+          align: 'center',
+          dataIndex: 'approvalStatusName',
+        },
         {
           title: '缁熶竴缂栫爜',
           align: 'center',
@@ -316,21 +346,59 @@
           align: 'center',
           dataIndex: 'teamName',
         },
+        // {
+        //   title: '鐗圭璁惧',
+        //   align: 'center',
+        //   dataIndex: 'specificEquipment',
+        // },
         {
-          title: '鐗圭璁惧',
+          title: '瀹℃牳鎰忚',
           align: 'center',
-          dataIndex: 'specificEquipment',
+          dataIndex: 'auditFeedback',
         },
-        // {
-        //   title: '鐢熸晥鏃堕棿',
-        //   align: 'center',
-        //   dataIndex: 'takeEffectTime',
-        // },
-        // {
-        //   title: '澶辨晥鏃堕棿',
-        //   align: 'center',
-        //   dataIndex: 'loseEfficacyTime',
-        // },
+        {
+          title: '瀹℃壒鎰忚',
+          align: 'center',
+          dataIndex: 'approvalFeedback',
+        },
+        {
+          title: '缂栧埗浜�',
+          align: 'center',
+          dataIndex: 'writePerson',
+        },
+        {
+          title: '瀹℃牳浜�',
+          align: 'center',
+          dataIndex: 'auditPerson',
+        },
+        {
+          title: '瀹℃壒浜�',
+          align: 'center',
+          dataIndex: 'approvalPerson',
+        },
+        {
+          title: '澶辨晥浜�',
+          align: 'center',
+          dataIndex: 'loseEfficacyPerson',
+        },
+        {
+          title: '缂栧埗鏃ユ湡',
+          align: 'center',
+          dataIndex: 'createTime',
+          width: 150,
+        },
+        {
+          title: '鐢熸晥鏃堕棿',
+          align: 'center',
+          dataIndex: 'takeEffectTime',
+          width: 150,
+        },
+        {
+          title: '澶辨晥鏃堕棿',
+          align: 'center',
+          dataIndex: 'loseEfficacyTime',
+          width: 150,
+        },
         {
           title: '鐗堟湰',
           align: 'center',
@@ -341,16 +409,12 @@
           align: 'center',
           dataIndex: 'versionStatusName',
         },
-        {
-          title: '鍒涘缓浜�',
-          align: 'center',
-          dataIndex: 'createBy',
-        },
-        {
-          title: '鍒涘缓鏃ユ湡',
-          align: 'center',
-          dataIndex: 'createTime',
-        },
+        // {
+        //   title: '鍒涘缓浜�',
+        //   align: 'center',
+        //   dataIndex: 'createBy',
+        // },
+
         // {
         //   title: '鏇存柊浜�',
         //   align: 'center',
@@ -464,6 +528,12 @@
       this.$refs.modalForm.isRevise = false;
     },
 
+    //瀹℃牳瀹℃壒
+    handleAuditApproval: function (record) {
+      this.$refs.auditApprovalModal.showModals(record);
+      this.$refs.auditApprovalModal.title = "瀹℃牳";
+    },
+
     //鍗囩増
     handleRevise: function (record) {
       this.$refs.modalForm.edit(record);
@@ -472,22 +542,22 @@
       this.$refs.modalForm.isRevise = true;
     },
 
-    //鐢熸晥
+    //澶辨晥
     handleTakeEffect(record) {
       const that = this;
       that.confirmLoading = true;
       this.$confirm({
-        title: '鏃ュ父淇濆吇鏍囧噯鐗堟湰鐢熸晥锛�',
-        content: '鎻愮ず锛氱増鏈敓鏁堝悗涓婁竴鐗堟湰灏嗚嚜鍔ㄥけ鏁堬紝璇疯皑鎱庢搷浣滐紒',
+        title: '淇濆吇鏍囧噯鐗堟湰澶辨晥锛�',
+        content: '鎻愮ず锛氱増鏈け鏁堝悗灏嗙姝娇鐢紝璇疯皑鎱庢搷浣滐紒',
         okText: '纭',
         cancelText: '鍙栨秷',
         onOk() {
-          requestPut(that.url.versionTakeEffect, { id: record.id, num: record.num, versionStatus: '2' }).then((res) => {
+          requestPut(that.url.versionTakeEffect, { id: record.id, num: record.num, versionStatus: '3' }).then((res) => {
             if (res.success) {
-              that.$message.success("鐗堟湰鐢熸晥鎴愬姛锛�")
+              that.$message.success("鐗堟湰澶辨晥鎴愬姛锛�")
               that.loadData(1)
             } else {
-              that.$message.warning("鐗堟湰鐢熸晥澶辫触锛�")
+              that.$message.warning("鐗堟湰澶辨晥澶辫触锛�")
             }
           }).finally(() => {
             that.confirmLoading = false;
diff --git a/src/views/eam/modules/daily3MaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue b/src/views/eam/modules/daily3MaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
index ec52559..3636a4b 100644
--- a/src/views/eam/modules/daily3MaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
+++ b/src/views/eam/modules/daily3MaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
@@ -196,6 +196,7 @@
                         :value="text"
                         v-if="col.dataIndex == 'maintenanceOrderDetailUda1'"
                         @change="(e)=>handleChange(e, record.key, col, index)"
+                        :disabled="record.disabled"
                       />
                     </div>
                   </template>
@@ -395,12 +396,12 @@
           dataIndex: 'location',
         },
         // class: "notshow"
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-        },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        // },
         // class: "notshow"
         {
           title: '淇濆吇椤圭洰',
@@ -544,6 +545,7 @@
         onOk() {
           requestPut(that.url.editStatus, { id: that.model.id, status: '4' }).then((res) => {
             if (res.success) {
+              that.loadData1(1)
               that.model.status = '4'
               that.$message.success("宸ュ崟寮�宸ユ垚鍔燂紒")
               that.buttonDistable = false
@@ -606,6 +608,7 @@
               that.buttonDistable = false
               that.revocationDistable = true
               that.SWbuttonDistable = true
+              that.loadData1(1)
             } else {
               that.$message.warning(res.message)
             }
diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
index 9131ded..51a61f3 100644
--- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
+++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
@@ -28,6 +28,13 @@
               >鎶ュ伐</a-button>
               <a-button
                 :style="{marginRight: '8px'}"
+                @click="handleNormalReport"
+                :disabled="buttonDistable"
+                type="primary"
+                v-has="'dailyInspectionOrder:normalReport'"
+              >缁撴灉姝e父骞舵姤宸�</a-button>
+              <a-button
+                :style="{marginRight: '8px'}"
                 @click="handleReset"
                 :disabled="revocationDistable"
                 type="primary"
@@ -129,8 +136,8 @@
                   :pagination="ipagination"
                   :loading="loading"
                   @change="handleTableChange"
-                  :scroll="{ x: 'calc(1000px + 50%)', y: 900 }"
                 >
+                  <!-- :scroll="{ x: 'calc(1000px + 50%)', y: 900 }" -->
                   <template
                     v-for="col in columns"
                     :slot="col.dataIndex"
@@ -150,7 +157,7 @@
                         style="max-width:80px;font-size: 12px;font-style: italic;"
                       />
                       <a-select
-                        v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'"
+                        v-if="col.dataIndex == 'inspectionProjectResult' "
                         :value="text"
                         @change="(e) => handleChange(e, record.key, col, index)"
                         style="width: 100%"
@@ -162,7 +169,7 @@
                         <a-select-option value="3">鏁呴殰鍋滄満</a-select-option>
                         <a-select-option value="4">娌″紑鏈�</a-select-option>
                       </a-select>
-                      <a-input-number
+                      <!-- <a-input-number
                         :value="text"
                         v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'"
                         :min="0"
@@ -170,7 +177,7 @@
                         @change="(e)=>handleChange(e, record.key, col, index,record)"
                         style="width: 100%"
                         :disabled="record.disabled"
-                      />
+                      /> -->
                       <a-textarea
                         :value="text"
                         v-if="col.dataIndex == 'abnormalDesc'"
@@ -311,7 +318,7 @@
   },
   data() {
     return {
-      title: "鏃ュ父鐐规宸ュ崟鎵ц",
+      title: "鑷富缁存姢鐐规鎵ц",
       visible: false,
       maskClosable: true,
       confirmLoading: false,
@@ -340,18 +347,18 @@
           },
           width: 50,
         },
-        {
-          title: '閮ㄤ綅',
-          align: 'center',
-          dataIndex: 'location',
-        },
-        // class: "notshow"
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-        },
+        // {
+        //   title: '閮ㄤ綅',
+        //   align: 'center',
+        //   dataIndex: 'location',
+        // },
+        // // class: "notshow"
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        // },
         // class: "notshow"
         {
           title: '鐐规椤圭洰',
@@ -383,25 +390,26 @@
           align: 'center',
           dataIndex: 'inspectionProjectResult',
           scopedSlots: { customRender: 'inspectionProjectResult' },
+          className: 'red',
         },
-        // className: 'red',
+        // {
+        //   title: '鍒ゅ畾',
+        //   align: 'center',
+        //   dataIndex: 'judgmentResult',
+        //   customRender: (text) => {
+        //     if (text == 'pass') {
+        //       return "姝e父";
+        //     } else if (text == 'fail') {
+        //       return "寮傚父";
+        //     }
+        //   },
+        // },
         {
-          title: '鍒ゅ畾',
-          align: 'center',
-          dataIndex: 'judgmentResult',
-          customRender: (text) => {
-            if (text == 'pass') {
-              return "姝e父";
-            } else if (text == 'fail') {
-              return "寮傚父";
-            }
-          },
-        },
-        {
-          title: '寮傚父鎻忚堪',
+          title: '*寮傚父鎻忚堪',
           align: 'center',
           dataIndex: 'abnormalDesc',
           scopedSlots: { customRender: 'abnormalDesc' },
+          className: 'red',
         },
         // {
         //   title: '寮傚父鎷嶇収',
@@ -414,8 +422,8 @@
           align: 'center',
           dataIndex: 'treatmentMeasure',
           scopedSlots: { customRender: 'treatmentMeasure' },
+          className: 'red',
         },
-        // className: 'red',
       ],
       url: {
         list: "/eam/inspectionOrderDetail/list",
@@ -426,6 +434,7 @@
         editStatus: "/eam/inspectionOrder/editStatus",
         revocation: "/eam/inspectionOrder/revocation",
         report: "/eam/inspectionOrder/report",
+        normalReport: "/eam/inspectionOrder/normalReport",
       },
     }
   },
@@ -561,14 +570,21 @@
       for (let i = 0; i < that.dataSource.length; i++) {
         let o = this.dataSource[i]
         if (o.inspectionProjectResult == null || o.inspectionProjectResult == '') {
-          that.$message.warning('璇疯緭鍏ョ偣妫�缁撴灉锛�')
+          that.$message.warning("璇峰~鍐欑" + (i + 1) + "鐐规缁撴灉锛�");
           that.confirmLoading = false;
           return
         }
-        if (o.treatmentMeasure == null || o.treatmentMeasure == '') {
-          that.$message.warning('璇烽�夋嫨寮傚父澶勭疆锛�')
-          that.confirmLoading = false;
-          return
+        if (o.inspectionProjectResult == '2' || o.inspectionProjectResult == '3') {
+          if (o.abnormalDesc == null || o.abnormalDesc == '') {
+            that.$message.warning("璇峰~鍐欑" + (i + 1) + "寮傚父鎻忚堪锛�");
+            that.confirmLoading = false;
+            return
+          }
+          if (o.treatmentMeasure == null || o.treatmentMeasure == '') {
+            that.$message.warning("璇峰~鍐欑" + (i + 1) + "寮傚父澶勭疆锛�");
+            that.confirmLoading = false;
+            return
+          }
         }
       }
       formData.inspectionOrderDetailList = that.dataSource;
@@ -602,6 +618,43 @@
       })
     },
 
+    //鎶ュ伐
+    handleNormalReport() {
+      const that = this;
+      that.confirmLoading = true;
+      let formData = Object.assign(this.model);
+      formData.inspectionOrderDetailList = that.dataSource;
+      formData.id = that.model.id;
+      formData.status = "5";
+      formData.equipmentId = that.model.equipmentId;
+      this.$confirm({
+        title: '鐐规宸ュ崟鎶ュ伐',
+        content: '鎻愮ず锛氱偣妫�缁撴灉鍏ㄩ儴姝e父锛屾姤宸ュ悗鐐规宸ュ崟瀹屽伐锛岃璋ㄦ厧鎿嶄綔锛�',
+        okText: '纭',
+        cancelText: '鍙栨秷',
+        onOk() {
+          requestPut(that.url.normalReport, formData).then((res) => {
+            if (res.success) {
+              that.model.status = '5'
+              that.$message.success(res.message)
+              that.buttonDistable = false
+              that.revocationDistable = true
+              that.SWbuttonDistable = true
+              that.$emit('ok');
+              that.alterFlag = new Date();
+              that.close();
+            } else {
+              that.$message.warning(res.message)
+            }
+          }).finally(() => {
+            that.confirmLoading = false;
+            // 
+          })
+        },
+      })
+    },
+
+
     //淇濆瓨
     handleOk() {
       const that = this;
@@ -610,14 +663,21 @@
       for (let i = 0; i < that.dataSource.length; i++) {
         let o = this.dataSource[i]
         if (o.inspectionProjectResult == null || o.inspectionProjectResult == '') {
-          that.$message.warning('璇疯緭鍏ョ偣妫�缁撴灉锛�')
+          that.$message.warning("璇峰~鍐欑" + (i + 1) + "鐐规缁撴灉锛�");
           that.confirmLoading = false;
           return
         }
-        if (o.treatmentMeasure == null || o.treatmentMeasure == '') {
-          that.$message.warning('璇烽�夋嫨寮傚父澶勭疆锛�')
-          that.confirmLoading = false;
-          return
+        if (o.inspectionProjectResult == '2' || o.inspectionProjectResult == '3') {
+          if (o.abnormalDesc == null || o.abnormalDesc == '') {
+            that.$message.warning("璇峰~鍐欑" + (i + 1) + "寮傚父鎻忚堪锛�");
+            that.confirmLoading = false;
+            return
+          }
+          if (o.treatmentMeasure == null || o.treatmentMeasure == '') {
+            that.$message.warning("璇峰~鍐欑" + (i + 1) + "寮傚父澶勭疆锛�");
+            that.confirmLoading = false;
+            return
+          }
         }
       }
       formData.inspectionOrderDetails = that.dataSource
@@ -671,29 +731,29 @@
       if (target) {
 
         if (column.dataIndex == 'inspectionProjectResult') {
-          if (target.testValueType === "1") {
-            target[column.dataIndex] = value;
-            let maxValue = target.maxValue
-            let minValue = target.minValue
-            if (value > minValue && value < maxValue) {
-              target['judgmentResult'] = "pass";
-            } else {
-              target['judgmentResult'] = "fail";
-            }
-            if (value == null || value == "") {
-              target['judgmentResult'] = "";
-            }
-          } else {
-            target[column.dataIndex] = value;
-            if (value == "1") {
-              target['judgmentResult'] = "pass";
-            } else {
-              target['judgmentResult'] = "fail";
-            }
-            if (value == null || value == "") {
-              target['judgmentResult'] = "";
-            }
-          }
+          // if (target.testValueType === "1") {
+          //   target[column.dataIndex] = value;
+          //   let maxValue = target.maxValue
+          //   let minValue = target.minValue
+          //   if (value > minValue && value < maxValue) {
+          //     target['judgmentResult'] = "pass";
+          //   } else {
+          //     target['judgmentResult'] = "fail";
+          //   }
+          //   if (value == null || value == "") {
+          //     target['judgmentResult'] = "";
+          //   }
+          // } else {
+          target[column.dataIndex] = value;
+          // if (value == "1") {
+          //   target['judgmentResult'] = "pass";
+          // } else {
+          //   target['judgmentResult'] = "fail";
+          // }
+          // if (value == null || value == "") {
+          //   target['judgmentResult'] = "";
+          // }
+          // }
         }
         if (column.dataIndex == 'abnormalDesc') {
           target[column.dataIndex] = value.target.value;
@@ -737,43 +797,7 @@
       })
     },
 
-    getSrc(record) {
-      if (!record.path) {
-        return '';
-      }
-      //鏈湴锛歭ocal\Minio锛歮inio\闃块噷浜戯細alioss
-      if (record.uploadType == 'local') {
 
-        let ssoLoginFlag = Vue.ls.get("ssoLoginFlag");
-        let deployMode = Vue.ls.get("deployMode");
-
-        if (ssoLoginFlag && deployMode == "container") {
-          var baseProject = Vue.ls.get("baseProject");
-          console.log("baseProject==>" + baseProject)
-
-          var hostname = window.location.protocol + "//" + window.location.host;
-          var url = hostname + '/' + baseProject + '/sys/common/static';
-          return getFileAccessHttpUrl(record.path + record.encodeName, url, window._CONFIG['hyperTextTransfer'])
-        } else {
-          //鏍规嵁鍙戝竷鐘舵�佷慨鏀筯ttps 鎴� http
-          return getFileAccessHttpUrl(record.path + record.encodeName, this.url.urlDownload, window._CONFIG['hyperTextTransfer'])
-        }
-
-      } else if (record.uploadType == 'alioss') {
-
-        const OSS = require('ali-oss')
-        const client = new OSS({
-          // region浠ユ澀宸炰负渚嬶紙oss-cn-hangzhou锛夛紝鍏朵粬region鎸夊疄闄呮儏鍐靛~鍐欍��
-          region: window._CONFIG['region'],
-          // 闃块噷浜戜富璐﹀彿AccessKey鎷ユ湁鎵�鏈堿PI鐨勮闂潈闄愶紝椋庨櫓寰堥珮銆傚己鐑堝缓璁偍鍒涘缓骞朵娇鐢≧AM璐﹀彿杩涜API璁块棶鎴栨棩甯歌繍缁达紝璇风櫥褰昍AM鎺у埗鍙板垱寤篟AM璐﹀彿銆�
-          accessKeyId: window._CONFIG['accessKeyId'],
-          accessKeySecret: window._CONFIG['accessKeySecret'],
-          bucket: window._CONFIG['bucket'],
-        })
-        // object-key琛ㄧず浠嶰SS涓嬭浇鏂囦欢鏃堕渶瑕佹寚瀹氬寘鍚枃浠跺悗缂�鍦ㄥ唴鐨勫畬鏁磋矾寰勶紝渚嬪abc/efg/123.jpg銆�
-        return client.signatureUrl(record.path)
-      }
-    },
   },
 
 }
@@ -796,7 +820,7 @@
 .hight {
   color: #f5222d;
 }
-/deep/ .red {
+.red {
   color: red;
 }
 </style>
\ No newline at end of file
diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
index 3d4cdc1..c5a0bbc 100644
--- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
+++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderModal.vue
@@ -378,11 +378,11 @@
           },
           width: 50,
         },
-        {
-          title: '閮ㄤ綅',
-          align: 'center',
-          dataIndex: 'location'
-        },
+        // {
+        //   title: '閮ㄤ綅',
+        //   align: 'center',
+        //   dataIndex: 'location'
+        // },
         {
           title: '鐐规椤圭洰',
           align: 'center',
@@ -408,12 +408,12 @@
         //   align: 'center',
         //   dataIndex: 'inspectionTool'
         // },
-        {
-          title: '绀烘剰鍥�',
-          align: "center",
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-        },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: "center",
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        // },
       ],
       title: "鎿嶄綔",
       visible: false,
diff --git a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
index 1e015a7..6126aad 100644
--- a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
+++ b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
@@ -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);
@@ -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 });
diff --git a/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue b/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
index bacf158..277863d 100644
--- a/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
+++ b/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue
@@ -197,12 +197,22 @@
                         v-if="col.dataIndex == 'maintenanceOrderDetailUda1'"
                         @change="(e)=>handleChange(e, record.key, col, index)"
                         placeholder="璇疯緭鍏ヤ繚鍏讳汉"
+                        :disabled="record.disabled"
                       />
-                      <a-input
+                      <!-- <a-input
                         :value="text"
                         v-if="col.dataIndex == 'maintenanceOrderDetailUda2'"
                         @change="(e)=>handleChange(e, record.key, col, index)"
                         placeholder="璇疯緭鍏ユ墽琛屾儏鍐�"
+                      /> -->
+                      <a-textarea
+                        :value="text"
+                        v-if="col.dataIndex == 'maintenanceOrderDetailUda2'"
+                        :maxLength="500"
+                        auto-size
+                        placeholder="璇疯緭鍏ユ墽琛屾儏鍐�"
+                        @change="(e)=>handleChange(e, record.key, col, index)"
+                        :disabled="record.disabled"
                       />
                     </div>
                   </template>
@@ -401,12 +411,12 @@
           dataIndex: 'location',
         },
         // class: "notshow"
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-        },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        // },
         // class: "notshow"
         {
           title: '淇濆吇椤圭洰',
@@ -562,6 +572,7 @@
               that.buttonDistable = false
               that.revocationDistable = true
               that.SWbuttonDistable = true
+              that.loadData1(1)
             } else {
               that.$message.warning("宸ュ崟寮�宸ュけ璐ワ紒")
             }
@@ -619,6 +630,7 @@
               that.buttonDistable = false
               that.revocationDistable = true
               that.SWbuttonDistable = true
+              that.loadData1(1)
             } else {
               that.$message.warning(res.message)
             }
@@ -657,7 +669,6 @@
 
 
     handleChange(value, key, column, index) {
-      debugger
       let that = this;
       const temp = [...that.dataSource];
       const target = temp[index];
diff --git a/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue b/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
index d489275..968d2a2 100644
--- a/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
@@ -449,12 +449,12 @@
         //   align: 'center',
         //   dataIndex: 'maintenanceTool'
         // },
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' }
-        },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' }
+        // },
         // {
         //   title: '缁翠繚涓撲笟',
         //   align: 'center',
diff --git a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
index f1bdb59..7059019 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardDetail.vue
@@ -129,17 +129,13 @@
             return parseInt(index) + 1;
           }
         },
-        {
-          title: '閮ㄤ綅',
-          align: "center",
-          dataIndex: 'location',
-        },
-        {
-          title: '绀烘剰鍥�',
-          align: "center",
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-        },
+
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: "center",
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        // },
         {
           title: '淇濆吇椤圭洰',
           align: "center",
@@ -152,6 +148,11 @@
           dataIndex: 'standard',
 
         },
+        {
+          title: '閮ㄤ綅',
+          align: "center",
+          dataIndex: 'location',
+        },
         // {
         //   title: '鏂规硶',
         //   align: "center",
@@ -163,16 +164,16 @@
         //   align: "center",
         //   dataIndex: 'maintenanceTool',
         // },
-        {
-          title: '瀹夊叏瑕佹眰',
-          align: "center",
-          dataIndex: 'maintenanceRequire',
-        },
-        {
-          title: '宸ユ椂瀹氶',
-          align: "center",
-          dataIndex: 'workingHourQuota',
-        },
+        // {
+        //   title: '瀹夊叏瑕佹眰',
+        //   align: "center",
+        //   dataIndex: 'maintenanceRequire',
+        // },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: "center",
+        //   dataIndex: 'workingHourQuota',
+        // },
         {
           title: '淇濆吇鍛ㄦ湡',
           align: "center",
@@ -219,10 +220,10 @@
       getAction(this.url.list, params).then((res) => {
         if (res.success) {
           this.dataSource = res.result.records || res.result;
-          for (let i = 0; i < this.dataSource.length; i++) {
-            let r = this.dataSource[i].upload;
-            r.src = this.getSrc(this.dataSource[i].upload);
-          }
+          // for (let i = 0; i < this.dataSource.length; i++) {
+          //   let r = this.dataSource[i].upload;
+          //   r.src = this.getSrc(this.dataSource[i].upload);
+          // }
           if (res.result.total) {
             this.ipagination.total = res.result.total;
           } else {
diff --git a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
index c9383ca..117a24a 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
@@ -339,43 +339,6 @@
           <a>鍒犻櫎</a>
         </a-popconfirm>
       </span>
-
-      <!-- <span
-        slot="photo"
-        slot-scope="text,record"
-      >
-        <Tooltip
-          placement="top"
-          title="棰勮鍥剧墖"
-        >
-          <img
-            v-if=" record.upload.path && (record.upload.format.toLowerCase()=='jpg'||record.upload.format.toLowerCase()=='bmp'||record.upload.format.toLowerCase()=='png'||record.upload.format.toLowerCase()=='jpeg'||record.upload.format.toLowerCase()=='gif')"
-            width="30"
-            height="14"
-            border="1"
-            draggable="false"
-            preview="1"
-            :preview-text="''"
-            :src="record.upload.src"
-          />
-        </Tooltip>
-        <a
-          v-if="record.upload.path && record.upload.format.toLowerCase()=='pdf'"
-          href="javascript:;"
-          @click="view(record.upload)"
-        >
-          棰勮
-        </a>
-
-        <a-divider
-          v-if="record.upload.path && (record.upload.format.toLowerCase()=='jpg'||record.upload.format.toLowerCase()=='bmp'||record.upload.format.toLowerCase()=='png'||record.upload.format.toLowerCase()=='jpeg'||record.upload.format.toLowerCase()=='gif'||record.upload.format.toLowerCase()=='pdf')"
-          type="vertical"
-        />
-        <a
-          href="javascript:;"
-          @click="handleUpload(record)"
-        >涓婁紶</a>
-      </span> -->
     </a-table>
     <template slot="footer">
       <a-button
@@ -486,31 +449,31 @@
         //   align: 'center',
         //   dataIndex: 'maintenanceSpecialtyName'
         // },
-        {
-          title: '瀹夊叏瑕佹眰',
-          align: 'center',
-          dataIndex: 'maintenanceRequire',
-          scopedSlots: { customRender: 'maintenanceRequire' },
-          width: 150,
-        },
-        {
-          title: '宸ユ椂瀹氶',
-          align: 'center',
-          dataIndex: 'workingHourQuota'
-        },
-        {
-          title: '绀烘剰鍥�',
-          align: 'center',
-          dataIndex: 'photo',
-          scopedSlots: { customRender: 'photo' },
-          width: 150,
-        },
+        // {
+        //   title: '瀹夊叏瑕佹眰',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceRequire',
+        //   scopedSlots: { customRender: 'maintenanceRequire' },
+        //   width: 150,
+        // },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: 'center',
+        //   dataIndex: 'workingHourQuota'
+        // },
+        // {
+        //   title: '绀烘剰鍥�',
+        //   align: 'center',
+        //   dataIndex: 'photo',
+        //   scopedSlots: { customRender: 'photo' },
+        //   width: 150,
+        // },
         {
           title: '淇濆吇閮ㄤ綅',
           align: 'center',
           dataIndex: 'location',
-          scopedSlots: { customRender: 'location' },
-          width: 150,
+          // scopedSlots: { customRender: 'location' },
+          // width: 150,
         },
         {
           title: '鍛ㄦ湡',
@@ -596,7 +559,7 @@
         list: "/eam/maintenanceStandardDetail/getMaintenanceStandardDetailListByIds",
         add: "/eam/maintenanceStandard/add",
         edit: "/eam/maintenanceStandard/edit",
-        addDetail: "/eam/maintenanceStandardDetail/add",
+        // addDetail: "/eam/maintenanceStandardDetail/add",
         getMaintenanceCycle: "/eam/maintenanceStandardDetail/getPeriodicMaintenanceCycle",
         realDelete: "/eam/maintenanceStandardDetail/realDelete",
         revise: '/eam/maintenanceStandard/revise',
@@ -676,7 +639,7 @@
 
     edit(record) {
       let that = this;
-      this.initOptions();
+      // this.initOptions();
       // this.getMaintenanceCycle()
       this.dataSource = [];
       this.form.resetFields();
@@ -766,7 +729,6 @@
     },
 
     handleOk() {
-      console.log("123")
       const that = this;
       this.form.validateFields((err, values) => {
         if (!err) {
@@ -782,10 +744,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 });
@@ -825,7 +789,6 @@
     },
 
     getMaintenanceCycle(equipmentId) {
-      debugger
       getAction(this.url.getMaintenanceCycle, { equipmentId: equipmentId }).then((res) => {
         if (res.success) {
           this.maintenanceCycles = res.result
diff --git a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
index fc2167c..0852dbe 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
@@ -122,16 +122,16 @@
           align: 'center',
           dataIndex: 'location'
         },
-        {
-          title: '瀹夊叏瑕佹眰',
-          align: 'center',
-          dataIndex: 'maintenanceRequire'
-        },
-        {
-          title: '宸ユ椂瀹氶',
-          align: 'center',
-          dataIndex: 'workingHourQuota'
-        },
+        // {
+        //   title: '瀹夊叏瑕佹眰',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceRequire'
+        // },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: 'center',
+        //   dataIndex: 'workingHourQuota'
+        // },
       ],
       selectedRowKeys: [],
       oldSelectRows: [],
diff --git a/src/views/eam/modules/inspectionProject/InspectionProjectModel.vue b/src/views/eam/modules/inspectionProject/InspectionProjectModel.vue
index b78c688..196cf8c 100644
--- a/src/views/eam/modules/inspectionProject/InspectionProjectModel.vue
+++ b/src/views/eam/modules/inspectionProject/InspectionProjectModel.vue
@@ -62,7 +62,7 @@
         </a-row>
         <a-row :gutter="24">
 
-          <a-col :span="12">
+          <!-- <a-col :span="12">
             <a-form-item
               label="妫�楠屽�肩被鍨�"
               :labelCol="labelCol"
@@ -78,11 +78,9 @@
                 @change="(e)=>handleChange(e)"
               />
             </a-form-item>
-          </a-col>
-          <a-col
-            v-if="testValueType == '2'"
-            :span="12"
-          >
+          </a-col> -->
+          <a-col :span="12">
+            <!-- v-if="testValueType == '2'" -->
             <a-form-item
               label="妫�娴嬫爣鍑�"
               :labelCol="labelCol"
@@ -116,7 +114,7 @@
             </a-form-item>
           </a-col> -->
 
-          <a-col
+          <!-- <a-col
             v-if="testValueType == '1'"
             :span="12"
           >
@@ -133,9 +131,9 @@
                 v-decorator="['surfaceValue', validatorRules.surfaceValue ]"
               />
             </a-form-item>
-          </a-col>
+          </a-col> -->
         </a-row>
-        <a-row
+        <!-- <a-row
           v-if="testValueType == '1'"
           :gutter="24"
         >
@@ -169,8 +167,8 @@
               />
             </a-form-item>
           </a-col>
-        </a-row>
-        <a-row :gutter="24">
+        </a-row> -->
+        <!-- <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item
               label="鐐规鏂规硶"
@@ -202,8 +200,8 @@
                 v-decorator="['unitId', validatorRules.unitId]"
               />
             </a-form-item>
-          </a-col>
-          <!-- <a-col :span="12">
+          </a-col> -->
+        <!-- <a-col :span="12">
             <a-form-item
               label="鐐规宸ュ叿"
               :labelCol="labelCol"
@@ -217,7 +215,7 @@
               />
             </a-form-item>
           </a-col> -->
-        </a-row>
+        <!-- </a-row> -->
 
         <a-row :gutter="24">
           <a-col :span="24">
@@ -246,13 +244,13 @@
       >
         鍏抽棴
       </a-button>
-      <a-button
+      <!-- <a-button
         v-if="!this.model.id"
         :disabled="disableSubmit || confirmLoading"
         :loading="confirmLoading"
         @click="handleOkAndAdd"
         type="primary"
-      >淇濆瓨骞剁户缁柊澧�</a-button>
+      >淇濆瓨骞剁户缁柊澧�</a-button> -->
       <a-button
         :disabled="disableSubmit || confirmLoading"
         :loading="confirmLoading"
@@ -361,25 +359,24 @@
       this.model = Object.assign({}, record);
       this.visible = true;
       this.disableSubmit = false;
-      this.testValueType = record.testValueType
+      // this.testValueType = record.testValueType
       this.$nextTick(() => {
         this.form.setFieldsValue(pick(this.model, 'inspectionProjectCategoryNumName',
-          'num', 'name', 'unitId', 'detectionStandard', 'testValueType', 'inspectionMethod', 'inspectionTool', 'remark'))
+          'name', 'detectionStandard', 'remark'))
       });
-      if (record.testValueType == '1') {
-        this.$nextTick(() => {
-          this.form.setFieldsValue(pick(this.model, 'surfaceValue', 'upValue', 'downValue'))
-        });
-      }
+      // if (record.testValueType == '1') {
+      //   this.$nextTick(() => {
+      //     this.form.setFieldsValue(pick(this.model, 'surfaceValue', 'upValue', 'downValue'))
+      //   });
+      // }
       if (record.id) {
         this.codeDisable = true;
       } else {
-        debugger
         this.codeDisable = false;
-        this.$nextTick(() => {
-          this.form.setFieldsValue({ "testValueType": '2' })
-          this.testValueType = '2'
-        });
+        // this.$nextTick(() => {
+        //   this.form.setFieldsValue({ "testValueType": '2' })
+        //   this.testValueType = '2'
+        // });
       }
     },
 
@@ -391,32 +388,32 @@
 
 
     //淇濆瓨骞舵柊澧炴寜閽Е鍙�
-    handleOkAndAdd() {
-      const that = this
-      // 瑙﹀彂琛ㄥ崟楠岃瘉
-      this.form.validateFields((err, values) => {
-        if (!err) {
-          that.confirmLoading = true;
-          let formData = Object.assign(this.model, values);
-          formData.inspectionProjectCategoryId = this.inspectionProjectCategoryId
-          postAction(this.url.add, formData).then((res) => {
-            if (res.success) {
-              that.$message.success(res.message);
-              that.$emit('ok');
-              that.alterFlag = new Date();
-            } else {
-              that.$message.warning(res.message);
-            }
-          }).finally(() => {
-            this.confirmLoading = false
-            this.form.setFieldsValue(pick(this.model, 'inspectionProjectCategoryNumName'))
-            this.form.setFieldsValue({ "inspectionContent": null, "inspectionRequire": null, "inspectionMethod": null, "inspectionTool": null, "num": null, "name": null, "remark": null })
-          })
-        } else {
-          return false
-        }
-      })
-    },
+    // handleOkAndAdd() {
+    //   const that = this
+    //   // 瑙﹀彂琛ㄥ崟楠岃瘉
+    //   this.form.validateFields((err, values) => {
+    //     if (!err) {
+    //       that.confirmLoading = true;
+    //       let formData = Object.assign(this.model, values);
+    //       formData.inspectionProjectCategoryId = this.inspectionProjectCategoryId
+    //       postAction(this.url.add, formData).then((res) => {
+    //         if (res.success) {
+    //           that.$message.success(res.message);
+    //           that.$emit('ok');
+    //           that.alterFlag = new Date();
+    //         } else {
+    //           that.$message.warning(res.message);
+    //         }
+    //       }).finally(() => {
+    //         this.confirmLoading = false
+    //         this.form.setFieldsValue(pick(this.model, 'inspectionProjectCategoryNumName'))
+    //         this.form.setFieldsValue({ "inspectionContent": null, "inspectionRequire": null, "inspectionMethod": null, "inspectionTool": null, "num": null, "name": null, "remark": null })
+    //       })
+    //     } else {
+    //       return false
+    //     }
+    //   })
+    // },
 
     handleOk() {
       const that = this;
@@ -452,79 +449,79 @@
       this.close()
     },
 
-    handleChange(val) {
-      this.testValueType = val
-    },
+    // handleChange(val) {
+    //   this.testValueType = val
+    // },
 
-    validateDownValue(rule, value, callback) {
-      let data = this.form.getFieldsValue(['surfaceValue']);
-      if (data.surfaceValue == null || data.surfaceValue == "") {
-        callback('鍚嶄箟鍊间笉鑳戒负绌猴紒')
-      } else {
-        if (value > data.surfaceValue) {
-          callback('涓嬪亸宸�间笉鑳藉ぇ浜庡悕涔夊�硷紒')
-        } else {
-          callback()
-        }
-      }
-    },
+    // validateDownValue(rule, value, callback) {
+    //   let data = this.form.getFieldsValue(['surfaceValue']);
+    //   if (data.surfaceValue == null || data.surfaceValue == "") {
+    //     callback('鍚嶄箟鍊间笉鑳戒负绌猴紒')
+    //   } else {
+    //     if (value > data.surfaceValue) {
+    //       callback('涓嬪亸宸�间笉鑳藉ぇ浜庡悕涔夊�硷紒')
+    //     } else {
+    //       callback()
+    //     }
+    //   }
+    // },
 
-    validateSurfaceValue(rule, value, callback) {
-      this.form.setFieldsValue({ "upValue": null, "downValue": null })
-      // let data = this.form.getFieldsValue(['surfaceValue']);
-      // if (value > data.surfaceValue) {
-      //   callback('涓嶅悎鏍兼暟閲忓簲灏忎簬妫�楠屾暟閲忥紒')
-      // } else {
-      //   callback()
-      // }
-    },
+    // validateSurfaceValue(rule, value, callback) {
+    //   this.form.setFieldsValue({ "upValue": null, "downValue": null })
+    //   // let data = this.form.getFieldsValue(['surfaceValue']);
+    //   // if (value > data.surfaceValue) {
+    //   //   callback('涓嶅悎鏍兼暟閲忓簲灏忎簬妫�楠屾暟閲忥紒')
+    //   // } else {
+    //   //   callback()
+    //   // }
+    // },
 
-    validateAnalysisMethod(rule, value, callback) {
-      let data = this.form.getFieldsValue(['surfaceValue']);
-      if (value > data.surfaceValue) {
-        callback('涓嶅悎鏍兼暟閲忓簲灏忎簬妫�楠屾暟閲忥紒')
-      } else {
-        callback()
-      }
-    },
+    // validateAnalysisMethod(rule, value, callback) {
+    //   let data = this.form.getFieldsValue(['surfaceValue']);
+    //   if (value > data.surfaceValue) {
+    //     callback('涓嶅悎鏍兼暟閲忓簲灏忎簬妫�楠屾暟閲忥紒')
+    //   } else {
+    //     callback()
+    //   }
+    // },
 
     //楠岃瘉 缂栧彿
-    validateNum(rule, value, callback) {
-      var params = {
-        tableName: 'mom_eam_inspection_project',
-        fieldName: 'num',
-        fieldVal: value,
-        dataId: this.model.id,
-        //鏁版嵁搴撲腑瀛樺湪瀛楁del_flag骞朵娇鐢ㄨ瀛楁浣滀负鏈垹闄ょ瓥鐣ワ紝鐪熷垹闄わ細false 鍋囧垹闄わ細true
-        delFlag: '0',
-      };
-      duplicateCheck(params).then((res) => {
-        if (res.success) {
-          callback();
-        } else {
-          callback("缂栧彿宸插瓨鍦�!");
-        }
-      })
-    },
+    // validateNum(rule, value, callback) {
+    //   var params = {
+    //     tableName: 'mom_eam_inspection_project',
+    //     fieldName: 'num',
+    //     fieldVal: value,
+    //     dataId: this.model.id,
+    //     //鏁版嵁搴撲腑瀛樺湪瀛楁del_flag骞朵娇鐢ㄨ瀛楁浣滀负鏈垹闄ょ瓥鐣ワ紝鐪熷垹闄わ細false 鍋囧垹闄わ細true
+    //     delFlag: '0',
+    //   };
+    //   duplicateCheck(params).then((res) => {
+    //     if (res.success) {
+    //       callback();
+    //     } else {
+    //       callback("缂栧彿宸插瓨鍦�!");
+    //     }
+    //   })
+    // },
 
-    //楠岃瘉 鍚嶇О
-    validateName(rule, value, callback) {
-      var params = {
-        tableName: 'mom_eam_inspection_project',
-        fieldName: 'name',
-        fieldVal: value,
-        dataId: this.model.id,
-        //鏁版嵁搴撲腑瀛樺湪瀛楁del_flag骞朵娇鐢ㄨ瀛楁浣滀负鏈垹闄ょ瓥鐣ワ紝鐪熷垹闄わ細false 鍋囧垹闄わ細true
-        delFlag: '0',
-      };
-      duplicateCheck(params).then((res) => {
-        if (res.success) {
-          callback();
-        } else {
-          callback("鍚嶇О宸插瓨鍦�!");
-        }
-      })
-    },
+    // //楠岃瘉 鍚嶇О
+    // validateName(rule, value, callback) {
+    //   var params = {
+    //     tableName: 'mom_eam_inspection_project',
+    //     fieldName: 'name',
+    //     fieldVal: value,
+    //     dataId: this.model.id,
+    //     //鏁版嵁搴撲腑瀛樺湪瀛楁del_flag骞朵娇鐢ㄨ瀛楁浣滀负鏈垹闄ょ瓥鐣ワ紝鐪熷垹闄わ細false 鍋囧垹闄わ細true
+    //     delFlag: '0',
+    //   };
+    //   duplicateCheck(params).then((res) => {
+    //     if (res.success) {
+    //       callback();
+    //     } else {
+    //       callback("鍚嶇О宸插瓨鍦�!");
+    //     }
+    //   })
+    // },
 
   },
   watch: {
diff --git a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue
index 98c902f..4a56fb1 100644
--- a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue
+++ b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue
@@ -56,8 +56,18 @@
         icon="plus"
         :hidden="disabled"
       >鏂板</a-button>
-      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
-        <a-button type="primary" icon="import" >瀵煎叆</a-button>
+      <a-upload
+        name="file"
+        :showUploadList="false"
+        :multiple="false"
+        :headers="tokenHeader"
+        :action="importExcelUrl"
+        @change="handleImportExcel"
+      >
+        <a-button
+          type="primary"
+          icon="import"
+        >瀵煎叆</a-button>
       </a-upload>
       <a-button
         type="primary"
@@ -91,7 +101,7 @@
         :loading="loading"
         :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
         @change="handleTableChange"
-        :scroll="{ x: 'calc(1400px + 50%)', y: 900 }"
+        :scroll="{ x: 'calc(1000px + 50%)', y: 900 }"
       >
         <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
         <span
@@ -274,26 +284,26 @@
           align: "center",
           dataIndex: 'detectionStandard',
         },
-        {
-          title: '鍚堟牸鑼冨洿  ',
-          align: "center",
-          dataIndex: 'acceptabilityLimit',
-        },
-        {
-          title: '鐐规鏂规硶',
-          align: "center",
-          dataIndex: 'inspectionMethod_dictText',
-        },
-        {
-          title: '妫�楠屽�肩被鍨�',
-          align: "center",
-          dataIndex: 'testValueType_dictText',
-        },
-        {
-          title: '璁¢噺鍗曚綅',
-          align: 'center',
-          dataIndex: 'unitId_dictText',
-        },
+        // {
+        //   title: '鍚堟牸鑼冨洿  ',
+        //   align: "center",
+        //   dataIndex: 'acceptabilityLimit',
+        // },
+        // {
+        //   title: '鐐规鏂规硶',
+        //   align: "center",
+        //   dataIndex: 'inspectionMethod_dictText',
+        // },
+        // {
+        //   title: '妫�楠屽�肩被鍨�',
+        //   align: "center",
+        //   dataIndex: 'testValueType_dictText',
+        // },
+        // {
+        //   title: '璁¢噺鍗曚綅',
+        //   align: 'center',
+        //   dataIndex: 'unitId_dictText',
+        // },
         // {
         //   title: '鐐规宸ュ叿',
         //   align: "center",
@@ -317,9 +327,9 @@
           scopedSlots: {
             customRender: 'action'
           },
-          width: 150,
           fixed: 'right',
         },
+        // width: 150,
       ],
       url: {
         list: '/eam/inspectionProject/list',
@@ -332,10 +342,10 @@
   },
 
   computed: {
-      importExcelUrl: function(){
-        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
-      }
-    },
+    importExcelUrl: function () {
+      return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+    }
+  },
   methods: {
     handleAdd: function () {
       this.$refs.modalForm.add({ inspectionProjectCategoryNumName: this.inspectionProjectCategoryNumName });
diff --git a/src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue b/src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue
index 083f2da..0096e25 100644
--- a/src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue
+++ b/src/views/eam/modules/maintenanceProject/MaintenanceProjectModel.vue
@@ -47,15 +47,15 @@
           </a-col> -->
           <a-col :span="12">
             <a-form-item
-              label="瀹夊叏瑕佹眰"
+              label="淇濆吇閮ㄤ綅"
               :labelCol="labelCol"
               :wrapperCol="wrapperCol"
             >
               <a-input
                 allow-clear
                 :disabled="disableSubmit"
-                :placeholder="disableSubmit?'':'璇疯緭鍏ュ畨鍏ㄨ姹�'"
-                v-decorator="['maintenanceRequire', validatorRules.maintenanceRequire ]"
+                :placeholder="disableSubmit?'':'璇疯緭鍏ヤ繚鍏婚儴浣�'"
+                v-decorator="['location', validatorRules.location ]"
               />
             </a-form-item>
           </a-col>
@@ -105,7 +105,7 @@
             </a-form-item>
           </a-col>
         </a-row>
-        <a-row :gutter="24">
+        <!-- <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item
               label="淇濆吇鏂规硶"
@@ -134,10 +134,9 @@
                 :placeholder="disableSubmit?'':'璇疯緭鍏ヤ繚鍏诲伐鍏�'"
                 v-decorator="['maintenanceTool', validatorRules.maintenanceTool ]"
               />
-              <!-- dictCode="mom_eam_inspection_type,name,id,status!='0' and del_flag!='1'" -->
             </a-form-item>
           </a-col>
-        </a-row>
+        </a-row> -->
         <a-row :gutter="24">
 
           <!-- <a-col :span="12">
@@ -157,7 +156,7 @@
             </a-form-item>
           </a-col> -->
         </a-row>
-        <a-row :gutter="24">
+        <!-- <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item
               label="宸ユ椂瀹氶"
@@ -174,7 +173,7 @@
             </a-form-item>
           </a-col>
 
-        </a-row>
+        </a-row> -->
         <a-row :gutter="24">
           <a-col :span="24">
             <a-form-item
diff --git a/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue b/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue
index 1957357..dfa22b7 100644
--- a/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue
+++ b/src/views/eam/modules/maintenanceProject/MaintenanceProjectRight.vue
@@ -88,8 +88,8 @@
         :loading="loading"
         :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
         @change="handleTableChange"
-        :scroll="{ x: 'calc(1400px + 50%)', y: 900 }"
       >
+        <!-- :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" -->
         <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
         <span
           slot="num"
@@ -120,28 +120,6 @@
             :length="15"
           />
         </span>
-        <!-- <span
-          slot="status"
-          slot-scope="text,record"
-        >
-          <a-badge
-            v-if="record.status==1"
-            status="success"
-          />
-          <span
-            v-if="record.status==1"
-            class="success"
-          >鍚敤</span>
-          <a-badge
-            v-if="record.status==0"
-            status="error"
-          />
-          <span
-            v-if="record.status==0"
-            class="error"
-          >绂佺敤</span>
-        </span> -->
-
         <span
           slot="action"
           slot-scope="text, record"
@@ -169,35 +147,12 @@
                   <a>鍒犻櫎</a>
                 </a-popconfirm>
               </a-menu-item>
-              <!-- <a-menu-item v-else>
-              <a-popconfirm title="褰撳墠淇℃伅宸茶寮曠敤锛岃鍏堝垹闄ゅ叧鑱斾俊鎭悗鍐嶆墽琛屽垹闄ゆ搷浣�">
-                <a class="frozenRowClass">鍒犻櫎</a>
-              </a-popconfirm>
-            </a-menu-item> -->
-
-              <!-- <a-menu-item v-if="record.status==1">
-              <a-popconfirm
-                title="纭畾绂佺敤鍚�?"
-                @confirm="() => handleActive(record.id)"
-              >
-                <a>绂佺敤</a>
-              </a-popconfirm>
-            </a-menu-item> -->
-              <!-- <a-menu-item v-if="record.status==0">
-              <a-popconfirm
-                title="纭畾鍚敤鍚�?"
-                @confirm="() => handleActive(record.id)"
-              >
-                <a>鍚敤</a>
-              </a-popconfirm>
-            </a-menu-item> -->
             </a-menu>
           </a-dropdown>
         </span>
 
       </a-table>
     </div>
-    <!-- table鍖哄煙-end -->
 
     <maintenance-project-model
       ref="modalForm"
@@ -265,14 +220,14 @@
           align: 'center',
           dataIndex: 'standard',
         },
-        {
-          title: '淇濆吇椤圭洰鍒嗙被',
-          align: 'center',
-          dataIndex: 'maintenanceProjectCategoryNumName',
-          scopedSlots: {
-            customRender: 'maintenanceProjectCategoryNumName'
-          },
-        },
+        // {
+        //   title: '淇濆吇椤圭洰鍒嗙被',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceProjectCategoryNumName',
+        //   scopedSlots: {
+        //     customRender: 'maintenanceProjectCategoryNumName'
+        //   },
+        // },
         // {
         //   title: '缁翠繚绫诲瀷',
         //   align: 'center',
@@ -286,21 +241,21 @@
         //   align: "center",
         //   dataIndex: 'maintenanceSpecialtyId_dictText',
         // },
-        {
-          title: '瀹夊叏瑕佹眰',
-          align: "center",
-          dataIndex: 'maintenanceRequire',
-        },
-        {
-          title: '缁翠繚鏂规硶',
-          align: "center",
-          dataIndex: 'maintenanceMethod_dictText',
-        },
-        {
-          title: '缁翠繚宸ュ叿',
-          align: "center",
-          dataIndex: 'maintenanceTool',
-        },
+        // {
+        //   title: '瀹夊叏瑕佹眰',
+        //   align: "center",
+        //   dataIndex: 'maintenanceRequire',
+        // },
+        // {
+        //   title: '缁翠繚鏂规硶',
+        //   align: "center",
+        //   dataIndex: 'maintenanceMethod_dictText',
+        // },
+        // {
+        //   title: '缁翠繚宸ュ叿',
+        //   align: "center",
+        //   dataIndex: 'maintenanceTool',
+        // },
         {
           title: '淇濆吇閮ㄤ綅',
           align: "center",
@@ -316,16 +271,16 @@
           align: "center",
           dataIndex: 'createTime',
         },
-        {
-          title: '淇敼浜�',
-          align: "center",
-          dataIndex: 'updateBy',
-        },
-        {
-          title: '淇敼鏃堕棿',
-          align: "center",
-          dataIndex: 'updateTime',
-        },
+        // {
+        //   title: '淇敼浜�',
+        //   align: "center",
+        //   dataIndex: 'updateBy',
+        // },
+        // {
+        //   title: '淇敼鏃堕棿',
+        //   align: "center",
+        //   dataIndex: 'updateTime',
+        // },
         {
 
           title: '鎿嶄綔',

--
Gitblit v1.9.3