|
@@ -149,6 +149,7 @@
|
|
|
</div>
|
|
|
|
|
|
<a-table
|
|
|
+ v-if="dataSource.length"
|
|
|
ref="table"
|
|
|
size="middle"
|
|
|
:scroll="{x:true}"
|
|
@@ -161,7 +162,8 @@
|
|
|
class="j-table-force-nowrap"
|
|
|
defaultExpandAllRows
|
|
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
- @change="handleTableChange">
|
|
|
+ @change="handleTableChange"
|
|
|
+ :indentSize="12">
|
|
|
|
|
|
<template slot="htmlSlot" slot-scope="text">
|
|
|
<div v-html="text"></div>
|
|
@@ -200,7 +202,7 @@
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<!-- <a @click="handleEdit(record)">编辑</a> -->
|
|
|
- <a @click="handleDetail(record)">详情</a>
|
|
|
+ <a @click="handleDetail(record)">虚实成本</a>
|
|
|
|
|
|
<!-- <a-divider type="vertical" />
|
|
|
<a-dropdown>
|
|
@@ -220,7 +222,7 @@
|
|
|
|
|
|
</a-table>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<project-detail-modal ref="proCostDetail"></project-detail-modal>
|
|
|
|
|
|
<j-modal
|
|
@@ -228,7 +230,7 @@
|
|
|
:visible="duiBi"
|
|
|
switchFullscreen
|
|
|
@cancel="handleGb">
|
|
|
-
|
|
|
+
|
|
|
<a-tabs default-active-key="1">
|
|
|
<a-tab-pane key="1" tab="总体对比">
|
|
|
<all-list :duibiList="duibiList"></all-list>
|
|
@@ -291,9 +293,13 @@ import WuliaoList from '../projectContrastList/wuliaoList.vue'
|
|
|
// },
|
|
|
{
|
|
|
title:'任务号',
|
|
|
- // align:"left",
|
|
|
fixed:"left",
|
|
|
dataIndex: 'taskno',
|
|
|
+ customHeaderCell:() => ({
|
|
|
+ style: {
|
|
|
+ textAlign: 'center', // 表头居中
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
{
|
|
|
title:'任务名称',
|
|
@@ -541,7 +547,7 @@ import WuliaoList from '../projectContrastList/wuliaoList.vue'
|
|
|
// deleteBatch: "/projectCost/projectCost/deleteBatch",
|
|
|
exportXlsUrl: "/projectCostHuiji/projectCostHuiji/exportXls",
|
|
|
importExcelUrl: "projectCost/projectCost/importExcel",
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
dictOptions:{},
|
|
|
superFieldList:[],
|