|
|
@ -20,6 +20,10 @@ export default { |
|
|
|
type: String, |
|
|
|
default: "", |
|
|
|
}, |
|
|
|
orgIds: { |
|
|
|
type: String, |
|
|
|
default: "", |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
data() { |
|
|
@ -28,11 +32,12 @@ export default { |
|
|
|
|
|
|
|
searchParams: [ |
|
|
|
{ |
|
|
|
field: "发布范围", |
|
|
|
field: "选择范围", |
|
|
|
keyName: "org", |
|
|
|
type: "cascader", |
|
|
|
value: "", |
|
|
|
optionUrl: "/gov/org/customeragency/agencygridtree", |
|
|
|
// optionUrl: "/gov/org/customeragency/agencygridtree", |
|
|
|
optionUrl: "/gov/org/customeragency/my-subagency-list", |
|
|
|
optionUrlParams: { |
|
|
|
agencyId: this.$store.state.user.agencyId, |
|
|
|
}, |
|
|
@ -88,6 +93,7 @@ export default { |
|
|
|
watch: {}, |
|
|
|
|
|
|
|
async mounted() { |
|
|
|
this.searchParams[0].value = this.orgIds; |
|
|
|
this.searchParams[0].supValues[0] = this.orgId; |
|
|
|
if (this.orgId) { |
|
|
|
this.searchParams[0].supValues[1] = "agency"; |
|
|
|