修改禅道已知bug
This commit is contained in:
@@ -256,7 +256,7 @@
|
|||||||
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
||||||
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
||||||
if ((selectedRowKeysRecord[i].gatherResult == 'Completed' &&
|
if ((selectedRowKeysRecord[i].gatherResult == 'Completed' &&
|
||||||
selectedRowKeysRecord[i].createBy == this.userInfo().username) || this.administrators) {
|
selectedRowKeysRecord[i].createBy == _this.userInfo().username) || _this.administrators) {
|
||||||
idList.push(selectedRowKeysRecord[i].id)
|
idList.push(selectedRowKeysRecord[i].id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -343,8 +343,8 @@
|
|||||||
let idList = []
|
let idList = []
|
||||||
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
||||||
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
||||||
if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == this.userInfo().username)
|
if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == _this.userInfo().username)
|
||||||
|| this.administrators) {
|
|| _this.administrators) {
|
||||||
idList.push(selectedRowKeysRecord[i].id)
|
idList.push(selectedRowKeysRecord[i].id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -359,7 +359,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
_this.$message.warning(_this.$t('onlyCompletedDataCanBeDeleted'))
|
_this.$message.warning(_this.$t('doNotHavePermissionDeleteData'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user