|
@@ -58,7 +58,7 @@
|
|
|
|
|
|
<!-- 第二行-->
|
|
<!-- 第二行-->
|
|
<a-row :gutter="24" class="secondLine" style="height:360px;">
|
|
<a-row :gutter="24" class="secondLine" style="height:360px;">
|
|
- <!-- 公告 -->
|
|
|
|
|
|
+ <!-- 企业公告 -->
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="9" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="9" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-card title="企业公告" :bordered="false" style="height:370px;">
|
|
<a-card title="企业公告" :bordered="false" style="height:370px;">
|
|
<template #extra>
|
|
<template #extra>
|
|
@@ -75,8 +75,8 @@
|
|
<div style="height:350">
|
|
<div style="height:350">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="7" :style="{ marginBottom: '8px' }">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="7" :style="{ marginBottom: '8px' }">
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
|
|
+ <!-- 我的计划 -->
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
- <!-- height:196px; -->
|
|
|
|
<a-card title="我的计划" :bordered="false" style="width:100%;">
|
|
<a-card title="我的计划" :bordered="false" style="width:100%;">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="12" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="12" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<p>
|
|
<p>
|
|
@@ -101,21 +101,11 @@
|
|
</a-col>
|
|
</a-col>
|
|
</a-card>
|
|
</a-card>
|
|
</a-col>
|
|
</a-col>
|
|
-<!-- height:196px; -->
|
|
|
|
|
|
+ <!-- 友情链接 -->
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :style="{ marginBottom: '8px', paddingRight: 0 }">
|
|
<a-card title="友情链接" :bordered="false" style="width:100%;" class="links">
|
|
<a-card title="友情链接" :bordered="false" style="width:100%;" class="links">
|
|
<template #extra><a href="javascript:void(0);" @click="openMyLinks">更多</a></template>
|
|
<template #extra><a href="javascript:void(0);" @click="openMyLinks">更多</a></template>
|
|
<button><a href="https://www.yonyou.com/" target="_blank">用友</a></button>
|
|
<button><a href="https://www.yonyou.com/" target="_blank">用友</a></button>
|
|
- <button><a href="http://www.dakabg.com/" target="_blank">哒咔办公</a></button>
|
|
|
|
- <button>
|
|
|
|
- <a href="https://www.dingtalk.com/" target="_blank">钉钉</a>
|
|
|
|
- </button>
|
|
|
|
- <button><a href="https://www.11467.com" target="_blank">品医</a></button>
|
|
|
|
- <button><a href="https://www.antgroup.com/" target="_blank">蚂蚁集团</a></button>
|
|
|
|
- <button><a href="https://www.yonyou.com/" target="_blank">用友</a></button>
|
|
|
|
- <button>
|
|
|
|
- <a href="https://www.dingtalk.com/" target="_blank">钉钉</a>
|
|
|
|
- </button>
|
|
|
|
</a-card>
|
|
</a-card>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -190,6 +180,7 @@ import JEditor from '../../components/jeecg/JEditor.vue'
|
|
import '@/assets/less/dataVTable.less' // 修改首页 DataV 轮播表样式
|
|
import '@/assets/less/dataVTable.less' // 修改首页 DataV 轮播表样式
|
|
import { getUserPermissionByTokenBottom, getListByCreateBy } from '@api/api.js'
|
|
import { getUserPermissionByTokenBottom, getListByCreateBy } from '@api/api.js'
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
|
|
+import { linksList } from '@api/oa/cd_links.js'
|
|
export default {
|
|
export default {
|
|
name: 'Mytodo',
|
|
name: 'Mytodo',
|
|
components: {
|
|
components: {
|
|
@@ -315,9 +306,9 @@ export default {
|
|
this.getScheduleData() //查询日程数据
|
|
this.getScheduleData() //查询日程数据
|
|
this.getDataList() //待办数据
|
|
this.getDataList() //待办数据
|
|
this.getActiveKeyAll() //OA按钮
|
|
this.getActiveKeyAll() //OA按钮
|
|
- this.getAnnList() //渲染公告(已发布的)
|
|
|
|
- this.getMenuList() // 所有菜单
|
|
|
|
|
|
+ this.getAnnList() //渲染公告(已发布)
|
|
this.getFooterNav() // 获取快捷导航
|
|
this.getFooterNav() // 获取快捷导航
|
|
|
|
+ this.getMyLinks() //友情链接(已发布)
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
// 系统消息计算
|
|
// 系统消息计算
|
|
@@ -346,6 +337,14 @@ export default {
|
|
this.getAnnList()
|
|
this.getAnnList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 获取友情链接
|
|
|
|
+ async getMyLinks() {
|
|
|
|
+ // params:{xx1:'',xx2:'',......}
|
|
|
|
+ await linksList().then(res => {
|
|
|
|
+ console.log('友情链接后台返回结果', res)
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
// 获取快捷菜单
|
|
// 获取快捷菜单
|
|
async getFooterNav() {
|
|
async getFooterNav() {
|
|
await getListByCreateBy().then(res => {
|
|
await getListByCreateBy().then(res => {
|
|
@@ -355,17 +354,6 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 抽屉所有菜单
|
|
|
|
- async getMenuList() {
|
|
|
|
- let token = Vue.ls.get(ACCESS_TOKEN)
|
|
|
|
- let params = { token: token }
|
|
|
|
- await getUserPermissionByTokenBottom(params).then(res => {
|
|
|
|
- if (res.success) {
|
|
|
|
- this.menuALL = res.result.menu
|
|
|
|
- // console.log('所有菜单res---->', res)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
|
|
|
|
// 公告数据 ----|**查询条件:已发布、数据条数**|------
|
|
// 公告数据 ----|**查询条件:已发布、数据条数**|------
|
|
async getAnnList() {
|
|
async getAnnList() {
|
|
@@ -585,9 +573,10 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
-// 单独创建页面写样式 如下
|
|
|
|
-@import '~@assets/less/mytodo.less';
|
|
|
|
@import '~@assets/less/common.less';
|
|
@import '~@assets/less/common.less';
|
|
|
|
+// 单独首页样式
|
|
|
|
+@import '~@assets/less/mytodo.less';
|
|
|
|
+
|
|
.contain {
|
|
.contain {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|