panxiandiao_i 5 жил өмнө
parent
commit
47bff1ded2

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

@@ -147,7 +147,7 @@ export default {
   mounted() {
     if (!this.$route.query.id) {
       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) => {
         this.editorContent = html
       }
@@ -177,7 +177,7 @@ export default {
           this.form = res.data
           this.editorContent = res.data.timeInfo
           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) => {
             this.editorContent = html
           }

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

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