Commit e211072d authored by ztf's avatar ztf

4.1[清华二期]文档流程模板 点击服务节点-映射方法,调用一个接口报错

parent 81ad4137
...@@ -112,7 +112,6 @@ export default { ...@@ -112,7 +112,6 @@ export default {
} }
} }
], ],
DynamicCodeScopeService: this.$getService('DxDynamicCodeScope'),
DynamicCodeCustomVariablesService: this.$getService('DxDynamicCodeVariables'), DynamicCodeCustomVariablesService: this.$getService('DxDynamicCodeVariables'),
ModelServerService: this.$getService('ModelServer'), ModelServerService: this.$getService('ModelServer'),
DxDynamicCodeService: this.$getService('DxDynamicCode'), DxDynamicCodeService: this.$getService('DxDynamicCode'),
...@@ -201,7 +200,6 @@ export default { ...@@ -201,7 +200,6 @@ export default {
}, },
mounted() { mounted() {
this.getAllModelServer() this.getAllModelServer()
this.getAllScope()
}, },
methods: { methods: {
getDxClassName() { getDxClassName() {
...@@ -387,22 +385,6 @@ export default { ...@@ -387,22 +385,6 @@ export default {
this.options = [{ label: '全部', id: -1, value: -1 }, ...options] this.options = [{ label: '全部', id: -1, value: -1 }, ...options]
}) })
}, },
getAllScope() {
const searchItems = this.DynamicCodeScopeService.newSearchItems()
this.DynamicCodeScopeService
.query()
.openProp()
.search(searchItems)
.then(res => {
this.scopeId = res.content.map(x => {
return {
label: x.displayName,
value: x.id,
name: x.name
}
})
})
},
checkRule() { checkRule() {
if (this.rule) { if (this.rule) {
this.showCheck = true this.showCheck = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment