+
{{ item.createDate }}
@@ -16,6 +16,13 @@
查看更多 >
+
+ 暂无数据
+
@@ -156,7 +163,14 @@ export default {
box-sizing: border-box;
display: flex;
justify-content: space-between;
-
+ .no-data {
+ width: 800px;
+ height: 335px;
+ line-height: 335px;
+ font-size: 16px;
+ color: #212121;
+ text-align: center;
+}
.container {
background: #fff;
width: 800px;
diff --git a/back/src/views/modules/workBench/components/trend-view.vue b/back/src/views/modules/workBench/components/trend-view.vue
index f19d4dc1..51a5b004 100644
--- a/back/src/views/modules/workBench/components/trend-view.vue
+++ b/back/src/views/modules/workBench/components/trend-view.vue
@@ -68,7 +68,7 @@ export default {
const valueItem = y + '-' + m + '-' + d // 组合
days.unshift(valueItem) // 添加至数组
}
- console.log('最近七天日期:', days)
+
return days
},
@@ -88,6 +88,7 @@ export default {
endDate: this.endDate
},
(res) => {
+
// if (res.data.code !== 0) {
// return
// }
@@ -111,7 +112,7 @@ export default {
ydata: []
}
}
-
+
this.$nextTick(() => {
trendLineChart('trendId', this.trendChartData)
})
@@ -124,7 +125,7 @@ export default {
handleTitleSwitch (idx) {
this.selectedTitle = idx
this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30)
- console.log(this.startDate)
+
this.initChart()
},
getData (aa) {
diff --git a/back/src/views/modules/workBench/workBench.vue b/back/src/views/modules/workBench/workBench.vue
index 5830b6eb..6c11bf07 100644
--- a/back/src/views/modules/workBench/workBench.vue
+++ b/back/src/views/modules/workBench/workBench.vue
@@ -35,7 +35,7 @@ import CenterView from '../workBench/components/center-view.vue'
import DeptChartView from '../workBench/components/dept-chart-view.vue'
import deptTodoView from '../workBench/components/dept-todo-view.vue'
import * as Apis from './api.js'
-
+import bus from '@/views/bus.js'
export default {
components: {
deptTodoView,
@@ -87,6 +87,14 @@ export default {
loadingRequire: false
}
},
+ created () {
+ bus.$off('workInit')
+ bus.$on('workInit', () => {
+ console.log("刷新工作台===================")
+ this.getToDo()
+ this.getHasToDo()
+ })
+ },
mounted () {
// 部门待办
this.getToDo()
diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js
index 6168d315..3c27818f 100644
--- a/front/public/static/config/basicConfig.js
+++ b/front/public/static/config/basicConfig.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: Light
- * @LastEditTime: 2022-12-01 12:32:58
+ * @LastEditTime: 2022-12-08 13:42:49
* @Description: 系统静态参数配置
*/
var _global = {}
@@ -68,7 +68,7 @@ var CONFIGITEM = {
// cameraUrl: '192.168.124.236:9537', // 远雄(不挂vpn可直接连)
},
backUrl: 'http://10.134.135.9:9797',
- apiURL: 'http://10.134.135.92:8888/renren-admin',
+ apiURL: 'http://10.134.135.9:8888/renren-admin',
// apiURL: 'http://192.168.124.233:8888/ucs-admin',
// previewUrl: 'http://10.134.135.9:9796/',
// websocketURL: '10.134.135.9:8888/ucs-admin', // 正式环境
diff --git a/front/public/static/css/modal.css b/front/public/static/css/modal.css
index fc97b9eb..130de93b 100644
--- a/front/public/static/css/modal.css
+++ b/front/public/static/css/modal.css
@@ -1,117 +1,132 @@
* {
- font-weight: normal;
- font-style: normal;
+ font-weight: normal;
+ font-style: normal;
}
.mask-layer {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- background: rgba(0, 0, 0, 0.6);
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ background: rgba(0, 0, 0, 0.6);
}
.model-container {
- width: 446px;
- height: 194px;
- background: #fff;
- text-align: center;
- font-size: 18px;
- color: #707070;
- font-family: 'Alibaba PuHuiTi';
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- z-index: 99999999999;
+ width: 446px;
+ height: 194px;
+ background: #fff;
+ text-align: center;
+ font-size: 18px;
+ color: #707070;
+ font-family: 'Alibaba PuHuiTi';
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ -moz-transform: translate(-50%, -50%);
+ -ms-transform: translate(-50%, -50%);
+ -o-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ z-index: 99999999999;
}
.model-container .model-title {
- height: 40px;
- padding-left: 24px;
- padding-right: 24px;
- padding-top: 10px;
- background: #007fff;
- text-align: left;
+ height: 40px;
+ padding-left: 24px;
+ padding-right: 24px;
+ padding-top: 10px;
+ background: #007fff;
+ text-align: left;
}
.model-container .title-span {
- font-family: 'Alibaba PuHuiTi';
- font-size: 18px !important;
- color: #ffffff;
+ font-family: 'Alibaba PuHuiTi';
+ font-size: 18px !important;
+ color: #ffffff;
}
.model-container .model-close {
- position: absolute;
- right: 20px;
- top: 10px;
- width: 18px;
- height: 18px;
- cursor: pointer;
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAALZJREFUOE9jZACC////ZwIpcyBOZGRk/A8SIwSAehqAatiB6itBahmBAhVAuh2qcRGQTiBkGNSQeqie6UA6G2QQyGSYIEgOr2E41UO9RpRh+CxlhIUFIZcRkocbhM9lUK/j9T6KQTgMuwgU10eKRaxhiGEQDsNg5uCMCKwGQQ07AKTtkVxyF8hWxZU0aOciLLFDehjhimKSYo1QOiEkDw4jQoqISbTUy2tUy/1Qr1FeHiElOIqYAKkPngur14nOAAAAAElFTkSuQmCC);
+ position: absolute;
+ right: 20px;
+ top: 10px;
+ width: 18px;
+ height: 18px;
+ cursor: pointer;
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAALZJREFUOE9jZACC////ZwIpcyBOZGRk/A8SIwSAehqAatiB6itBahmBAhVAuh2qcRGQTiBkGNSQeqie6UA6G2QQyGSYIEgOr2E41UO9RpRh+CxlhIUFIZcRkocbhM9lUK/j9T6KQTgMuwgU10eKRaxhiGEQDsNg5uCMCKwGQQ07AKTtkVxyF8hWxZU0aOciLLFDehjhimKSYo1QOiEkDw4jQoqISbTUy2tUy/1Qr1FeHiElOIqYAKkPngur14nOAAAAAElFTkSuQmCC);
}
.model-container .model-content {
- margin-top: 24px;
+ margin-top: 24px;
}
.model-container .controls {
- position: absolute;
- bottom: 10px;
- width: 100%;
- padding: 12px;
- padding-top: 40px;
+ position: absolute;
+ bottom: 10px;
+ width: 100%;
+ padding: 12px;
+ padding-top: 40px;
}
.model-container a {
- display: inline-block;
- width: 49%;
- text-align: center;
- cursor: pointer;
+ display: inline-block;
+ width: 49%;
+ text-align: center;
+ cursor: pointer;
+}
+.ant-message {
+z-index: 10010!important;
+}
+.ant-modal-wrap{
+ z-index: 10010!important;
+}
+.ant-notification {
+z-index: 10012!important;
+}
+.ant-popconfirm {
+z-index: 10010!important;
+}
+.ant-tooltip{
+z-index: 10010!important;
}
.model-container .confirmChrome {
- width: 140px;
- height: 36px;
- background: #0087ff;
- border-radius: 0.04rem !important;
- font-size: 16px;
- font-family: 'Alibaba PuHuiTi';
- color: #fff;
- line-height: 36px;
- border-radius: 6px;
+ width: 140px;
+ height: 36px;
+ background: #0087ff;
+ border-radius: 0.04rem !important;
+ font-size: 16px;
+ font-family: 'Alibaba PuHuiTi';
+ color: #fff;
+ line-height: 36px;
+ border-radius: 6px;
}
.model-container .confirm360 {
- width: 140px;
- height: 36px;
- background: #0087ff;
- border-radius: 0.04rem !important;
- font-size: 16px;
- font-family: 'Alibaba PuHuiTi';
- color: #fff;
- line-height: 36px;
- margin-left: 50px;
- border-radius: 6px;
+ width: 140px;
+ height: 36px;
+ background: #0087ff;
+ border-radius: 0.04rem !important;
+ font-size: 16px;
+ font-family: 'Alibaba PuHuiTi';
+ color: #fff;
+ line-height: 36px;
+ margin-left: 50px;
+ border-radius: 6px;
}
@font-face {
- font-family: 'Alibaba PuHuiTi';
- src: url('~@/assets/home/font/Alibaba-PuHuiTi-Light.otf');
+ font-family: 'Alibaba PuHuiTi';
+ src: url('~@/assets/home/font/Alibaba-PuHuiTi-Light.otf');
}
/* 气泡提示框按钮居中 */
.ant-popover-inner-content .ant-popover-buttons {
- text-align: center;
+ text-align: center;
}
.ApplicationTopDetails-tooltip-card {
- max-width: 9rem !important;
- min-width: 6rem !important;
- max-height: 6rem !important;
- overflow-y: auto;
- }
\ No newline at end of file
+ max-width: 9rem !important;
+ min-width: 6rem !important;
+ max-height: 6rem !important;
+ overflow-y: auto;
+}
diff --git a/front/src/App.vue b/front/src/App.vue
index 9fe5423a..d79a7ccd 100644
--- a/front/src/App.vue
+++ b/front/src/App.vue
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-05-06 11:12:0011-18 19:07:53
* @LastEditors: Light
- * @LastEditTime: 2022-12-01 12:33:18
+ * @LastEditTime: 2022-12-08 13:43:12
* @Description: 告诉大家这是什么
-->
@@ -92,13 +92,31 @@
if (res.data.code == 0) {
realName = res.data.data.realName
}
- onWholeWaterMark(
- [realName, moment().format('YYYY-MM-DD')],
- 800,
- 200,
- 24,
- 40
- )
+ if (realName.length > 13) {
+ onWholeWaterMark(
+ [realName, moment().format('YYYY-MM-DD')],
+ 800,
+ 200,
+ 24,
+ 40
+ )
+ } else if (realName.length > 8) {
+ onWholeWaterMark(
+ [realName, moment().format('YYYY-MM-DD')],
+ 600,
+ 200,
+ 24,
+ 40
+ )
+ } else {
+ onWholeWaterMark(
+ [realName, moment().format('YYYY-MM-DD')],
+ 450,
+ 200,
+ 24,
+ 40
+ )
+ }
getCategoryTreePage({
page: 1,
limit: 999,
diff --git a/front/src/api/home.js b/front/src/api/home.js
index 4ab17c15..1e5c88d4 100644
--- a/front/src/api/home.js
+++ b/front/src/api/home.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-04-01 19:19:40
* @LastEditors: Light
- * @LastEditTime: 2022-11-21 16:35:03
+ * @LastEditTime: 2022-12-06 11:43:03
* @Description: 告诉大家这是什么
*/
import request from '@/utils/request'
@@ -302,7 +302,7 @@ export function workdynamicsDetails(params) {
params,
})
}
-//工作状态详情
+// 应用资源 组件服务左侧树
export function selectDeptList(data) {
return request({
url: '/resource/selectDeptList',
@@ -310,7 +310,15 @@ export function selectDeptList(data) {
data,
})
}
-//工作状态详情
+// 数据资源左侧树
+export function getDataResourceDeptList(data) {
+ return request({
+ url: '/resource/getDataResourceDeptList',
+ method: 'post',
+ data,
+ })
+}
+
export function updateRes(data) {
return request({
url: '/resource/update',
@@ -572,3 +580,11 @@ export function delApplyCamera(data) {
data,
})
}
+// 公告通知
+export function sysnoticemanagement(params) {
+ return request({
+ url: '/sysnoticemanagement/page',
+ method: 'get',
+ params,
+ })
+}
diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js
index 0feb923b..28ae1359 100644
--- a/front/src/api/personalCenter.js
+++ b/front/src/api/personalCenter.js
@@ -337,3 +337,12 @@ export function getDeviceDetail(deviceId) {
method: 'get',
})
}
+
+// 催办
+export function treminders(data) {
+ return request({
+ url: '/reminders/treminders',
+ method: 'post',
+ data,
+ })
+}
diff --git a/front/src/utils/accessToken.js b/front/src/utils/accessToken.js
index b5df58f4..d34fdbca 100644
--- a/front/src/utils/accessToken.js
+++ b/front/src/utils/accessToken.js
@@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 17:48:03
- * @LastEditors: Light
- * @LastEditTime: 2022-10-10 16:56:17
+ * @LastEditors: hisense.wuhongjian
+ * @LastEditTime: 2022-12-05 15:27:26
* @Description: 告诉大家这是什么
*/
import { storage, tokenTableName } from '@/config'
@@ -42,8 +42,9 @@ export function setAccessToken(accessToken) {
} else if ('sessionStorage' === storage) {
return sessionStorage.setItem(tokenTableName, accessToken)
} else if ('cookie' === storage) {
- let expires = new Date(new Date() * 1 + 12 * 60 * 60 * 1000)
- return cookie.set(tokenTableName, accessToken, { expires: expires })
+ // let expires = new Date(new Date() * 1 + 12 * 60 * 60 * 1000)
+ // return cookie.set(tokenTableName, accessToken, { expires: expires })
+ return cookie.set(tokenTableName, accessToken)
// return cookie.set(tokenTableName, '213124123412341234')
} else {
return localStorage.setItem(tokenTableName, accessToken)
diff --git a/front/src/utils/request.js b/front/src/utils/request.js
index 96fa8f96..8fe808dd 100644
--- a/front/src/utils/request.js
+++ b/front/src/utils/request.js
@@ -24,6 +24,10 @@ let loadingInstance
*/
const handleCode = (code, msg, res) => {
switch (code) {
+ case 0:
+ case 1:
+ case 200:
+ break
case 401:
store.dispatch('user/resetAll').catch(() => {})
break
@@ -43,6 +47,8 @@ const handleCode = (code, msg, res) => {
case 302:
// window.location.href = redirect
break
+ default:
+ message.error(msg || '接口异常')
}
}
diff --git a/front/src/views/assertReport/components/ReservoirRight.vue b/front/src/views/assertReport/components/ReservoirRight.vue
index 6960d754..82a3444c 100644
--- a/front/src/views/assertReport/components/ReservoirRight.vue
+++ b/front/src/views/assertReport/components/ReservoirRight.vue
@@ -44,7 +44,7 @@
排行
部门名称
应用数
- 贡献金额
+ 节省金额