|
@@ -6,12 +6,12 @@
|
|
|
<div class="mui-content vongi-wordcard-sp">
|
|
|
<div id="sliderSegmentedControl" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
|
|
|
<div class="mui-scroll">
|
|
|
- <a @click="reloadList(0)" :class="'mui-control-item '+(listForm.status==0?'mui-active':'')">
|
|
|
+ <router-link :to="{name:'MasterCompanyRegisterExamine',query:{status:0}}" :class="'mui-control-item '+(listForm.status==0?'mui-active':'')">
|
|
|
<span class="fyy-badge">待处理<span class="mui-badge" v-if="firstRecordsTotal" v-text="firstRecordsTotal"></span></span>
|
|
|
- </a>
|
|
|
- <a @click="reloadList(1)" :class="'mui-control-item '+(listForm.status==1?'mui-active':'')">
|
|
|
+ </router-link>
|
|
|
+ <router-link :to="{name:'MasterCompanyRegisterExamine',query:{status:1}}" :class="'mui-control-item '+(listForm.status==1?'mui-active':'')">
|
|
|
已处理
|
|
|
- </a>
|
|
|
+ </router-link>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -112,7 +112,7 @@
|
|
|
pageIndex: 1,
|
|
|
pageSize: 20,
|
|
|
totalPage: 1,
|
|
|
- status: 0,
|
|
|
+ status: this.$route.query.status ? this.$route.query.status : 0,
|
|
|
},
|
|
|
recordList: [],
|
|
|
selectIdList: [],
|
|
@@ -127,9 +127,7 @@
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
-
|
|
|
- },
|
|
|
+ created() {},
|
|
|
methods: {
|
|
|
//获取列表
|
|
|
getList() {
|
|
@@ -279,7 +277,13 @@
|
|
|
openId: 'wx_openid',
|
|
|
token: 'token',
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ //本页面监听到路由(参数)改变
|
|
|
+ '$route': function(to, from) {
|
|
|
+ this.reloadList(to.query.status)
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|