From 5f3691d51a27282dd737376ac8227bf371d7c811 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 11 四月 2025 14:01:13 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/questionbank/index.vue | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/views/knowledge/questionbank/index.vue b/src/views/knowledge/questionbank/index.vue
index 7d64b9a..e998c53 100644
--- a/src/views/knowledge/questionbank/index.vue
+++ b/src/views/knowledge/questionbank/index.vue
@@ -20,6 +20,7 @@
:data="deptOptions"
:props="defaultProps"
:expand-on-click-node="false"
+ :check-strictly="true"
:filter-node-method="filterNode"
ref="tree"
node-key="id"
@@ -210,7 +211,6 @@
:show-overflow-tooltip="true"
/>
-
/><el-table-column
label="閫傜敤鏂瑰紡"
align="center"
@@ -289,7 +289,6 @@
size="medium"
type="text"
@click="compileUpdate(scope.row)"
-
><span class="button-bji"
><i class="el-icon-edit"></i>缂栬緫</span
></el-button
@@ -298,7 +297,6 @@
size="medium"
type="text"
@click="handleDelete(scope.row)"
-
><span class="button-textsc"
><i class="el-icon-delete-solid"></i>鍒犻櫎</span
></el-button
@@ -307,7 +305,6 @@
size="medium"
type="text"
@click="topicpreview(scope.row)"
-
><span class="button-text"
><i class="el-icon-view"></i>棰勮</span
></el-button
@@ -734,11 +731,11 @@
this.classifyform = b;
this.dialogFormVisible = true;
},
- Newcategory(){
- this.classifyform= {}, //绫诲埆琛ㄥ崟
- this.radio = "涓诲垎绫�";
- this.dialogFormVisible = true
- this.zifon = true;
+ Newcategory() {
+ (this.classifyform = {}), //绫诲埆琛ㄥ崟
+ (this.radio = "涓诲垎绫�");
+ this.dialogFormVisible = true;
+ this.zifon = true;
this.zufon = true;
},
@@ -748,6 +745,7 @@
return data.name.indexOf(value) !== -1;
},
handleNodeClick(data) {
+ if (data.svyLibScriptCategoryList) return;
this.queryParams.categoryid = data.id;
this.getList();
},
@@ -825,7 +823,7 @@
display: flex;
}
.sidecolumn {
- width: 300px;
+ width: 400px;
min-height: 100vh;
text-align: center;
// display: flex;
--
Gitblit v1.9.3