|
@@ -1,38 +1,18 @@
|
|
<template>
|
|
<template>
|
|
- <div id="carry-spot-checks-layout-target1" class="hc-page-layout-box">
|
|
|
|
- <div v-show="!isCarrySpotChecksDrawer" class="hc-layout-left-box" :style="`width:${leftWidth}px;`">
|
|
|
|
- <div class="hc-project-box">
|
|
|
|
- <div class="hc-project-icon-box">
|
|
|
|
- <HcIcon name="stack" />
|
|
|
|
- </div>
|
|
|
|
- <div class="ml-2 project-name-box">
|
|
|
|
- <span class="text-xl text-cut project-alias">{{ projectInfo.projectAlias }}</span>
|
|
|
|
- <div class="text-xs text-cut project-name">
|
|
|
|
- {{ projectInfo.name }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div v-loading="treeLoading" class="hc-tree-box" element-loading-text="加载中...">
|
|
|
|
- <el-scrollbar>
|
|
|
|
- <HcTree :project-id="projectId" :contract-id="contractId" :auto-expand-keys="treeAutoExpandKeys" @nodeTap="projectTreeClick" @nodeLoading="treeNodeLoading" @menuTap="ElTreeMenuClick" />
|
|
|
|
- </el-scrollbar>
|
|
|
|
- </div>
|
|
|
|
- <!-- 左右拖动 -->
|
|
|
|
- <div class="horizontal-drag-line" @mousedown="onmousedown" />
|
|
|
|
- </div>
|
|
|
|
- <div v-show="!isCarrySpotChecksDrawer" class="hc-page-content-box">
|
|
|
|
- <hc-new-card title="已形成的案卷">
|
|
|
|
- <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }" @row-click="tableRowClick">
|
|
|
|
- <template #name="{ row }">
|
|
|
|
- <div class="text-link" :class="row.isReviewed === 1 ? 'text-green' : 'text-blue'">{{ row?.name }}</div>
|
|
|
|
- </template>
|
|
|
|
- </HcTable>
|
|
|
|
- <template #action>
|
|
|
|
- <HcPages :pages="searchForm" @change="pageChange" />
|
|
|
|
|
|
+ <hc-body ids="carry-spot-checks-layout-target1" split :loading="treeLoading" :project-nmae="projectInfo.name">
|
|
|
|
+ <template #tree>
|
|
|
|
+ <HcTree :project-id="projectId" :contract-id="contractId" :auto-expand-keys="treeAutoExpandKeys" @nodeTap="projectTreeClick" @nodeLoading="treeNodeLoading" @menuTap="ElTreeMenuClick" />
|
|
|
|
+ </template>
|
|
|
|
+ <hc-new-card v-show="!isCarrySpotChecksDrawer" title="已形成的案卷">
|
|
|
|
+ <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }" @row-click="tableRowClick">
|
|
|
|
+ <template #name="{ row }">
|
|
|
|
+ <div class="text-link" :class="row.isReviewed === 1 ? 'text-green' : 'text-blue'">{{ row?.name }}</div>
|
|
</template>
|
|
</template>
|
|
- </hc-new-card>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ </HcTable>
|
|
|
|
+ <template #action>
|
|
|
|
+ <HcPages :pages="searchForm" @change="pageChange" />
|
|
|
|
+ </template>
|
|
|
|
+ </hc-new-card>
|
|
<!-- 展开抽查 -->
|
|
<!-- 展开抽查 -->
|
|
<HcDrawer :show="isCarrySpotChecksDrawer" uis="hc-carry-spot-checks-target" to-id="carry-spot-checks-layout-target1" @close="onCarrySpotChecksDrawerClose">
|
|
<HcDrawer :show="isCarrySpotChecksDrawer" uis="hc-carry-spot-checks-target" to-id="carry-spot-checks-layout-target1" @close="onCarrySpotChecksDrawerClose">
|
|
<div class="hc-carry-spot-checks-pdf">
|
|
<div class="hc-carry-spot-checks-pdf">
|
|
@@ -181,7 +161,7 @@
|
|
<MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscmetaTableLoading" :meta-data-table="cscmetaDataTabledata" :ishow-file="ishowFile" />
|
|
<MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscmetaTableLoading" :meta-data-table="cscmetaDataTabledata" :ishow-file="ishowFile" />
|
|
<HcTable v-if="tabTypeKey === 'tab6'" :column="cscTableColumn51" :datas="cscTableData5" :loading="cscTableLoading" is-new :index-style="{ width: 60 }" />
|
|
<HcTable v-if="tabTypeKey === 'tab6'" :column="cscTableColumn51" :datas="cscTableData5" :loading="cscTableLoading" is-new :index-style="{ width: 60 }" />
|
|
</hc-new-dialog>
|
|
</hc-new-dialog>
|
|
- </div>
|
|
|
|
|
|
+ </hc-body>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
@@ -196,7 +176,6 @@ import archiveQueryApi from '~api/using/query.js'
|
|
import inspectApi from '~api/transfer/inspects.js'
|
|
import inspectApi from '~api/transfer/inspects.js'
|
|
|
|
|
|
//变量
|
|
//变量
|
|
-
|
|
|
|
const useAppState = useAppStore()
|
|
const useAppState = useAppStore()
|
|
const projectId = ref(useAppState.getProjectId)
|
|
const projectId = ref(useAppState.getProjectId)
|
|
const contractId = ref(useAppState.getContractId)
|
|
const contractId = ref(useAppState.getContractId)
|