panxiandiao_i 5 年之前
父节点
当前提交
47bff1ded2
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 2 2
      src/views/projectManage/projectList/projectCreate.vue
  2. 3 3
      src/views/quality/qualityMeasurement.vue

+ 2 - 2
src/views/projectManage/projectList/projectCreate.vue

@@ -147,7 +147,7 @@ export default {
   mounted() {
   mounted() {
     if (!this.$route.query.id) {
     if (!this.$route.query.id) {
       const editor = new E('#wangeditor')
       const editor = new E('#wangeditor')
-      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
       editor.customConfig.onchange = (html) => {
       editor.customConfig.onchange = (html) => {
         this.editorContent = html
         this.editorContent = html
       }
       }
@@ -177,7 +177,7 @@ export default {
           this.form = res.data
           this.form = res.data
           this.editorContent = res.data.timeInfo
           this.editorContent = res.data.timeInfo
           const editor = new E('#wangeditor')
           const editor = new E('#wangeditor')
-          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
           editor.customConfig.onchange = (html) => {
           editor.customConfig.onchange = (html) => {
             this.editorContent = html
             this.editorContent = html
           }
           }

+ 3 - 3
src/views/quality/qualityMeasurement.vue

@@ -564,7 +564,7 @@ export default {
         this.loadingOnlineProcess = false
         this.loadingOnlineProcess = false
       }))
       }))
     },
     },
-    // 标签页
+    // 标签页研发质量
     handleClick() {
     handleClick() {
       const pretermitSearch = { id: this.pauseId, startTime: this.timeInterval[0], endTime: this.timeInterval[1], page: this.curIndex, perPage: this.pageSize }
       const pretermitSearch = { id: this.pauseId, startTime: this.timeInterval[0], endTime: this.timeInterval[1], page: this.curIndex, perPage: this.pageSize }
       getHandlerCount(pretermitSearch).then((res) => {
       getHandlerCount(pretermitSearch).then((res) => {
@@ -615,11 +615,11 @@ export default {
     },
     },
     handleSizeChange(size) {
     handleSizeChange(size) {
       this.pageSize = size
       this.pageSize = size
-      this._initProcess()
+      this.handleClick()
     },
     },
     handleCurrentChange(curIndex) {
     handleCurrentChange(curIndex) {
       this.curIndex = curIndex
       this.curIndex = curIndex
-      this._initProcess()
+      this.handleClick()
     },
     },
     successFun(successText) {
     successFun(successText) {
       this.$notify({ title: 'Success', message: `${successText} Successfully`, type: 'success', duration: 2000 })
       this.$notify({ title: 'Success', message: `${successText} Successfully`, type: 'success', duration: 2000 })