技术文档提示---高级搜索条件编辑---基础设施dec不要

This commit is contained in:
gaoyuanwei 2022-07-20 16:18:18 +08:00
parent 2330dd5680
commit b2d51e12eb
5 changed files with 42 additions and 17 deletions

View File

@ -280,7 +280,7 @@
message.config({
top: '100px', //
})
message.error('暂未上传技术文档')
message.error('暂未开放技术文档.png')
}
}
function technicalNew() {

View File

@ -214,7 +214,7 @@
message.config({
top: '100px', //
})
message.error('暂未上传技术文档')
message.error('暂未开放技术文档.png')
}
}
function technicalNew() {

View File

@ -47,6 +47,8 @@
import DetalsTitle from '@/views/detailsAll/components/DetalsTitle'
import { ref, defineProps, watch } from 'vue'
import { pinyin } from 'pinyin-pro'
import { message } from 'ant-design-vue'
let flag = ref(true)
let dataFrom = ref({
title: '使用方式',
@ -137,23 +139,42 @@
let obj = props.dataList.infoList.filter(
(item) => item.attrType === '技术文档'
)[0]
console.log('dataFrom.value.link', obj.attrValue)
window.open(
window.SITE_CONFIG.frontUrl +
'hisense_office/onlinePreview?url=' +
btoa(encodeURI(obj.attrValue))
)
if (obj) {
window.open(window.SITE_CONFIG.frontUrl + obj.attrValue)
} else {
message.config({
top: '100px', //
})
message.error('暂未开放技术文档.png')
}
// window.open(
// window.SITE_CONFIG.frontUrl +
// 'hisense_office/onlinePreview?url=' +
// btoa(encodeURI(obj.attrValue))
// )
}
function technicaltow() {
let obj = props.dataList.infoList.filter(
(item) => item.attrType === '使用手册'
)[0]
console.log('dataFrom.value.link', obj.attrValue)
window.open(
window.SITE_CONFIG.previewUrl +
'hisense_office/onlinePreview?url=' +
btoa(encodeURI(obj.attrValue))
)
// console.log('dataFrom.value.link', obj.attrValue)
// window.open(
// window.SITE_CONFIG.previewUrl +
// 'hisense_office/onlinePreview?url=' +
// btoa(encodeURI(obj.attrValue))
// )
if (obj) {
window.open(
window.SITE_CONFIG.previewUrl +
'hisense_office/onlinePreview?url=' +
btoa(encodeURI(obj.attrValue))
)
} else {
message.config({
top: '100px', //
})
message.error('暂未上传使用手册')
}
}
watch(
() => props.dataList,

View File

@ -162,7 +162,11 @@
>
<span>{{ item.shareType || '--' }}</span>
</div> -->
<div v-if="selectCardsname !== '融合服务'">
<div
v-if="
selectCardsname !== '融合服务' && selectCardsname !== '基础设施'
"
>
<span>{{ item.deptName || '--' }}</span>
</div>
</div>

View File

@ -56,7 +56,7 @@
</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="技术领域">
<!-- <a-form-item label="技术领域">
<a-select
ref="select"
style="width: 1.8rem; height: 0.4rem"
@ -72,7 +72,7 @@
{{ item.dict_label }}
</a-select-option>
</a-select>
</a-form-item>
</a-form-item> -->
</div>
<div class="qushi-class-father">
<!-- <div class="qushi-class">