Commit 8822f541 authored by anxixi's avatar anxixi

运营指标验收等功能

parent 94f9d42a
...@@ -470,6 +470,7 @@ ...@@ -470,6 +470,7 @@
//未绑定组织机构 //未绑定组织机构
changebind(value){ changebind(value){
if(value){ if(value){
this.cur_page = 1;
this.tableListunbind(value[value.length - 1]); this.tableListunbind(value[value.length - 1]);
} }
}, },
...@@ -546,6 +547,7 @@ ...@@ -546,6 +547,7 @@
//绑定组织机构 //绑定组织机构
changeunbind(value){ changeunbind(value){
if(value){ if(value){
this.cur_pageunbind = 1;
this.tableListbind(value[value.length - 1]); this.tableListbind(value[value.length - 1]);
} }
}, },
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<img class="event_iconchange_img" src="../../assets/img/changeImg.png" alt=""> <img class="event_iconchange_img" src="../../assets/img/changeImg.png" alt="">
</el-tooltip> </el-tooltip>
</div> </div>
<div class="gendisplay event_all"> <div v-if="isVisible" class="gendisplay event_all">
<div @click="userClick = false" class="event_l"></div> <div @click="userClick = false" class="event_l"></div>
<div class="event_r" :class="userClick?'event_rshow':''"> <div class="event_r" :class="userClick?'event_rshow':''">
<img @click="userClick = false" src="../../assets/img/pull.png" :style="userClick?'':'display: none;'"> <img @click="userClick = false" src="../../assets/img/pull.png" :style="userClick?'':'display: none;'">
...@@ -120,6 +120,9 @@ ...@@ -120,6 +120,9 @@
document.getElementsByTagName("body")[0].style.overflow = "hidden"; document.getElementsByTagName("body")[0].style.overflow = "hidden";
this.userHistory(0); this.userHistory(0);
this.isShowChange(); this.isShowChange();
setTimeout(function () {
document.body.scrollTop=document.documentElement.scrollTop=0;
},1500)
}, },
beforeRouteLeave(to,from,next) { // 在组件生命周期结束的时候销毁。、 beforeRouteLeave(to,from,next) { // 在组件生命周期结束的时候销毁。、
// this.userHistory(1); // this.userHistory(1);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div style="margin-top: 10px;"> <div style="margin-top: 10px;">
<el-row class="tabPdding"> <el-row class="tabPdding">
<el-row class="statebottm"> <el-row class="statebottm">
<page-screen :screenlist="screenlist" :checkboxGroupstate="checkStateIds" :checkboxGroupchildstate="search.checkState" :screenchildListIf="true" ref="screenchild" titleName="验收状态" @changecheck="screenData"></page-screen> <page-screen :screenlist="screenlist" :checkboxGroupstate="checkStateIds" :checkboxGroupchildstate="search.authenticationState" :screenchildListIf="true" ref="screenchild" titleName="验收状态" @changecheck="screenData"></page-screen>
</el-row> </el-row>
<el-row class="statebottm" style="padding: 20px 10px;line-height: 40px;"> <el-row class="statebottm" style="padding: 20px 10px;line-height: 40px;">
<el-col :span="12"> <el-col :span="12">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<span style="font-weight: bold;margin: 0 60px 0 40px;">区域:</span> <span style="font-weight: bold;margin: 0 60px 0 40px;">区域:</span>
<el-select v-model="search.orgIdList" multiple placeholder="请选择区域" style="width: 280px;"> <el-select v-model="search.selectOrgIdList" multiple placeholder="请选择区域" style="width: 280px;">
<el-option <el-option
v-for="item in areaList" v-for="item in areaList"
:key="item.orgId" :key="item.orgId"
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
search:{ search:{
authBegin:'', authBegin:'',
authEnd:'', authEnd:'',
orgIdList:null, selectOrgIdList:null,
}, },
areaList:[], areaList:[],
auditlist:[], auditlist:[],
...@@ -140,8 +140,8 @@ ...@@ -140,8 +140,8 @@
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.checkState !=''||vm.search.checkState !=null){ if(vm.search.authenticationState !=''||vm.search.authenticationState !=null){
vm.checkStateIds.push(vm.search.checkState) vm.checkStateIds.push(vm.search.authenticationState)
} }
vm.getAcceptanceAxios(); vm.getAcceptanceAxios();
}else{ }else{
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
components:{pageScreen,exportFieldBar}, components:{pageScreen,exportFieldBar},
methods:{ methods:{
screenData(a){ screenData(a){
this.search.checkState = a; this.search.authenticationState = a;
this.searchCik(); this.searchCik();
}, },
getselectAreaList(){ getselectAreaList(){
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
this.search = { this.search = {
authBegin:'', authBegin:'',
authEnd:'', authEnd:'',
orgIdList:null, selectOrgIdList:null,
}; };
this.$refs.screenchild.stateinit(); this.$refs.screenchild.stateinit();
this.cur_page = 1; this.cur_page = 1;
......
...@@ -186,9 +186,9 @@ ...@@ -186,9 +186,9 @@
}, },
mounted() { mounted() {
const empinfo = JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType())); const empinfo = JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType()));
this.stateData.projectId = this.projectId;
if(this.publicFun.isgetUserRoleFunc(2)&&this.publicFun.isgetUserRoleFunc(5)){ if(this.publicFun.isgetUserRoleFunc(2)&&this.publicFun.isgetUserRoleFunc(5)){
this.isempinfo = true; this.isempinfo = true;
this.stateData.projectId = this.projectId;
this.isempurl = '/business/purpose/getRequirementsBelongProject'; this.isempurl = '/business/purpose/getRequirementsBelongProject';
}else{ }else{
this.isempinfo = false; this.isempinfo = false;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<el-table-column :label="$t('litemlistjson.projectName')" width="330" > <el-table-column :label="$t('litemlistjson.projectName')" width="330" >
<template slot-scope="scope"> <template slot-scope="scope">
<p @click="setDatalist(scope.row)" class="projectNamep">{{scope.row.projectName}}</p> <p @click="setDatalist(scope.row)" class="projectNamep">{{scope.row.projectName}}</p>
<span class="stateclass">{{scope.row.authenticationState=='AS02'?$t('operationjson.pendingreview'):scope.row.authenticationState=='AS03'?$t('operationjson.audited'):scope.row.authenticationState=='AS04'?$t('operationjson.dismissed'):scope.row.authenticationState=='AS05'?'验收通过不展示':scope.row.authenticationState=='AS06'?'验收不通过展示':''}}</span> <span class="stateclass">{{scope.row.authenticationState=='AS02'?$t('operationjson.pendingreview'):scope.row.authenticationState=='AS03'?$t('operationjson.audited'):scope.row.authenticationState=='AS04'?$t('operationjson.dismissed'):scope.row.authenticationState=='AS05'?(publicFun.isgetUserRoleFunc(5)?'验收通过不展示':$t('operationjson.audited')):scope.row.authenticationState=='AS06'?(publicFun.isgetUserRoleFunc(5)?'验收不通过展示':$t('operationjson.audited')):''}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="projectModel" :label="$t('litemlistjson.projectModel')" align='center'> <el-table-column prop="projectModel" :label="$t('litemlistjson.projectModel')" align='center'>
......
...@@ -100,6 +100,10 @@ ...@@ -100,6 +100,10 @@
{{scope.row.frozenState == '0' ? $t('usermanagement.normal'): scope.row.frozenState == '1' ? $t('usermanagement.Frozen') : ''}} {{scope.row.frozenState == '0' ? $t('usermanagement.normal'): scope.row.frozenState == '1' ? $t('usermanagement.Frozen') : ''}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="orgName" label="区域" align="center">
</el-table-column>
<el-table-column prop="refereeName" label="区域联系人" align="center">
</el-table-column>
<el-table-column :label="$t('listjson.action')" width="150" align='center'> <el-table-column :label="$t('listjson.action')" width="150" align='center'>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.frozenState == 0" type="text" @click="frozenStatebtn(scope.row)">{{$t('usermanagement.freeze')}}</el-button> <el-button v-if="scope.row.frozenState == 0" type="text" @click="frozenStatebtn(scope.row)">{{$t('usermanagement.freeze')}}</el-button>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-table-column :label="$t('litemlistjson.projectName')" width="330" > <el-table-column :label="$t('litemlistjson.projectName')" width="330" >
<template slot-scope="scope"> <template slot-scope="scope">
<p class="projectNamep">{{scope.row.projectName}}</p> <p class="projectNamep">{{scope.row.projectName}}</p>
<span class="stateclass">{{scope.row.authenticationState=='AS02'?$t('operationjson.pendingreview'):scope.row.authenticationState=='AS03'?$t('operationjson.audited'):scope.row.authenticationState=='AS04'?$t('operationjson.dismissed'):''}}</span> <span class="stateclass">{{scope.row.authenticationState=='AS02'?$t('operationjson.pendingreview'):scope.row.authenticationState=='AS03'?$t('operationjson.audited'):scope.row.authenticationState=='AS04'?$t('operationjson.dismissed'):scope.row.authenticationState=='AS05'?'验收通过不展示':scope.row.authenticationState=='AS06'?'验收不通过展示':''}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="projectModel" :label="$t('litemlistjson.projectModel')" align='center'> <el-table-column prop="projectModel" :label="$t('litemlistjson.projectModel')" align='center'>
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
</el-row> </el-row>
</el-form-item> </el-form-item>
<el-form-item :label="$t('releasejson.uploadbp')" ref="formBpUrl" :prop="publicFun.isgetUserRoleFunc(5)?'projectBpUrl':''"> <el-form-item :label="$t('releasejson.uploadbp')" ref="formBpUrl" :prop="publicFun.isgetUserRoleFunc(5)?'projectBpUrl':''">
<el-input v-show="false" maxlength="36" v-model="formData.projectBpUrl"></el-input>
<el-row> <el-row>
<p style="margin-bottom: 10px;color: #9197B4"><i style="color: #FF9E29;font-size: 12px;padding-right: 5px" class="iconfont icon-gantanhao-quan"></i>{{$t('Otherjson.message3')}}<span style="color: #9197B4">({{$t('releasejson.uploadexl')}})</span></p> <p style="margin-bottom: 10px;color: #9197B4"><i style="color: #FF9E29;font-size: 12px;padding-right: 5px" class="iconfont icon-gantanhao-quan"></i>{{$t('Otherjson.message3')}}<span style="color: #9197B4">({{$t('releasejson.uploadexl')}})</span></p>
</el-row> </el-row>
......
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
}, },
groupdata(val){ groupdata(val){
this.stateData = val; this.stateData = val;
this.cur_page = 1;
this.getselectdatas(); this.getselectdatas();
}, },
getselectdatas(){ getselectdatas(){
......
<template> <template>
<div class="search_content"> <div class="search_content">
<choice-group @active="groupdata" @stateinit="stateinit"></choice-group> <choice-group @active="groupdata"></choice-group>
<div class="noDatalist" v-if="totalListResult == 0"> <div class="noDatalist" v-if="totalListResult == 0">
<img src="../../assets/img/mobile/noProject.png" alt=""> <img src="../../assets/img/mobile/noProject.png" alt="">
<p>相关的搜索结果较少,您可以换个搜索词试试!</p> <p>相关的搜索结果较少,您可以换个搜索词试试!</p>
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
}, },
groupdata(val){ groupdata(val){
this.stateData = val; this.stateData = val;
this.cur_page = 1;
this.getselectdatas(); this.getselectdatas();
}, },
getselectdatas(){ getselectdatas(){
......
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