From d928c702edc02471883cfa4b122daf157469110d Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期二, 19 十二月 2023 11:03:45 +0800
Subject: [PATCH] 基线表

---
 web/src/views/modules/sys/task/already-task.vue |   50 ++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 38 insertions(+), 12 deletions(-)

diff --git a/web/src/views/modules/sys/task/already-task.vue b/web/src/views/modules/sys/task/already-task.vue
index 92ecf8c..f78d7a7 100644
--- a/web/src/views/modules/sys/task/already-task.vue
+++ b/web/src/views/modules/sys/task/already-task.vue
@@ -6,7 +6,7 @@
       <el-input type="text" v-model="dataForm.djxlSystem" v-if="false" />
     </el-form>
     <el-table ref="table"
-              :height="getTransformHeight(transformHeight)"
+              :height="getTransformHeight()"
               class="pushtable  table-is__left-tz"
               v-loading="dataLoading"
               :data="dataList"
@@ -27,13 +27,13 @@
       <el-table-column align="center" prop="stepName" label="褰撳墠鐘舵��" width="240px"/>
       <el-table-column align="center" prop="receiveName" label="鍔炵悊浜�"  width="120px"/>
       <!--        <el-table-column align="center" prop="statusName" label="鎴戠殑鎰忚" />-->
-      <el-table-column label="鎿嶄綔" width="220px">
+      <el-table-column label="鎿嶄綔" width="180px">
         <template v-slot="{ row }">
           <zt-table-button v-show="row.canRecall == 1 && !$store.state.user.isAdmin" @click="reCall(row)">鎾ゅ洖</zt-table-button>
           <zt-table-button @click="check(row,'')" v-if="row.flowCode !== 'yearPlanFlow'">鏌ョ湅</zt-table-button>
           <zt-table-button @click="check(row,'')" v-if="row.flowCode === 'yearPlanFlow'">淇敼</zt-table-button>
           <zt-table-button @click="flowChart(row)">娴佺▼鍥�</zt-table-button>
-          <zt-table-button v-if="row.flowCode != 'yearPlan2'" @click="getFlowTrack(row)">鍔炵悊杞ㄨ抗</zt-table-button>
+<!--          <zt-table-button v-if="row.flowCode != 'yearPlan2'" @click="getFlowTrack(row)">鍔炵悊杞ㄨ抗</zt-table-button>-->
         </template>
       </el-table-column>
       <infinite-loading
@@ -49,13 +49,23 @@
     </el-table>
     <!-- 宸插姙浠诲姟寮圭獥 -->
     <ItemCirculatOrder ref="itemCirculatOrder" @refreshDataList="getQuery()"></ItemCirculatOrder>
+    <ConfigItemWarehouse ref="configItemWarehouse" @refreshDataList="getQuery()"></ConfigItemWarehouse>
+    <ConfigItemChange ref="configItemChange" @refreshDataList="getQuery()"></ConfigItemChange>
+    <ConfigItemOutbound ref="configItemOutbound" @refreshDataList="getQuery()"></ConfigItemOutbound>
+    <TestCheckOrder ref="testCheckOrder" @refreshDataList="getQuery()"></TestCheckOrder><TestCheckOrder ref="testCheckOrder" @refreshDataList="getQuery()"></TestCheckOrder>
     <!--    </zt-table-wraper>-->
   </div>
 </template>
 
 <script>
+  import cloneDeep from 'lodash/cloneDeep'
   import InfiniteLoading from 'vue-infinite-loading'
   import ItemCirculatOrder from '@/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate'
+  import Cookies from "js-cookie";
+  import ConfigItemWarehouse from '@/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate'
+  import TestCheckOrder from "@/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue";
+  import ConfigItemChange from "@/views/modules/configItemChange/ConfigItemChange-AddOrUpdate.vue";
+  import ConfigItemOutbound from "@/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue";
 
   export default {
     data() {
@@ -79,8 +89,12 @@
       }
     },
     components: {
+      TestCheckOrder,
       InfiniteLoading,
-      ItemCirculatOrder
+      ItemCirculatOrder,
+      ConfigItemWarehouse,
+      ConfigItemChange,
+      ConfigItemOutbound
     },
     watch:{
     },
@@ -145,13 +159,9 @@
         });
       },
 
-      getTransformHeight(transformHeight){
+      getTransformHeight(){
         let Height=document.documentElement.clientHeight
-        if(transformHeight){
           return  Height-(650-403)
-        }else{
-          return  Height-650
-        }
       },
       async getQuery(){
         this.handleInfiniteLoadingBeforeGet()
@@ -186,9 +196,25 @@
       check(row) {
         console.log(row, "task row");
         if (row.flowCode === 'wplz') {
-          this.$refs.itemCirculatOrder.$refs.dialog.init(row)
-        } else if (row.flowCode === 'aaa') {
-          //this.$refs.itemCirculatOrder.$refs.dialog.init(row)
+          this.$nextTick(()=>{
+            this.$refs.itemCirculatOrder.$refs.dialog.init(row.bizId,row, true)
+          })
+        } else if (row.flowCode === 'pzxrk') {
+          this.$nextTick(()=>{
+            this.$refs.configItemWarehouse.$refs.dialog.init(row.bizId,row, true)
+          })
+        } else if (row.flowCode === 'csjcd') {
+          this.$nextTick(()=>{
+            this.$refs.testCheckOrder.$refs.dialog.init(row.bizId,row, true)
+          })
+        }else if (row.flowCode === 'pzxck') {
+          this.$nextTick(()=>{
+            this.$refs.configItemOutbound.$refs.dialog.init(row.bizId,row, true)
+          })
+        }else if (row.flowCode === 'pzxbg') {
+          this.$nextTick(()=>{
+            this.$refs.configItemChange.$refs.dialog.init(row.bizId,row, true)
+          })
         }
         else {
           if (row.stepReadRouterId === null){

--
Gitblit v1.9.1