Compare commits

..

2 Commits

Author SHA1 Message Date
gongjiale 82a188251a 新增说明文档和下载图标 2022-09-27 09:20:48 +08:00
gongjiale 1f44d96460 部分问题修改 2022-09-27 09:20:09 +08:00
9 changed files with 28 additions and 18 deletions

View File

@ -34,7 +34,7 @@ if (newLocation !== 'baotou' && newLocation !== 'xihaian') {
{ name: '能力云图', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' },
// { name: '', key: 'developmentGuide' },
{ name: '技术文档', key: 'instructionManual' },
{ name: '新手指南', key: 'instructionManual' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' },

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

View File

@ -495,7 +495,7 @@ export const constantRoutes = [
name: 'instructionManual',
component: () => import('@/views/instructionManual/index'),
meta: {
title: '技术文档',
title: '新手指南',
icon: 'error-warning-line',
},
},

View File

@ -222,7 +222,7 @@
// path: '/developmentGuide',
// })
// break
case '技术文档':
case '新手指南':
router.push({
path: '/instructionManual',
})

View File

@ -532,11 +532,11 @@
name: '发布时间',
orderType: 'DESC',
},
{
value: 'update_date',
name: '更新时间',
orderType: 'DESC',
},
// {
// value: 'update_date',
// name: '',
// orderType: 'DESC',
// },
])
// id
const selList = ref([
@ -604,7 +604,6 @@
console.log('or use this.value', searchValue.value)
}
function toView(type, item) {
debugger
if (props.selectCardsname == '数据资源') {
if (whoShow1.itShowQingDao) {
window.open(

View File

@ -92,7 +92,7 @@
//
const loading = ref(true)
const currentPage = ref(1)
const currentPageSize = ref(5)
const currentPageSize = ref(10)
const pageSizeOptions = ref(['5', '10', '20', '50'])
const router = useRouter()
const select = router.currentRoute.value.query.select
@ -146,10 +146,10 @@
searchValue.value = ''
//
currentPage.value = 1
currentPageSize.value = 5
currentPageSize.value = 10
//
paramsGetResources.pageNum = 1
paramsGetResources.pageSize = 5
paramsGetResources.pageSize = 10
paramsGetResources.orderField = 'create_date'
paramsGetResources.orderType = 'DESC'
mybus.emit('chongzhi', {

View File

@ -2,18 +2,19 @@
<home-header></home-header>
<div class="menu-container">
<div id="container" class="content-menu">
<div class="left">
<!-- <div class="left">
<div class="first-title-text doc" :style="{ color: '技术文档' === titleData.name ? '#0058e1' : '' }"
@click="changeName({ name: '技术文档' })">
技术文档
</div>
<abilityDocTree style="max-height:320px;overflow-y:auto" :dataList="treeArray" @treeClick="treeClick"
:clickData="clickData"></abilityDocTree>
</div>
</div> -->
<div class="first-title-text new-guide-box" :style="{ color: '使用手册' === titleData.name ? '#0058e1' : '' }"
@click="changeName({ name: '使用手册' })">
<div class="guide-text">使用手册</div>
<img src="@/assets/developmentGuide/download.png" @click="downloadDoc('/static/doc/userbook.docx', '通用能力服务平台USC用户手册')" alt="" />
</div>
<!-- 技术文档 -->
@ -133,7 +134,12 @@ const getFirstData = (firstObj = {}) => {
clickData.value = firstObj
}
}
const downloadDoc = (path, name) => {
const a = document.createElement('a')
a.href = path
a.download =name
a.click()
}
onMounted(() => {
getTreeData()
})
@ -192,7 +198,7 @@ onMounted(() => {
top: 300px;
right: 205px;
width: 74px;
height: 136px;
height: 150px;
background: url('~@/assets/menu/new-bg.png') no-repeat;
background-size: 100% 100%;
display: flex;

View File

@ -226,8 +226,13 @@
// })
if (item) {
mynoticeRead(item.id).then((res) => {
if (res.data.code == 0) {
message.success('操作成功!')
if (res.data.code == 0 ) {
message.success('通知已读!')
// if(item.readStatus == 1){
// message.success('')
// } if(item.readStatus == 0){
// message.success('')
// }
mybus.emit('getMynotice')
init()
} else {