|
@@ -538,7 +538,6 @@
|
|
|
|
|
|
<script>
|
|
|
const _ = require('lodash')
|
|
|
-import { mapGetters } from 'vuex'
|
|
|
import { EncryptId, analysisBizId_id } from '@/utils/crypto-js.js'
|
|
|
import statusChange from '@/views/projectManage/bugList/details/statusChange'
|
|
|
import '@/styles/PublicStyle/index.scss'
|
|
@@ -604,6 +603,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
bugId: -1, // 当前缺陷Id
|
|
|
+ bizId: -1, // 当前缺陷BizId
|
|
|
configure: {
|
|
|
language_url: '/tinymce/langs/zh_CN.js',
|
|
|
language: 'zh_CN',
|
|
@@ -698,9 +698,6 @@ export default {
|
|
|
theBugTypeEnumList: [] // 缺陷类型
|
|
|
}
|
|
|
},
|
|
|
- computed: {
|
|
|
- ...mapGetters(['bizId'])
|
|
|
- },
|
|
|
watch: {
|
|
|
id(newVal, oldVal) {
|
|
|
this.bug = {}
|
|
@@ -1052,6 +1049,7 @@ export default {
|
|
|
document.getElementsByClassName('scop')[0].scrollTop = 0
|
|
|
}
|
|
|
this.bug = res.data
|
|
|
+ this.bizId = this.bug.bizId
|
|
|
this.bug.currentHandler = res.data.currentHandler.split(',')
|
|
|
this.bug.assigner = res.data.assigner.split(',')
|
|
|
this.bugModel = JSON.parse(JSON.stringify(res.data))
|