|
@@ -101,11 +101,13 @@ export default {
|
|
|
statusDialogConfirm() { // 点击确定 验证 修改
|
|
|
this.$refs.statusDialogForm.validate((valid) => {
|
|
|
if (valid) {
|
|
|
- this.bugData.status = this.status
|
|
|
- this.bugData.reasonOrDesc = this.statusDialogForm.reasonOrDesc
|
|
|
- this.bugData.repairResult = this.statusDialogForm.repairResult
|
|
|
- this.bugData.bugReason = this.statusDialogForm.bugReason
|
|
|
- const objData = { bugBaseInfo: this.bugData, user: this.userData }
|
|
|
+ const data = {}
|
|
|
+ data.id = this.bugData.id
|
|
|
+ data.status = this.status
|
|
|
+ data.reasonOrDesc = this.statusDialogForm.reasonOrDesc
|
|
|
+ data.repairResult = this.statusDialogForm.repairResult
|
|
|
+ data.bugReason = this.statusDialogForm.bugReason
|
|
|
+ const objData = { bugBaseInfo: data, user: this.userData }
|
|
|
bugUpdate(objData).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.statusDialogVisible = false
|