|
@@ -1,7 +1,6 @@
|
|
<template>
|
|
<template>
|
|
-
|
|
|
|
<div class="in_box" style="background-color: #eef0ff;">
|
|
<div class="in_box" style="background-color: #eef0ff;">
|
|
- <div >
|
|
+ <div>
|
|
<div class="indes_fag">
|
|
<div class="indes_fag">
|
|
<div>
|
|
<div>
|
|
<p @click="nhl(1)" :class="jk == false ? 'lo' : ''">招商首页</p>
|
|
<p @click="nhl(1)" :class="jk == false ? 'lo' : ''">招商首页</p>
|
|
@@ -79,8 +78,8 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
+
|
|
-
|
|
+
|
|
<!-- <el-col :xs="24" :sm="24" :lg="12" :xl="12">
|
|
<!-- <el-col :xs="24" :sm="24" :lg="12" :xl="12">
|
|
<div class="fgw_index" style="height: 460px;">
|
|
<div class="fgw_index" style="height: 460px;">
|
|
<el-col :xs="12" :sm="12" :lg="17" :xl="16">
|
|
<el-col :xs="12" :sm="12" :lg="17" :xl="16">
|
|
@@ -184,7 +183,16 @@
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<el-row :gutter="20" style="padding: 0 20px; " v-if="jk == false">
|
|
<el-row :gutter="20" style="padding: 0 20px; " v-if="jk == false">
|
|
- <el-col :xs="12" :sm="12" :lg="8" :xl="8" ><div @click="pkue(0)" class="headerone heser" style="background-color: #fff; position: relative;">
|
|
+ <div style="background-color: #fff; padding: 10px 0; margin: 10px; margin-bottom: 0; border-radius: 15px;">
|
|
|
|
+ <div style="padding-left: 10px; display: flex; justify-content: flex-start; align-items: center;">
|
|
|
|
+ 年度:<el-input type="number" v-model="conversion_time1" placeholder="请输入年度" clearable size="small" style="width: 250px; margin-left: 20px; margin-right: 10px;" />
|
|
|
|
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin-right: 20px;">搜索</el-button>
|
|
|
|
+ 按年份统计,默认本年度
|
|
|
|
+ <p style="margin: 0;padding: 0; margin-left: 10px;">项目总数: <span style="color: #2529EA;">{{nhgewo.all}}</span>个 </p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <el-col :xs="12" :sm="12" :lg="8" :xl="8" >
|
|
|
|
+ <div @click="pkue(0)" class="headerone heser" style="background-color: #fff; position: relative;">
|
|
<img src="../assets/images/icon_hp_ztxs.png" style="width: 68px; height: 68px;" alt="">
|
|
<img src="../assets/images/icon_hp_ztxs.png" style="width: 68px; height: 68px;" alt="">
|
|
<p>
|
|
<p>
|
|
<span>{{nhgewo.st}} <i style="font-style:normal;">项</i> </span>
|
|
<span>{{nhgewo.st}} <i style="font-style:normal;">项</i> </span>
|
|
@@ -358,7 +366,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row> -->
|
|
</el-row> -->
|
|
<el-dialog :show-close="false" :close-on-click-modal="false" title="督办信息" :visible.sync="opensh" width="1200px" append-to-body>
|
|
<el-dialog :show-close="false" :close-on-click-modal="false" title="督办信息" :visible.sync="opensh" width="1200px" append-to-body>
|
|
- <el-table v-loading="loading" :data="xmList" @selection-change="handleSelectionChange" >
|
|
+ <el-table v-if="bgtesde" v-loading="loading" :data="xmList" @selection-change="handleSelectionChange" >
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column label="项目编号" align="center" prop="xmbh" width="128"/>
|
|
<el-table-column label="项目编号" align="center" prop="xmbh" width="128"/>
|
|
<el-table-column label="项目名称" align="center" prop="xmmc" />
|
|
<el-table-column label="项目名称" align="center" prop="xmmc" />
|
|
@@ -472,10 +480,17 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
jk:false,
|
|
jk:false,
|
|
nhg:false,
|
|
nhg:false,
|
|
mjieus:{},
|
|
mjieus:{},
|
|
- fgwcbs:false
|
|
+ fgwcbs:false,
|
|
|
|
+ bgtesde:true,
|
|
|
|
+ conversion_time1:'',
|
|
|
|
+ kngegs:{
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ var tempDate = new Date() // 获取今天的日期
|
|
|
|
+ this.gettime(tempDate)
|
|
console.log(this.$store.getters,34)
|
|
console.log(this.$store.getters,34)
|
|
let nhue = []
|
|
let nhue = []
|
|
nhue = this.$store.getters.userType.split(',')
|
|
nhue = this.$store.getters.userType.split(',')
|
|
@@ -547,6 +562,29 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
// this.zhuzhList()
|
|
// this.zhuzhList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ handleQuery(){
|
|
|
|
+ this.getListyhte()
|
|
|
|
+ this.leidaList()
|
|
|
|
+ },
|
|
|
|
+ gettime(date){
|
|
|
|
+ var date = date;
|
|
|
|
+ var y = date.getFullYear();
|
|
|
|
+ var m = date.getMonth() + 1;
|
|
|
|
+ m = m < 10 ? ('0' + m) : m;
|
|
|
|
+ var d = date.getDate();
|
|
|
|
+ d = d < 10 ? ('0' + d) : d;
|
|
|
|
+ var h = date.getHours();
|
|
|
|
+ h = h < 10 ? ('0' + h) : h;
|
|
|
|
+ var min = date.getMinutes();
|
|
|
|
+ min = min < 10 ? ('0' + min) : min;
|
|
|
|
+ var s = date.getSeconds();
|
|
|
|
+ s = s < 10 ? ('0' + s) : s;
|
|
|
|
+ this.conversion_time1 = y ;
|
|
|
|
+ return y + '-' + m + '-' + d + '/' +h +':' + min + ':' + s
|
|
|
|
+ // this.njdes = parseInt(new Date().getTime() / 1000) + ''
|
|
|
|
+ console.log()
|
|
|
|
+ // 转换时间戳
|
|
|
|
+ },
|
|
nhl(val){
|
|
nhl(val){
|
|
if(this.nhg == false){
|
|
if(this.nhg == false){
|
|
return
|
|
return
|
|
@@ -588,6 +626,7 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
})
|
|
})
|
|
},
|
|
},
|
|
bd_btn(row) {
|
|
bd_btn(row) {
|
|
|
|
+ this.bgtesde = false
|
|
getUnitList(this.queryParamss).then(res =>{
|
|
getUnitList(this.queryParamss).then(res =>{
|
|
console.log(res)
|
|
console.log(res)
|
|
if(res.rows != null){
|
|
if(res.rows != null){
|
|
@@ -595,15 +634,18 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
this.xmList = res.rows
|
|
this.xmList = res.rows
|
|
this.totals = res.total
|
|
this.totals = res.total
|
|
this.opensh = true
|
|
this.opensh = true
|
|
- if(res.total == 0 && row == 3){
|
|
+ if(res.total == 0 ){
|
|
- this.flags = false;
|
|
+ if(row == 3){
|
|
- this.opensh = false
|
|
+ this.flags = false;
|
|
|
|
+ this.opensh = false
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-
|
|
+ this.bgtesde = true
|
|
// if(res.rows == null){
|
|
// if(res.rows == null){
|
|
// this.unitList = []
|
|
// this.unitList = []
|
|
// }else{
|
|
// }else{
|
|
@@ -635,6 +677,7 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
path: '/management/management/info/index',
|
|
path: '/management/management/info/index',
|
|
query: {
|
|
query: {
|
|
tz: row,
|
|
tz: row,
|
|
|
|
+ time:this.conversion_time1
|
|
},
|
|
},
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -685,9 +728,13 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getListyhte() {
|
|
getListyhte() {
|
|
- getUnitListNuber().then(res => {
|
|
+ let nhg = { params:{} }
|
|
|
|
+ nhg.params.year = this.conversion_time1
|
|
|
|
+ this.ndhw = false
|
|
|
|
+ getUnitListNuber(nhg).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
this.nhgewo = res.data
|
|
this.nhgewo = res.data
|
|
|
|
+ this.ndhw = true
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// fgwcb
|
|
// fgwcb
|
|
@@ -710,8 +757,8 @@ import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitL
|
|
// panelChartDataleidfgw
|
|
// panelChartDataleidfgw
|
|
// 雷达图
|
|
// 雷达图
|
|
leidaList(){
|
|
leidaList(){
|
|
- listleida().then(response => {
|
|
+ this.ndhw = false
|
|
-
|
|
+ listleida(this.conversion_time1).then(response => {
|
|
if(response.data.y.st.length == 0){
|
|
if(response.data.y.st.length == 0){
|
|
// response.data.y.xs = [17,36,59,28]
|
|
// response.data.y.xs = [17,36,59,28]
|
|
}
|
|
}
|