|
@@ -105,10 +105,11 @@
|
|
|
<div class="table-operator">
|
|
|
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
|
|
|
<a-button @click="handleExpand" type="primary" icon="column-height">折叠/展开</a-button>
|
|
|
+ <a-button @click="handleAdd" type="primary" icon="plus">导入</a-button>
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('项目成本')">导出</a-button> -->
|
|
|
- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
+ <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
|
- </a-upload>
|
|
|
+ </a-upload> -->
|
|
|
<!-- 高级查询区域 -->
|
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
@@ -248,6 +249,9 @@
|
|
|
|
|
|
<!-- 虚实成本对比(堆叠图) -->
|
|
|
<contrast-modal ref="xushi"></contrast-modal>
|
|
|
+
|
|
|
+ <!-- 导入弹框 -->
|
|
|
+ <project-import-list-modal ref="modalForm" @ok="modalFormOk"></project-import-list-modal>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -263,6 +267,7 @@
|
|
|
import WuliaoList from '../projectContrastList/wuliaoList.vue'
|
|
|
import { getAction } from '@/api/manage'
|
|
|
import ContrastModal from '../projectXushiContrast/contrastModal.vue'
|
|
|
+import ProjectImportListModal from '../projectImportList/modules/ProjectImportListModal.vue'
|
|
|
|
|
|
export default {
|
|
|
name: 'ProjectCostList',
|
|
@@ -272,6 +277,7 @@ import ContrastModal from '../projectXushiContrast/contrastModal.vue'
|
|
|
WuliaoList,
|
|
|
ProjectDetailModal,
|
|
|
ContrastModal,
|
|
|
+ ProjectImportListModal,
|
|
|
},
|
|
|
data () {
|
|
|
return {
|