From 137bf2c0666b60cfc0d98b1a9ca7ead860ee4e7c Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 28 十月 2026 17:57:29 +0800
Subject: [PATCH] feat(device,supply,satisfaction): 设备计划改造、耗材采购调整与满意度照片上传
---
src/views/CNAS/externalService/serviceAndSupplyPro/index.vue | 36 ------------------------------------
1 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
index 048b46a..74255ed 100644
--- a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
+++ b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
@@ -33,21 +33,11 @@
<el-tab-pane label="鑰楁潗鍏ュ簱" name="third" :lazy="true">
<Store v-if="activeName == 'third'" :contentsId="contentsId"></Store>
</el-tab-pane>
- <el-tab-pane label="鐩綍缁存姢" name="fourth" :lazy="true">
- <Contents
- v-if="activeName == 'fourth'"
- :id="contentsId"
- @contentsUpdate="contentsUpdate"
- :treeData="treeData"
- from="鑰楁潗鏍�"
- ></Contents>
- </el-tab-pane>
</el-tabs>
</div>
</div>
</template>
<script>
-import Contents from "./component/contents.vue";
import Store from "./component/Store.vue";
import ConsumableOverview from "./component/ConsumableOverview.vue";
import ConsumableList from "./component/ConsumableList.vue"
@@ -74,7 +64,6 @@
};
},
components: {
- Contents,
Store,
ConsumableOverview,
ConsumableList
@@ -106,31 +95,6 @@
findNodesWithFiber(this.treeData);
},
- // 鐩綍缁存姢鏇存柊
- contentsUpdate(val, flag = false) {
- if (val) {
- this.getTreeData();
- this.expandedKeys = [];
- if (flag) {
- const findNodesWithFiber = (nodes) => {
- nodes.forEach((item) => {
- if (item.parentId == val) {
- this.expandedKeys.push(item.id);
- }
- if(item.children && item.children.length > 0) {
- findNodesWithFiber(item.children);
- }
- });
- };
- findNodesWithFiber(this.treeData);
- this.expandedKeys = this.expandedKeys.filter((item) => item !== val);
- } else {
- this.expandedKeys.push(val);
- }
- }else {
- this.getTreeData();
- }
- },
// 鏌ヨ鎵�鏈夌洰褰�
getTreeData() {
directoryListing().then((res) => {
--
Gitblit v1.9.3