From a5093e5c0db210a162b5a409d3f330a0f045d90a Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 22 七月 2025 16:59:09 +0800
Subject: [PATCH] 技术状态变更页面设备验收

---
 src/views/flowable/workflow/TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal.vue |   26 +++++++++-----------------
 1 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/src/views/flowable/workflow/TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal.vue b/src/views/flowable/workflow/TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal.vue
index 88c3ee9..43b9901 100644
--- a/src/views/flowable/workflow/TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal.vue
+++ b/src/views/flowable/workflow/TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal.vue
@@ -1,5 +1,5 @@
 <template>
-  <j-modal :title="title" :width="1200" :visible="visible" :confirmLoading="confirmLoading"
+  <j-modal :title="title" :visible="visible" :confirmLoading="confirmLoading"
            :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" fullscreen @ok="handleOk"
            @cancel="handleCancel" centered cancelText="鍏抽棴">
     <a-spin :spinning="spinning">
@@ -56,7 +56,7 @@
                           v-if="disableSubmit||
                           selectShenpiData.taskDefKey&&(selectShenpiData.taskDefKey=='safety_equipment_check'||selectShenpiData.taskDefKey=='safety_equipment_check_confirm')||
                           model.evaluationStatus&&model.evaluationStatus!='UNDER_EVALUATION'&&detail.safetyEquipmentCheckList.length>0">
-                <j-vxe-table ref="editableDetailTable1" rowNumber bordered alwaysEdit keep-source :height="300"
+                <j-vxe-table ref="editableDetailTable1" rowNumber bordered alwaysEdit keep-source
                              :dataSource="detail.safetyEquipmentCheckList"
                              :columns="detail.safetyEquipmentCheckColumns">
                   <template v-slot:safetyEquipmentCheckResult="props">
@@ -97,7 +97,7 @@
                           selectShenpiData.taskDefKey&&(selectShenpiData.taskDefKey=='equipment_precision_check'||selectShenpiData.taskDefKey=='equipment_precision_check_confirm')||
                           model.evaluationStatus&&model.evaluationStatus!='UNDER_EVALUATION'&&detail.precisionCheckList.length>0">
                 <j-vxe-table ref="editableDetailTable2" rowNumber bordered
-                             alwaysEdit keep-source :height="300"
+                             alwaysEdit keep-source
                              :dataSource="detail.precisionCheckList" :columns="detail.precisionCheckColumns">
                   <template v-slot:precisionCheckResult="props">
                     <a-input-number v-model="props.row.precisionCheckResult"
@@ -136,7 +136,7 @@
                           selectShenpiData.taskDefKey&&(selectShenpiData.taskDefKey=='other_check'||selectShenpiData.taskDefKey=='other_check_confirm')||
                           model.evaluationStatus&&model.evaluationStatus!='UNDER_EVALUATION'&&detail.otherCheckList.length>0">
                 <j-vxe-table ref="editableDetailTable3" rowNumber bordered
-                             alwaysEdit keep-source :height="300"
+                             alwaysEdit keep-source
                              :dataSource="detail.otherCheckList" :columns="detail.otherCheckColumns">
                   <template v-slot:otherCheckResult="props">
                     <a-textarea v-model="props.row.otherCheckResult" :rows="1"
@@ -180,7 +180,7 @@
           <!--鍙充晶瀹℃壒鍒�-->
           <a-col :span="6" class="scroll-col"
                  v-if="model.evaluationStatus&&model.evaluationStatus!='UNDER_EVALUATION'&&model.evaluationStatus!='WAIT_EVALUATION'">
-            <a-tabs v-if="disableSubmit||displayRepairerFlag">
+            <a-tabs v-if="displayRepairerFlag">
               <a-tab-pane tab="缁翠慨宸ョ‘璁�">
                 <a-row>
                   <a-col :span="24">
@@ -215,7 +215,7 @@
               </a-tab-pane>
             </a-tabs>
 
-            <a-tabs v-if="disableSubmit||displayRepairLeaderFlag">
+            <a-tabs v-if="displayRepairLeaderFlag">
               <a-tab-pane tab="缁翠慨瀹や富浠荤‘璁�">
                 <a-row>
                   <a-col :span="24">
@@ -236,8 +236,7 @@
               </a-tab-pane>
             </a-tabs>
 
-            <a-tabs
-              v-if="disableSubmit||displayTechnicianFlag">
+            <a-tabs v-if="displayTechnicianFlag">
               <a-tab-pane tab="宸ヨ壓鍛樼‘璁�">
                 <a-row>
                   <a-col :span="24">
@@ -257,8 +256,7 @@
               </a-tab-pane>
             </a-tabs>
 
-            <a-tabs
-              v-if="disableSubmit||displayTechnicalLeaderFlag">
+            <a-tabs v-if="displayTechnicalLeaderFlag">
               <a-tab-pane tab="浣跨敤鍗曚綅鎶�鏈富绠$‘璁�">
                 <a-row>
                   <a-col :span="24">
@@ -279,7 +277,7 @@
               </a-tab-pane>
             </a-tabs>
 
-            <a-tabs v-if="disableSubmit||displayInspectorFlag">
+            <a-tabs v-if="displayInspectorFlag">
               <a-tab-pane tab="璁惧妫�楠屽憳纭">
                 <a-row>
                   <a-col :span="24">
@@ -319,7 +317,6 @@
   import { downFile, getAction, httpAction } from '@/api/manage'
   import { JVxeTableModelMixin } from '@/mixins/JVxeTableModelMixin.js'
   import { JVXETypes } from '@comp/jeecg/JVxeTable'
-  import MaintenanceEquipmentSelect from '@views/eam/equipment/modules/MaintenanceEquipmentSelect'
   import TechnicalStatusEquipmentSelect from '../../../eam/equipment/modules/TechnicalStatusEquipmentSelect'
 
   export default {
@@ -327,7 +324,6 @@
     mixins: [JVxeTableModelMixin],
     components: {
       TechnicalStatusEquipmentSelect,
-      MaintenanceEquipmentSelect
     },
     props: {
       selectShenpiData: {
@@ -531,7 +527,6 @@
        */
       async handleDetail(record) {
         this.model = {}
-        this.visible = true
         this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = []
         this.handleTabToFirstTable()
         this.getBasicInformationByApi(record)
@@ -543,7 +538,6 @@
        * @param record 涓婚〉闈㈠垪琛ㄨ璁板綍
        */
       recordDetail(record) {
-        this.visible = true
         this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = []
         this.model = Object.assign({}, record)
         this.handleTabToFirstTable()
@@ -697,7 +691,6 @@
         this.$nextTick(() => {
           for (let index = 1; index <= 3; index++) {
             if (this.$refs['editableDetailTable' + index]) {
-              console.log('index----------', index)
               this.activeTabKey = index
               break
             }
@@ -713,7 +706,6 @@
         if (this.$refs['editableDetailTable' + this.activeTabKey]) this.$refs['editableDetailTable' + this.activeTabKey].clearValidate()
         this.activeTabKey = tabKey
       },
-
 
       handleEvaluationResultChange(value) {
         if (value == 'QUALIFIED') this.model.evaluationReason = ''

--
Gitblit v1.9.3