From 76196fb19d525648532a209710818ea74c242c3a Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 23 七月 2024 09:47:47 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/questionbank/index.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/knowledge/questionbank/index.vue b/src/views/knowledge/questionbank/index.vue index 573f072..b7a6709 100644 --- a/src/views/knowledge/questionbank/index.vue +++ b/src/views/knowledge/questionbank/index.vue @@ -180,8 +180,8 @@ label="棰樼洰鏍囬" fixed align="center" - key="script" - prop="script" + key="scriptTopic" + prop="scriptTopic" width="200" :show-overflow-tooltip="true" /> @@ -461,7 +461,7 @@ haoquestionnaire: "", idds: "", topicform: { - questionText: "", + scriptContent: "", }, amendtag: false, //鏄惁淇敼绫诲埆 dialogFormVisible: false, //淇敼娣诲姞绫诲埆寮规 @@ -549,7 +549,7 @@ // 鐤剧梾----------------------- illnessUpdate(row) { this.illnessVisible = true; - this.indexid = row.topicid; + this.indexid = row.id; this.illnesslistapi = []; const illnessqueryParams = { pageNum: 1, @@ -559,7 +559,7 @@ console.log(response); this.optionsillness = response.rows; }); - getillness({ outid: row.topicid, type: 4 }).then((res) => { + getillness({ outid: row.id, type: 4 }).then((res) => { this.illnesslist = res.rows; console.log(res); }); @@ -720,7 +720,7 @@ // 琛ㄥ崟閲嶇疆 reset() { this.form = { - topicid: undefined, + id: undefined, deptId: undefined, userName: undefined, nickName: undefined, @@ -750,7 +750,7 @@ }, // 澶氶�夋閫変腑鏁版嵁 handleSelectionChange(selection) { - this.ids = selection.map((item) => item.topicid); + this.ids = selection.map((item) => item.id); this.single = selection.length != 1; this.multiple = !selection.length; }, @@ -770,7 +770,8 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { - const topicids = row.topicid || this.ids; + console.log(this.ids); + const topicids = row.id || this.ids; this.$modal .confirm('鏄惁纭鍒犻櫎鐢ㄦ埛缂栧彿涓�"' + topicids + '"鐨勬暟鎹」锛�') .then(function () { -- Gitblit v1.9.3