From 9c2d5e38508be3657b96428481f1c96127130a0b Mon Sep 17 00:00:00 2001 From: WXL (wul) <wl_5969728@163.com> Date: 星期三, 27 八月 2025 09:31:53 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/questionbank/particulars/index.vue | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue index d0f507d..b009153 100644 --- a/src/views/knowledge/questionbank/particulars/index.vue +++ b/src/views/knowledge/questionbank/particulars/index.vue @@ -328,7 +328,9 @@ <el-image style="width: 100px; height: 100px" :src="topicobj.picturePath" - :preview-src-list="[...topicobj.picturePath]" + :preview-src-list=" + topicobj.picturePath ? [topicobj.picturePath] : [] + " > </el-image> </div> @@ -452,9 +454,9 @@ label="ABC绛夌骇" > <el-radio-group v-model="item.score"> - <el-radio label="A">A</el-radio> - <el-radio label="B">B</el-radio> - <el-radio label="C">C</el-radio> + <el-radio :label="1">A</el-radio> + <el-radio :label="2">B</el-radio> + <el-radio :label="3">C</el-radio> </el-radio-group> </el-form-item> <el-form-item @@ -518,7 +520,9 @@ <el-image style="width: 100px; height: 100px" :src="item.picturePath" - :preview-src-list="[...item.picturePath]" + :preview-src-list=" + item.picturePath ? [item.picturePath] : [] + " > </el-image> </div> @@ -868,13 +872,14 @@ // 鑾峰彇鏁版嵁 getissueinfo() { this.id = this.$route.query.id; - if (this.$route.query.categoryid) { - this.topicobj.categoryid = Number(this.$route.query.categoryid); - } + // 鍒嗙被 getissueclassify({}).then((res) => { this.classifylist = res.rows; + if (this.$route.query.categoryid) { + this.topicobj.categoryid = Number(this.$route.query.categoryid); + } }); if (!this.id) { return; @@ -1087,10 +1092,10 @@ ) .then(() => { console.log(row); - this.topicobj.scriptTopic = row.targetname; + // this.topicobj.scriptTopic = row.targetname; this.topicobj.valueType = row.valueType; this.topicobj.scriptType = row.scriptType; - this.topicobj.scriptContent = row.targetdesc; + // this.topicobj.scriptContent = row.targetdesc; this.topicobj.targetid = row.id; this.topicobj.targetname = row.targetname; this.topicobj.svyLibScriptOptions = []; -- Gitblit v1.9.3