Commit b291f93b authored by anxixi's avatar anxixi

运营指标验收等功能

parent 04a08018
<template>
<div style="padding: 6px 0">
<div style="display: flex;padding-left: 10px">
<div>
<div :style="titleType?'width: 0;overflow: hidden;':''">
<p class="titleNameP" :class="labelWidth?'labelWidth':''">{{titleName}}:</p>
</div>
<div style="display: flex;font-weight: normal">
......
......@@ -5,6 +5,7 @@
ref="popover"
trigger="click">
<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>
<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>
......
......@@ -110,7 +110,7 @@
<p class="datap">{{$t('listjson.notfoundyet')}}</p>
</template>
</el-table>
<div class="pagination">
<div class="pagination" v-if="totalListResult !=0">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -150,7 +150,7 @@
},
areaList:[],
auditlist:[],
cur_page: 1, //页数
cur_page: this.publicFun.getCookie("projectSearch")?JSON.parse(this.publicFun.getCookie("projectSearch")).cur_page:1, //页数
totalListResult: 0,
numberData: 10, //设置个数
exportFieldlist:[],
......@@ -166,9 +166,12 @@
if(vm.search.checkState !=''||vm.search.checkState !=null){
vm.checkStateIds.push(vm.search.checkState)
}
vm.cur_page = vm.search.cur_page;
vm.getAcceptanceAxios();
}else{
vm.publicFun.removeCookie("kolProfessorsSearch")
vm.cur_page = 1;
vm.getAcceptanceAxios();
}
})
},
......
......@@ -82,7 +82,7 @@
<p class="datap">{{$t('listjson.notfoundyet')}}</p>
</template>
</el-table>
<div class="pagination">
<div class="pagination" v-if="totalListResult !=0">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -122,7 +122,7 @@
},
areaList:[],
auditlist:[],
cur_page: 1, //页数
cur_page: this.publicFun.getCookie("projectSearch")?JSON.parse(this.publicFun.getCookie("projectSearch")).cur_page:1, //页数
totalListResult: 0,
numberData: 10, //设置个数
exportFieldlist:[],
......@@ -132,14 +132,18 @@
beforeRouteEnter(to, from, next) {
next(vm=>{ // 这里的vm指的就是vue实例,可以用来当做this使用
vm.pathfrom = from.path;
if(vm.pathfrom == '/auditinside'){
vm.search = vm.publicFun.getCookie("projectSearch")?JSON.parse(vm.publicFun.getCookie("projectSearch")):{};
if(vm.search.authenticationState !=''||vm.search.authenticationState !=null){
vm.checkStateIds.push(vm.search.authenticationState)
}
vm.cur_page = vm.search.cur_page;
vm.getAcceptanceAxios();
}else{
vm.publicFun.removeCookie("projectSearch")
vm.cur_page = 1;
vm.getAcceptanceAxios();
}
})
},
......@@ -197,6 +201,7 @@
});
},
handdetail(val){
this.search.cur_page = this.cur_page;
this.publicFun.setUserInfoCookie("projectSearch",JSON.stringify(this.search))
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