diff --git a/src/config/route.js b/src/config/route.js index 5f60b9b9..ee873e32 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -194,19 +194,17 @@ const routes = [ "meta": { "title": "我创建的", "icon": "el-icon-folder-add", - "perms": ["ownerwork"] }, "component": "wf/ownerwork" } , { - "name": "duyt", + "name": "duty", "path": "/wf/dutywork", "meta": { "title": "待办工单", "icon": "el-icon-folder-opened", - "perms": ["duyt"] }, "component": "wf/dutywork" }, @@ -216,7 +214,6 @@ const routes = [ "meta": { "title": "我处理的", "icon": "el-icon-expand", - "perms": ["worked"] }, "component": "wf/worked" }, @@ -226,7 +223,6 @@ const routes = [ "meta": { "title": "抄送我的", "icon": "el-icon-edit-pen", - "perms": ["ccwork"] }, "component": "wf/ccwork" }, diff --git a/src/style/fix.scss b/src/style/fix.scss index 7fa75652..9ce86e94 100644 --- a/src/style/fix.scss +++ b/src/style/fix.scss @@ -279,6 +279,10 @@ body .tox-tinymce-aux { margin-bottom: 16px; } +.el-col .el-card { + margin-bottom: 8px; +} + .el-card, .el-message { border-radius: 0px; diff --git a/src/views/home/widgets/components/eventlist.vue b/src/views/home/widgets/components/eventlist.vue index 4e7565c7..ae8ffd88 100644 --- a/src/views/home/widgets/components/eventlist.vue +++ b/src/views/home/widgets/components/eventlist.vue @@ -1,116 +1,117 @@ +
+ + + + + + + + + - - + + - - + +
+ - - + + + @@ -185,6 +186,12 @@ export default { query: {}, }); }, + toTicket() { + this.$router.push({ + name: "duty", + query: {}, + }); + }, //工单待办 async getdutyAgg() { let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 }); @@ -252,5 +259,12 @@ export default { display: flex; justify-content: space-between; align-items: center; + height:24px; +} +.card-body { + display: flex; + flex-wrap: wrap; + justify-content: space-around; + height:340px; } diff --git a/src/views/home/widgets/components/ticket.vue b/src/views/home/widgets/components/ticket.vue index ff6281d2..b7ce9d1f 100644 --- a/src/views/home/widgets/components/ticket.vue +++ b/src/views/home/widgets/components/ticket.vue @@ -1,78 +1,61 @@
-
@@ -118,6 +101,7 @@ export default { return { dutyAgg: [], //数据统计 + ep_count_type: true, userCount: { total: 0, count_employee: 0, //内部员工 @@ -125,8 +109,8 @@ export default { count_visitor: 0, //相关方 }, operationnumber: null, - rpjnumber:null, - visitnumber:null + rpjnumber: null, + visitnumber: null, }; }, created() { @@ -175,7 +159,7 @@ export default { this.operationnumber = res.count; }); }, - //相关方入场项目 + //相关方入场项目 getRpj() { this.$API.rpm.rpj.list .req({ page: 1, page_size: 1, state: 40 }) @@ -183,7 +167,7 @@ export default { this.rpjnumber = res.count; }); }, - //访客 + //访客 getVisit() { this.$API.vm.visit.list .req({ page: 1, page_size: 1, state: 40 }) @@ -276,12 +260,14 @@ export default { margin: 40px 0 20px 0; } .screen-cockpits { - margin-top: -15px; + // margin-top: -15px; .cockpit-count { .count-list { display: flex; - flex-wrap: wrap; - margin-left: 30px; + // flex-wrap: wrap; + justify-content: space-around; + align-items: center; + height: 80px; .count-list-item { width: 33.3333%; height: 50%; @@ -486,4 +472,16 @@ export default { } } } +.card-header { + display: flex; + justify-content: space-between; + align-items: center; + height:24px; +} +.card-body { + display: flex; + justify-content: space-around; + align-items: center; + height:80px; +} diff --git a/src/views/home/widgets/index.vue b/src/views/home/widgets/index.vue index d8f1bf5a..ad8ed038 100644 --- a/src/views/home/widgets/index.vue +++ b/src/views/home/widgets/index.vue @@ -13,7 +13,7 @@
- +