diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue index d4a1a258a..be0700a43 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue @@ -159,8 +159,20 @@ :visible.sync="modalshowflag2" :wrapperClosable="false" size="800px"> + + + + + + + + 导入中... + + + + + + + + 导入中... { + this.treeData1 = res.data + this.treeLoading = false + }) + } else { + this.open1 = true + } + }, + filterText2 (val) { + if (val.length) { + this.open2 = false + this.treeLoading = true + this.$http.get('SarInstitution/institution/institutionAndUser', { + userName: val + }, {}, res => { + this.treeData2 = res.data + this.treeLoading = false + }) + } else { + this.open2 = true + } + }, + }, methods: { + loadNode(node, resolve) { + if (node.level === 0) { + return resolve(this.treeData); + } + this.getChildren(node, resolve) + }, + getChildren (node, resolve) { + this.$http.get('SarInstitution/institution/getNext', { + institutionId: node.key + }, {}, res => { + resolve(res) + }) + }, choiceZRRS () { this.nodeList2 = [] if ( this.roleForm.dockUserList.length > 0) { this.nodeList2 = this.roleForm.dockUserList.split(',') } + this.filterText2 = '' this.modalshowflag2 = true }, saveUserInfo2 () { @@ -410,11 +520,14 @@ export default { this.nodeList.push(id) this.type = type this.drawerTitle = title + this.filterText1 = '' this.modalshowflag = true }, getTree () { - this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - this.treeData = res.data + this.treeLoading = true + this.$http.get('SarInstitution/institution/getFirstInstitution', {}, {}, res=> { + this.treeData = res + this.treeLoading = false }) }, handleTabs(name) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index b505cde78..9906b3846 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -87,7 +87,7 @@ label="国家/地区" align="center">