|
@@ -391,6 +391,7 @@ import {
|
|
|
launchTest
|
|
|
} from '@/api/taskIndex' // ajax
|
|
|
import openDialog from '@/views/projectManage/dialog_vue'
|
|
|
+import Utils from '../../../util.js'
|
|
|
import { launchTestUpdate } from '@/api/projectPage.js'
|
|
|
import { bugList, bugGetEnum } from '@/api/defectManage'
|
|
|
import echarts from 'echarts'
|
|
@@ -529,10 +530,16 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.get_list()
|
|
|
+ this.$store.state.data.status = true
|
|
|
+ this.$store.state.data.bizId = true
|
|
|
},
|
|
|
mounted() {
|
|
|
this.get_echarts()
|
|
|
},
|
|
|
+ destroyed() {
|
|
|
+ this.$store.state.data.status = false
|
|
|
+ this.$store.state.data.bizId = false
|
|
|
+ },
|
|
|
methods: {
|
|
|
click_launchTestInfoDOS(e) {
|
|
|
var url = window.location.href // 获取url中"?"符后的字
|
|
@@ -603,6 +610,9 @@ export default {
|
|
|
this.bugStatus.unshift({ code: -1, msg: '全部' })
|
|
|
})
|
|
|
taskGet(this.taskId[1]).then(res => {
|
|
|
+ if (res.data.bizId !== Number(localStorage.getItem('bizId'))) {
|
|
|
+ Utils.$emit('demo', res.data.bizId)
|
|
|
+ }
|
|
|
this.pauseName = res.data.involveAppString === null ? '' : res.data.involveAppString
|
|
|
this.task_form = res.data
|
|
|
this.total = res.total
|
|
@@ -1061,8 +1071,7 @@ export default {
|
|
|
break
|
|
|
case 4:
|
|
|
this.modalShow = true
|
|
|
- console.log(ele, 'dddddd')
|
|
|
- // this.$nextTick(() => { this.$resfs.createdBug.init(1, ele) })
|
|
|
+ this.$nextTick(() => { this.$refs.createdBug.init(1, ele) })
|
|
|
break
|
|
|
}
|
|
|
}
|