Selaa lähdekoodia

项目成本导入优化

wyh 1 vuosi sitten
vanhempi
commit
19981b9adc
1 muutettua tiedostoa jossa 8 lisäystä ja 2 poistoa
  1. 8 2
      src/views/module_kzks/projectCostList/ProjectCostList.vue

+ 8 - 2
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -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 {