|
@@ -6,7 +6,7 @@
|
|
|
<div class="hc-project-icon-box">
|
|
|
<HcIcon name="stack" />
|
|
|
</div>
|
|
|
- <div class="ml-2 project-name-box">
|
|
|
+ <div class="project-name-box ml-2">
|
|
|
<span class="project-alias">{{ projectInfo.projectName }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -74,7 +74,7 @@
|
|
|
<template #info="{ row }">
|
|
|
<div class="hc-table-col-item">
|
|
|
<div v-if="row.type !== 1" class="img-box">
|
|
|
- <HcImg :src="setImageUrl(row.imageUrl)" class="hc-image" />
|
|
|
+ <HcImg :src="setImageUrl(row.imageUrl)" class="hc-image" :is-https="isHttps" />
|
|
|
</div>
|
|
|
<div v-else class="img-box">
|
|
|
<video :src="row.imageUrl">
|
|
@@ -138,9 +138,11 @@ import WbsTree from './components/WbsTree.vue'
|
|
|
import HcTreeData from './components/HcTreeData.vue'
|
|
|
import imageApi from '~api/other-file/imageData'
|
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
|
-import { arrToId, downloadBlob, getArrValue, isString } from 'js-fast-way'
|
|
|
+import { arrToId, downloadBlob, getArrValue } from 'js-fast-way'
|
|
|
import { HcDelMsg } from 'hc-vue3-ui'
|
|
|
import { toPdfPage } from '~uti/btn-auth'
|
|
|
+import website from '~src/config'
|
|
|
+
|
|
|
//变量
|
|
|
const router = useRouter()
|
|
|
const useRoutes = useRoute()
|
|
@@ -196,9 +198,15 @@ const TreeCurrentNodeKey = ref(getStoreValue('TreeCurrentNodeKey') || '')
|
|
|
// onMounted(() => {
|
|
|
// initMounted()
|
|
|
// })
|
|
|
+const isHttps = ref(false)
|
|
|
+onMounted(() => {
|
|
|
+ isHttps.value = !website.localModel
|
|
|
+})
|
|
|
+
|
|
|
onActivated(()=>{
|
|
|
initMounted()
|
|
|
})
|
|
|
+
|
|
|
const initMounted = () => {
|
|
|
console.log('onMounted')
|
|
|
const nodeKey = TreeCurrentNodeKey.value
|
|
@@ -458,7 +466,7 @@ const delClick = () => {
|
|
|
HcDelMsg( async ( resolve) => {
|
|
|
await removeImageclassifyFile(ids)
|
|
|
resolve() //关闭弹窗的回调
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
} else {
|
|
|
window.$message?.warning('请先勾选需要删除的资料文件')
|