修改法规清单的批量设置人员
This commit is contained in:
@@ -254,7 +254,7 @@
|
||||
verifyDutyList: [],
|
||||
formInline: {},
|
||||
rules: {},
|
||||
ids: [],
|
||||
ids: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -299,7 +299,7 @@
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.visible = false
|
||||
this.confirmLoading = false
|
||||
this.$emit('batSettingList')
|
||||
this.$emit('batchSettingPersonnelForm')
|
||||
} else {
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
this.confirmLoading = false
|
||||
|
||||
@@ -1165,12 +1165,12 @@
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < content.length; i++) {
|
||||
if (!content[i].dutyTerritory) {
|
||||
if (!content[i].dutyTerritory_dictText) {
|
||||
this.$message.warning(this.$t('theSelectedDataResponsibilityFieldCannotEmpty'))
|
||||
return
|
||||
}
|
||||
for (let j = 1; j < content.length; j++) {
|
||||
if (content[i].dutyTerritory != content[j].dutyTerritory || !content[i].dutyTerritory) {
|
||||
if (content[i].dutyTerritory_dictText != content[j].dutyTerritory_dictText || !content[i].dutyTerritory_dictText) {
|
||||
this.$message.warning(this.$t('theInconsistentSameResponsibility'))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user