|
@@ -9,14 +9,14 @@
|
|
</div>
|
|
</div>
|
|
<el-table v-loading="loading" :data="infoList">
|
|
<el-table v-loading="loading" :data="infoList">
|
|
<el-table-column label="项目名称" align="center" prop="name" />
|
|
<el-table-column label="项目名称" align="center" prop="name" />
|
|
- <el-table-column label="当前状态" align="center" prop="totAmt" />
|
|
|
|
- <el-table-column label="时间" align="center" prop="deptName" />
|
|
|
|
|
|
+ <el-table-column label="当前状态" align="center" prop="dictLabel" />
|
|
|
|
+ <el-table-column label="时间" align="center" prop="createTime" />
|
|
<el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']">查看详情</el-button>
|
|
|
|
|
|
+ <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']" @click="dec_btn(scope.row)">查看详情</el-button>
|
|
<el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
|
|
<el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
|
|
@click="infoBtn(scope.row)">确认审核</el-button>
|
|
@click="infoBtn(scope.row)">确认审核</el-button>
|
|
- <el-button size="mini" type="text" style="background: #1C84C6;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']">驳回</el-button>
|
|
|
|
|
|
+ <el-button size="mini" type="text" style="background: #1C84C6;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']" @click="bh_brn(scope.row)">驳回</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -24,12 +24,16 @@
|
|
<div class="exl_box">
|
|
<div class="exl_box">
|
|
<div class="exl_title">
|
|
<div class="exl_title">
|
|
<span>招资引资项目到资金额</span>
|
|
<span>招资引资项目到资金额</span>
|
|
- <el-select width="80" v-model="lb_value" placeholder="请选择">
|
|
|
|
- <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="lb_value"
|
|
|
|
+ style="width: 100px;"
|
|
|
|
+ type="year"
|
|
|
|
+ value-format="yyyy"
|
|
|
|
+ @change="picher_fn"
|
|
|
|
+ placeholder="选择年">
|
|
|
|
+ </el-date-picker>
|
|
</div>
|
|
</div>
|
|
- <echarts></echarts>
|
|
|
|
|
|
+ <echarts :ehaersList="ehaersList" v-if="flags"></echarts>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -50,10 +54,10 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rig_cont">
|
|
<div class="rig_cont">
|
|
- <div class="rig_items">
|
|
|
|
- <span>招商局</span>
|
|
|
|
- <span>2个</span>
|
|
|
|
- <span>1个</span>
|
|
|
|
|
|
+ <div class="rig_items" v-for="(item,index) in unitList" :key="index">
|
|
|
|
+ <span>{{item.deptName}}</span>
|
|
|
|
+ <span>{{item.targetInvestmentNum?item.targetInvestmentNum:0}}个</span>
|
|
|
|
+ <span>{{item.successMission?item.successMission:0}}个</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rig_tab_top" style="background-color: #1C84C6;">
|
|
<div class="rig_tab_top" style="background-color: #1C84C6;">
|
|
@@ -61,17 +65,17 @@
|
|
单位名称
|
|
单位名称
|
|
</div>
|
|
</div>
|
|
<div class="rig_tab_item">
|
|
<div class="rig_tab_item">
|
|
- 目标任务
|
|
|
|
|
|
+ 目标到资
|
|
</div>
|
|
</div>
|
|
<div class="rig_tab_item">
|
|
<div class="rig_tab_item">
|
|
- 已完成任务
|
|
|
|
|
|
+ 实际到资
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rig_cont">
|
|
<div class="rig_cont">
|
|
- <div class="rig_items">
|
|
|
|
- <span>招商局</span>
|
|
|
|
- <span>2个</span>
|
|
|
|
- <span>1个</span>
|
|
|
|
|
|
+ <div class="rig_items" v-for="(item,index) in zjList" :key="index">
|
|
|
|
+ <span>{{item.deptName}}</span>
|
|
|
|
+ <span>{{item.targetArrivalAmount}}万</span>
|
|
|
|
+ <span>{{item.payForMoney}}万</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -81,28 +85,93 @@
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import echarts from '@/components/Echarts/index.vue'
|
|
import echarts from '@/components/Echarts/index.vue'
|
|
|
|
+ import {toBeReviewedList,setExamine,setReject,getUnitList,getUnitAmountList,getIndexEharts} from '@/api/index.js'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- infoList: [1],
|
|
|
|
|
|
+ infoList: [],
|
|
|
|
+ zjList: [],
|
|
|
|
+ ehaersList: {},
|
|
loading: false,
|
|
loading: false,
|
|
- options: [{
|
|
|
|
- value: '2020'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- value: '2021'
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ unitList: [],
|
|
|
|
+ flags: false,
|
|
lb_value: '2021', // 柱状图类别
|
|
lb_value: '2021', // 柱状图类别
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
echarts
|
|
echarts
|
|
},
|
|
},
|
|
|
|
+ mounted() {
|
|
|
|
+ this.getList()
|
|
|
|
+ this.bd_btn()
|
|
|
|
+ this.zj_btn()
|
|
|
|
+ this.zht_fn()
|
|
|
|
+ this.eharts_fn()
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
- infoBtn() {
|
|
|
|
|
|
+ picher_fn() {
|
|
|
|
+ this.eharts_fn()
|
|
|
|
+ },
|
|
|
|
+ eharts_fn(val) {
|
|
|
|
+ getIndexEharts({
|
|
|
|
+ year: this.lb_value
|
|
|
|
+ }).then(res => {
|
|
|
|
+ this.ehaersList = res.data
|
|
|
|
+ this.flags = true
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ zht_fn() {
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+ zj_btn() {
|
|
|
|
+ getUnitAmountList().then(res => {
|
|
|
|
+ this.zjList = res.rows
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ bd_btn() {
|
|
|
|
+ getUnitList().then(res =>{
|
|
|
|
+ this.unitList = res.rows
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ dec_btn(){
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ bh_brn(scope) {
|
|
|
|
+ this.$confirm('是否确认驳回审核', "提醒", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning"
|
|
|
|
+ }).then(function() {
|
|
|
|
+ return setReject({
|
|
|
|
+ code: 2,
|
|
|
|
+ bmProjectId: scrop.id
|
|
|
|
+ });
|
|
|
|
+ }).then(() => {
|
|
|
|
+ this.getList();
|
|
|
|
+ this.msgSuccess("提交成功");
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ infoBtn(scope) {
|
|
|
|
+ this.$confirm('是否确认提交审核', "提醒", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning"
|
|
|
|
+ }).then(function() {
|
|
|
|
+ return setExamine({
|
|
|
|
+ code: 1,
|
|
|
|
+ bmProjectId: scrop.id
|
|
|
|
+ });
|
|
|
|
+ }).then(() => {
|
|
|
|
+ this.getList();
|
|
|
|
+ this.msgSuccess("提交成功");
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ getList() {
|
|
|
|
+ toBeReviewedList().then(res => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ this.infoList = res.rows
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -122,6 +191,8 @@
|
|
border: 1px solid #CDCDCD;
|
|
border: 1px solid #CDCDCD;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin-bottom: 31px;
|
|
margin-bottom: 31px;
|
|
|
|
+ max-height: 270px;
|
|
|
|
+ overflow-y: auto;
|
|
.rig_items{
|
|
.rig_items{
|
|
line-height: 36px;
|
|
line-height: 36px;
|
|
color: #343434;
|
|
color: #343434;
|