|
@ -585,6 +585,7 @@ export default { |
|
|
loadingInstance.close() |
|
|
loadingInstance.close() |
|
|
}, |
|
|
}, |
|
|
processBackendCptData (item) { |
|
|
processBackendCptData (item) { |
|
|
|
|
|
|
|
|
let demoData = {} |
|
|
let demoData = {} |
|
|
let configuration = {} |
|
|
let configuration = {} |
|
|
const tempOnlyId = getRandomString(20) |
|
|
const tempOnlyId = getRandomString(20) |
|
@ -607,6 +608,7 @@ export default { |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
let list = [{ |
|
|
let list = [{ |
|
|
functionId: '0', |
|
|
functionId: '0', |
|
|
functionName: '通用组件', |
|
|
functionName: '通用组件', |
|
@ -762,6 +764,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 添加组件到实例-前验证 |
|
|
// 添加组件到实例-前验证 |
|
|
beforeAddCpt (item) { |
|
|
beforeAddCpt (item) { |
|
|
|
|
|
|
|
|
console.log('添加组件到实例-前验证') |
|
|
console.log('添加组件到实例-前验证') |
|
|
const regionType = this.checkCptRegion(item) |
|
|
const regionType = this.checkCptRegion(item) |
|
|
const tempOnlyId = getRandomString(20) |
|
|
const tempOnlyId = getRandomString(20) |
|
|