fix: 大屏、资源库分组编辑查重优化

大屏、资源库分组编辑查重优化
main
hong.yang 2 years ago
parent f815fdfbcd
commit 83ecab2d48

@ -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 {
data () {
const validateName = (rule, value, callback) => {
this.$dataRoomAxios.post('/bigScreen/type/nameRepeat', {
id: this.currentCatalog.id,
name: value,
type: this.type || 'bigScreenCatalog'
}, true).then((r) => {

@ -127,6 +127,7 @@ export default {
data () {
const validateName = (rule, value, callback) => {
this.$dataRoomAxios.post('/bigScreen/type/nameRepeat', {
id: this.currentCatalog.id,
name: value,
type: 'resourceCatalog'
}, true).then((r) => {
@ -175,7 +176,6 @@ export default {
name: '',
id: '',
code: '',
orderNum: 0
},
formRules: {
name: [

Loading…
Cancel
Save