|
|
@@ -98,7 +98,13 @@
|
|
|
<futureTwelveMonths ref="futureTwelveMonthsRef" style="margin-top: 15px" @selectStage="selectStage" :dataBoxData="dataBoxData" @clickChart="clickChart" @onCheck="onCheck"></futureTwelveMonths>
|
|
|
</div>
|
|
|
<div style="margin-top: 40px">
|
|
|
- <p class="title">{{projectTile}}</p>
|
|
|
+ <div style="display: flex;justify-content: space-between">
|
|
|
+ <p class="title">
|
|
|
+ {{projectTile}}
|
|
|
+ <el-button type="text" size="mini" v-if="siteid == 'HY' || siteid == 'YOSTEST1'" @click="restBtn">{{$t(`重置`)}}</el-button>
|
|
|
+ </p>
|
|
|
+ <exportFile :param="siteid == 'HY' || siteid == 'YOSTEST1'?transactionParam:projectParam" :columns="tablecols" :fileName="projectTile"></exportFile>
|
|
|
+ </div>
|
|
|
<tableTemp :layout="tablecols" :data="projectList" :opwidth="200" :custom="true" :height="tableHieght">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'status'">
|
|
|
@@ -181,8 +187,9 @@ const G = G2.getEngine('canvas');
|
|
|
import chartTemplate from '@/template/chartG2Template/Column'
|
|
|
import previousTwelveMonths from './previousTwelveMonths'
|
|
|
import futureTwelveMonths from './futureTwelveMonths'
|
|
|
+import exportFile from '@/components/export_file/index5'
|
|
|
export default {
|
|
|
- components:{tableTemp,tableNewTemp,chartTemplate,previousTwelveMonths,futureTwelveMonths},
|
|
|
+ components:{tableTemp,tableNewTemp,chartTemplate,previousTwelveMonths,futureTwelveMonths,exportFile},
|
|
|
data () {
|
|
|
return {
|
|
|
chartPie:null,
|
|
|
@@ -890,6 +897,10 @@ export default {
|
|
|
const res = await this.$store.dispatch('optiontypeselect','tradefield')
|
|
|
this.tradefields = res.data
|
|
|
},
|
|
|
+ restBtn(){
|
|
|
+ this.transactionParam.content.signdate_due = ''
|
|
|
+ this.expectedTransaction(false)
|
|
|
+ },
|
|
|
/*项目成交数据*/
|
|
|
async expectedTransaction(init){
|
|
|
this.transactionParam.content.type = this.dataParam.content.type
|