港股查询港股的部门

main
zhaoyu 2023-12-15 15:55:56 +08:00
parent e6b0c53c36
commit 6123eb94a9
2 changed files with 14 additions and 2 deletions

View File

@ -489,10 +489,16 @@ export default {
}) })
}, },
selectDeptOption() { selectDeptOption() {
var url = ''
if (this.CORPINFO_ID == '1') {
url = '/department/listTree'
} else {
url = '/department/listTreeCorpInfo'
}
// //
return new Promise((resolve) => { return new Promise((resolve) => {
requestFN( requestFN(
'/department/listTreeCorpInfo', url,
{ {
CORPINFO_ID: this.CORPINFO_ID CORPINFO_ID: this.CORPINFO_ID
} }

View File

@ -242,10 +242,16 @@ export default {
}) })
}, },
selectDeptOption() { selectDeptOption() {
var url = ''
if (this.CORPINFO_ID == '1') {
url = '/department/listTree'
} else {
url = '/department/listTreeCorpInfo'
}
// //
return new Promise((resolve) => { return new Promise((resolve) => {
requestFN( requestFN(
'department/listTreeCorpInfo', url,
{ {
CORPINFO_ID: this.CORPINFO_ID CORPINFO_ID: this.CORPINFO_ID
} }