部分问题修改
This commit is contained in:
parent
43b36362c0
commit
1f44d96460
|
@ -34,7 +34,7 @@ if (newLocation !== 'baotou' && newLocation !== 'xihaian') {
|
||||||
{ name: '能力云图', key: 'capabilityCloud' },
|
{ name: '能力云图', key: 'capabilityCloud' },
|
||||||
{ name: '能力统计', key: 'abilityStatistics' },
|
{ name: '能力统计', key: 'abilityStatistics' },
|
||||||
// { name: '开发指南', key: 'developmentGuide' },
|
// { name: '开发指南', key: 'developmentGuide' },
|
||||||
{ name: '技术文档', key: 'instructionManual' },
|
{ name: '新手指南', key: 'instructionManual' },
|
||||||
{ name: '需求中心', key: 'demandCenter' },
|
{ name: '需求中心', key: 'demandCenter' },
|
||||||
// { name: '个人中心', key: 'personalCenter' },
|
// { name: '个人中心', key: 'personalCenter' },
|
||||||
{ name: '区市站点', key: 'mapTest' },
|
{ name: '区市站点', key: 'mapTest' },
|
||||||
|
|
|
@ -495,7 +495,7 @@ export const constantRoutes = [
|
||||||
name: 'instructionManual',
|
name: 'instructionManual',
|
||||||
component: () => import('@/views/instructionManual/index'),
|
component: () => import('@/views/instructionManual/index'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '技术文档',
|
title: '新手指南',
|
||||||
icon: 'error-warning-line',
|
icon: 'error-warning-line',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -222,7 +222,7 @@
|
||||||
// path: '/developmentGuide',
|
// path: '/developmentGuide',
|
||||||
// })
|
// })
|
||||||
// break
|
// break
|
||||||
case '技术文档':
|
case '新手指南':
|
||||||
router.push({
|
router.push({
|
||||||
path: '/instructionManual',
|
path: '/instructionManual',
|
||||||
})
|
})
|
||||||
|
|
|
@ -532,11 +532,11 @@
|
||||||
name: '发布时间',
|
name: '发布时间',
|
||||||
orderType: 'DESC',
|
orderType: 'DESC',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
value: 'update_date',
|
// value: 'update_date',
|
||||||
name: '更新时间',
|
// name: '更新时间',
|
||||||
orderType: 'DESC',
|
// orderType: 'DESC',
|
||||||
},
|
// },
|
||||||
])
|
])
|
||||||
// 购物车id列表
|
// 购物车id列表
|
||||||
const selList = ref([
|
const selList = ref([
|
||||||
|
@ -604,7 +604,6 @@
|
||||||
console.log('or use this.value', searchValue.value)
|
console.log('or use this.value', searchValue.value)
|
||||||
}
|
}
|
||||||
function toView(type, item) {
|
function toView(type, item) {
|
||||||
debugger
|
|
||||||
if (props.selectCardsname == '数据资源') {
|
if (props.selectCardsname == '数据资源') {
|
||||||
if (whoShow1.itShowQingDao) {
|
if (whoShow1.itShowQingDao) {
|
||||||
window.open(
|
window.open(
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
// 分页
|
// 分页
|
||||||
const loading = ref(true)
|
const loading = ref(true)
|
||||||
const currentPage = ref(1)
|
const currentPage = ref(1)
|
||||||
const currentPageSize = ref(5)
|
const currentPageSize = ref(10)
|
||||||
const pageSizeOptions = ref(['5', '10', '20', '50'])
|
const pageSizeOptions = ref(['5', '10', '20', '50'])
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const select = router.currentRoute.value.query.select
|
const select = router.currentRoute.value.query.select
|
||||||
|
@ -146,10 +146,10 @@
|
||||||
searchValue.value = ''
|
searchValue.value = ''
|
||||||
// 分页
|
// 分页
|
||||||
currentPage.value = 1
|
currentPage.value = 1
|
||||||
currentPageSize.value = 5
|
currentPageSize.value = 10
|
||||||
// 重置查询条件
|
// 重置查询条件
|
||||||
paramsGetResources.pageNum = 1
|
paramsGetResources.pageNum = 1
|
||||||
paramsGetResources.pageSize = 5
|
paramsGetResources.pageSize = 10
|
||||||
paramsGetResources.orderField = 'create_date'
|
paramsGetResources.orderField = 'create_date'
|
||||||
paramsGetResources.orderType = 'DESC'
|
paramsGetResources.orderType = 'DESC'
|
||||||
mybus.emit('chongzhi', {
|
mybus.emit('chongzhi', {
|
||||||
|
|
|
@ -2,18 +2,19 @@
|
||||||
<home-header></home-header>
|
<home-header></home-header>
|
||||||
<div class="menu-container">
|
<div class="menu-container">
|
||||||
<div id="container" class="content-menu">
|
<div id="container" class="content-menu">
|
||||||
<div class="left">
|
<!-- <div class="left">
|
||||||
<div class="first-title-text doc" :style="{ color: '技术文档' === titleData.name ? '#0058e1' : '' }"
|
<div class="first-title-text doc" :style="{ color: '技术文档' === titleData.name ? '#0058e1' : '' }"
|
||||||
@click="changeName({ name: '技术文档' })">
|
@click="changeName({ name: '技术文档' })">
|
||||||
技术文档
|
技术文档
|
||||||
</div>
|
</div>
|
||||||
<abilityDocTree style="max-height:320px;overflow-y:auto" :dataList="treeArray" @treeClick="treeClick"
|
<abilityDocTree style="max-height:320px;overflow-y:auto" :dataList="treeArray" @treeClick="treeClick"
|
||||||
:clickData="clickData"></abilityDocTree>
|
:clickData="clickData"></abilityDocTree>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="first-title-text new-guide-box" :style="{ color: '使用手册' === titleData.name ? '#0058e1' : '' }"
|
<div class="first-title-text new-guide-box" :style="{ color: '使用手册' === titleData.name ? '#0058e1' : '' }"
|
||||||
@click="changeName({ name: '使用手册' })">
|
@click="changeName({ name: '使用手册' })">
|
||||||
<div class="guide-text">使用手册</div>
|
<div class="guide-text">使用手册</div>
|
||||||
|
<img src="@/assets/developmentGuide/download.png" @click="downloadDoc('/static/doc/userbook.docx', '通用能力服务平台USC用户手册')" alt="" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 技术文档 -->
|
<!-- 技术文档 -->
|
||||||
|
@ -133,7 +134,12 @@ const getFirstData = (firstObj = {}) => {
|
||||||
clickData.value = firstObj
|
clickData.value = firstObj
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const downloadDoc = (path, name) => {
|
||||||
|
const a = document.createElement('a')
|
||||||
|
a.href = path
|
||||||
|
a.download =name
|
||||||
|
a.click()
|
||||||
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getTreeData()
|
getTreeData()
|
||||||
})
|
})
|
||||||
|
@ -192,7 +198,7 @@ onMounted(() => {
|
||||||
top: 300px;
|
top: 300px;
|
||||||
right: 205px;
|
right: 205px;
|
||||||
width: 74px;
|
width: 74px;
|
||||||
height: 136px;
|
height: 150px;
|
||||||
background: url('~@/assets/menu/new-bg.png') no-repeat;
|
background: url('~@/assets/menu/new-bg.png') no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -226,8 +226,13 @@
|
||||||
// })
|
// })
|
||||||
if (item) {
|
if (item) {
|
||||||
mynoticeRead(item.id).then((res) => {
|
mynoticeRead(item.id).then((res) => {
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0 ) {
|
||||||
message.success('操作成功!')
|
message.success('通知已读!')
|
||||||
|
// if(item.readStatus == 1){
|
||||||
|
// message.success('通知已读!')
|
||||||
|
// } if(item.readStatus == 0){
|
||||||
|
// message.success('通知已设为已读!')
|
||||||
|
// }
|
||||||
mybus.emit('getMynotice')
|
mybus.emit('getMynotice')
|
||||||
init()
|
init()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue