[update 88398] 标准比对,发布时删除提示语
This commit is contained in:
@@ -259,6 +259,11 @@ export default {
|
||||
onOk: () => {
|
||||
const idList = []
|
||||
const selectionRows = JSON.parse(JSON.stringify(this.selectionRows))
|
||||
// 发布状态不能删除
|
||||
if (selectionRows.some(item => item.releaseState !== 'draft')) {
|
||||
this.$message.warning(this.$t('publishedAndCannotDeleted'))
|
||||
return
|
||||
}
|
||||
for (let i = 0; i < selectionRows.length; i++) {
|
||||
if (selectionRows[i].createBy === this.userInfo.username &&
|
||||
selectionRows[i].releaseState === 'draft') {
|
||||
|
||||
Reference in New Issue
Block a user