guarantee-lsq 1 rok pred
rodič
commit
85687d35c5

+ 2 - 3
src/views/workplace/backlog/NewWorkplaceBacklog.vue

@@ -485,10 +485,9 @@ export default {
       this.chartLine.render()
     },
     toCalendar () {
-      getCalendarNotice().then(res => {
+      /* getCalendarNotice().then(res => {
         const router = this.$router
         if (res.data.calendar_date !== null) {
-          // this.modalVisible = true
           this.$confirm({
             title: '提示',
             content: '七天内需要完成的任务!',
@@ -508,7 +507,7 @@ export default {
             onCancel () {}
           })
         }
-      })
+      }) */
     }
   }
 }

+ 23 - 24
src/views/workplace/backlog/SbInfoWorkplaceBacklog.vue

@@ -489,30 +489,29 @@ export default {
       this.chartLine.render()
     },
     toCalendar () {
-      getCalendarNotice().then(res => {
-        const router = this.$router
-        if (res.data.calendar_date !== null) {
-          // this.modalVisible = true
-          this.$confirm({
-            title: '提示',
-            content: '七天内需要完成的任务!',
-            okText: '去查看',
-            icon: 'info-circle',
-            onOk () {
-              return new Promise((resolve, reject) => {
-                router.push({ path: '/repaire/calendar' })
-                resolve()
-              }).catch(err => {
-                this.$message.error({
-                  title: '错误',
-                  description: err.message
-                })
-              })
-            },
-            onCancel () {}
-          })
-        }
-      })
+      // getCalendarNotice().then(res => {
+      //   const router = this.$router
+      //   if (res.data.calendar_date !== null) {
+      //     this.$confirm({
+      //       title: '提示',
+      //       content: '七天内需要完成的任务!',
+      //       okText: '去查看',
+      //       icon: 'info-circle',
+      //       onOk () {
+      //         return new Promise((resolve, reject) => {
+      //           router.push({ path: '/repaire/calendar' })
+      //           resolve()
+      //         }).catch(err => {
+      //           this.$message.error({
+      //             title: '错误',
+      //             description: err.message
+      //           })
+      //         })
+      //       },
+      //       onCancel () {}
+      //     })
+      //   }
+      // })
     }
     /* getLineCharts (id, data) {
       this.chartLine = new Chart({

+ 2 - 3
src/views/workplace/backlog/SbWorkplaceBacklog.vue

@@ -443,10 +443,9 @@ export default {
       this.chartLine.render()
     },
     toCalendar () {
-      getCalendarNotice().then(res => {
+      /* getCalendarNotice().then(res => {
         const router = this.$router
         if (res.data.calendar_date !== null) {
-          // this.modalVisible = true
           this.$confirm({
             title: '提示',
             content: '七天内需要完成的任务!',
@@ -466,7 +465,7 @@ export default {
             onCancel () {}
           })
         }
-      })
+      }) */
     }
   }
 }

+ 2 - 3
src/views/workplace/backlog/StoreWorkplaceBacklog.vue

@@ -546,10 +546,9 @@ export default {
       modal.base()
     },
     toCalendar () {
-      getCalendarNotice().then(res => {
+      /* getCalendarNotice().then(res => {
         const router = this.$router
         if (res.data.calendar_date !== null) {
-          // this.modalVisible = true
           this.$confirm({
             title: '提示',
             content: '七天内需要完成的任务!',
@@ -569,7 +568,7 @@ export default {
             onCancel () {}
           })
         }
-      })
+      }) */
     }
   }
 }

+ 2 - 3
src/views/workplace/backlog/WorkplaceBacklog.vue

@@ -449,10 +449,9 @@ export default {
       this.$refs.table.refresh()
     },
     toCalendar () {
-      getCalendarNotice().then(res => {
+      /* getCalendarNotice().then(res => {
         const router = this.$router
         if (res.data.calendar_date !== null) {
-          // this.modalVisible = true
           this.$confirm({
             title: '提示',
             content: '七天内需要完成的任务!',
@@ -472,7 +471,7 @@ export default {
             onCancel () {}
           })
         }
-      })
+      }) */
     }
   }
 }