|
@@ -104,6 +104,20 @@
|
|
commonDialog,
|
|
commonDialog,
|
|
zhaopianZiliao
|
|
zhaopianZiliao
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ // 监听外部传入的selectedIds变化,更新selectedData
|
|
|
|
+ current: {
|
|
|
|
+ handler(newVal) {
|
|
|
|
+ console.log('newValnewValnewVal',this.current);
|
|
|
|
+ if(newVal==1 && this.status =='add'){
|
|
|
|
+ console.log('this.$refs.qiuzhiXinxi',this.$refs.qiuzhiXinxi);
|
|
|
|
+ this.$refs.qiuzhiXinxi.zhuangtai = 1
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ },
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
let pageInfo = JSON.parse(options.pageInfo)
|
|
let pageInfo = JSON.parse(options.pageInfo)
|
|
this.status = pageInfo.status
|
|
this.status = pageInfo.status
|