Compare commits

..

No commits in common. "82a188251a251680e22a4def56be926d04ff0c46" and "43b36362c0313e679f6972167da01be1434ffe88" have entirely different histories.

9 changed files with 18 additions and 28 deletions

View File

@ -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' },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

View File

@ -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',
}, },
}, },

View File

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

View File

@ -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,6 +604,7 @@
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(

View File

@ -92,7 +92,7 @@
// //
const loading = ref(true) const loading = ref(true)
const currentPage = ref(1) const currentPage = ref(1)
const currentPageSize = ref(10) const currentPageSize = ref(5)
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 = 10 currentPageSize.value = 5
// //
paramsGetResources.pageNum = 1 paramsGetResources.pageNum = 1
paramsGetResources.pageSize = 10 paramsGetResources.pageSize = 5
paramsGetResources.orderField = 'create_date' paramsGetResources.orderField = 'create_date'
paramsGetResources.orderType = 'DESC' paramsGetResources.orderType = 'DESC'
mybus.emit('chongzhi', { mybus.emit('chongzhi', {

View File

@ -2,19 +2,18 @@
<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>
<!-- 技术文档 --> <!-- 技术文档 -->
@ -134,12 +133,7 @@ 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()
}) })
@ -198,7 +192,7 @@ onMounted(() => {
top: 300px; top: 300px;
right: 205px; right: 205px;
width: 74px; width: 74px;
height: 150px; height: 136px;
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;

View File

@ -227,12 +227,7 @@
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 {