qinzhipeng_v 5 years ago
parent
commit
2ce78f94ce

+ 6 - 7
src/layout/components/Navbar.vue

@@ -93,10 +93,12 @@ export default {
     Utils.$on('demo', msg => {
       const bizId = {}
       bizId.code = msg
-      this.$message({ message: '提示:任务业务线与当前任务业务线不符,系统自动在“3秒后”变更任务业务线为当前业务线!', type: 'error', duration: 10000, offset: 150 })
-      setTimeout(() => {
-        this.sumTypeCkeck(bizId)
-      }, 3000)
+      this.$alert('提示:任务所属业务线和当前设置业务线不一致,将修改用户所在业务线为任务所属业务线,请知晓!', '提示', {
+        confirmButtonText: '确定',
+        callback: action => {
+          this.sumTypeCkeck(bizId)
+        }
+      })
     })
   },
   methods: {
@@ -127,9 +129,6 @@ export default {
       })
     },
     get_bizArr() {
-      // var url = window.location.href // 获取url中"?"符后的字
-      // this.taskId = url.split('?id=')
-      // console.log(this.taskId, 'ccdscsdcdscdss')
       settingQueryBizTypeList({}).then(res => {
         this.bizOptions = res.data.list
         var int = Number(localStorage.getItem('bizId'))

+ 0 - 1
src/views/projectManage/bugList/file/createdBug.vue

@@ -268,7 +268,6 @@ export default {
       this.$nextTick(() => {
         this.$refs['formInline'].clearValidate()
       })
-      console.log(this.fileList, 'bug')
       this.fileList = []
       this.fileDbList = []
       this.formInline = {}