|
@@ -187,20 +187,25 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
activated() {
|
|
|
- if (this.$route.query.id) {
|
|
|
- this.isShow = true
|
|
|
- this.beforeOpenPage({id: this.$route.query.id})
|
|
|
- }
|
|
|
- if (this.$route.query.check) {
|
|
|
- this.isShow = true
|
|
|
- // this.beforeOpenPage({id: this.$route.query.check.billId})
|
|
|
- this.detailData = {
|
|
|
- id: this.$route.query.check.billId,
|
|
|
- check: this.$route.query.check,
|
|
|
- };
|
|
|
- this.isShow = false;
|
|
|
- this.$store.commit("DOMXS_IN_DETAIL");
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ if (this.$route.query.id) {
|
|
|
+ this.isShow = true
|
|
|
+ this.beforeOpenPage({id: this.$route.query.id})
|
|
|
+ }
|
|
|
+ if (this.$route.query.check) {
|
|
|
+ this.isShow = true
|
|
|
+ // this.beforeOpenPage({id: this.$route.query.check.billId})
|
|
|
+ this.detailData = {
|
|
|
+ id: this.$route.query.check.billId,
|
|
|
+ check: this.$route.query.check,
|
|
|
+ };
|
|
|
+ this.isShow = false;
|
|
|
+ this.$store.commit("DOMXS_IN_DETAIL");
|
|
|
+ }
|
|
|
+ if (this.$route.query.params) {
|
|
|
+ this.beforeOpenPage({id: this.$route.query.params})
|
|
|
+ }
|
|
|
+ }, 100)
|
|
|
},
|
|
|
methods: {
|
|
|
tableRowClassName({row, column, rowIndex, columnIndex}) {
|