|
@@ -31,15 +31,15 @@
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="inline-16">
|
|
|
- <el-checkbox v-model="unfinish" true-label="0" false-label="1" @change="dataParam.content.where.unfinish = unfinish;projectParam.content.where.unfinish = unfinish;getProportionOfFileModel()">包含失败、结案项目</el-checkbox>
|
|
|
+ <el-checkbox v-model="unfinish" true-label="0" false-label="1" @change="dataParam.content.where.unfinish = unfinish;projectParam.content.where.unfinish = unfinish;getProportionOfFileModel()">{{$t(`包含失败、结案项目`)}}</el-checkbox>
|
|
|
</div>
|
|
|
<div class="inline-16" style="margin-top:0px;margin-bottom: 20px">
|
|
|
<el-button-group>
|
|
|
<el-button size="small" :type="dataParam.content.dateType==99?'primary':''" @click="dataChange(99)">{{$t(`全部`)}}</el-button>
|
|
|
- <el-button size="small" :type="dataParam.content.dateType==1?'primary':''" @click="dataChange(1)">近一年</el-button>
|
|
|
- <el-button size="small" :type="dataParam.content.dateType==2?'primary':''" @click="dataChange(2)">近九个月</el-button>
|
|
|
- <el-button size="small" :type="dataParam.content.dateType==3?'primary':''" @click="dataChange(3)">近六个月</el-button>
|
|
|
- <el-button size="small" :type="dataParam.content.dateType==4?'primary':''" @click="dataChange(4)">近三个月</el-button>
|
|
|
+ <el-button size="small" :type="dataParam.content.dateType==1?'primary':''" @click="dataChange(1)">{{$t(`近一年`)}}</el-button>
|
|
|
+ <el-button size="small" :type="dataParam.content.dateType==2?'primary':''" @click="dataChange(2)">{{$t(`近九个月`)}}</el-button>
|
|
|
+ <el-button size="small" :type="dataParam.content.dateType==3?'primary':''" @click="dataChange(3)">{{$t(`近六个月`)}}</el-button>
|
|
|
+ <el-button size="small" :type="dataParam.content.dateType==4?'primary':''" @click="dataChange(4)">{{$t(`近三个月`)}}</el-button>
|
|
|
</el-button-group>
|
|
|
</div>
|
|
|
<div class="inline-16" style="margin-top:0px;margin-bottom: 20px">
|
|
@@ -59,47 +59,21 @@
|
|
|
<div>
|
|
|
<el-row>
|
|
|
<el-col :xs="15" :sm="15" :md="15" :lg="15" :xl="14">
|
|
|
- <p class="title">销售漏斗图</p>
|
|
|
+ <p class="title">{{$t(`销售漏斗图`)}}</p>
|
|
|
<div class="re-panel">
|
|
|
<div id="containerFunnel" style="height: calc(60vh)"></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :offset="1" :xs="8" :sm="8" :md="8" :lg="8" :xl="9">
|
|
|
<div>
|
|
|
- <p class="title">表格数据</p>
|
|
|
- <el-table
|
|
|
- show-summary
|
|
|
- :data="tableData"
|
|
|
- style="width: 100%"
|
|
|
- size="small"
|
|
|
- :header-cell-style="{height:'60px',fontWeight:'400',fontSize:'22px',color:'#333333',background:'#ddebf7'}"
|
|
|
- :cell-style="{height:'40px',fontWeight:'400',fontSize:'18px'}"
|
|
|
- border>
|
|
|
- <el-table-column
|
|
|
- prop="stagename"
|
|
|
- label="阶段"
|
|
|
- width="150">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="projectqty"
|
|
|
- label="项目数"
|
|
|
- width="100">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="signamount_due"
|
|
|
- label="预计签约金额(万元)">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div style="white-space: pre-wrap">{{scope.row.signamount_due}}</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="dealamount"
|
|
|
- label="项目成交金额(万元)">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div style="white-space: pre-wrap">{{scope.row.dealamount}}</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <p class="title">{{$t(`表格数据`)}}</p>
|
|
|
+ <tableNewTemp :layout="tablecolsData" :data="tableData" :opwidth="200" :custom="true" >
|
|
|
+ <template v-slot:customcol="scope">
|
|
|
+ <div>
|
|
|
+ {{scope.column.data[[scope.column.columnname]]?scope.column.data[[scope.column.columnname]]:'--'}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </tableNewTemp>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -179,10 +153,11 @@
|
|
|
|
|
|
<script>
|
|
|
import tableTemp from '@/components/table/index8'
|
|
|
+import tableNewTemp from '@/components/table/index10'
|
|
|
import { Funnel,G2 } from '@antv/g2plot';
|
|
|
const G = G2.getEngine('canvas');
|
|
|
export default {
|
|
|
- components:{tableTemp},
|
|
|
+ components:{tableTemp,tableNewTemp},
|
|
|
data () {
|
|
|
return {
|
|
|
chartPie:null,
|
|
@@ -209,6 +184,7 @@ export default {
|
|
|
personnelList:[],
|
|
|
projectList:[],
|
|
|
tablecols:[],
|
|
|
+ tablecolsData:[],
|
|
|
depmentParam:{
|
|
|
"id": 20230620102004,
|
|
|
"content": {
|
|
@@ -837,6 +813,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.tablecols = this.tool.tabelCol(this.$route.name).projectTable.tablecols
|
|
|
+ this.tablecolsData = this.tool.tabelCol(this.$route.name).tableDatas.tablecols
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -857,11 +834,4 @@ export default {
|
|
|
.container{
|
|
|
/* height:calc(100vh)*/
|
|
|
}
|
|
|
-/*/deep/.el-table .cell {*/
|
|
|
-
|
|
|
-/* font-size: 18px;*/
|
|
|
-/*}*/
|
|
|
-/deep/ .el-table--small {
|
|
|
- font-size: 18px;
|
|
|
-}
|
|
|
</style>
|