yh-pub 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AdminLogin-BoxKRRwd.js +140 -0
- package/AdminLogin-BoxKRRwd.js.map +1 -0
- package/Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js +55 -0
- package/Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js.map +1 -0
- package/Error-BCu4KHfU.js +43 -0
- package/Error-BCu4KHfU.js.map +1 -0
- package/Error401-C5kTyMSM.js +30 -0
- package/Error401-C5kTyMSM.js.map +1 -0
- package/Error404-P3qKjHk6.js +30 -0
- package/Error404-P3qKjHk6.js.map +1 -0
- package/Error500-NVnuOBIQ.js +30 -0
- package/Error500-NVnuOBIQ.js.map +1 -0
- package/HomeIndex-C806Fp-9.js +438 -0
- package/HomeIndex-C806Fp-9.js.map +1 -0
- package/IconExplorer-CBg1lvD0.js +66 -0
- package/IconExplorer-CBg1lvD0.js.map +1 -0
- package/Index-AjfvK7Ss.js +5 -0
- package/Index-AjfvK7Ss.js.map +1 -0
- package/MainLogin-wW7bSk0F.js +155 -0
- package/MainLogin-wW7bSk0F.js.map +1 -0
- package/MenuManage-CIxqmusr.js +641 -0
- package/MenuManage-CIxqmusr.js.map +1 -0
- package/OrgManage-BcTWbnyc.js +378 -0
- package/OrgManage-BcTWbnyc.js.map +1 -0
- package/RoleManage-Bw83c_7q.js +729 -0
- package/RoleManage-Bw83c_7q.js.map +1 -0
- package/SysConfig-L0A1eY-O.js +727 -0
- package/SysConfig-L0A1eY-O.js.map +1 -0
- package/TenantList-B5imzQc5.js +696 -0
- package/TenantList-B5imzQc5.js.map +1 -0
- package/index-BP41Ph8K.js +55257 -0
- package/index-BP41Ph8K.js.map +1 -0
- package/index-CJ0So9-k.js +7 -0
- package/index-CJ0So9-k.js.map +1 -0
- package/index-wVC41gTc.js +23955 -0
- package/index-wVC41gTc.js.map +1 -0
- package/index.d.ts +35 -0
- package/index.es.js +66 -0
- package/index.es.js.map +1 -0
- package/package.json +27 -6
- package/style.css +1 -0
- package/README.MD +0 -19
- package/layout/admin/adminIndex.vue +0 -104
- package/layout/admin/api/loginApi.js +0 -24
- package/layout/admin/api/routers.js +0 -93
- package/layout/admin/api/tenantApi.js +0 -123
- package/layout/admin/home/homeIndex.vue +0 -25
- package/layout/admin/login/login.vue +0 -161
- package/layout/admin/menu/MenuIndex.vue +0 -648
- package/layout/admin/menu/icon.vue +0 -108
- package/layout/admin/menu/iconList.js +0 -934
- package/layout/admin/saTenant/saTenant.js +0 -0
- package/layout/admin/saTenant/saTenant.vue +0 -173
- package/layout/admin/saTenant/saTenantForm.js +0 -80
- package/layout/admin/saTenant/saTenantForm.vue +0 -61
- package/layout/admin/saTenant/saTenantRoleManage.js +0 -417
- package/layout/admin/saTenant/saTenantRoleManage.vue +0 -99
- package/layout/admin/user/saUser.less +0 -6
- package/layout/admin/user/saUser.vue +0 -72
- package/layout/main/components/console/console.vue +0 -205
- package/layout/main/components/error-store/error-store.vue +0 -72
- package/layout/main/components/error-store/index.js +0 -2
- package/layout/main/components/fullscreen/fullscreen.vue +0 -57
- package/layout/main/components/fullscreen/index.js +0 -2
- package/layout/main/components/language/language.vue +0 -71
- package/layout/main/components/side-menu/side-menu.less +0 -74
- package/layout/main/components/side-menu/side-menu.vue +0 -75
- package/layout/main/components/tags-nav/tags-nav.less +0 -45
- package/layout/main/components/tags-nav/tags-nav.vue +0 -144
- package/layout/main/components/user/user.less +0 -12
- package/layout/main/components/user/user.vue +0 -185
- package/layout/main/home/home.vue +0 -480
- package/layout/main/home/index.js +0 -2
- package/layout/main/home/toDoList.vue +0 -32
- package/layout/main/login/login.less +0 -93
- package/layout/main/login/login.vue +0 -151
- package/layout/main/main.less +0 -81
- package/layout/main/main.vue +0 -254
- package/layout/main/system/dict.vue +0 -64
- package/layout/main/system/orgManage.vue +0 -473
- package/layout/main/system/roleManage.js +0 -807
- package/layout/main/system/roleManage.vue +0 -424
- package/view/basic/error-logger.vue +0 -74
- package/view/basic/error-page/401.vue +0 -22
- package/view/basic/error-page/404.vue +0 -22
- package/view/basic/error-page/500.vue +0 -22
- package/view/basic/error-page/back-btn-group.vue +0 -48
- package/view/basic/error-page/error-content.vue +0 -28
- package/view/basic/error-page/error.less +0 -46
- package/view/config/component/confFormItem.vue +0 -49
- package/view/config/config.scss +0 -45
- package/view/config/configIndex.vue +0 -150
- package/view/config/subPage/router-config.vue +0 -5
- package/view/config/subPage/sys-config.vue +0 -249
- package/view/window/IframeFReportView.vue +0 -28
- package/view/window/windowIndex.vue +0 -22
|
@@ -1,480 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-row height="250px" style="border-bottom: 1px #cccccc solid;margin: 0;">
|
|
3
|
-
<div class="cell-content">
|
|
4
|
-
<div class="cell-title">今日计划达成</div>
|
|
5
|
-
<div style="display: flex;">
|
|
6
|
-
<div style="display: flex;justify-content: center;align-items: center;padding-left: 15px;">
|
|
7
|
-
<!-- <chart-liquid-fill class="data_charts" style="width:110px;height:110px" :color="dcColor" :value="jhData"/>-->
|
|
8
|
-
</div>
|
|
9
|
-
<div style="flex: 1;">
|
|
10
|
-
<div>
|
|
11
|
-
<div style="padding-left: 40px;word-break: keep-all;">计划产量</div>
|
|
12
|
-
<div style="text-align: center;font-size: 28px;color:#05c905;">1500</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div>
|
|
15
|
-
<div style="padding-left: 40px;word-break: keep-all;">实际产量</div>
|
|
16
|
-
<div style="text-align: center;font-size: 28px;">1200</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="cell-content">
|
|
22
|
-
<div class="cell-title">设备完好率</div>
|
|
23
|
-
<div style="display: flex;">
|
|
24
|
-
<div style="display: flex;justify-content: center;align-items: center;padding-left: 15px;">
|
|
25
|
-
<chart-doughnut class="data_charts" style="width:100px;height:100px" :color="dcColor" :value="dcData"/>
|
|
26
|
-
</div>
|
|
27
|
-
<div style="flex: 1;display: flex;justify-content: center;align-items: center;">
|
|
28
|
-
<div style="font-size: 40px;color:#464545;">95%</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div style="height: 1px;width: calc(100% - 30px);background: #ccc;margin: 0 15px;"></div>
|
|
32
|
-
<div style="display: flex;padding-top: 5px;justify-content: space-evenly;">
|
|
33
|
-
<div style="display:flex;">
|
|
34
|
-
<div>正常</div>
|
|
35
|
-
<div style="margin-left:3px;color:green;">190</div>
|
|
36
|
-
</div>
|
|
37
|
-
<div style="display:flex;">
|
|
38
|
-
<div>保养</div>
|
|
39
|
-
<div style="margin-left:3px;color:blue;">9</div>
|
|
40
|
-
</div>
|
|
41
|
-
<div style="display:flex;">
|
|
42
|
-
<div>维修</div>
|
|
43
|
-
<div style="margin-left:3px;color:orange;">6</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div style="display:flex;">
|
|
46
|
-
<div>故障</div>
|
|
47
|
-
<div style="margin-left:3px;color:red;">1</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="cell-content">
|
|
52
|
-
<div class="cell-title">今日合格率</div>
|
|
53
|
-
<div style="display: flex;">
|
|
54
|
-
<div style="display: flex;justify-content: center;align-items: center;padding-left: 15px;">
|
|
55
|
-
<chart-doughnut class="data_charts" style="width:100px;height:100px" :color="dcColor" :value="dcData"/>
|
|
56
|
-
</div>
|
|
57
|
-
<div style="flex: 1;display: flex;justify-content: center;align-items: center;">
|
|
58
|
-
<div style="font-size: 40px;color:#464545;">98.01%</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div style="height: 1px;width: calc(100% - 30px);background: #ccc;margin: 0 15px;"></div>
|
|
62
|
-
<div style="display: flex;padding-top: 5px;justify-content: space-evenly;">
|
|
63
|
-
<div style="display:flex;">
|
|
64
|
-
<div style="color: #999;">周同比</div>
|
|
65
|
-
<el-icon slot="prefix" class="user" />
|
|
66
|
-
<el-icon size="20" color="#10d910"><Top /></el-icon>
|
|
67
|
-
<div style="margin-left:3px;color:green;">2%</div>
|
|
68
|
-
</div>
|
|
69
|
-
<div style="display:flex;">
|
|
70
|
-
<div style="color: #999;">日环比</div>
|
|
71
|
-
<el-icon size="20" color="#f00"><SortDown /></el-icon>
|
|
72
|
-
<div style="margin-left:3px;color:green;">1%</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="cell-content">
|
|
77
|
-
<div class="cell-title">本月订单数</div>
|
|
78
|
-
<div style="display: flex;height: 100px;">
|
|
79
|
-
<div style="flex: 1;display: flex;justify-content: center;align-items: center;">
|
|
80
|
-
<div style="font-size: 52px;color:#0096fa;">351</div>
|
|
81
|
-
<div style="font-size: 20px;color:#888;margin-top: 20px;">(9800pcs)</div>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
<div style="height: 1px;width: calc(100% - 30px);background: #ccc;margin: 0 15px;"></div>
|
|
85
|
-
<div style="display: flex;padding-top: 5px;justify-content: space-evenly;">
|
|
86
|
-
<div style="display:flex;">
|
|
87
|
-
<div style="color: #999;">周同比</div>
|
|
88
|
-
<el-icon type="md-arrow-dropup" size="20" style="color:#10d910"/>
|
|
89
|
-
<div style="margin-left:3px;color:green;">2%</div>
|
|
90
|
-
</div>
|
|
91
|
-
<div style="display:flex;">
|
|
92
|
-
<div style="color: #999;">日环比</div>
|
|
93
|
-
<el-icon type="md-arrow-dropdown" size="20" style="color:red"/>
|
|
94
|
-
<div style="margin-left:3px;color:green;">1%</div>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="cell-content">
|
|
99
|
-
<div class="cell-title">今日人均产量</div>
|
|
100
|
-
<div style="display: flex;height: 100px;">
|
|
101
|
-
<div style="flex: 1;display: flex;justify-content: center;align-items: center;">
|
|
102
|
-
<div style="font-size: 52px;color:#0096fa;">32</div>
|
|
103
|
-
<div style="font-size: 20px;color:#888;margin-top: 20px;">pcs/人</div>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
<div style="height: 1px;width: calc(100% - 30px);background: #ccc;margin: 0 15px;"></div>
|
|
107
|
-
<div style="display: flex;padding-top: 5px;justify-content: space-evenly;">
|
|
108
|
-
<div style="display:flex;">
|
|
109
|
-
<div style="color: #999;">周同比</div>
|
|
110
|
-
<el-icon type="md-arrow-dropup" size="20" style="color:#10d910"/>
|
|
111
|
-
<div style="margin-left:3px;color:green;">2%</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div style="display:flex;">
|
|
114
|
-
<div style="color: #999;">日环比</div>
|
|
115
|
-
<el-icon type="md-arrow-dropdown" size="20" style="color:red"/>
|
|
116
|
-
<div style="margin-left:3px;color:green;">1%</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
</el-row>
|
|
121
|
-
<el-row style="border-bottom: 1px #cccccc solid;margin-top: 20px;">
|
|
122
|
-
<div style="background:#fff;width: calc((100% - 80px) / 5 * 2 + 20px);">
|
|
123
|
-
<ChartBarYtwo style="height: 280px;" v-bind="cltwoYbarData" text="本月产量分析"/>
|
|
124
|
-
</div>
|
|
125
|
-
<div style="background:#fff;width: calc((100% - 80px) / 5 * 3 + 40px);">
|
|
126
|
-
<div class="cell-title" style="padding-bottom:5px;">生产进度跟踪</div>
|
|
127
|
-
<el-table height="245" :columns="tbColumns" :data="tbData">
|
|
128
|
-
<!-- <template slot-scope="{ row }" slot="doneStep">-->
|
|
129
|
-
<!-- <Progress :percent="row.RATE_DONE.replace('%','') * 1" status="normal" :stroke-width="20" text-inside/>-->
|
|
130
|
-
<!-- </template>-->
|
|
131
|
-
</el-table>ll;l;l;l;
|
|
132
|
-
</div>
|
|
133
|
-
</el-row>
|
|
134
|
-
<el-row height="250px" style="border-bottom: 1px #cccccc solid;margin-top: 20px;">
|
|
135
|
-
<div style="background:#fff;width: calc((100% - 80px) / 5 * 2 + 20px);position: relative;">
|
|
136
|
-
<!-- <chart-doughnut style="height: 250px;" :value="pieData" showLegend="true" text="本月设备故障分析"></chart-doughnut> -->
|
|
137
|
-
<home-pie style="height: 250px;width:250px;" :value="pieData" showLegend="true" text="本月设备故障分析"></home-pie>
|
|
138
|
-
<div class="show-pie-content" style="width: calc(100% - 250px);">
|
|
139
|
-
<div class="show-pie-content-title">TOP5故障</div>
|
|
140
|
-
<div class="show-pie-content-item">
|
|
141
|
-
<div class="show-pie-content-item-num">1</div>
|
|
142
|
-
<div>机械故障</div>
|
|
143
|
-
<div>12</div>
|
|
144
|
-
</div>
|
|
145
|
-
<div class="show-pie-content-item">
|
|
146
|
-
<div class="show-pie-content-item-num">2</div>
|
|
147
|
-
<div>磨损</div>
|
|
148
|
-
<div>8</div>
|
|
149
|
-
</div>
|
|
150
|
-
<div class="show-pie-content-item">
|
|
151
|
-
<div class="show-pie-content-item-num">3</div>
|
|
152
|
-
<div>电气故障</div>
|
|
153
|
-
<div>7</div>
|
|
154
|
-
</div>
|
|
155
|
-
<div class="show-pie-content-item">
|
|
156
|
-
<div class="show-pie-content-item-num ccc">4</div>
|
|
157
|
-
<div>润滑不到位</div>
|
|
158
|
-
<div>5</div>
|
|
159
|
-
</div>
|
|
160
|
-
<div class="show-pie-content-item">
|
|
161
|
-
<div class="show-pie-content-item-num ccc">5</div>
|
|
162
|
-
<div>人为操作</div>
|
|
163
|
-
<div>2</div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
<div style="background: #fff;width: 30%;">
|
|
168
|
-
<ChartBarYtwo style="height: 250px;" v-bind="zltwoYbarData" text="质量趋势"/>
|
|
169
|
-
</div>
|
|
170
|
-
<div style="background: #fff;width: 30%;">
|
|
171
|
-
<chart-pie style="height: 250px;" :value="yearProductData" text="今年产品订单分布"></chart-pie>
|
|
172
|
-
</div>
|
|
173
|
-
</el-row>
|
|
174
|
-
<!-- <el-row :gutter="20">
|
|
175
|
-
<i-col :xs="12" :md="8" :lg="4" style="height: 120px;padding-bottom: 10px;">
|
|
176
|
-
<el-card shadow style="height: 115px;">
|
|
177
|
-
<p>今日计划达成</p>
|
|
178
|
-
<div class="data_info">
|
|
179
|
-
<chart-liquid-fill class="data_charts" style="top: 10px;" :color="dcColor" :value="jhData"/>
|
|
180
|
-
<div style="font-size: 12px;color: #000000;line-height: 20px;margin: -4px 0 0 0;">
|
|
181
|
-
计划产量
|
|
182
|
-
<div style="padding-left: 100px;font-size: 22px;color: #2C8CF0">1200</div>
|
|
183
|
-
</div>
|
|
184
|
-
<div style="font-size: 12px;color: #000000;line-height: 20px;">
|
|
185
|
-
实际产量
|
|
186
|
-
<div style="padding-left: 100px;font-size: 22px;color: #2C8CF0">869</div>
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
</el-card>
|
|
190
|
-
</i-col>
|
|
191
|
-
<i-col :xs="12" :md="8" :lg="4" style="height: 120px;padding-bottom: 10px;">
|
|
192
|
-
<el-card shadow style="height: 115px;">
|
|
193
|
-
<p>设备完好率</p>
|
|
194
|
-
<div class="data_info">
|
|
195
|
-
<chart-doughnut class="data_charts" :color="dcColor" :value="dcData"/>
|
|
196
|
-
95%
|
|
197
|
-
</div>
|
|
198
|
-
<div class="analysis" style="clear: both;position: relative;top: -16px;">
|
|
199
|
-
周同比<el-icon type="md-arrow-dropup" size="20" /> 2% 日环比<el-icon type="md-arrow-dropdown" size="20"/> 1%
|
|
200
|
-
</div>
|
|
201
|
-
</el-card>
|
|
202
|
-
</i-col>
|
|
203
|
-
<i-col :xs="12" :md="8" :lg="4" style="height: 120px;padding-bottom: 10px;">
|
|
204
|
-
<el-card shadow style="height: 115px;">
|
|
205
|
-
<p>今日合格率</p>
|
|
206
|
-
<div class="data_info">
|
|
207
|
-
<chart-doughnut class="data_charts" :color="dcColor" :value="dcData"/>
|
|
208
|
-
98%
|
|
209
|
-
</div>
|
|
210
|
-
<div class="analysis" style="clear: both;position: relative;top: -16px;">
|
|
211
|
-
周同比<el-icon type="md-arrow-dropup" size="20" /> 2% 日环比<el-icon type="md-arrow-dropdown" size="20"/> 1%
|
|
212
|
-
</div>
|
|
213
|
-
</el-card>
|
|
214
|
-
</i-col>
|
|
215
|
-
<i-col :xs="12" :md="8" :lg="4" style="height: 120px;padding-bottom: 10px;">
|
|
216
|
-
<el-card shadow style="height: 115px;">
|
|
217
|
-
<p>本月订单数</p>
|
|
218
|
-
<div class="data_info">
|
|
219
|
-
108
|
|
220
|
-
<div style="float: right;font-size: 12px;padding-right: 40px;color: #7F7F7F">(PCS)</div>
|
|
221
|
-
</div>
|
|
222
|
-
<div class="analysis">
|
|
223
|
-
周同比<el-icon type="md-arrow-dropup" size="20" /> 2% 日环比<el-icon type="md-arrow-dropdown" size="20"/> 1%
|
|
224
|
-
</div>
|
|
225
|
-
</el-card>
|
|
226
|
-
</i-col>
|
|
227
|
-
<i-col :xs="12" :md="8" :lg="4" style="height: 120px;padding-bottom: 10px;">
|
|
228
|
-
<el-card shadow style="height: 115px;">
|
|
229
|
-
<p>今日人均产量</p>
|
|
230
|
-
<div class="data_info">
|
|
231
|
-
98
|
|
232
|
-
<div style="float: right;font-size: 12px;padding-right: 40px;color: #7F7F7F">(PCS/人)</div>
|
|
233
|
-
</div>
|
|
234
|
-
<div class="analysis">
|
|
235
|
-
周同比<el-icon type="md-arrow-dropup" size="20" /> 2% 日环比<el-icon type="md-arrow-dropdown" size="20"/> 1%
|
|
236
|
-
</div>
|
|
237
|
-
</el-card>
|
|
238
|
-
</i-col>
|
|
239
|
-
</el-row> -->
|
|
240
|
-
<!-- <el-row :gutter="20" style="margin-top: 10px;">
|
|
241
|
-
<i-col :md="24" :lg="8" style="margin-bottom: 20px;">
|
|
242
|
-
<el-card shadow style="height: 255px;">
|
|
243
|
-
<chart-bar style="height: 235px;" :value="dayProductionData" text="本月产量分析"/>
|
|
244
|
-
</el-card>
|
|
245
|
-
</i-col>
|
|
246
|
-
<i-col :md="24" :lg="16" style="margin-bottom: 20px;">
|
|
247
|
-
<el-card shadow style="height: 255px;">
|
|
248
|
-
<el-table :columns="tbColumns" :data="tbData"></el-table>
|
|
249
|
-
</el-card>
|
|
250
|
-
</i-col>
|
|
251
|
-
</el-row> -->
|
|
252
|
-
<!-- <el-row :gutter="20">
|
|
253
|
-
<i-col :md="24" :lg="8" style="margin-bottom: 20px;">
|
|
254
|
-
<el-card shadow>
|
|
255
|
-
<chart-doughnut style="height: 250px;" :value="pieData" showLegend="true" text="本月设备故障分析"></chart-doughnut>
|
|
256
|
-
</el-card>
|
|
257
|
-
</i-col>
|
|
258
|
-
<i-col :md="24" :lg="8" style="margin-bottom: 20px;">
|
|
259
|
-
<el-card shadow>
|
|
260
|
-
<chart-bar style="height: 250px;" :value="barData" text="质量趋势"/>
|
|
261
|
-
</el-card>
|
|
262
|
-
</i-col>
|
|
263
|
-
<i-col :md="24" :lg="8" style="margin-bottom: 20px;">
|
|
264
|
-
<el-card shadow>
|
|
265
|
-
<chart-pie style="height: 250px;" :value="yearProductData" text="今年产品订单分布"></chart-pie>
|
|
266
|
-
</el-card>
|
|
267
|
-
</i-col>
|
|
268
|
-
</el-row> -->
|
|
269
|
-
</template>
|
|
270
|
-
|
|
271
|
-
<script>
|
|
272
|
-
import {ChartPie, ChartBar, ChartDoughnut, ChartBarYtwo, HomePie} from '@/components/charts'
|
|
273
|
-
|
|
274
|
-
export default {
|
|
275
|
-
name: 'home',
|
|
276
|
-
components: {
|
|
277
|
-
ChartPie,
|
|
278
|
-
ChartBar,
|
|
279
|
-
ChartDoughnut,
|
|
280
|
-
ChartBarYtwo,
|
|
281
|
-
HomePie
|
|
282
|
-
},
|
|
283
|
-
data() {
|
|
284
|
-
return {
|
|
285
|
-
dayProductionData: {
|
|
286
|
-
'产品1': 23,
|
|
287
|
-
'产品2': 30,
|
|
288
|
-
'产品3': 45,
|
|
289
|
-
'产品4': 33,
|
|
290
|
-
'产品5': 40,
|
|
291
|
-
},
|
|
292
|
-
dayData: [],
|
|
293
|
-
pieData: [
|
|
294
|
-
{value: 9, name: '零件更换'},
|
|
295
|
-
{value: 1, name: '机械故障'},
|
|
296
|
-
{value: 1, name: '程序故障'},
|
|
297
|
-
{value: 9, name: '人为故障'}
|
|
298
|
-
],
|
|
299
|
-
yearProductData: [
|
|
300
|
-
{value: 7, name: '产品1'},
|
|
301
|
-
{value: 16, name: '产品2'},
|
|
302
|
-
{value: 22, name: '产品3'},
|
|
303
|
-
{value: 44, name: '产品4'},
|
|
304
|
-
{value: 13, name: '产品5'},
|
|
305
|
-
{value: 36, name: '产品6'}
|
|
306
|
-
],
|
|
307
|
-
cltwoYbarData: {
|
|
308
|
-
xData: ['1', '2', '3', '4', '5', '6', '7', '8'],
|
|
309
|
-
yData: [300, 750, 1000, 510, 200, 520, 260, 300],
|
|
310
|
-
y1Data: [45, 65, 100, 80, 40, 70, 45, 60],
|
|
311
|
-
yName: '产量',
|
|
312
|
-
y1Name: '达成率',
|
|
313
|
-
},
|
|
314
|
-
zltwoYbarData: {
|
|
315
|
-
xData: ['1', '2', '3', '4', '5', '6'],
|
|
316
|
-
yData: [875, 850, 970, 830, 740, 850],
|
|
317
|
-
y1Data: [87.5, 90, 85, 87, 110, 85],
|
|
318
|
-
yName: '不良数',
|
|
319
|
-
y1Name: '合格率',
|
|
320
|
-
},
|
|
321
|
-
barData: {
|
|
322
|
-
"1月": 98,
|
|
323
|
-
"2月": 96,
|
|
324
|
-
"3月": 95,
|
|
325
|
-
"4月": 98,
|
|
326
|
-
"5月": 99,
|
|
327
|
-
"6月": 95,
|
|
328
|
-
"7月": 98,
|
|
329
|
-
"8月": 98,
|
|
330
|
-
"9月": 98
|
|
331
|
-
},
|
|
332
|
-
dcData: [
|
|
333
|
-
{value: 5, name: 'A'},
|
|
334
|
-
{value: 95, name: 'B'}
|
|
335
|
-
],
|
|
336
|
-
dcColor: ['#E9E9E9', '#0096FA'],
|
|
337
|
-
jhData: [0.8],
|
|
338
|
-
tbColumns: [
|
|
339
|
-
{title: '工单号', key: 'CODE', width: 150, tooltip: true},
|
|
340
|
-
{title: '产品', key: 'PCODE', width: 120, tooltip: true},
|
|
341
|
-
{title: '数量', key: 'QTY', width: 90, tooltip: true},
|
|
342
|
-
{title: '已下线', key: 'QTY_DONE', width: 90, tooltip: true},
|
|
343
|
-
{title: '完成率', key: 'RATE_DONE', slot: 'doneStep', tooltip: true},
|
|
344
|
-
{title: '交期', key: 'REG_DATE', width: 140, tooltip: true},
|
|
345
|
-
{title: '车间', key: 'ORG', tooltip: true}
|
|
346
|
-
],
|
|
347
|
-
tbData: []
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
methods: {
|
|
351
|
-
loadData() {
|
|
352
|
-
this.axios.request({url: 'datasource/main/orderInfoList'}).then(res => {
|
|
353
|
-
let data = res.data;
|
|
354
|
-
if (data.result) {
|
|
355
|
-
this.tbData = data.data;
|
|
356
|
-
}
|
|
357
|
-
}).catch(err => {
|
|
358
|
-
this.$message.error('首页订单信息加载异常:' + err.message);
|
|
359
|
-
});
|
|
360
|
-
|
|
361
|
-
this.axios.request({url: 'datasource/main/day/production'}).then(res => {
|
|
362
|
-
let data = res.data;
|
|
363
|
-
if (data.result) {
|
|
364
|
-
let list = data.data;
|
|
365
|
-
if (list && list.length > 0) {
|
|
366
|
-
let map = {};
|
|
367
|
-
for (let i = 0; i < list.length; i++) {
|
|
368
|
-
map[list[i].NAME] = list[i].QTY;
|
|
369
|
-
}
|
|
370
|
-
this.dayProductionData = map;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}).catch(err => {
|
|
374
|
-
this.$message.error('首页订单信息加载异常:' + err.message);
|
|
375
|
-
});
|
|
376
|
-
|
|
377
|
-
this.axios.request({url: 'datasource/main/eam/faultLis'}).then(res => {
|
|
378
|
-
let data = res.data;
|
|
379
|
-
if (data.result) {
|
|
380
|
-
// this.tbData = data.data;
|
|
381
|
-
}
|
|
382
|
-
}).catch(err => {
|
|
383
|
-
// this.$message..error('首页订单信息加载异常:' + err.message);
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
created() {
|
|
388
|
-
// this.loadData();
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
</script>
|
|
392
|
-
|
|
393
|
-
<style lang="less">
|
|
394
|
-
.count-style {
|
|
395
|
-
font-size: 50px;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.ivu-card-body {
|
|
399
|
-
padding: 10px;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
p {
|
|
403
|
-
margin-bottom: 0em;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.data_info {
|
|
407
|
-
height: 53px;
|
|
408
|
-
color: #2C8CF0;
|
|
409
|
-
font-size: 40px;
|
|
410
|
-
padding-left: 20px;
|
|
411
|
-
line-height: 53px;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.data_info .data_charts {
|
|
415
|
-
top: -10px;
|
|
416
|
-
left: -20px;
|
|
417
|
-
height: 70px;
|
|
418
|
-
width: 70px;
|
|
419
|
-
float: left;
|
|
420
|
-
position: relative;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.analysis {
|
|
424
|
-
font-size: 12px;
|
|
425
|
-
line-height: 28px;
|
|
426
|
-
border-top: 1px #f0f0f0 solid;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.cell-main {
|
|
430
|
-
display: flex;
|
|
431
|
-
gap: 20px;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.cell-content {
|
|
435
|
-
flex: 1;
|
|
436
|
-
background: #fff;
|
|
437
|
-
height: 160px;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.cell-title {
|
|
441
|
-
padding-left: 15px;
|
|
442
|
-
padding-top: 8px;
|
|
443
|
-
word-break: keep-all;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.show-pie-content {
|
|
447
|
-
position: absolute;
|
|
448
|
-
top: 0;
|
|
449
|
-
right: 0;
|
|
450
|
-
height: 100%;
|
|
451
|
-
display: flex;
|
|
452
|
-
flex-direction: column;
|
|
453
|
-
justify-content: space-evenly;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.show-pie-content-title {
|
|
457
|
-
font-size: 18px;
|
|
458
|
-
font-weight: bold;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.show-pie-content-item {
|
|
462
|
-
display: flex;
|
|
463
|
-
justify-content: space-between;
|
|
464
|
-
padding-right: 15%;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.show-pie-content-item-num {
|
|
468
|
-
background: #404040;
|
|
469
|
-
color: #fff;
|
|
470
|
-
width: 22px;
|
|
471
|
-
height: 22px;
|
|
472
|
-
border-radius: 50%;
|
|
473
|
-
text-align: center;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.show-pie-content-item .ccc {
|
|
477
|
-
background: #ccc;
|
|
478
|
-
color: #000;
|
|
479
|
-
}
|
|
480
|
-
</style>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<a-list border>
|
|
4
|
-
<div class="ivu-list-header" @click="goToList()" style="cursor: pointer"><slot name="header">待办任务列表</slot></div>
|
|
5
|
-
<li class="ivu-list-item" v-for="task in taskList" :key="task.bpmTaskId" @click="goToList()" style="cursor: pointer">{{task.name}}</li>
|
|
6
|
-
<!-- <ListItem v-for="task in taskList" :key="task.bpmTaskId">{{task.name}}</ListItem>-->
|
|
7
|
-
</a-list>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script>
|
|
11
|
-
export default {
|
|
12
|
-
name: 'menu-manage',
|
|
13
|
-
data () {
|
|
14
|
-
return {taskList: []}
|
|
15
|
-
},
|
|
16
|
-
mounted () {
|
|
17
|
-
this.getTaskList()
|
|
18
|
-
},
|
|
19
|
-
methods: {
|
|
20
|
-
goToList() {
|
|
21
|
-
this.$router.push('sys/index/2F9317320C0144FD924FAA449939DD64')
|
|
22
|
-
},
|
|
23
|
-
getTaskList() {
|
|
24
|
-
let that = this
|
|
25
|
-
this.axios.post('process/flowChart/getTasksByUserId', this.$qs.stringify({})).then(res => {
|
|
26
|
-
res = res.data
|
|
27
|
-
that.taskList = res.taskData
|
|
28
|
-
})
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
.login{
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
background-image: url('@/assets/images/login-bg.jpg');
|
|
5
|
-
background-size: cover;
|
|
6
|
-
background-position: center;
|
|
7
|
-
position: relative;
|
|
8
|
-
|
|
9
|
-
&-logo {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 100px;
|
|
12
|
-
left: 100px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-con{
|
|
16
|
-
top: 42%;
|
|
17
|
-
position: absolute;
|
|
18
|
-
transform: translateY(-60%);
|
|
19
|
-
width: 100%;
|
|
20
|
-
text-align: center;
|
|
21
|
-
|
|
22
|
-
.login-title {
|
|
23
|
-
width: 100%;
|
|
24
|
-
&-cn {
|
|
25
|
-
font-size: 3rem;
|
|
26
|
-
color: #fcfcfc;
|
|
27
|
-
font-weight: bolder;
|
|
28
|
-
text-align: center;
|
|
29
|
-
}
|
|
30
|
-
&-en {
|
|
31
|
-
font-size: 1.5rem;
|
|
32
|
-
color: #fcfcfc;
|
|
33
|
-
text-align: center;
|
|
34
|
-
font-family: "Microsoft YaHei";
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.form-con{
|
|
38
|
-
margin: 0 auto;
|
|
39
|
-
width: 600px;
|
|
40
|
-
height: 50px;
|
|
41
|
-
padding: 30px 0 0;
|
|
42
|
-
|
|
43
|
-
.ant-input-lg {
|
|
44
|
-
height: 60px;
|
|
45
|
-
font-size: 22px;
|
|
46
|
-
}
|
|
47
|
-
.ant-btn-lg {
|
|
48
|
-
height: 60px;
|
|
49
|
-
padding: 0 30px;
|
|
50
|
-
font-size: 20px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.login-tip{
|
|
54
|
-
font-size: 2rem;
|
|
55
|
-
text-align: center;
|
|
56
|
-
color: #ffa24a;
|
|
57
|
-
text-align: center;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&-info {
|
|
61
|
-
bottom: 80px;
|
|
62
|
-
height: 50px;
|
|
63
|
-
left: calc(50% - 11rem);
|
|
64
|
-
position: absolute;
|
|
65
|
-
text-align: center;
|
|
66
|
-
|
|
67
|
-
&-item {
|
|
68
|
-
width: 70px;
|
|
69
|
-
float: left;
|
|
70
|
-
text-align: center;
|
|
71
|
-
margin-left: 30px;
|
|
72
|
-
}
|
|
73
|
-
&-icon {
|
|
74
|
-
width: 70px;
|
|
75
|
-
height: 70px;
|
|
76
|
-
box-sizing: border-box;
|
|
77
|
-
border-radius: 35px;
|
|
78
|
-
background-color: #fcfcfc;
|
|
79
|
-
display: inline-flex;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
align-items: center;
|
|
82
|
-
i {
|
|
83
|
-
font-size: 40px;
|
|
84
|
-
color: #3E99FD;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
&-text {
|
|
88
|
-
font-size: 1rem;
|
|
89
|
-
color: #ffffff;
|
|
90
|
-
margin-top: 20px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|