From 4fffa66d14a2b2943b35aca961317f3bed6649a0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 21 六月 2024 17:09:44 +0800
Subject: [PATCH] 测试完成

---
 src/views/knowledge/questionnaire/compilequer/index.vue |   43 +++++++++++++++++++++++++++++++++----------
 1 files changed, 33 insertions(+), 10 deletions(-)

diff --git a/src/views/knowledge/questionnaire/compilequer/index.vue b/src/views/knowledge/questionnaire/compilequer/index.vue
index 040fb82..524e8af 100644
--- a/src/views/knowledge/questionnaire/compilequer/index.vue
+++ b/src/views/knowledge/questionnaire/compilequer/index.vue
@@ -287,14 +287,31 @@
       <div v-if="Editprogress == 2">
         <div class="leftvlue-jbxx">闂嵎棰樼洰璁剧疆</div>
         <el-divider></el-divider>
-        <div class="addtopic">
-          <el-button
-            type="primary"
-            icon="el-icon-plus"
-            round
-            @click="getaddtopiclist"
-            >娣诲姞棰樼洰</el-button
-          >
+        <div style="display: flex; justify-content: space-between">
+          <div>
+            <el-button
+              type="primary"
+              icon="el-icon-plus"
+              round
+              @click="getaddtopiclist"
+              >娣诲姞棰樼洰</el-button
+            >
+          </div>
+          <div style="display: flex">
+            <span
+              style="
+                width: 180px;
+                font-size: 20px;
+                font-weight: normal;
+                color: red;
+              "
+              >闂嵎鎬诲垎锛�</span
+            >
+            <el-input
+              v-model="ruleForm.scriptScore"
+              placeholder="璇疯緭鍏ュ垎鏁�"
+            ></el-input>
+          </div>
         </div>
         <div class="presentation">
           <div class="presentation-left">
@@ -413,7 +430,7 @@
                 <div class="headline">閫夐」璁剧疆</div>
                 <div
                   class="topicxq"
-                  v-for="item in topicobj.svyLibScriptOptions"
+                  v-for="item in topicobj.svyLibTemplateTargetoptions"
                 >
                   <el-row :gutter="10">
                     <el-col :span="11"
@@ -421,7 +438,7 @@
                         <el-input
                           type="text"
                           placeholder="璇疯緭鍏�"
-                          v-model="item.topicid"
+                          v-model="item.id"
                           show-word-limit
                         >
                         </el-input> </el-form-item
@@ -800,6 +817,8 @@
       });
     },
     submitForm(formName) {
+      this.$modal.loading("姝e湪涓婁紶鏁版嵁锛岃绋嶅��...");
+
       this.ruleForm.labelInfo = this.dynamicTags.join(",");
       this.ruleForm.suitway = this.ruleForm.suitway.join(",");
 
@@ -807,12 +826,16 @@
         this.ruleForm.isoperation = 2;
         compileQtemplate(this.ruleForm).then((response) => {
           this.$modal.msgSuccess("淇敼鎴愬姛");
+          this.$modal.closeLoading();
+
           this.$router.go(-1);
         });
       } else {
         this.ruleForm.isoperation = 1;
         compileQtemplate(this.ruleForm).then((response) => {
           this.$modal.msgSuccess("鏂板鎴愬姛");
+          this.$modal.closeLoading();
+
           this.$router.go(-1);
         });
       }

--
Gitblit v1.9.3