From 7eaee92ee52e1501480adbbe8a1af9ddecc04275 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 04 九月 2024 11:05:23 +0800
Subject: [PATCH] 测试完成

---
 src/views/knowledge/questionbank/particulars/index.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue
index a615daf..0adb83f 100644
--- a/src/views/knowledge/questionbank/particulars/index.vue
+++ b/src/views/knowledge/questionbank/particulars/index.vue
@@ -103,6 +103,7 @@
                   ><el-form-item label="鏄惁鍙敤">
                     <el-radio-group v-model="topicobj.isavailable">
                       <el-radio
+                      @change="$forceUpdate()"
                         v-for="(item, index) in usable"
                         :label="item.value"
                         >{{ item.label }}</el-radio
@@ -114,6 +115,7 @@
                   <el-form-item label="鏄惁蹇呭~">
                     <el-radio-group v-model="topicobj.ismandatory">
                       <el-radio
+                      @change="$forceUpdate()"
                         v-for="(item, index) in required"
                         :label="item.value"
                         >{{ item.label }}</el-radio
@@ -842,12 +844,10 @@
       if (this.$route.query.categoryid) {
         this.topicobj.categoryid = Number(this.$route.query.categoryid);
       }
-      this.topicobj.isavailable = "1";
-      this.topicobj.language = "鏅�氳瘽";
+
       // 鍒嗙被
       getissueclassify({}).then((res) => {
         this.classifylist = res.rows;
-        console.log(this.classifylist, "鍒嗙被");
       });
       if (!this.id) {
         return;
@@ -1060,8 +1060,6 @@
           this.topicobj.scriptContent = row.targetdesc;
           this.topicobj.targetid = row.id;
           this.topicobj.targetname = row.targetname;
-          this.topicobj.isavailable = "0";
-          this.topicobj.language = "鏅�氳瘽";
           this.topicobj.svyLibScriptOptions = [];
           const labellist = row.targetoptionList;
           labellist.forEach((item) => {

--
Gitblit v1.9.3