From cf907e2df0a06f55540113b59f5b9d340f72104d Mon Sep 17 00:00:00 2001
From: longyvfengyun <496960745@qq.com>
Date: 星期五, 08 十二月 2023 15:40:52 +0800
Subject: [PATCH] 产品中心查看SOP信息

---
 src/pages/resourceManage/product/details/details.vue |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/pages/resourceManage/product/details/details.vue b/src/pages/resourceManage/product/details/details.vue
index e3677d1..a379983 100644
--- a/src/pages/resourceManage/product/details/details.vue
+++ b/src/pages/resourceManage/product/details/details.vue
@@ -248,6 +248,7 @@
               @click="changeStatus"
               >閿佸畾鐗堟湰</a-button
             >
+	          <a-button type="primary" @click="viewSopFile">SOP鏌ョ湅</a-button>
           </template>
         </a-card>
       </a-layout-footer>
@@ -428,6 +429,17 @@
         <a-empty v-else />
       </div>
     </a-modal>
+	  <a-modal
+		  :visible="showSop"
+		  :footer="null"
+		  :width="1366"
+		  title="SOP鏌ョ湅"
+		  :destroyOnClose="true"
+		  @cancel="showSop = false">
+		  <div style="height: 600px">
+			  <sop-list :parentCode="parentCode"></sop-list>
+		  </div>
+	  </a-modal>
   </div>
 </template>
 
@@ -443,6 +455,7 @@
 import DownloadReason from "@/pages/components/downloadReason";
 import DownloadLogs from "@/pages/components/downloadLogs";
 
+import SopList from "@/pages/resourceManage/sopFile/sopList.vue";
 import List from "./list";
 import getWebUrl from "@/assets/js/tools/getWebUrl";
 import {
@@ -472,6 +485,7 @@
   mixins: [WSMixin],
   data() {
     return {
+			showSop: false,
       fileTreeVisible: false,
       fileTree: [],
       userListAll: [],
@@ -725,6 +739,7 @@
     Pop,
     DownloadReason,
     DownloadLogs,
+	  SopList,
   },
   computed: {
     ...mapGetters("setting", ["affixed"]),
@@ -785,6 +800,9 @@
     },
   },
   methods: {
+	  viewSopFile() {
+			this.showSop = true;
+	  },
     getRoleUser() {
       getRoleUser(1)
         .then((res) => {

--
Gitblit v1.9.1