|
@@ -2,7 +2,7 @@
|
|
<div class="hc-page-box" id="carry-spot-checks-layout-target">
|
|
<div class="hc-page-box" id="carry-spot-checks-layout-target">
|
|
<HcCard ui="hc-query-card-box" v-show="!isCarrySpotChecksDrawer">
|
|
<HcCard ui="hc-query-card-box" v-show="!isCarrySpotChecksDrawer">
|
|
<div v-if="isShowheader" class="flex_box">
|
|
<div v-if="isShowheader" class="flex_box">
|
|
-
|
|
|
|
|
|
+
|
|
<div class="hc-arrow-icon">
|
|
<div class="hc-arrow-icon">
|
|
<HcIcon name="arrow-left-s"/>
|
|
<HcIcon name="arrow-left-s"/>
|
|
</div>
|
|
</div>
|
|
@@ -18,7 +18,7 @@
|
|
<div class="hc-arrow-icon">
|
|
<div class="hc-arrow-icon">
|
|
<HcIcon name="arrow-right-s"/>
|
|
<HcIcon name="arrow-right-s"/>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="hc-query-input-box">
|
|
<div class="hc-query-input-box">
|
|
<el-input placeholder="可按关键字模糊搜索,多个关键字用“,” 隔开" v-model="searchInput" clearable @clear="clearinput">
|
|
<el-input placeholder="可按关键字模糊搜索,多个关键字用“,” 隔开" v-model="searchInput" clearable @clear="clearinput">
|
|
@@ -95,14 +95,15 @@
|
|
<HcNewSwitch :datas="tabData" :keys="tabKey" @change="tabChange" :round="false"/>
|
|
<HcNewSwitch :datas="tabData" :keys="tabKey" @change="tabChange" :round="false"/>
|
|
</div>
|
|
</div>
|
|
<div class="extra">
|
|
<div class="extra">
|
|
- <el-button type="primary" hc-btn>
|
|
|
|
|
|
+ <el-button v-if="tabKey === 'tab1'">
|
|
<HcIcon name="download"/>
|
|
<HcIcon name="download"/>
|
|
<span>下载</span>
|
|
<span>下载</span>
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+ <HcNewSwitch :datas="tabGuiData" :keys="tabGuiKey" @change="tabGuiChange" v-if="tabKey === 'tab2'"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="hc-gather-card-box" :class="tableAllShow?'file-table':''">
|
|
|
|
|
|
+ <div class="hc-gather-card-box" :class="tableAllShow?'file-table':''" v-if="tabKey === 'tab1'">
|
|
<HcCardItem ui="hc-card-item-main">
|
|
<HcCardItem ui="hc-card-item-main">
|
|
<HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCurrentRow isCheck @selection-change="tableSelection" @row-click="tableRowClick" :ui="hoverHand?'hover-hand':''">
|
|
<HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCurrentRow isCheck @selection-change="tableSelection" @row-click="tableRowClick" :ui="hoverHand?'hover-hand':''">
|
|
<template #action="{row,index}">
|
|
<template #action="{row,index}">
|
|
@@ -133,8 +134,100 @@
|
|
</template> -->
|
|
</template> -->
|
|
</HcCardItem>
|
|
</HcCardItem>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <!--档案柜-->
|
|
|
|
+ <div class="hc-gather-card-box">
|
|
|
|
+ <HcCardItem ui="hc-card-item-main" v-if="tabKey === 'tab2'">
|
|
|
|
+ <el-carousel class="hc-file-cabinet" :autoplay="false" :loop="false" indicator-position="none">
|
|
|
|
+ <el-carousel-item v-for="item in guiItemData">
|
|
|
|
+ <div class="hc-file-cabinet-gui">
|
|
|
|
+ <div class="gui-item" v-for="items in item.children">
|
|
|
|
+ <el-popover effect="dark" placement="top" :title="items.name + '柜'" :width="200"
|
|
|
|
+ :hide-after="0" :offset="-10" :content="items.content">
|
|
|
|
+ <template #reference>
|
|
|
|
+ <div class="gui-view" @click="guiItemClick(items)">
|
|
|
|
+ <img :src="imageViewGui" alt="">
|
|
|
|
+ <span class="num">{{items.name}}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-carousel-item>
|
|
|
|
+ </el-carousel>
|
|
|
|
+ </HcCardItem>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</HcCard>
|
|
</HcCard>
|
|
|
|
|
|
|
|
+ <!--柜子侧面-->
|
|
|
|
+ <HcDrawer :show="isGuiInfoDrawer"
|
|
|
|
+ direction="rtl"
|
|
|
|
+ to-id="carry-spot-checks-layout-target"
|
|
|
|
+ uis="hc-carry-spot-checks-target"
|
|
|
|
+ @close="onCloseGuiInfoDrawer">
|
|
|
|
+ <template #header>
|
|
|
|
+ <div class="w-96">
|
|
|
|
+ <el-input size="large" v-model="searchForm.queryValue" placeholder="请输入关键词检索" clearable/>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="ml-2">
|
|
|
|
+ <el-button type="primary" size="large">
|
|
|
|
+ <HcIcon name="search-2"/>
|
|
|
|
+ <span>搜索</span>
|
|
|
|
+ </el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <div class="hc-gui-info-drawer">
|
|
|
|
+ <div class="hc-gui-info-img">
|
|
|
|
+ <div class="gui-info-img">
|
|
|
|
+ <img :src="imageViewGui1" alt="">
|
|
|
|
+ <div class="gui-file-item-box">
|
|
|
|
+ <div class="gui-file-item" v-for="item in guiInfoData">
|
|
|
|
+ <div class="item" :class="index === 2 || index === 5 ?'query': ''" v-for="(items, index) in item.children">{{items.name}}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="hc-gui-info-data">
|
|
|
|
+ <div class="hc-gui-data-container">
|
|
|
|
+ <el-scrollbar>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">案卷题名:</div>
|
|
|
|
+ <div class="text">安康至来凤国家高速公路奉节至巫山(渝鄂界)段干岩洞隧道LK3+425~LK3+393初期支护钢筋网分项开工报告、检验申请批复单、质量检验报告单、记录表、试验检测记录及评定报告、中间交工证书</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">
|
|
|
|
+ <span>密</span>
|
|
|
|
+ <span>级:</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="text">机密</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">保管期限:</div>
|
|
|
|
+ <div class="text">永久</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">卷内文件:</div>
|
|
|
|
+ <div class="text">9</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">起止日期:</div>
|
|
|
|
+ <div class="text">2022.02.12~2023.11.02</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="info-item">
|
|
|
|
+ <div class="title">立卷单位:</div>
|
|
|
|
+ <div class="text">贵州路桥集团xxxxx</div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-scrollbar>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="btn-box">
|
|
|
|
+ <el-button type="primary">打开案卷</el-button>
|
|
|
|
+ <el-button @click="onCloseGuiInfoDrawer">关闭</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </HcDrawer>
|
|
|
|
+
|
|
<!--展开抽查-->
|
|
<!--展开抽查-->
|
|
<HcDrawer :show="isCarrySpotChecksDrawer" uis="hc-carry-spot-checks-target" to-id="carry-spot-checks-layout-target" @close="onCarrySpotChecksDrawerClose">
|
|
<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">
|
|
<div class="hc-carry-spot-checks-pdf">
|
|
@@ -262,16 +355,16 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- <HcNodeTree :projectId="projectId" :contractId="contractId"/> -->
|
|
<!-- <HcNodeTree :projectId="projectId" :contractId="contractId"/> -->
|
|
- <el-tree
|
|
|
|
|
|
+ <el-tree
|
|
class="col_tree"
|
|
class="col_tree"
|
|
node-key="id"
|
|
node-key="id"
|
|
- ref="nodetreeEl"
|
|
|
|
- :props="defaultProps"
|
|
|
|
- show-checkbox
|
|
|
|
- v-loading="nodetreeElloading"
|
|
|
|
- lazy
|
|
|
|
- :load="loadNode"
|
|
|
|
- :data="Nodetreedata"
|
|
|
|
|
|
+ ref="nodetreeEl"
|
|
|
|
+ :props="defaultProps"
|
|
|
|
+ show-checkbox
|
|
|
|
+ v-loading="nodetreeElloading"
|
|
|
|
+ lazy
|
|
|
|
+ :load="loadNode"
|
|
|
|
+ :data="Nodetreedata"
|
|
>
|
|
>
|
|
<template #default="{ node, data }">
|
|
<template #default="{ node, data }">
|
|
<span class="custom-tree-node">
|
|
<span class="custom-tree-node">
|
|
@@ -301,6 +394,9 @@ import website from '~src/config/index'
|
|
import archiveQueryApi from "~api/using/query.js";
|
|
import archiveQueryApi from "~api/using/query.js";
|
|
import tuningApi from "~api/archiveConfig/tuning.js";
|
|
import tuningApi from "~api/archiveConfig/tuning.js";
|
|
|
|
|
|
|
|
+import imageViewGui from "~src/assets/view/gui.png";
|
|
|
|
+import imageViewGui1 from "~src/assets/view/gui1.png";
|
|
|
|
+
|
|
//变量
|
|
//变量
|
|
const useAppState = useAppStore()
|
|
const useAppState = useAppStore()
|
|
const projectId = ref(useAppState.getProjectId);
|
|
const projectId = ref(useAppState.getProjectId);
|
|
@@ -334,7 +430,7 @@ onMounted(() => {
|
|
})
|
|
})
|
|
//截取日期
|
|
//截取日期
|
|
const splitDate=(val)=>{
|
|
const splitDate=(val)=>{
|
|
-
|
|
|
|
|
|
+
|
|
return val.substring( 0,10)
|
|
return val.substring( 0,10)
|
|
}
|
|
}
|
|
//处理数据
|
|
//处理数据
|
|
@@ -367,7 +463,7 @@ const deltag=(item)=>{
|
|
annual.value=[{key: 'all', name: '所有'}]
|
|
annual.value=[{key: 'all', name: '所有'}]
|
|
}
|
|
}
|
|
|
|
|
|
- //设置月份
|
|
|
|
|
|
+ //设置月份
|
|
month.value=month.value.filter((ele)=>{
|
|
month.value=month.value.filter((ele)=>{
|
|
if(item.name!==ele.name){
|
|
if(item.name!==ele.name){
|
|
return item
|
|
return item
|
|
@@ -378,7 +474,7 @@ const deltag=(item)=>{
|
|
return item
|
|
return item
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
searchForm.value.month=rowsToArr(month.value)
|
|
searchForm.value.month=rowsToArr(month.value)
|
|
if(month.value.length==0){
|
|
if(month.value.length==0){
|
|
month.value=[{key: 'all', name: '所有'}]
|
|
month.value=[{key: 'all', name: '所有'}]
|
|
@@ -428,7 +524,7 @@ const deltag=(item)=>{
|
|
if(classes.value.length==0){
|
|
if(classes.value.length==0){
|
|
classes.value=[{key: 'all', name: '所有'}]
|
|
classes.value=[{key: 'all', name: '所有'}]
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
//搜索表单
|
|
//搜索表单
|
|
const searchForm = ref({
|
|
const searchForm = ref({
|
|
@@ -627,7 +723,7 @@ const getCarrierTypeByDictdata=async()=>{
|
|
arrdata.forEach((ele)=>{
|
|
arrdata.forEach((ele)=>{
|
|
classess.value.push({key:ele.dictKey,name:ele.dictValue})
|
|
classess.value.push({key:ele.dictKey,name:ele.dictValue})
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
const classesClick = (item) => {
|
|
const classesClick = (item) => {
|
|
@@ -688,7 +784,7 @@ const nodeTreeModalSave = () => {
|
|
nodeTreeModal.value = false
|
|
nodeTreeModal.value = false
|
|
let keys= nodetreeEl.value[treeIndex.value].getCheckedKeys()
|
|
let keys= nodetreeEl.value[treeIndex.value].getCheckedKeys()
|
|
searchForm.value.nodeIds=keys.join(',')||singleId.value
|
|
searchForm.value.nodeIds=keys.join(',')||singleId.value
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -711,8 +807,8 @@ const searchFileClick = (type) => {
|
|
filteringShow.value = ''
|
|
filteringShow.value = ''
|
|
searchForm.value.searchType=type
|
|
searchForm.value.searchType=type
|
|
getTableData()
|
|
getTableData()
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
//按案卷查询
|
|
//按案卷查询
|
|
@@ -724,7 +820,7 @@ const searchCaseClick = (type) => {
|
|
|
|
|
|
|
|
|
|
//tab数据和相关处理
|
|
//tab数据和相关处理
|
|
-const tabKey = ref('tab1')
|
|
|
|
|
|
+const tabKey = ref('tab2')
|
|
const tabData = ref([
|
|
const tabData = ref([
|
|
{key:'tab1', name: '案卷列表'},
|
|
{key:'tab1', name: '案卷列表'},
|
|
{key:'tab2', name: '档案柜'},
|
|
{key:'tab2', name: '档案柜'},
|
|
@@ -768,10 +864,10 @@ const getTableData = async () => {
|
|
for (let key in searchForm.value) {
|
|
for (let key in searchForm.value) {
|
|
if(searchForm.value[key]==='all'||searchForm.value[key]==='所有'){
|
|
if(searchForm.value[key]==='all'||searchForm.value[key]==='所有'){
|
|
searchForm.value[key]=''
|
|
searchForm.value[key]=''
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
...searchForm.value,
|
|
...searchForm.value,
|
|
projectId: projectId.value,
|
|
projectId: projectId.value,
|
|
@@ -786,7 +882,7 @@ const getTableData = async () => {
|
|
tableData.value = []
|
|
tableData.value = []
|
|
searchForm.value.total = 0
|
|
searchForm.value.total = 0
|
|
}
|
|
}
|
|
- tableFileCloseClick()
|
|
|
|
|
|
+ tableFileCloseClick()
|
|
if(searchForm.value.searchType==='2'){
|
|
if(searchForm.value.searchType==='2'){
|
|
if(tableData.value.length>0&&tableData.value[0]?.approvalFileList.length>0){
|
|
if(tableData.value.length>0&&tableData.value[0]?.approvalFileList.length>0){
|
|
// tableFileData.value =getArrValue( tableData.value[0]['approvalFileList'])
|
|
// tableFileData.value =getArrValue( tableData.value[0]['approvalFileList'])
|
|
@@ -801,7 +897,7 @@ const getTableData = async () => {
|
|
tableAllShow.value = true;
|
|
tableAllShow.value = true;
|
|
tableFileShow.value = true;
|
|
tableFileShow.value = true;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -855,8 +951,8 @@ const tableRowClick = ({row}) => {
|
|
fileInfo.value=row
|
|
fileInfo.value=row
|
|
// fileInfo.value.pageN=row['approvalFileList'].length||0
|
|
// fileInfo.value.pageN=row['approvalFileList'].length||0
|
|
fileInfo.value.pageNumber=row['approvalFileList'].length||0
|
|
fileInfo.value.pageNumber=row['approvalFileList'].length||0
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
const tableFileCloseClick = () => {
|
|
const tableFileCloseClick = () => {
|
|
tableAllShow.value = false;
|
|
tableAllShow.value = false;
|
|
@@ -871,14 +967,14 @@ const viewPdf = async (id) => {
|
|
pdfLoading.value=false
|
|
pdfLoading.value=false
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
if (data) {
|
|
if (data) {
|
|
-
|
|
|
|
|
|
+
|
|
return data
|
|
return data
|
|
// window.open(data, '_blank')
|
|
// window.open(data, '_blank')
|
|
} else {
|
|
} else {
|
|
window.$message?.warning('文件不存在')
|
|
window.$message?.warning('文件不存在')
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
// else {
|
|
// else {
|
|
// window.$message?.warning(msg)
|
|
// window.$message?.warning(msg)
|
|
// }
|
|
// }
|
|
@@ -886,8 +982,8 @@ const viewPdf = async (id) => {
|
|
const consultFileClick =async (row,type) => {
|
|
const consultFileClick =async (row,type) => {
|
|
isCarrySpotChecksDrawer.value = true
|
|
isCarrySpotChecksDrawer.value = true
|
|
console.log(row,'row');
|
|
console.log(row,'row');
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
// pdfUrl.value=row.approvalFileList
|
|
// pdfUrl.value=row.approvalFileList
|
|
|
|
|
|
if(type===1){
|
|
if(type===1){
|
|
@@ -901,10 +997,10 @@ const consultFileClick =async (row,type) => {
|
|
}
|
|
}
|
|
if(type===1&& cscTableData1.value.length>0&&cscTableData1.value[0]['pdfFileUrl']){
|
|
if(type===1&& cscTableData1.value.length>0&&cscTableData1.value[0]['pdfFileUrl']){
|
|
console.log('查阅案卷');
|
|
console.log('查阅案卷');
|
|
-
|
|
|
|
|
|
+
|
|
const url=await viewPdf(row.id)
|
|
const url=await viewPdf(row.id)
|
|
console.log(url,'url');
|
|
console.log(url,'url');
|
|
-
|
|
|
|
|
|
+
|
|
pdfUrl.value=url
|
|
pdfUrl.value=url
|
|
checkId.value=''
|
|
checkId.value=''
|
|
// checkId.value=cscTableData1.value[0].id
|
|
// checkId.value=cscTableData1.value[0].id
|
|
@@ -959,7 +1055,7 @@ const cscTableColumn2 = [
|
|
{key:'name', name: '竣工图资料', align: 'center'}
|
|
{key:'name', name: '竣工图资料', align: 'center'}
|
|
];
|
|
];
|
|
const cscTableData2 = ref([
|
|
const cscTableData2 = ref([
|
|
-
|
|
|
|
|
|
+
|
|
])
|
|
])
|
|
|
|
|
|
//计量资料
|
|
//计量资料
|
|
@@ -1056,7 +1152,7 @@ const checkColId=ref(false)
|
|
const checkNodeid=ref('')
|
|
const checkNodeid=ref('')
|
|
const singleId=ref('')
|
|
const singleId=ref('')
|
|
const changeCheckColId=(item)=>{
|
|
const changeCheckColId=(item)=>{
|
|
-
|
|
|
|
|
|
+
|
|
let arr= nodeTreeArr.value.filter((ele)=>{
|
|
let arr= nodeTreeArr.value.filter((ele)=>{
|
|
if(ele.checkColId){
|
|
if(ele.checkColId){
|
|
return ele
|
|
return ele
|
|
@@ -1090,14 +1186,14 @@ const changeCheckColId=(item)=>{
|
|
nodetreeEl?.value[treeIndex.value].setCheckedKeys(idsarr,true);
|
|
nodetreeEl?.value[treeIndex.value].setCheckedKeys(idsarr,true);
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
const nodeTreeArrLoad=ref(false)
|
|
const nodeTreeArrLoad=ref(false)
|
|
@@ -1109,7 +1205,7 @@ const getnodeTabData=async()=>{
|
|
contractId:contractId.value,
|
|
contractId:contractId.value,
|
|
|
|
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
console.log(data,'mulushu');
|
|
console.log(data,'mulushu');
|
|
nodeTreeArr.value = getArrValue(data)
|
|
nodeTreeArr.value = getArrValue(data)
|
|
@@ -1117,7 +1213,7 @@ const getnodeTabData=async()=>{
|
|
item.checkColId=false
|
|
item.checkColId=false
|
|
})
|
|
})
|
|
nodeTreeArrLoad.value=false
|
|
nodeTreeArrLoad.value=false
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
nodeTreeArr.value = []
|
|
nodeTreeArr.value = []
|
|
nodeTreeArrLoad.value=false
|
|
nodeTreeArrLoad.value=false
|
|
@@ -1132,7 +1228,7 @@ const defaultProps = {
|
|
const Nodetreedata=ref([])
|
|
const Nodetreedata=ref([])
|
|
const nodetreeEl=ref(null)
|
|
const nodetreeEl=ref(null)
|
|
const activeName = ref('')
|
|
const activeName = ref('')
|
|
-const nodeTreeArr = ref([])
|
|
|
|
|
|
+const nodeTreeArr = ref([])
|
|
|
|
|
|
const treeIndex=ref(0)
|
|
const treeIndex=ref(0)
|
|
const collapseChange = (key) => {
|
|
const collapseChange = (key) => {
|
|
@@ -1154,7 +1250,7 @@ const getNodetreedata=async()=>{
|
|
Nodetreedata.value = getArrValue(data)
|
|
Nodetreedata.value = getArrValue(data)
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- Nodetreedata.value = []
|
|
|
|
|
|
+ Nodetreedata.value = []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const checkNodeids=ref([])
|
|
const checkNodeids=ref([])
|
|
@@ -1166,6 +1262,242 @@ const loadNode=(tree, resolve)=>{
|
|
resolve(resdata);
|
|
resolve(resdata);
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+//档案柜的tab数据和相关处理
|
|
|
|
+const tabGuiKey = ref('tab1')
|
|
|
|
+const tabGuiData = ref([
|
|
|
|
+ {key:'tab1', name: '业主档案'},
|
|
|
|
+ {key:'tab2', name: '施工档案'},
|
|
|
|
+ {key:'tab3', name: '监理档案'},
|
|
|
|
+]);
|
|
|
|
+const tabGuiChange = (item) => {
|
|
|
|
+ tabGuiKey.value = item?.key;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+//测试档案柜的数据
|
|
|
|
+const guiItemData = ref([
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '01', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '02', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '03', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '04', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '05', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '06', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '07', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '08', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '09', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ {id: '柜子id或其他的唯一值', name: '10', content: '档号xxxx ~ 档号xxxxx'},
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+])
|
|
|
|
+
|
|
|
|
+//柜子被点击
|
|
|
|
+const isGuiInfoDrawer = ref(false)
|
|
|
|
+const guiItemClick = (item) => {
|
|
|
|
+ console.log(item)
|
|
|
|
+ isGuiInfoDrawer.value = true
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//关闭抽屉
|
|
|
|
+const onCloseGuiInfoDrawer = () => {
|
|
|
|
+ isGuiInfoDrawer.value = false
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//案卷文件数据
|
|
|
|
+const guiInfoData = ref([
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123Abc'},
|
|
|
|
+ {id: '2', name: '12测试一下Ab'},
|
|
|
|
+ {id: '3', name: 'ABCDEFG'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ children: [
|
|
|
|
+ {id: '1', name: '123456789'},
|
|
|
|
+ {id: '2', name: '123456789'},
|
|
|
|
+ {id: '3', name: '123456789'},
|
|
|
|
+ {id: '4', name: '123456789'},
|
|
|
|
+ {id: '5', name: '123456789'},
|
|
|
|
+ {id: '6', name: '123456789'},
|
|
|
|
+ {id: '7', name: '123456789'},
|
|
|
|
+ {id: '8', name: '123456789'},
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+])
|
|
|
|
+
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@@ -1181,8 +1513,8 @@ const loadNode=(tree, resolve)=>{
|
|
position: relative;
|
|
position: relative;
|
|
width: calc(100% - 40px);
|
|
width: calc(100% - 40px);
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
.scrollbar-content {
|
|
.scrollbar-content {
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|