WXL
2024-06-21 4fffa66d14a2b2943b35aca961317f3bed6649a0
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -298,7 +298,13 @@
            >
          </div>
          <div style="display: flex">
            <span style="width: 180px; font-size: 20px; font-weight: normal; color: red"
            <span
              style="
                width: 180px;
                font-size: 20px;
                font-weight: normal;
                color: red;
              "
              >问卷总分:</span
            >
            <el-input
@@ -811,6 +817,8 @@
      });
    },
    submitForm(formName) {
      this.$modal.loading("正在上传数据,请稍候...");
      this.ruleForm.labelInfo = this.dynamicTags.join(",");
      this.ruleForm.suitway = this.ruleForm.suitway.join(",");
@@ -818,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);
        });
      }