|
@@ -36,6 +36,7 @@
|
|
|
import moment from 'moment'
|
|
|
import echarts from 'echarts'
|
|
|
import '@/styles/PublicStyle/index.scss'
|
|
|
+import { analysisBizId_id, EncryptId } from '@/utils/crypto-js.js'
|
|
|
import { bugGetReportSumData, bugGetReportHighPriData, bugGetReportDisDataByMember, bugGetReportDisDataByPri, bugGetReportDisDataByDate } from '@/api/reportTemplate' // 模版添删改查
|
|
|
export default {
|
|
|
props: {
|
|
@@ -74,7 +75,10 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
click_bugName(id) { // 缺陷跳转
|
|
|
- this.$router.push({ name: '缺陷详情', params: { id: Number(id.replace('BUG-', '')) }})
|
|
|
+ const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ const bugId = Number(id.replace('BUG-', ''))
|
|
|
+ const bizId_ids = EncryptId(`${bizId_id[0]}_${bugId}`)
|
|
|
+ this.$router.push({ name: '缺陷详情', query: { bizId_id: bizId_ids }})
|
|
|
},
|
|
|
|
|
|
setReportData(val) {
|