|
|
@@ -11,6 +11,21 @@
|
|
11
|
11
|
</van-grid-item>
|
|
12
|
12
|
</van-grid>
|
|
13
|
13
|
</div>
|
|
|
14
|
+
|
|
|
15
|
+ <div class="card">
|
|
|
16
|
+ <div class="title">通知公告</div>
|
|
|
17
|
+ <van-grid :border="false" :column-num="4">
|
|
|
18
|
+ <van-grid-item to="/annex">
|
|
|
19
|
+ <img src="../../public/images/zyqk.png" width="45rpx" />
|
|
|
20
|
+ <span class="vanicon_text">文件发布</span>
|
|
|
21
|
+ </van-grid-item>
|
|
|
22
|
+ <van-grid-item to="/notice" v-if="showCheckTakeN">
|
|
|
23
|
+ <img src="../../public/images/yj.png" width="45rpx" />
|
|
|
24
|
+ <span class="vanicon_text">通知公告</span>
|
|
|
25
|
+ </van-grid-item>
|
|
|
26
|
+ </van-grid>
|
|
|
27
|
+ </div>
|
|
|
28
|
+
|
|
14
|
29
|
<div class="card">
|
|
15
|
30
|
<div class="title">制度管理</div>
|
|
16
|
31
|
<van-grid :border="false" :column-num="4">
|
|
|
@@ -28,91 +43,89 @@
|
|
28
|
43
|
</van-grid-item>
|
|
29
|
44
|
</van-grid>
|
|
30
|
45
|
</div>
|
|
|
46
|
+
|
|
31
|
47
|
<div class="card">
|
|
32
|
|
- <div class="title">安全责任履职</div>
|
|
|
48
|
+ <div class="title">计划管理</div>
|
|
33
|
49
|
<van-grid :border="false" :column-num="4">
|
|
34
|
|
- <van-grid-item to="/lvzhi">
|
|
35
|
|
- <img src="../../public/images/lz.png" width="45rpx" />
|
|
36
|
|
- <span class="vanicon_text">履职记录</span>
|
|
37
|
|
- </van-grid-item>
|
|
38
|
|
- <van-grid-item to="/lvzhicx">
|
|
39
|
|
- <img src="../../public/images/lzcx.png" width="45rpx" />
|
|
40
|
|
- <span class="vanicon_text">履职查询</span>
|
|
|
50
|
+ <van-grid-item to="/keyMatters">
|
|
|
51
|
+ <img src="../../public/images/keyMatters.png" width="45rpx" />
|
|
|
52
|
+ <span class="vanicon_text">重点事项</span>
|
|
41
|
53
|
</van-grid-item>
|
|
42
|
|
- <van-grid-item v-if='false'>
|
|
43
|
|
- <img src="../../public/images/zj.png" width="45rpx" @click="handleClick" />
|
|
44
|
|
- <span class="vanicon_text">站内信推送</span>
|
|
|
54
|
+ <van-grid-item to="/planManagement">
|
|
|
55
|
+ <img src="../../public/images/planManagement.png" width="45rpx" />
|
|
|
56
|
+ <span class="vanicon_text">计划任务</span>
|
|
45
|
57
|
</van-grid-item>
|
|
46
|
58
|
</van-grid>
|
|
47
|
59
|
</div>
|
|
|
60
|
+
|
|
48
|
61
|
<div class="card">
|
|
49
|
|
- <div class="title">风险分级管理</div>
|
|
|
62
|
+ <div class="title">考核评价</div>
|
|
50
|
63
|
<van-grid :border="false" :column-num="4">
|
|
51
|
|
- <van-grid-item to="/institution/riskList">
|
|
52
|
|
- <img src="../../public/images/fx.png" width="45rpx" />
|
|
53
|
|
- <span class="vanicon_text">风险分级管控记录</span>
|
|
|
64
|
+ <van-grid-item to="/performanceReview/units">
|
|
|
65
|
+ <img src="../../public/images/unitsPerformance.png" width="45rpx" />
|
|
|
66
|
+ <span class="vanicon_text">单位考核</span>
|
|
54
|
67
|
</van-grid-item>
|
|
55
|
68
|
</van-grid>
|
|
56
|
69
|
</div>
|
|
|
70
|
+
|
|
57
|
71
|
<div class="card">
|
|
58
|
|
- <div class="title">隐患排查治理</div>
|
|
59
|
|
- <van-grid :border="false" :column-num="4">
|
|
60
|
|
- <van-grid-item to="/yinhuan/registration">
|
|
61
|
|
- <img src="../../public/images/yhdj.png" width="45rpx" />
|
|
62
|
|
- <span class="vanicon_text">隐患登记</span>
|
|
63
|
|
- </van-grid-item>
|
|
64
|
|
- <van-grid-item to="/yinhuan/todo">
|
|
65
|
|
- <img src="../../public/images/yhdb.png" width="45rpx" />
|
|
66
|
|
- <span class="vanicon_text">隐患待办</span>
|
|
67
|
|
- </van-grid-item>
|
|
68
|
|
- <van-grid-item to="/yinhuan/hdLedger">
|
|
69
|
|
- <img src="../../public/images/yh.png" width="45rpx" />
|
|
70
|
|
- <span class="vanicon_text">隐患台账</span>
|
|
71
|
|
- </van-grid-item>
|
|
72
|
|
- <van-grid-item to="/yinhuan/riskChecklist">
|
|
73
|
|
- <img src="../../public/images/riskChecklist.png" width="45rpx" />
|
|
74
|
|
- <span class="vanicon_text">隐患排查清单</span>
|
|
|
72
|
+ <div class="title">知识共享</div>
|
|
|
73
|
+ <van-grid :border="false" :column-num="4" v-if="showCheckTakeN">
|
|
|
74
|
+ <van-grid-item to="/knowledge/accident">
|
|
|
75
|
+ <img src="../../public/images/zd.png" width="45rpx" />
|
|
|
76
|
+ <span class="vanicon_text">事故案例</span>
|
|
75
|
77
|
</van-grid-item>
|
|
76
|
|
- <van-grid-item to="/yinhuan/riskChecklistRecords">
|
|
77
|
|
- <img src="../../public/images/riskChecklistRecords.png" width="45rpx" />
|
|
78
|
|
- <span class="vanicon_text">隐患排查记录</span>
|
|
|
78
|
+ <van-grid-item to="/knowledge/manager">
|
|
|
79
|
+ <img src="../../public/images/zd.png" width="45rpx" />
|
|
|
80
|
+ <span class="vanicon_text">管理案例</span>
|
|
79
|
81
|
</van-grid-item>
|
|
80
|
|
- <van-grid-item to="/yinhuan/hdRwardReporting">
|
|
81
|
|
- <img src="../../public/images/yhdb.png" width="45rpx" />
|
|
82
|
|
- <span class="vanicon_text">隐患有奖举报</span>
|
|
|
82
|
+ <van-grid-item to="/knowledge/Culture">
|
|
|
83
|
+ <img src="../../public/images/zd.png" width="45rpx" />
|
|
|
84
|
+ <span class="vanicon_text">安全环保文化</span>
|
|
83
|
85
|
</van-grid-item>
|
|
84
|
|
- <van-grid-item to="/yinhuan/hdLedgerJuBao">
|
|
85
|
|
- <img src="../../public/images/yh.png" width="45rpx" />
|
|
86
|
|
- <span class="vanicon_text">隐患有奖举报台账</span>
|
|
|
86
|
+ <van-grid-item to="/knowledge/project">
|
|
|
87
|
+ <img src="../../public/images/zd.png" width="45rpx" />
|
|
|
88
|
+ <span class="vanicon_text">项目案例库</span>
|
|
87
|
89
|
</van-grid-item>
|
|
88
|
90
|
</van-grid>
|
|
89
|
91
|
</div>
|
|
|
92
|
+
|
|
90
|
93
|
<div class="card">
|
|
91
|
94
|
<div class="title">安全检查</div>
|
|
92
|
95
|
<van-grid :border="false" :column-num="4">
|
|
93
|
96
|
<van-grid-item to="/safeCheck/task">
|
|
94
|
97
|
<img src="../../public/images/aq.png" width="45rpx" />
|
|
95
|
|
- <span class="vanicon_text">安全检查任务</span>
|
|
|
98
|
+ <span class="vanicon_text">检查任务</span>
|
|
|
99
|
+ </van-grid-item>
|
|
|
100
|
+ <van-grid-item to="/checkTake">
|
|
|
101
|
+ <img src="../../public/images/dt.png" width="45rpx" />
|
|
|
102
|
+ <span class="vanicon_text">考试任务</span>
|
|
96
|
103
|
</van-grid-item>
|
|
97
|
104
|
</van-grid>
|
|
98
|
105
|
</div>
|
|
|
106
|
+
|
|
99
|
107
|
<div class="card">
|
|
100
|
|
- <div class="title">事故管理</div>
|
|
|
108
|
+ <div class="title">安全监督</div>
|
|
101
|
109
|
<van-grid :border="false" :column-num="4">
|
|
102
|
|
- <van-grid-item to="/accidentManager/accidentBaoGaoLedger/index">
|
|
103
|
|
- <img src="../../public/images/sgbgtz.png" width="45rpx" />
|
|
104
|
|
- <span class="vanicon_text">事故报告台账</span>
|
|
|
110
|
+ <van-grid-item to="/institution/riskList">
|
|
|
111
|
+ <img src="../../public/images/fx.png" width="45rpx" />
|
|
|
112
|
+ <span class="vanicon_text">风险分级管控记录</span>
|
|
105
|
113
|
</van-grid-item>
|
|
106
|
|
- <van-grid-item to="/accidentManager/accidentJuBao/index">
|
|
107
|
|
- <img src="../../public/images/sgjb.png" width="45rpx" />
|
|
108
|
|
- <span class="vanicon_text">事故举报</span>
|
|
|
114
|
+ <van-grid-item to="/lvzhicx">
|
|
|
115
|
+ <img src="../../public/images/lzcx.png" width="45rpx" />
|
|
|
116
|
+ <span class="vanicon_text">履职查询</span>
|
|
109
|
117
|
</van-grid-item>
|
|
110
|
|
- <van-grid-item v-if="true" to="/accidentManager/accidentJuBaoLedger/index">
|
|
111
|
|
- <img src="../../public/images/sgjbtz.png" width="45rpx" />
|
|
112
|
|
- <span class="vanicon_text">事故举报台账</span>
|
|
|
118
|
+ <van-grid-item to="/yinhuan/hdLedger">
|
|
|
119
|
+ <img src="../../public/images/yh.png" width="45rpx" />
|
|
|
120
|
+ <span class="vanicon_text">隐患台账</span>
|
|
|
121
|
+ </van-grid-item>
|
|
|
122
|
+ <van-grid-item to="/projectManage/projectWorkLedger">
|
|
|
123
|
+ <img src="../../public/images/xm.png" width="45rpx" />
|
|
|
124
|
+ <span class="vanicon_text">项目作业台账</span>
|
|
113
|
125
|
</van-grid-item>
|
|
114
|
126
|
</van-grid>
|
|
115
|
127
|
</div>
|
|
|
128
|
+
|
|
116
|
129
|
<div class="card">
|
|
117
|
130
|
<div class="title">教育培训</div>
|
|
118
|
131
|
<van-grid :border="false" :column-num="4">
|
|
|
@@ -134,134 +147,25 @@
|
|
134
|
147
|
</van-grid-item>
|
|
135
|
148
|
</van-grid>
|
|
136
|
149
|
</div>
|
|
|
150
|
+
|
|
137
|
151
|
<div class="card">
|
|
138
|
|
- <div class="title">应急管理</div>
|
|
139
|
|
- <van-grid :border="false" :column-num="4">
|
|
140
|
|
- <van-grid-item to="/institution/emergencyPlan">
|
|
141
|
|
- <img src="../../public/images/yjya.png" width="45rpx" />
|
|
142
|
|
- <span class="vanicon_text">应急预案</span>
|
|
143
|
|
- </van-grid-item>
|
|
144
|
|
- <van-grid-item to="/emergencyResources">
|
|
145
|
|
- <img src="../../public/images/yj.png" width="45rpx" />
|
|
146
|
|
- <span class="vanicon_text">应急物资</span>
|
|
147
|
|
- </van-grid-item>
|
|
148
|
|
- <van-grid-item to="/emergencyDrillPlan">
|
|
149
|
|
- <img src="../../public/images/yjyl.png" width="45rpx" />
|
|
150
|
|
- <span class="vanicon_text">应急演练</span>
|
|
151
|
|
- </van-grid-item>
|
|
152
|
|
- <van-grid-item to="/drillProcess">
|
|
153
|
|
- <img src="../../public/images/drillProcess.png" width="45rpx" />
|
|
154
|
|
- <span class="vanicon_text">掌上演练</span>
|
|
155
|
|
- </van-grid-item>
|
|
156
|
|
- </van-grid>
|
|
157
|
|
- </div>
|
|
158
|
|
- <div class="card">
|
|
159
|
|
- <div class="title">项目管理</div>
|
|
160
|
|
- <van-grid :border="false" :column-num="4">
|
|
161
|
|
- <van-grid-item to="/projectManage/taiZhang">
|
|
162
|
|
- <img src="../../public/images/xm.png" width="45rpx" />
|
|
163
|
|
- <span class="vanicon_text">项目台账</span>
|
|
164
|
|
- </van-grid-item>
|
|
165
|
|
- <van-grid-item to="/projectManage/projectConstructionOperation">
|
|
166
|
|
- <img src="../../public/images/xm.png" width="45rpx" />
|
|
167
|
|
- <span class="vanicon_text">项目施工作业管理</span>
|
|
168
|
|
- </van-grid-item>
|
|
169
|
|
- <van-grid-item to="/projectManage/projectWorkLedger">
|
|
170
|
|
- <img src="../../public/images/xm.png" width="45rpx" />
|
|
171
|
|
- <span class="vanicon_text">项目作业台账</span>
|
|
172
|
|
- </van-grid-item>
|
|
173
|
|
- <van-grid-item to="/projectManage/todo">
|
|
174
|
|
- <img src="../../public/images/yhdb.png" width="45rpx" />
|
|
175
|
|
- <span class="vanicon_text">项目作业待办</span>
|
|
176
|
|
- </van-grid-item>
|
|
177
|
|
- </van-grid>
|
|
178
|
|
- </div>
|
|
179
|
|
- <div class="card">
|
|
180
|
|
- <div class="title">作业现场管控</div>
|
|
181
|
|
- <van-grid :border="false" :column-num="4">
|
|
182
|
|
- <van-grid-item to="/safeClient">
|
|
183
|
|
- <img src="../../public/images/zdgl.png" width="45rpx" />
|
|
184
|
|
- <span class="vanicon_text">终端管理</span>
|
|
185
|
|
- </van-grid-item>
|
|
186
|
|
- <van-grid-item to="/jobCondition">
|
|
187
|
|
- <img src="../../public/images/zyqk.png" width="45rpx" />
|
|
188
|
|
- <span class="vanicon_text">作业情况</span>
|
|
189
|
|
- </van-grid-item>
|
|
190
|
|
- </van-grid>
|
|
191
|
|
- </div>
|
|
192
|
|
- <div class="card">
|
|
193
|
|
- <div class="title">事务汇报</div>
|
|
194
|
|
- <van-grid :border="false" :column-num="4">
|
|
195
|
|
- <van-grid-item to="/keyMatters">
|
|
196
|
|
- <img src="../../public/images/keyMatters.png" width="45rpx" />
|
|
197
|
|
- <span class="vanicon_text">重点事项</span>
|
|
198
|
|
- </van-grid-item>
|
|
199
|
|
- <van-grid-item to="/planManagement">
|
|
200
|
|
- <img src="../../public/images/planManagement.png" width="45rpx" />
|
|
201
|
|
- <span class="vanicon_text">计划任务</span>
|
|
202
|
|
- </van-grid-item>
|
|
203
|
|
- </van-grid>
|
|
204
|
|
- </div>
|
|
205
|
|
- <div class="card">
|
|
206
|
|
- <div class="title">考核评价</div>
|
|
|
152
|
+ <div class="title">事故管理</div>
|
|
207
|
153
|
<van-grid :border="false" :column-num="4">
|
|
208
|
|
- <van-grid-item to="/performanceReview/units">
|
|
209
|
|
- <img src="../../public/images/unitsPerformance.png" width="45rpx" />
|
|
210
|
|
- <span class="vanicon_text">单位考核</span>
|
|
211
|
|
- </van-grid-item>
|
|
212
|
|
- </van-grid>
|
|
213
|
|
- </div>
|
|
214
|
|
- <div class="card">
|
|
215
|
|
- <div class="title">考核管理</div>
|
|
216
|
|
- <van-grid :border="false" :column-num="4" v-if="showCheckTakeN">
|
|
217
|
|
- <van-grid-item to="/assRec">
|
|
218
|
|
- <img src="../../public/images/zdgl.png" width="45rpx" />
|
|
219
|
|
- <span class="vanicon_text">考核登记</span>
|
|
220
|
|
- </van-grid-item>
|
|
221
|
|
- <van-grid-item to="/assRecN" v-if="showCheckTakeN">
|
|
222
|
|
- <img src="../../public/images/lzcx.png" width="45rpx" />
|
|
223
|
|
- <span class="vanicon_text">考核记录</span>
|
|
224
|
|
- </van-grid-item>
|
|
225
|
|
- </van-grid>
|
|
226
|
|
- </div>
|
|
227
|
|
- <div class="card">
|
|
228
|
|
- <div class="title">通知公告</div>
|
|
229
|
|
- <van-grid :border="false" :column-num="4" v-if="showCheckTakeN">
|
|
230
|
|
- <van-grid-item to="/annex">
|
|
231
|
|
- <img src="../../public/images/zyqk.png" width="45rpx" />
|
|
232
|
|
- <span class="vanicon_text">文件发布</span>
|
|
233
|
|
- </van-grid-item>
|
|
234
|
|
- <van-grid-item to="/notice" v-if="showCheckTakeN">
|
|
235
|
|
- <img src="../../public/images/yj.png" width="45rpx" />
|
|
236
|
|
- <span class="vanicon_text">通知公告</span>
|
|
237
|
|
- </van-grid-item>
|
|
238
|
|
- </van-grid>
|
|
239
|
|
- </div>
|
|
240
|
|
- <div class="card">
|
|
241
|
|
- <div class="title">知识共享库</div>
|
|
242
|
|
- <van-grid :border="false" :column-num="4" v-if="showCheckTakeN">
|
|
243
|
|
- <van-grid-item to="/knowledge/accident">
|
|
244
|
|
- <img src="../../public/images/zd.png" width="45rpx" />
|
|
245
|
|
- <span class="vanicon_text">事故案例</span>
|
|
246
|
|
- </van-grid-item>
|
|
247
|
|
- <van-grid-item to="/notice" v-if="showCheckTakeN">
|
|
248
|
|
- <img src="../../public/images/yj.png" width="45rpx" />
|
|
249
|
|
- <span class="vanicon_text">通知公告</span>
|
|
250
|
|
- </van-grid-item>
|
|
251
|
|
- <van-grid-item to="/knowledge/manager">
|
|
252
|
|
- <img src="../../public/images/zd.png" width="45rpx" />
|
|
253
|
|
- <span class="vanicon_text">管理案例</span>
|
|
|
154
|
+ <van-grid-item to="/accidentManager/accidentBaoGaoLedger/index">
|
|
|
155
|
+ <img src="../../public/images/sgbgtz.png" width="45rpx" />
|
|
|
156
|
+ <span class="vanicon_text">事故报告台账</span>
|
|
254
|
157
|
</van-grid-item>
|
|
255
|
|
- <van-grid-item to="/knowledge/Culture">
|
|
256
|
|
- <img src="../../public/images/zd.png" width="45rpx" />
|
|
257
|
|
- <span class="vanicon_text">安全环保文化</span>
|
|
|
158
|
+ <van-grid-item to="/accidentManager/accidentJuBao/index">
|
|
|
159
|
+ <img src="../../public/images/sgjb.png" width="45rpx" />
|
|
|
160
|
+ <span class="vanicon_text">事故举报</span>
|
|
258
|
161
|
</van-grid-item>
|
|
259
|
|
- <van-grid-item to="/knowledge/project">
|
|
260
|
|
- <img src="../../public/images/zd.png" width="45rpx" />
|
|
261
|
|
- <span class="vanicon_text">项目案例库</span>
|
|
|
162
|
+ <van-grid-item v-if="true" to="/accidentManager/accidentJuBaoLedger/index">
|
|
|
163
|
+ <img src="../../public/images/sgjbtz.png" width="45rpx" />
|
|
|
164
|
+ <span class="vanicon_text">事故举报台账</span>
|
|
262
|
165
|
</van-grid-item>
|
|
263
|
166
|
</van-grid>
|
|
264
|
167
|
</div>
|
|
|
168
|
+
|
|
265
|
169
|
<div class="card">
|
|
266
|
170
|
<div class="title">安环费用管理</div>
|
|
267
|
171
|
<van-grid :border="false" :column-num="4" v-if="showCheckTakeN">
|
|
|
@@ -276,6 +180,19 @@
|
|
276
|
180
|
</van-grid>
|
|
277
|
181
|
</div>
|
|
278
|
182
|
|
|
|
183
|
+ <div class="card">
|
|
|
184
|
+ <div class="title">隐患有奖举报</div>
|
|
|
185
|
+ <van-grid :border="false" :column-num="4">
|
|
|
186
|
+ <van-grid-item to="/yinhuan/hdRwardReporting">
|
|
|
187
|
+ <img src="../../public/images/yhdb.png" width="45rpx" />
|
|
|
188
|
+ <span class="vanicon_text">隐患有奖举报</span>
|
|
|
189
|
+ </van-grid-item>
|
|
|
190
|
+ <van-grid-item to="/yinhuan/hdLedgerJuBao">
|
|
|
191
|
+ <img src="../../public/images/yh.png" width="45rpx" />
|
|
|
192
|
+ <span class="vanicon_text">隐患有奖举报台账</span>
|
|
|
193
|
+ </van-grid-item>
|
|
|
194
|
+ </van-grid>
|
|
|
195
|
+ </div>
|
|
279
|
196
|
</div>
|
|
280
|
197
|
|
|
281
|
198
|
</template>
|
|
|
@@ -304,15 +221,6 @@ if (userDesc == '贾俊臣' || userDesc == '张瑞楠' || userDesc == '刘焯')
|
|
304
|
221
|
showCheckTakeN.value=true
|
|
305
|
222
|
}
|
|
306
|
223
|
|
|
307
|
|
-/**
|
|
308
|
|
- * 修改最近使用的页面记录
|
|
309
|
|
- */
|
|
310
|
|
-const recentlyUsed = ref({
|
|
311
|
|
- userCode: localStorage.getItem('userCode'),
|
|
312
|
|
- menuIcon: '',
|
|
313
|
|
- menuName: '',
|
|
314
|
|
- jumpPath: ''
|
|
315
|
|
-});
|
|
316
|
224
|
const userCode = localStorage.getItem('userCode');
|
|
317
|
225
|
const handleClick = () => {
|
|
318
|
226
|
console.log('111');
|
|
|
@@ -328,25 +236,24 @@ const handleClick = () => {
|
|
328
|
236
|
}
|
|
329
|
237
|
}, 500);
|
|
330
|
238
|
};
|
|
331
|
|
-const getRecentlyUsed = () => {
|
|
332
|
|
- const url = '/sgsafe/MenuRecentlyUsedMobile/updateMenuRecentlyUsedStatus';
|
|
|
239
|
+
|
|
|
240
|
+/**
|
|
|
241
|
+ * 修改最近使用的页面记录
|
|
|
242
|
+ */
|
|
|
243
|
+const getRecentlyUsed = (jumpPath) => {
|
|
|
244
|
+ const url = '/sgsafe/MenuRecentlyUsed/updateMenuRecentlyUsedStatus'
|
|
333
|
245
|
const param = {
|
|
334
|
|
- json: JSON.stringify(recentlyUsed.value)
|
|
335
|
|
- };
|
|
336
|
|
- proxy.$axios.post(url, param).then(res => {
|
|
|
246
|
+ jumpPath
|
|
|
247
|
+ }
|
|
|
248
|
+ proxy.$axios.post(url,param).then(res => {
|
|
337
|
249
|
if (res.data.code !== 0) {
|
|
338
|
|
- console.log('执行失败');
|
|
|
250
|
+ console.log('执行失败!' + res.data.msg)
|
|
339
|
251
|
}
|
|
340
|
|
- });
|
|
341
|
|
-};
|
|
|
252
|
+ })
|
|
|
253
|
+}
|
|
342
|
254
|
|
|
343
|
255
|
onBeforeRouteLeave((to, from) => {
|
|
344
|
|
- recentlyUsed.value.jumpPath = to.path;
|
|
345
|
|
- recentlyUsed.value.menuIcon = getPicPathByPath(to.path);
|
|
346
|
|
- recentlyUsed.value.menuName = getNameByPath(to.path);
|
|
347
|
|
- if (recentlyUsed.value.menuIcon) {
|
|
348
|
|
- getRecentlyUsed();
|
|
349
|
|
- }
|
|
|
256
|
+ getRecentlyUsed(to.path)
|
|
350
|
257
|
});
|
|
351
|
258
|
|
|
352
|
259
|
/**
|
|
|
@@ -355,14 +262,14 @@ onBeforeRouteLeave((to, from) => {
|
|
355
|
262
|
const functionList = ref([]);
|
|
356
|
263
|
const coincideNotList = ref([]);
|
|
357
|
264
|
const queryMenuRecently = () => {
|
|
358
|
|
- const url = '/sgsafe/MenuRecentlyUsedMobile/queryRecentlyUsed';
|
|
|
265
|
+ const url = '/sgsafe/MenuRecentlyUsed/queryRecentlyUsed';
|
|
359
|
266
|
const param = {
|
|
360
|
|
- userCode: localStorage.getItem('userCode')
|
|
|
267
|
+ applicationId: 'c77da6a732d34400b24374e2cea811ee'
|
|
361
|
268
|
};
|
|
362
|
269
|
proxy.$axios.get(url, param).then(res => {
|
|
363
|
270
|
functionList.value = res.data.data.map(item => ({
|
|
364
|
271
|
title: item.menuName,
|
|
365
|
|
- img: item.menuIcon,
|
|
|
272
|
+ img: 'images/' + item.menuIcon,
|
|
366
|
273
|
jumpPath: item.jumpPath
|
|
367
|
274
|
}));
|
|
368
|
275
|
|
|
|
@@ -397,78 +304,6 @@ const defaultPageList = ref([
|
|
397
|
304
|
{ title: '隐患待办', img: 'images/yhdb.png', jumpPath: '/yinhuan/todo' }
|
|
398
|
305
|
]);
|
|
399
|
306
|
|
|
400
|
|
-/**
|
|
401
|
|
- * 根据路由获取名称
|
|
402
|
|
- */
|
|
403
|
|
-const getNameByPath = (path) => {
|
|
404
|
|
- const recentlyUsedMapping = {
|
|
405
|
|
- '/institution/law': '法律法规',
|
|
406
|
|
- '/institution/institutionRegime': '安全制度管理',
|
|
407
|
|
- '/institution/institutionRule': '安全操作规程',
|
|
408
|
|
- '/lvzhi': '履职记录',
|
|
409
|
|
- '/lvzhicx': '履职查询',
|
|
410
|
|
- '/institution/riskList': '风险分级管控记录',
|
|
411
|
|
- '/yinhuan/registration': '隐患登记',
|
|
412
|
|
- '/yinhuan/todo': '隐患待办',
|
|
413
|
|
- '/yinhuan/hdLedger': '隐患台账',
|
|
414
|
|
- '/safeCheck/task': '安全检查任务',
|
|
415
|
|
- '/dailyproblem': '每日答题',
|
|
416
|
|
- '/cardManager': '证件管理',
|
|
417
|
|
- '/institution/emergencyPlan': '应急预案',
|
|
418
|
|
- '/emergencyResources': '应急物资',
|
|
419
|
|
- '/emergencyDrillPlan': '应急演练',
|
|
420
|
|
- '/projectManage/taiZhang': '项目台账',
|
|
421
|
|
- '/safeClient': '终端管理',
|
|
422
|
|
- '/jobCondition': '作业情况',
|
|
423
|
|
- '/yinhuan/riskChecklist': '隐患排查清单',
|
|
424
|
|
- '/yinhuan/riskChecklistRecords': '隐患排查记录',
|
|
425
|
|
- '/drillProcess': '掌上演练',
|
|
426
|
|
- '/checkTake': '逢查必考',
|
|
427
|
|
- '/projectManage/projectConstructionOperation': '项目施工作业管理',
|
|
428
|
|
- '/projectManage/projectWorkLedger': '项目作业台账',
|
|
429
|
|
- '/keyMatters': '重点事项',
|
|
430
|
|
- '/planManagement': '计划任务',
|
|
431
|
|
- '/performanceReview/units': '单位考核'
|
|
432
|
|
-
|
|
433
|
|
- };
|
|
434
|
|
- return recentlyUsedMapping[path];
|
|
435
|
|
-};
|
|
436
|
|
-
|
|
437
|
|
-/**
|
|
438
|
|
- * 根据路由获取图片路径
|
|
439
|
|
- */
|
|
440
|
|
-const getPicPathByPath = (path) => {
|
|
441
|
|
- const recentlyUsedMapping = {
|
|
442
|
|
- '/institution/law': 'images/fl.png',
|
|
443
|
|
- '/institution/institutionRegime': 'images/aqzd.png',
|
|
444
|
|
- '/institution/institutionRule': 'images/zd.png',
|
|
445
|
|
- '/lvzhi': 'images/lz.png',
|
|
446
|
|
- '/lvzhicx': 'images/lzcx.png',
|
|
447
|
|
- '/institution/riskList': 'images/fx.png',
|
|
448
|
|
- '/yinhuan/registration': 'images/yhdj.png',
|
|
449
|
|
- '/yinhuan/todo': 'images/yhdb.png',
|
|
450
|
|
- '/yinhuan/hdLedger': 'images/yh.png',
|
|
451
|
|
- '/safeCheck/task': 'images/aq.png',
|
|
452
|
|
- '/dailyproblem': 'images/dt.png',
|
|
453
|
|
- '/cardManager': 'images/zj.png',
|
|
454
|
|
- '/institution/emergencyPlan': 'images/yjya.png',
|
|
455
|
|
- '/emergencyResources': 'images/yj.png',
|
|
456
|
|
- '/emergencyDrillPlan': 'images/yjyl.png',
|
|
457
|
|
- '/projectManage/taiZhang': 'images/xm.png',
|
|
458
|
|
- '/safeClient': 'images/zdgl.png',
|
|
459
|
|
- '/jobCondition': 'images/zyqk.png',
|
|
460
|
|
- '/yinhuan/riskChecklist': 'images/riskChecklist.png',
|
|
461
|
|
- '/yinhuan/riskChecklistRecords': 'images/riskChecklistRecords.png',
|
|
462
|
|
- '/drillProcess': 'images/drillProcess.png',
|
|
463
|
|
- '/checkTake': 'images/dt.png',
|
|
464
|
|
- '/projectManage/projectConstructionOperation': 'images/xm.png',
|
|
465
|
|
- '/projectManage/projectWorkLedger': 'images/xm.png',
|
|
466
|
|
- '/keyMatters': 'images/keyMatters.png',
|
|
467
|
|
- '/planManagement': 'images/planManagement.png',
|
|
468
|
|
- '/performanceReview/units': 'images/unitsPerformance.png'
|
|
469
|
|
- };
|
|
470
|
|
- return recentlyUsedMapping[path];
|
|
471
|
|
-};
|
|
472
|
307
|
|
|
473
|
308
|
/**
|
|
474
|
309
|
* 测试消息
|