| | |
| | | effect: '', |
| | | hit: false, |
| | | dataForm: { |
| | | pageCode: this.$route.query.pageCode, |
| | | id: '', |
| | | pid: '', |
| | | srcId: '', |
| | |
| | | }, |
| | | mounted() { |
| | | this.$refs.modelTree.getProductList() |
| | | this.pageCode = this.$route.query.pageCode |
| | | this.dataForm.pageCode = this.$route.query.pageCode |
| | | console.log(this.pageCode, 'this.pageCode this.pageCode') |
| | | }, |
| | | methods: { |
| | | add() { |
| | | this.$refs.SelectTyModel.$refs.dialog.init(null, { |
| | | type: this.dataForm.productType + 1, |
| | | id: this.dataForm.srcId, |
| | | pageCode: this.pageCode |
| | | pageCode: 'expect' |
| | | }) |
| | | console.log(this.dataForm.srcId, 'add') |
| | | }, |