guanqb
2024-02-20 6ff48bb128d7fc2e92ed5b3367a9545178a47b73
公司管理保存只提示一次,底部切换tab保存数据
1 files modified
14 ■■■■■ changed files
src/views/property/companyManage.vue 14 ●●●●● patch | view | raw | blame | history
src/views/property/companyManage.vue
@@ -22,8 +22,8 @@
          <div class="topic-options" v-if="item.choicesType == 0">
            <el-radio-group v-model="item.chooseId">
              <el-radio :label="item1.id" v-for="(item1, index1) in item.subjectOptionList"
                :key="index1">{{ item1.optionName }}</el-radio>
                            <el-radio :label="item1.id" v-for="(item1, index1) in item.subjectOptionList" :key="index1">{{
                                item1.optionName }}</el-radio>
            </el-radio-group>
          </div>
@@ -192,10 +192,10 @@
      saveQuestionBank() {
        save(this.questionBankData).then(
          () => {
            this.$message({
              type: "success",
              message: "操作成功!",
            })
                    // this.$message({
                    //   type: "success",
                    //   message: "操作成功!",
                    // })
            // this.questionBankOnLoad(this.page, param = {
            //   subclassName: this.activeName,
            //   propertyId: this.wyForm.id
@@ -213,6 +213,8 @@
          subclassName: tab.label,
          propertyId: this.wyForm.id
        }
            // 保持考试信息
            this.saveQuestionBank()
        this.questionBankOnLoad(this.page, param)
      },