|
@ -1,62 +1,70 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="index" style="height: calc(100vh - 200px);overflow-x: hidden;overflow-y: auto;"> |
|
|
<div class="index" style="height: calc(100vh - 200px);overflow-x: hidden;overflow-y: auto;"> |
|
|
<div class="index_top"> |
|
|
<div class="index_top"> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div style="flex: 1;"> |
|
|
<div class="index_content"> |
|
|
<span class="index_top_text" @click="show">数据总览</span> |
|
|
<div class="index_content_top"> |
|
|
<el-date-picker v-model="params.date" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"> |
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="index_top_right">{{ info.notice }}</div> --> |
|
|
<div class="item_border" style="display: flex;flex-direction: row; padding: 30px 20px; flex: 1;"> |
|
|
|
|
|
|
|
|
</div> |
|
|
<img src="../assets/images/cgsp.png" style="width: 54px;height: 54px;" /> |
|
|
<div class="index_bottom"> |
|
|
|
|
|
<div class="item_border" style="display: flex;flex-direction: column; padding: 20px 20px; flex: 1;"> |
|
|
|
|
|
<div style="display: flex;flex-direction: row; justify-content: space-between; align-items: center;"> |
|
|
|
|
|
<span style="font-weight: 600;">员工变动</span> |
|
|
|
|
|
<span style="color: #4386FF; font-size: 13px; text-decoration: underline;">查看更多</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div style="margin-top: 20px;" v-for="(item, index) in newMessageList" :key="index"> |
|
|
<div style="display: flex;flex-direction: column; margin-left: 10px;"> |
|
|
<div |
|
|
<span style="font-size: 20px;">13</span> |
|
|
style="display: flex;flex-direction: row; justify-content: space-between; align-items: center; padding-top: 20px;" |
|
|
<div style="margin-top: 10px;"> |
|
|
@click="companyInfo(item.sid)"> |
|
|
<span style="font-size: 14px;color: #999;">角色分类</span> |
|
|
<span |
|
|
</div> |
|
|
style="font-size: 16px;color: #444;overflow: hidden;margin-right:20px;flex: 1;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1 ;-webkit-box-orient: vertical;">{{ |
|
|
|
|
|
item.name }}</span> |
|
|
|
|
|
<span style="font-size: 13px;color: #999;">{{ item.date }}</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
<div style="flex: 0.3;"></div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="item_border" style="display: flex;flex-direction: row; padding: 30px 20px; flex: 1;"> |
|
|
|
|
|
|
|
|
|
|
|
<img src="../assets/images/cgsp.png" style="width: 54px;height: 54px;" /> |
|
|
|
|
|
|
|
|
<div style="flex: 0.1;"></div> |
|
|
<div style="display: flex;flex-direction: column; margin-left: 10px;"> |
|
|
|
|
|
<span style="font-size: 20px;">121</span> |
|
|
|
|
|
<div style="margin-top: 10px;"> |
|
|
|
|
|
<span style="font-size: 14px;color: #999;">功能数量</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="item_border" style="display: flex;flex-direction: column; padding: 20px 20px; flex: 1;"> |
|
|
|
|
|
<div style="display: flex;flex-direction: row; justify-content: space-between; align-items: center;"> |
|
|
|
|
|
<span style="font-weight: 600;">岗位调整</span> |
|
|
|
|
|
<span style="color: #4386FF; font-size: 13px; text-decoration: underline;">查看更多</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div style="margin-top: 20px;" v-for="(item, index) in larmCenterList" :key="index"> |
|
|
<div style="flex: 0.3;"></div> |
|
|
<div |
|
|
|
|
|
style="display: flex;flex-direction: row; justify-content: space-between; align-items: center; padding-top: 20px;" |
|
|
<div class="item_border" style="display: flex;flex-direction: row; padding: 30px 20px; flex: 1;"> |
|
|
@click="companyInfo(item.sid)"> |
|
|
|
|
|
<span style="font-size: 16px;color: #444;overflow: hidden;margin-right:20px;flex: 1; |
|
|
<img src="../assets/images/cgsp.png" style="width: 54px;height: 54px;" /> |
|
|
text-overflow: ellipsis; |
|
|
|
|
|
display: -webkit-box; |
|
|
<div style="display: flex;flex-direction: column; margin-left: 10px;"> |
|
|
-webkit-line-clamp: 1 ; |
|
|
<span style="font-size: 20px;">624</span> |
|
|
-webkit-box-orient: vertical;">{{ item.name }}</span> |
|
|
<div style="margin-top: 10px;"> |
|
|
<span style="font-size: 13px;color: #999;">{{ item.date }}</span> |
|
|
<span style="font-size: 14px;color: #999;">组织职员</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
<div style="flex: 0.3;"></div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="index_content"> |
|
|
<div class="item_border" style="display: flex;flex-direction: row; padding: 30px 20px; flex: 1;"> |
|
|
|
|
|
|
|
|
|
|
|
<img src="../assets/images/cgsp.png" style="width: 54px;height: 54px;" /> |
|
|
|
|
|
|
|
|
|
|
|
<div style="display: flex;flex-direction: column; margin-left: 10px;"> |
|
|
|
|
|
<span style="font-size: 20px;">509</span> |
|
|
|
|
|
<div style="margin-top: 10px;"> |
|
|
|
|
|
<span style="font-size: 14px;color: #999;">组织资源</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<div class="index_content_bottom"> |
|
|
<div class="index_content_bottom"> |
|
|
|
|
|
|
|
|
<div class="item_border" style="display: flex;flex-direction: column; padding: 20px 20px; flex: 1;"> |
|
|
<div class="item_border" style="display: flex;flex-direction: column; padding: 20px 20px; flex: 1;"> |
|
@ -225,7 +233,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
data: [ |
|
|
data: [ |
|
|
20,20,20,20,60,70,90 |
|
|
20, 20, 20, 20, 60, 70, 90 |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
@ -269,7 +277,7 @@ export default { |
|
|
trigger: "item" |
|
|
trigger: "item" |
|
|
}, |
|
|
}, |
|
|
series: [{ |
|
|
series: [{ |
|
|
name: '在途商品', |
|
|
name: '角色占比', |
|
|
type: 'pie', |
|
|
type: 'pie', |
|
|
radius: [20, 100], |
|
|
radius: [20, 100], |
|
|
center: ['50%', '40%'], |
|
|
center: ['50%', '40%'], |
|
@ -279,19 +287,19 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data: [{ |
|
|
data: [{ |
|
|
"value": 20, |
|
|
"value": 20, |
|
|
"name": "采购部" |
|
|
"name": "超级管理员" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"value": 15, |
|
|
"value": 15, |
|
|
"name": "销售部" |
|
|
"name": "客户管理员" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"value": 30, |
|
|
"value": 30, |
|
|
"name": "开发部" |
|
|
"name": "普通管理员" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"value": 20, |
|
|
"value": 20, |
|
|
"name": "运维部" |
|
|
"name": "普通用户" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}] |
|
|
}] |
|
|