|
@@ -514,17 +514,17 @@ export default {
|
|
},
|
|
},
|
|
props: ["orgId"],
|
|
props: ["orgId"],
|
|
watch: {
|
|
watch: {
|
|
- // orgId: { //深度监听,可监听到对象、数组的变化
|
|
|
|
- // handler(newV, oldV) {
|
|
|
|
- // if (this.orgId !== null) {
|
|
|
|
- // this.queryParams.orgId = this.orgId
|
|
|
|
- // this.form.orgId = this.orgId
|
|
|
|
- // this.getList()
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
- // deep: true,
|
|
|
|
- // immediate: true
|
|
|
|
- // }
|
|
|
|
|
|
+ orgId: { //深度监听,可监听到对象、数组的变化
|
|
|
|
+ handler(newV, oldV) {
|
|
|
|
+ if (this.orgId !== null) {
|
|
|
|
+ this.queryParams.orgId = this.orgId
|
|
|
|
+ this.form.orgId = this.orgId
|
|
|
|
+ this.getList()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ deep: true,
|
|
|
|
+ immediate: true
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
handleChoice() {
|
|
handleChoice() {
|