浏览代码

教育培训 bug修改

jingyuanchao 2 年之前
父节点
当前提交
c62a125430
共有 3 个文件被更改,包括 4 次插入14 次删除
  1. 1 11
      src/views/core/edu/plan/index.vue
  2. 2 2
      src/views/core/knowledge/index.vue
  3. 1 1
      src/views/core/materials/index.vue

+ 1 - 11
src/views/core/edu/plan/index.vue

@@ -600,7 +600,6 @@ export default {
       }, `plan_${new Date().getTime()}.xlsx`)
     },
     showSelectFile() {
-      // this.$refs.DialogSelectFile.show();
       this.$refs["DialogSelectFile"].show();
     },
     fileSelected(list) {
@@ -609,21 +608,12 @@ export default {
       list.forEach(x => {
         tempArry=tempArry.concat(x.fileList);
       })
-      console.log("fileSelected",tempArry);
-      //this.form.fileList=this.form.fileList.concat(tempArry);
       this.formFileListDefualtValue =this.form.fileList.concat(tempArry);
     },
   },
   mounted() {
 
   },
-  updated(){
-    this.filterOrtTypeOptions=JSON.parse(JSON.stringify(this.dict.type.sys_org_type)).filter(element => {
-      if(element.value > 3){
-        return JSON.parse(JSON.stringify(element))
-      }
-    });
-    console.log('this.filterOrtTypeOptions',this.filterOrtTypeOptions);
-  }
+
 };
 </script>

+ 2 - 2
src/views/core/knowledge/index.vue

@@ -196,7 +196,7 @@ export default {
     handleAdd() {
       this.reset();
       this.open = true;
-      this.title = "添加标签";
+      this.title = "新增标签";
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
@@ -205,7 +205,7 @@ export default {
       getKnowledge(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = "修改标签";
+        this.title = "编辑标签";
       });
     },
     /** 提交按钮 */

+ 1 - 1
src/views/core/materials/index.vue

@@ -198,7 +198,7 @@
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button v-show="title!='学习资料详情'" type="primary" @click="submitForm">确 定</el-button>
         <el-button @click="cancel">取 消</el-button>
       </div>
     </DialogCom>