From 15bcbd44b6a3b2ec34092bc5ed3e213fa9c55de4 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 20 十二月 2023 16:14:56 +0800
Subject: [PATCH] 将侧栏菜单数据存储进vuex

---
 src/views/operate/outEnterLibrary/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/operate/outEnterLibrary/index.vue b/src/views/operate/outEnterLibrary/index.vue
index 9eb2e60..846578e 100644
--- a/src/views/operate/outEnterLibrary/index.vue
+++ b/src/views/operate/outEnterLibrary/index.vue
@@ -42,6 +42,7 @@
       v-if="editConfig.visible" 
       :edit-common-config="editConfig" 
       :add-name="addName"
+      :workType="workType"
     />
   </div>
 </template>
@@ -77,11 +78,11 @@
       },
       params: {},
       baseOperationTypeList:getDataByType("baseOperationTypeTwo"),
+      workType:-1
     }
   },
   created() {
     this.setTable()
-    console.log(this.$route.params)
     var paramsList = sessionStorage.getItem("paramsList")
     let params = {}
     if (paramsList) {
@@ -145,11 +146,11 @@
         },
         {
           label: "涓氬姟绫诲瀷",
-          prop: "baseOperationType",
+          prop: "operationTypeName",
           isShowColumn: true,
           default: true,
-          conversion: true,
-          getStatus: this.getBaseOperationTypeList
+          // conversion: true,
+          // getStatus: this.getBaseOperationTypeList
         },
         {
           label: "浠�",
@@ -219,6 +220,7 @@
     async getData() {
       if (this.params.name === "鎶ヨ〃") {
         await listByCondition({
+          // condition:"",
           keyWord:this.params.keyWord,
           produceId:this.params.produceId,
           unit:this.params.unit,
@@ -268,6 +270,7 @@
       this.getData()
     },
     tableRowClick(row,val) {
+      this.workType=row.baseOperationType
       this.editConfig.title = val
       getOperationInfo(row.operationId).then((res)=>{
         this.editConfig.infomation = { ...res.data }

--
Gitblit v1.8.0