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