Commit 934e204d authored by anxixi's avatar anxixi

运营指标验收等功能

parent 9483a196
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
<div class="projectTabadd"> <div class="projectTabadd">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="优质项目" name="first"> <el-tab-pane label="优质项目" name="first">
<router-view v-if="activeName=='first'"></router-view> <router-view ref="child1" v-if="activeName=='first'"></router-view>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="KOL专家" name="second"> <el-tab-pane label="KOL专家" name="second">
<router-view name="secondStage" v-if="activeName=='second'"></router-view> <router-view ref="child2" name="secondStage" v-if="activeName=='second'"></router-view>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="合作伙伴" name="third"> <el-tab-pane label="合作伙伴" name="third">
<router-view name="thirdStage" v-if="activeName=='third'"></router-view> <router-view name="thirdStage" v-if="activeName=='third'"></router-view>
...@@ -38,8 +38,17 @@ ...@@ -38,8 +38,17 @@
handleClick(tab, event) { handleClick(tab, event) {
if(tab.name == 'first'){ if(tab.name == 'first'){
this.$router.push({path:"/expertAccepting",query:{tab:1}}) this.$router.push({path:"/expertAccepting",query:{tab:1}})
let _this = this;
setTimeout(function () {
_this.$refs.child1.getAcceptanceAxios();
},500)
}else if(tab.name == 'second'){ }else if(tab.name == 'second'){
this.$router.push({path:"/expertAccepting",query:{tab:2}}) this.$router.push({path:"/expertAccepting",query:{tab:2}})
let _this = this;
setTimeout(function () {
_this.$refs.child2.getCheckProfessorsAxios();
},500)
}else if(tab.name == 'third'){ }else if(tab.name == 'third'){
this.$router.push({path:"/expertAccepting",query:{tab:3}}) this.$router.push({path:"/expertAccepting",query:{tab:3}})
......
...@@ -167,11 +167,11 @@ ...@@ -167,11 +167,11 @@
vm.checkStateIds.push(vm.search.checkState) vm.checkStateIds.push(vm.search.checkState)
} }
vm.cur_page = vm.search.cur_page; vm.cur_page = vm.search.cur_page;
vm.getAcceptanceAxios(); vm.getCheckProfessorsAxios();
}else{ }else{
vm.publicFun.removeCookie("kolProfessorsSearch") vm.publicFun.removeCookie("kolProfessorsSearch")
vm.cur_page = 1; vm.cur_page = 1;
vm.getAcceptanceAxios(); vm.getCheckProfessorsAxios();
} }
}) })
}, },
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
}, },
mounted() { mounted() {
this.getselectAreaList(); this.getselectAreaList();
this.getCheckProfessorsAxios(); // this.getCheckProfessorsAxios();
this.getselectFieldList(); this.getselectFieldList();
}, },
} }
......
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
}, },
mounted() { mounted() {
this.getselectAreaList(); this.getselectAreaList();
this.getAcceptanceAxios(); // this.getAcceptanceAxios();
this.getselectFieldList(); this.getselectFieldList();
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment