WXL
2025-04-11 5f3691d51a27282dd737376ac8227bf371d7c811
测试完成
已修改3个文件
28 ■■■■ 文件已修改
src/views/knowledge/questionbank/index.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/particulars/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionbank/index.vue
@@ -20,6 +20,7 @@
          :data="deptOptions"
          :props="defaultProps"
          :expand-on-click-node="false"
          :check-strictly="true"
          :filter-node-method="filterNode"
          ref="tree"
          node-key="id"
@@ -210,7 +211,6 @@
                :show-overflow-tooltip="true"
              />
              /><el-table-column
                label="适用方式"
                align="center"
@@ -289,7 +289,6 @@
                    size="medium"
                    type="text"
                    @click="compileUpdate(scope.row)"
                    ><span class="button-bji"
                      ><i class="el-icon-edit"></i>编辑</span
                    ></el-button
@@ -298,7 +297,6 @@
                    size="medium"
                    type="text"
                    @click="handleDelete(scope.row)"
                    ><span class="button-textsc"
                      ><i class="el-icon-delete-solid"></i>删除</span
                    ></el-button
@@ -307,7 +305,6 @@
                    size="medium"
                    type="text"
                    @click="topicpreview(scope.row)"
                    ><span class="button-text"
                      ><i class="el-icon-view"></i>预览</span
                    ></el-button
@@ -734,11 +731,11 @@
      this.classifyform = b;
      this.dialogFormVisible = true;
    },
    Newcategory(){
      this.classifyform= {}, //类别表单
      this.radio = "主分类";
     this.dialogFormVisible = true
     this.zifon = true;
    Newcategory() {
      (this.classifyform = {}), //类别表单
        (this.radio = "主分类");
      this.dialogFormVisible = true;
      this.zifon = true;
      this.zufon = true;
    },
@@ -748,6 +745,7 @@
      return data.name.indexOf(value) !== -1;
    },
    handleNodeClick(data) {
      if (data.svyLibScriptCategoryList) return;
      this.queryParams.categoryid = data.id;
      this.getList();
    },
@@ -825,7 +823,7 @@
  display: flex;
}
.sidecolumn {
  width: 300px;
  width: 400px;
  min-height: 100vh;
  text-align: center;
  //   display: flex;
src/views/knowledge/questionbank/particulars/index.vue
@@ -868,13 +868,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;
src/views/knowledge/questionnaire/index.vue
@@ -830,6 +830,7 @@
      return data.name.indexOf(value) !== -1;
    },
    handleNodeClick(data) {
      if (data.svyLibTemplateCategoryList) return;
      this.queryParams.categoryid = data.id;
      this.getList();
    },
@@ -895,7 +896,7 @@
  display: flex;
}
.sidecolumn {
  width: 300px;
  width: 400px;
  min-height: 100vh;
  text-align: center;
  //   display: flex;