duy 1 year ago
parent
commit
d26d81cd25

+ 1 - 1
src/views/transfer/components/table-classify.vue

@@ -1,5 +1,5 @@
 <template>
-    <div id="submit-report-layout-target2" class="hc-page-box">
+    <div class="hc-page-box">
         <hc-new-card>
             <template #header>
             <!-- <HcNewSwitch :datas="tabData" :keys="tabKey" :round="false" @change="tabChange" /> -->

+ 3 - 3
src/views/transfer/initial.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="hc-page-layout-box">
+    <div id="submit-report-layout-target2" class="hc-page-layout-box">
         <div v-if="sbTableKey === 'classify'" class="hc-layout-left-box" :style="`width:${leftWidth}px;`">
             <div class="hc-project-box">
                 <div class="hc-project-icon-box">
@@ -12,14 +12,14 @@
             </div>
             <div v-loading="treeLoading" class="hc-tree-box" element-loading-text="加载中...">
                 <el-scrollbar>
-                    <HcTree :project-id="projectId" :contract-id="contractId" :is-show-number="false" :is-show-menu="false" @nodeTap="projectTreeClick" @nodeLoading="treeNodeLoading" />
+                    <HcTree :project-id="projectId" :contract-id="contractId" :is-show-number="false" :is-show-menu="false" @node-tap="projectTreeClick" @node-loading="treeNodeLoading" />
                 </el-scrollbar>
             </div>
             <!-- 左右拖动 -->
             <div class="horizontal-drag-line" @mousedown="onmousedown" />
         </div>
         <div class="hc-page-content-box ledger-write-box">
-            <HcTabsSimple :datas="sbTableData" :cur="sbTableKey" @tabClick="sbTableClick">
+            <HcTabsSimple :datas="sbTableData" :cur="sbTableKey" @tab-click="sbTableClick">
                 <template #tab-collect>
                     <TableCollect v-if="sbTableKey === 'collect'" :project-id="projectId" :contract-id="contractId" :tree-data="nodeDataInfo" />
                 </template>