|
@@ -89,6 +89,7 @@
|
|
|
<template #action="{row,index}">
|
|
|
<el-button type="primary" size="small" @click.stop="consultFileClick">查阅案卷</el-button>
|
|
|
</template>
|
|
|
+
|
|
|
</HcTable>
|
|
|
<template #action>
|
|
|
<HcPages :pages="searchForm" @change="pageChange"/>
|
|
@@ -106,7 +107,7 @@
|
|
|
</template>
|
|
|
</HcTable>
|
|
|
<template #action>
|
|
|
- <HcPages :pages="searchForm" @change="pageChange"/>
|
|
|
+ <HcPages :pages="InsearchForm" @change="InpageChange"/>
|
|
|
</template>
|
|
|
</HcCardItem>
|
|
|
</div>
|
|
@@ -115,7 +116,8 @@
|
|
|
<!--展开抽查-->
|
|
|
<HcDrawer :show="isCarrySpotChecksDrawer" uis="hc-carry-spot-checks-target" to-id="carry-spot-checks-layout-target" @close="onCarrySpotChecksDrawerClose">
|
|
|
<div class="hc-carry-spot-checks-pdf">
|
|
|
- <HcPdf src="https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20221212/ce9799c7d18efc03efefd6f242439f2e.pdf"/>
|
|
|
+ <!-- <HcPdf src="https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20221212/ce9799c7d18efc03efefd6f242439f2e.pdf"/> -->
|
|
|
+ <HcPdf :src="pdfUrl"/>
|
|
|
<el-tooltip content="展开/收起 右侧目录" placement="top" :disabled="!isBubble">
|
|
|
<div class="hc-csc-pdf-btn" @click="onCarryDataShow">
|
|
|
<HcIcon name="arrow-right-s" v-show="isCarryDataShow"/>
|
|
@@ -252,6 +254,7 @@ import HcNodeTree from "~src/components/tree/hc-tree-1.vue"
|
|
|
import { getIndex, isIndex } from "vue-utils-plus"
|
|
|
import website from '~src/config/index'
|
|
|
import archiveQueryApi from "~api/using/query.js";
|
|
|
+import {getArrValue} from "js-fast-way"
|
|
|
|
|
|
//变量
|
|
|
const useAppState = useAppStore()
|
|
@@ -280,6 +283,10 @@ onMounted(() => {
|
|
|
const searchForm = ref({
|
|
|
current: 1, size: 20, total: 0,searchType:"1"
|
|
|
})
|
|
|
+//卷内文件
|
|
|
+const InsearchForm = ref({
|
|
|
+ current: 1, size: 20, total: 0
|
|
|
+})
|
|
|
//热门搜索词汇
|
|
|
const hotInputlist=ref([
|
|
|
{name:'文件名'},
|
|
@@ -489,49 +496,22 @@ const pageChange = ({current, size}) => {
|
|
|
//表头
|
|
|
const tableRef = ref(null)
|
|
|
const tableColumn = ref([
|
|
|
- {key:'key1', name: '档号', width: 180},
|
|
|
- {key:'key2', name: '题名'},
|
|
|
- {key:'key3', name: '密级', width: 120},
|
|
|
- {key:'key4', name: '保管期限', width: 120},
|
|
|
- {key:'key5', name: '页数', width: 120},
|
|
|
- {key:'key6', name: '立卷单位', width: 260},
|
|
|
+ {key:'fileNumber', name: '档号', width: 180},
|
|
|
+ {key:'name', name: '题名'},
|
|
|
+ {key:'secretLevelValue', name: '密级', width: 120},
|
|
|
+ {key:'storageTimeValue', name: '保管期限', width: 120},
|
|
|
+ {key:'pageN', name: '页数', width: 120},
|
|
|
+ {key:'filingUnit', name: '立卷单位', width: 260},
|
|
|
{key:'action', name: '操作', width: 120},
|
|
|
])
|
|
|
const tableData = ref([
|
|
|
- {
|
|
|
- id: 1,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '安康至来凤国家高速公路奉节至巫山(渝鄂界)段干岩洞隧道LK3+425~LK3+393初期支护钢筋网分项开工报告、检验申请批复单、质量检验报告单、记录表、试验检测记录及评定报告、中间交工证书',
|
|
|
- key3: '秘密',
|
|
|
- key4: '永久',
|
|
|
- key5: '2',
|
|
|
- key6: 'xxxxxxxxxxxxxxxxxxxxxxx',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '安康至来凤国家高速公路奉节至巫山(渝鄂界)段干岩洞隧道LK3+425~LK3+393初期支护钢筋网分项开工报告、检验申请批复单、质量检验报告单、记录表、试验检测记录及评定报告、中间交工证书',
|
|
|
- key3: '秘密',
|
|
|
- key4: '永久',
|
|
|
- key5: '2',
|
|
|
- key6: 'xxxxxxxxxxxxxxxxxxxxxxx',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: '安康至来凤国家高速公路奉节至巫山(渝鄂界)段干岩洞隧道LK3+425~LK3+393初期支护钢筋网分项开工报告、检验申请批复单、质量检验报告单、记录表、试验检测记录及评定报告、中间交工证书',
|
|
|
- key3: '秘密',
|
|
|
- key4: '永久',
|
|
|
- key5: '2',
|
|
|
- key6: 'xxxxxxxxxxxxxxxxxxxxxxx',
|
|
|
- }
|
|
|
+
|
|
|
])
|
|
|
-
|
|
|
+const pdfUrl=ref('https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20221212/ce9799c7d18efc03efefd6f242439f2e.pdf')
|
|
|
const tableLoading = ref(false)
|
|
|
const getTableData = async () => {
|
|
|
tableLoading.value = true
|
|
|
searchForm.value.queryValue=searchInput.value
|
|
|
- console.log(searchForm.value,'searchForm.value');
|
|
|
const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
|
...searchForm.value,
|
|
|
projectId: projectId.value,
|
|
@@ -562,38 +542,15 @@ const tableAllShowClick = () => {
|
|
|
//表头
|
|
|
const tableFileRef = ref(null)
|
|
|
const tableFileColumn = ref([
|
|
|
- {key:'key1', name: '文件编号', width: 180},
|
|
|
- {key:'key2', name: '文件题名'},
|
|
|
- {key:'key3', name: '文件日期', width: 120},
|
|
|
- {key:'key4', name: '责任者', width: 120},
|
|
|
- {key:'key5', name: '页数', width: 120},
|
|
|
+ {key:'fileNumber', name: '文件编号', width: 180},
|
|
|
+ {key:'fileName', name: '文件题名'},
|
|
|
+ {key:'fileTime', name: '文件日期', width: 120},
|
|
|
+ {key:'dutyUser', name: '责任者', width: 120},
|
|
|
+ {key:'filePage', name: '页数', width: 120},
|
|
|
{key:'action', name: '操作', width: 120},
|
|
|
])
|
|
|
const tableFileData = ref([
|
|
|
- {
|
|
|
- id: 1,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: 'K0+000~K0+100土沟土沟.pdf',
|
|
|
- key3: '20220212',
|
|
|
- key4: '贵州路桥xxxxx',
|
|
|
- key5: '2',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: 'K0+000~K0+100土沟土沟.pdf',
|
|
|
- key3: '20220212',
|
|
|
- key4: '贵州路桥xxxxx',
|
|
|
- key5: '2',
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- key1: 'FJZB-02-123',
|
|
|
- key2: 'K0+000~K0+100土沟土沟.pdf',
|
|
|
- key3: '20220212',
|
|
|
- key4: '贵州路桥xxxxx',
|
|
|
- key5: '2',
|
|
|
- }
|
|
|
+
|
|
|
])
|
|
|
const tableFileLoading = ref(false)
|
|
|
const tableFileSelection = (rows) => {
|
|
@@ -602,16 +559,22 @@ const tableFileSelection = (rows) => {
|
|
|
|
|
|
//表格行被点击
|
|
|
const tableFileShow = ref(false)
|
|
|
-const tableRowClick = () => {
|
|
|
+const tableRowClick = ({row}) => {
|
|
|
tableAllShow.value = true;
|
|
|
tableFileShow.value = true;
|
|
|
+ tableFileData.value =getArrValue( row['approvalFileList'])
|
|
|
+ InsearchForm.value.total=row['approvalFileList'].length
|
|
|
}
|
|
|
const tableFileCloseClick = () => {
|
|
|
+ tableAllShow.value = false;
|
|
|
tableFileShow.value = false;
|
|
|
}
|
|
|
|
|
|
-const consultFileClick = () => {
|
|
|
+const consultFileClick = ({row}) => {
|
|
|
isCarrySpotChecksDrawer.value = true
|
|
|
+ pdfUrl.value=row['pdfFileUrl']
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
const isCarrySpotChecksDrawer = ref(false)
|
|
|
|