刘洋 1 жил өмнө
parent
commit
c6bb70bb2d

+ 2 - 1
src/assets/styles/home.scss

@@ -185,7 +185,8 @@
       color:#fff;
       background:#F53F3F;
       border-radius:4px;
-      width:20px;
+      padding:0 4px;
+      min-width:20px;
       height:20px;
       line-height:20px;
       text-align: center;

+ 1 - 0
src/modules/portal/views/home/HomeSide.vue

@@ -13,6 +13,7 @@
         text-color="#383b4a"
         router
         :default-active="defaultActiveCode"
+        unique-opened
       >
         <el-submenu
           v-for="(menu1, index) in menuList"

+ 3 - 2
src/modules/question/components/KnowledgePoints.vue

@@ -148,9 +148,10 @@ export default {
           let ids = [];
           for (let i = 0; i < this.checkedProperties.length; i++) {
             let obj = this.checkedProperties[i];
-            obj.firstProperty && ids.push(obj.firstProperty.id);
-            if (obj.secondProperty) {
+            if (obj.firstProperty && obj.secondProperty) {
               ids.push(obj.secondProperty.id);
+            } else {
+              ids.push(obj.firstProperty.id);
             }
           }
           this.$refs.tree.setCheckedKeys(Array.from(new Set(ids)));

+ 4 - 4
src/modules/question/views/QuestionManage.vue

@@ -58,13 +58,13 @@
             @click="toSourceDetailManage"
             >题型管理</el-button
           >
-          <el-button
+          <!-- <el-button
             type="danger"
             plain
             icon="el-icon-delete"
             @click="toRecycle"
             >回收站</el-button
-          >
+          > -->
         </div>
         <div>
           <el-button
@@ -88,13 +88,13 @@
             @click="toBatchDelete"
             >删除</el-button
           >
-          <el-button
+          <!-- <el-button
             type="primary"
             plain
             icon="el-icon-folder-opened"
             @click="toAddFolder"
             >新建文件夹</el-button
-          >
+          > -->
           <el-button
             v-if="!gptQuestionEnable"
             type="primary"

+ 1 - 1
src/modules/questions/views/CheckDuplicateList.vue

@@ -105,7 +105,7 @@
             <span>{{ scope.row.maxRepetition }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="创建时间" width="100">
+        <el-table-column label="创建时间" width="140">
           <template slot-scope="scope">
             <span>{{ scope.row.creationTime }}</span>
           </template>

+ 2 - 2
src/modules/questions/views/GenPaper.vue

@@ -80,13 +80,13 @@
             @click="openBatchExportPaperDialog"
             >下载成卷</el-button
           >
-          <el-button
+          <!-- <el-button
             type="danger"
             plain
             icon="el-icon-delete"
             @click="toRecycle"
             >回收站</el-button
-          >
+          > -->
         </div>
         <div>
           <el-button

+ 5 - 4
src/modules/questions/views/PropertyInfo.vue

@@ -273,7 +273,7 @@ export default {
     setTimeout(() => {
       this.$store.commit("UPDATE_CURRENT_PATHS", [
         "课程管理",
-        "课程属性",
+        "知识点",
         "属性结构",
       ]);
     }, 200);
@@ -514,9 +514,10 @@ export default {
     },
     //返回
     back() {
-      this.$router.push({
-        path: "/questions/course_property/1",
-      });
+      // this.$router.push({
+      //   path: "/questions/course_property/1",
+      // });
+      this.$router.back();
     },
     //上移
     moveUp() {