Commit b291f93b authored by anxixi's avatar anxixi

运营指标验收等功能

parent 04a08018
<template> <template>
<div style="padding: 6px 0"> <div style="padding: 6px 0">
<div style="display: flex;padding-left: 10px"> <div style="display: flex;padding-left: 10px">
<div> <div :style="titleType?'width: 0;overflow: hidden;':''">
<p class="titleNameP" :class="labelWidth?'labelWidth':''">{{titleName}}:</p> <p class="titleNameP" :class="labelWidth?'labelWidth':''">{{titleName}}:</p>
</div> </div>
<div style="display: flex;font-weight: normal"> <div style="display: flex;font-weight: normal">
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
ref="popover" ref="popover"
trigger="click"> trigger="click">
<div class="popover_export"> <div class="popover_export">
<p style="margin: 15px 20px;font-weight: bold;">请选择导出字段:</p>
<page-screen :screenlist="screenlist" ref="screenchild" titleType="全部" titleName="请选择导出字段" @changecheck="screenData"></page-screen> <page-screen :screenlist="screenlist" ref="screenchild" titleType="全部" titleName="请选择导出字段" @changecheck="screenData"></page-screen>
<div style="text-align: center;border-top: 1px solid #F2F2F2;padding-top: 20px;"> <div style="text-align: center;border-top: 1px solid #F2F2F2;padding-top: 20px;">
<el-button slot="reference" type="primary" style="width: 140px;" @click="exportexcel">确定导出</el-button> <el-button slot="reference" type="primary" style="width: 140px;" @click="exportexcel">确定导出</el-button>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<p class="datap">{{$t('listjson.notfoundyet')}}</p> <p class="datap">{{$t('listjson.notfoundyet')}}</p>
</template> </template>
</el-table> </el-table>
<div class="pagination"> <div class="pagination" v-if="totalListResult !=0">
<el-pagination <el-pagination
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
}, },
areaList:[], areaList:[],
auditlist:[], auditlist:[],
cur_page: 1, //页数 cur_page: this.publicFun.getCookie("projectSearch")?JSON.parse(this.publicFun.getCookie("projectSearch")).cur_page:1, //页数
totalListResult: 0, totalListResult: 0,
numberData: 10, //设置个数 numberData: 10, //设置个数
exportFieldlist:[], exportFieldlist:[],
...@@ -166,9 +166,12 @@ ...@@ -166,9 +166,12 @@
if(vm.search.checkState !=''||vm.search.checkState !=null){ if(vm.search.checkState !=''||vm.search.checkState !=null){
vm.checkStateIds.push(vm.search.checkState) vm.checkStateIds.push(vm.search.checkState)
} }
vm.cur_page = vm.search.cur_page;
vm.getAcceptanceAxios(); vm.getAcceptanceAxios();
}else{ }else{
vm.publicFun.removeCookie("kolProfessorsSearch") vm.publicFun.removeCookie("kolProfessorsSearch")
vm.cur_page = 1;
vm.getAcceptanceAxios();
} }
}) })
}, },
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<p class="datap">{{$t('listjson.notfoundyet')}}</p> <p class="datap">{{$t('listjson.notfoundyet')}}</p>
</template> </template>
</el-table> </el-table>
<div class="pagination"> <div class="pagination" v-if="totalListResult !=0">
<el-pagination <el-pagination
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
}, },
areaList:[], areaList:[],
auditlist:[], auditlist:[],
cur_page: 1, //页数 cur_page: this.publicFun.getCookie("projectSearch")?JSON.parse(this.publicFun.getCookie("projectSearch")).cur_page:1, //页数
totalListResult: 0, totalListResult: 0,
numberData: 10, //设置个数 numberData: 10, //设置个数
exportFieldlist:[], exportFieldlist:[],
...@@ -132,14 +132,18 @@ ...@@ -132,14 +132,18 @@
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
next(vm=>{ // 这里的vm指的就是vue实例,可以用来当做this使用 next(vm=>{ // 这里的vm指的就是vue实例,可以用来当做this使用
vm.pathfrom = from.path; vm.pathfrom = from.path;
if(vm.pathfrom == '/auditinside'){ if(vm.pathfrom == '/auditinside'){
vm.search = vm.publicFun.getCookie("projectSearch")?JSON.parse(vm.publicFun.getCookie("projectSearch")):{}; vm.search = vm.publicFun.getCookie("projectSearch")?JSON.parse(vm.publicFun.getCookie("projectSearch")):{};
if(vm.search.authenticationState !=''||vm.search.authenticationState !=null){ if(vm.search.authenticationState !=''||vm.search.authenticationState !=null){
vm.checkStateIds.push(vm.search.authenticationState) vm.checkStateIds.push(vm.search.authenticationState)
} }
vm.cur_page = vm.search.cur_page;
vm.getAcceptanceAxios(); vm.getAcceptanceAxios();
}else{ }else{
vm.publicFun.removeCookie("projectSearch") vm.publicFun.removeCookie("projectSearch")
vm.cur_page = 1;
vm.getAcceptanceAxios();
} }
}) })
}, },
...@@ -197,6 +201,7 @@ ...@@ -197,6 +201,7 @@
}); });
}, },
handdetail(val){ handdetail(val){
this.search.cur_page = this.cur_page;
this.publicFun.setUserInfoCookie("projectSearch",JSON.stringify(this.search)) this.publicFun.setUserInfoCookie("projectSearch",JSON.stringify(this.search))
this.$router.push({path:"/auditinside",query:{projectId:val.projectId,state:val.authenticationState,type:true,}}); this.$router.push({path:"/auditinside",query:{projectId:val.projectId,state:val.authenticationState,type:true,}});
}, },
......
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