|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div id="carry-spot-checks-layout-target" v-loading="!isAppLoading" class="hc-using-query-page">
|
|
|
|
|
|
+ <div id="carry-spot-checks-layout-target" class="hc-using-query-page">
|
|
<div v-show="!isCarrySpotChecksDrawer" class="hc-query-card-box">
|
|
<div v-show="!isCarrySpotChecksDrawer" class="hc-query-card-box">
|
|
<div v-if="isShowheader" class="hc-tag-flex-box">
|
|
<div v-if="isShowheader" class="hc-tag-flex-box">
|
|
<div class="hc-arrow-icon">
|
|
<div class="hc-arrow-icon">
|
|
@@ -537,7 +537,6 @@ import { useAppStore } from '~src/store'
|
|
import { arrIndex, arrToId, downloadBlob, getArrValue, getObjValue, isArrIndex, isNullES } from 'js-fast-way'
|
|
import { arrIndex, arrToId, downloadBlob, getArrValue, getObjValue, isArrIndex, isNullES } from 'js-fast-way'
|
|
import MetaTable from '../transfer/components/meta-table.vue'
|
|
import MetaTable from '../transfer/components/meta-table.vue'
|
|
import HcMediaMic from './components/media-mic/index.vue'
|
|
import HcMediaMic from './components/media-mic/index.vue'
|
|
-import { useProject } from '~sto/useProject'
|
|
|
|
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 imageViewGui from '~src/assets/view/gui.png'
|
|
@@ -547,6 +546,9 @@ import { setTimeString } from '~src/utils/tools'
|
|
|
|
|
|
//变量
|
|
//变量
|
|
const useAppState = useAppStore()
|
|
const useAppState = useAppStore()
|
|
|
|
+const projectId = ref(useAppState.getProjectId)
|
|
|
|
+const contractId = ref(useAppState.getContractId)
|
|
|
|
+const contractInfo = ref(useAppState.getContractInfo)
|
|
const isBubble = ref(useAppState.getBubble)
|
|
const isBubble = ref(useAppState.getBubble)
|
|
const isShowheader = ref(false)
|
|
const isShowheader = ref(false)
|
|
const tags = ref([])
|
|
const tags = ref([])
|
|
@@ -555,9 +557,6 @@ const userAgent = navigator.userAgent
|
|
const isMac = userAgent.indexOf('Mac') !== -1
|
|
const isMac = userAgent.indexOf('Mac') !== -1
|
|
const AppTheme = ref(useAppState.getTheme)
|
|
const AppTheme = ref(useAppState.getTheme)
|
|
|
|
|
|
-//获取项目信息
|
|
|
|
-const { projectId, contractId, contractInfo, isAppLoading } = useProject()
|
|
|
|
-
|
|
|
|
//监听
|
|
//监听
|
|
watch(() => [useAppState.getBubble, tags.value, useAppState.getTheme], ([bubble, Tags, theme]) => {
|
|
watch(() => [useAppState.getBubble, tags.value, useAppState.getTheme], ([bubble, Tags, theme]) => {
|
|
isBubble.value = bubble
|
|
isBubble.value = bubble
|
|
@@ -565,25 +564,14 @@ watch(() => [useAppState.getBubble, tags.value, useAppState.getTheme], ([bubble,
|
|
isShowheader.value = Tags.length !== 0
|
|
isShowheader.value = Tags.length !== 0
|
|
})
|
|
})
|
|
|
|
|
|
-//监听变化
|
|
|
|
-watch(() => isAppLoading.value, (res) => {
|
|
|
|
- if (!res) return
|
|
|
|
|
|
+//渲染完成
|
|
|
|
+onMounted(() => {
|
|
getCarrierTypeByDictdata()
|
|
getCarrierTypeByDictdata()
|
|
setAnnuals()
|
|
setAnnuals()
|
|
setMonths()
|
|
setMonths()
|
|
getTableData()
|
|
getTableData()
|
|
})
|
|
})
|
|
|
|
|
|
-//渲染完成
|
|
|
|
-onMounted(() => {
|
|
|
|
- if (isAppLoading.value) {
|
|
|
|
- getCarrierTypeByDictdata()
|
|
|
|
- setAnnuals()
|
|
|
|
- setMonths()
|
|
|
|
- getTableData()
|
|
|
|
- }
|
|
|
|
-})
|
|
|
|
-
|
|
|
|
//截取日期
|
|
//截取日期
|
|
const splitDate = (val) => {
|
|
const splitDate = (val) => {
|
|
if (val) {
|
|
if (val) {
|