diff --git a/pages/home/components/swiper.vue b/pages/home/components/swiper.vue index 48a3768..e3e1d6c 100644 --- a/pages/home/components/swiper.vue +++ b/pages/home/components/swiper.vue @@ -1,6 +1,6 @@ + + \ No newline at end of file diff --git a/pages/home/index.vue b/pages/home/index.vue index 6e8ce47..f75ef52 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -24,11 +24,14 @@ {{ item.name }} - + - + + + + @@ -55,13 +58,16 @@ import alarm from "./components/alarm.vue"; import eacharts from "./components/eacharts.vue"; import eachartsPie from "./components/eacharts_pie.vue"; import eachartsNightpie from "./components/eacharts_nightpie.vue"; +// swiperRepair +import swiperRepair from "./components/swiperRepair.vue"; export default { components: { swiperSlider, alarm, eacharts, eachartsPie, - eachartsNightpie + eachartsNightpie, + swiperRepair }, data() { return { diff --git a/pages/submission/records.vue b/pages/submission/records.vue index 6c36539..b7346f8 100644 --- a/pages/submission/records.vue +++ b/pages/submission/records.vue @@ -169,7 +169,7 @@ export default { reportUnit: '',//提报单位 }, - current: 1, + current: 0, loadingState: "loadmore", isNomore: false, noDataFlag: false, @@ -200,6 +200,7 @@ export default { tabList: [],//tab状态 messageCount: 0,//消息总数展示 + requirementCode:'',//单号 }; }, computed: { @@ -229,6 +230,7 @@ export default { }, onLoad(options) { this.type = options.type ? options.type : '' + this.requirementCode = options.requirementCode ? options.requirementCode : '' }, onShow() { this.$nextTick(() => { @@ -236,7 +238,14 @@ export default { if (this.type == '') { this.$refs.tabbarRef.getPermission(); } - this.changeTab(1) + if(this.requirementCode != ''){ + this.current = 0 + this.searchInfo.requirementCode = this.requirementCode + }else{ + this.current = 1 + this.changeTab(1) + } + this.getRecordsList() }); },