大屏、资源库分组编辑查重优化
@ -155,6 +155,7 @@ export default {
data () {
const validateName = (rule, value, callback) => {
this.$dataRoomAxios.post('/bigScreen/type/nameRepeat', {
id: this.currentCatalog.id,
name: value,
type: this.catalogType
}, true).then((r) => {
@ -126,6 +126,7 @@ export default {
type: this.type || 'bigScreenCatalog'
@ -127,6 +127,7 @@ export default {
type: 'resourceCatalog'
@ -175,7 +176,6 @@ export default {
name: '',
id: '',
code: '',
orderNum: 0
},
formRules: {
name: [