From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/questionnaire/index.vue | 45 +++++++++++++++++++++++----------------------
1 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/src/views/knowledge/questionnaire/index.vue b/src/views/knowledge/questionnaire/index.vue
index 7866a88..45a95e3 100644
--- a/src/views/knowledge/questionnaire/index.vue
+++ b/src/views/knowledge/questionnaire/index.vue
@@ -3,8 +3,8 @@
<!-- 宸︿晶鏍� -->
<div class="sidecolumn">
<div class="sidecolumn-top">
- <div class="top-wj">闂嵎绫诲瀷</div>
- <div class="top-tj" @click="dialogFormVisible = true">+娣诲姞</div>
+ <div class="top-wj">闂嵎鍒嗙被</div>
+ <div class="top-tj" @click="Newcategory">+娣诲姞</div>
</div>
<div class="center-ss">
<el-input
@@ -94,7 +94,7 @@
</el-option>
</el-select>
</el-form-item>
- <el-form-item label="涓昏鍐呭" prop="userName">
+ <el-form-item label="闂嵎鎻忚堪" prop="userName">
<el-input
v-model="queryParams.description"
placeholder="璇疯緭鍏�"
@@ -141,7 +141,7 @@
icon="el-icon-plus"
size="medium"
@click="handleAdd"
- v-hasPermi="['system:user:add']"
+
>鏂板</el-button
>
</el-col>
@@ -154,7 +154,6 @@
size="medium"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['system:user:remove']"
>鍒犻櫎</el-button
>
</el-col>
@@ -182,16 +181,9 @@
width="160"
:show-overflow-tooltip="true"
/>
- <el-table-column
- label="鐗堟湰"
- align="center"
- key="version"
- prop="version"
- :show-overflow-tooltip="true"
- />
<el-table-column
- label="涓昏鍐呭"
+ label="闂嵎鎻忚堪"
align="center"
key="description"
prop="description"
@@ -207,7 +199,6 @@
size="medium"
type="text"
@click="illnessUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
><span class="button-textxg"
><i class="el-icon-date"></i>璇︽儏</span
></el-button
@@ -261,7 +252,6 @@
size="medium"
type="text"
@click="goQRCode(scope.row)"
- v-hasPermi="['system:user:edit']"
>
<span class="button-text"
><i class="el-icon-edit"></i>棰勮</span
@@ -271,7 +261,6 @@
size="medium"
type="text"
@click="ViewQuestionnaire(scope.row)"
- v-hasPermi="['system:user:edit']"
><span class="button-textck"
><i class="el-icon-edit"></i>鏌ョ湅</span
></el-button
@@ -280,7 +269,6 @@
size="medium"
type="text"
@click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
><span class="button-textxg"
><i class="el-icon-edit"></i>淇敼</span
></el-button
@@ -289,7 +277,6 @@
size="medium"
type="text"
@click="handleDelete(scope.row)"
- v-hasPermi="['system:user:remove']"
><span class="button-textsc"
><i class="el-icon-edit"></i>鍒犻櫎</span
></el-button
@@ -310,7 +297,7 @@
</div>
</div>
<!-- 娣诲姞绫诲埆寮规 -->
- <el-dialog title="鏂板绫诲埆" width="30%" :visible.sync="dialogFormVisible">
+ <el-dialog title="绫诲埆缂栬緫" width="30%" :visible.sync="dialogFormVisible">
<div style="text-align: center; margin-bottom: 20px">
<el-radio-group v-model="radio">
<el-radio-button label="涓诲垎绫�"></el-radio-button>
@@ -401,7 +388,7 @@
</div>
</div>
</el-dialog> -->
- <!-- 闂嵎妯$増棰勮 -->
+ <!-- 闂嵎妯℃澘棰勮 -->
<el-dialog title="闅忚棰樼洰棰勮" :visible.sync="topicVisible" width="50%">
<div class="preview-left">
<!-- 鍗曢�� -->
@@ -525,7 +512,7 @@
roleOptions: [],
// 琛ㄥ崟鍙傛暟
form: {},
-
+ title: "绫诲埆缂栬緫",
sidecolumnform: {}, //娣诲姞绫诲埆琛ㄥ崟
goQRCodeVisible: false, //浜岀淮鐮佸脊妗�
sidecolumnval: "", //绫诲埆鎼滅储
@@ -539,6 +526,8 @@
indexid: null,
inputValue: "",
radio: "涓诲垎绫�",
+ zufon: true,
+ zifon: true,
inputVisible: false,
illnessVisible: false, //鎸囨爣鐤剧梾寮规
deptOptions: [],
@@ -817,11 +806,22 @@
this.dialogFormVisible = true;
if (!b.pid) {
this.radio = "涓诲垎绫�";
+ this.title = "淇敼涓诲垎绫�";
+ this.zufon = false;
} else {
this.radio = "瀛愬垎绫�";
+ this.title = "淇敼瀛愬垎绫�";
+ this.zifon = false;
}
this.classifyform = b;
this.dialogFormVisible = true;
+ },
+ Newcategory(){
+ this.classifyform= {}, //绫诲埆琛ㄥ崟
+ this.radio = "涓诲垎绫�";
+ this.dialogFormVisible = true
+ this.zifon = true;
+ this.zufon = true;
},
// 绛涢�夎妭鐐�
@@ -830,6 +830,7 @@
return data.name.indexOf(value) !== -1;
},
handleNodeClick(data) {
+ if (data.svyLibTemplateCategoryList) return;
this.queryParams.categoryid = data.id;
this.getList();
},
@@ -895,7 +896,7 @@
display: flex;
}
.sidecolumn {
- width: 300px;
+ width: 400px;
min-height: 100vh;
text-align: center;
// display: flex;
--
Gitblit v1.9.3