|
@@ -66,7 +66,7 @@
|
|
<HcIcon name="node-tree"/>
|
|
<HcIcon name="node-tree"/>
|
|
目录树
|
|
目录树
|
|
</el-button>
|
|
</el-button>
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="hc-search-screening-item">
|
|
<div class="hc-search-screening-item">
|
|
@@ -93,7 +93,7 @@
|
|
<div class="screening-key" :class="isArrIndex(security,'key', item.key) ? 'cut': ''" @click="securityClick(item)">{{item.name}}</div>
|
|
<div class="screening-key" :class="isArrIndex(security,'key', item.key) ? 'cut': ''" @click="securityClick(item)">{{item.name}}</div>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
</div>
|
|
</div>
|
|
@@ -999,13 +999,13 @@ const tableFileData = ref([
|
|
const getArchiveFileListData=async()=>{
|
|
const getArchiveFileListData=async()=>{
|
|
const { error, code, msg,data } = await archiveQueryApi.getArchiveFileList({
|
|
const { error, code, msg,data } = await archiveQueryApi.getArchiveFileList({
|
|
id: fileInfo.value.id, //案卷id
|
|
id: fileInfo.value.id, //案卷id
|
|
-
|
|
|
|
|
|
+
|
|
})
|
|
})
|
|
//处理返回数据
|
|
//处理返回数据
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
- fileInfo.value.pageNumber=data.pageNumber
|
|
|
|
- tableFileData.value=getArrValue(data['approvalFileList'])
|
|
|
|
- cscTableData1.value=getArrValue(data['approvalFileList'])
|
|
|
|
|
|
+ fileInfo.value.pageNumber=data.pageNumber
|
|
|
|
+ tableFileData.value=getArrValue(data['approvalFileList'])
|
|
|
|
+ cscTableData1.value=getArrValue(data['approvalFileList'])
|
|
|
|
|
|
} else {
|
|
} else {
|
|
tableFileData.value=[]
|
|
tableFileData.value=[]
|
|
@@ -1056,7 +1056,7 @@ const consultFileClick =async (row,type) => {
|
|
isFile.value=type
|
|
isFile.value=type
|
|
if(type===1){
|
|
if(type===1){
|
|
//查阅案卷
|
|
//查阅案卷
|
|
-
|
|
|
|
|
|
+
|
|
fileInfo.value=row
|
|
fileInfo.value=row
|
|
getArchiveFileListData()
|
|
getArchiveFileListData()
|
|
const url=await viewPdf(row.id)
|
|
const url=await viewPdf(row.id)
|
|
@@ -1065,13 +1065,13 @@ const consultFileClick =async (row,type) => {
|
|
if(tableFileData.value.length>0){
|
|
if(tableFileData.value.length>0){
|
|
getmetaInfo(tableFileData.value[0].id)
|
|
getmetaInfo(tableFileData.value[0].id)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}else if(type==2){//查阅卷内文件
|
|
}else if(type==2){//查阅卷内文件
|
|
checkId.value=row.id
|
|
checkId.value=row.id
|
|
pdfUrl.value=row.pdfFileUrl
|
|
pdfUrl.value=row.pdfFileUrl
|
|
getmetaInfo(checkId.value)
|
|
getmetaInfo(checkId.value)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
const isCarrySpotChecksDrawer = ref(false)
|
|
const isCarrySpotChecksDrawer = ref(false)
|
|
@@ -1195,12 +1195,12 @@ const cscTableDataModalShow = () => {
|
|
}else{
|
|
}else{
|
|
getmetaInfo(checkId.value)
|
|
getmetaInfo(checkId.value)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
} else if (key === 'tab6') {
|
|
} else if (key === 'tab6') {
|
|
cscTableDataTitle.value = '验签包'
|
|
cscTableDataTitle.value = '验签包'
|
|
}
|
|
}
|
|
cscTableDataModal.value = true
|
|
cscTableDataModal.value = true
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
//关闭弹窗
|
|
//关闭弹窗
|
|
@@ -1375,26 +1375,27 @@ const searchGuiId = ref('')
|
|
//柜子被点击
|
|
//柜子被点击
|
|
const guiInfoLoading = ref(false)
|
|
const guiInfoLoading = ref(false)
|
|
const isGuiInfoDrawer = ref(false)
|
|
const isGuiInfoDrawer = ref(false)
|
|
-const guiItemClick = async (item) => {
|
|
|
|
- const isPlayVideo = await playVideo()
|
|
|
|
- if (isPlayVideo) {
|
|
|
|
- isGuiInfoDrawer.value = true
|
|
|
|
- guiInfoLoading.value = true
|
|
|
|
- searchGuiId.value = item.id
|
|
|
|
- //处理参数
|
|
|
|
- searchForm.value.queryValue = searchInput.value
|
|
|
|
- for (let key in searchForm.value) {
|
|
|
|
- if(searchForm.value[key] === 'all'|| searchForm.value[key] === '所有') {
|
|
|
|
- searchForm.value[key] = ''
|
|
|
|
- }
|
|
|
|
|
|
+const guiItemClick = (item) => {
|
|
|
|
+ //同步转异步
|
|
|
|
+ playVideo().then(res => {
|
|
|
|
+ isGuiInfoDrawer.value = res
|
|
|
|
+ })
|
|
|
|
+ //处理参数
|
|
|
|
+ guiInfoLoading.value = true
|
|
|
|
+ searchGuiId.value = item.id
|
|
|
|
+ searchForm.value.queryValue = searchInput.value
|
|
|
|
+ for (let key in searchForm.value) {
|
|
|
|
+ if(searchForm.value[key] === 'all'|| searchForm.value[key] === '所有') {
|
|
|
|
+ searchForm.value[key] = ''
|
|
}
|
|
}
|
|
- //发起请求
|
|
|
|
- const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
|
|
- ...searchForm.value,
|
|
|
|
- cabinetNumber: item.id,
|
|
|
|
- projectId: projectId.value,
|
|
|
|
- contractId:contractId.value
|
|
|
|
- })
|
|
|
|
|
|
+ }
|
|
|
|
+ //发起请求, 同步转异步
|
|
|
|
+ archiveQueryApi.getarchiveQueryPage({
|
|
|
|
+ ...searchForm.value,
|
|
|
|
+ cabinetNumber: item.id,
|
|
|
|
+ projectId: projectId.value,
|
|
|
|
+ contractId:contractId.value
|
|
|
|
+ }).then(({ error, code, data }) => {
|
|
//处理返回数据
|
|
//处理返回数据
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
const arrData = getArrValue(data)
|
|
const arrData = getArrValue(data)
|
|
@@ -1411,11 +1412,10 @@ const guiItemClick = async (item) => {
|
|
guiInfoCurKey.value = {}
|
|
guiInfoCurKey.value = {}
|
|
guiInfoData.value = []
|
|
guiInfoData.value = []
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
//播放视频
|
|
//播放视频
|
|
const videoRef = ref(null)
|
|
const videoRef = ref(null)
|
|
const isVideoShow = ref(false)
|
|
const isVideoShow = ref(false)
|