瀏覽代碼

[FE]修改提交

chenxr3 4 年之前
父節點
當前提交
554e3bdeaa

+ 1 - 1
ebc-middle-platform/src/components/loginer.vue

@ -7,7 +7,7 @@
7 7
      <h3 class="welcome">{{ $t('aidp.account.welcome') }} <span class="system-name">{{ $t('aidp.account.demo') }}</span> {{ $t('aidp.account.system') }}</h3>
8 8
    </template>
9 9
    <h2 v-else class="d-flex align-items-center justify-content-center mb-36 text-nowrap">
10
      <img v-if="theme === 'dark'" src="/static/images/aid-logo.png" alt="" style="height: 25px;"/>
10
      <img v-if="theme === 'dark'" src="/static/images/aid-logo.png" alt="" style="height: 30px;width: 95px;"/>
11 11
      <img v-else src="/static/images/aid-logo-dark.png" alt="" style="height: 25px;"/>
12 12
      <strong class="text-dark ml-12">人员定位与搜救系统</strong>
13 13
    </h2>

+ 63 - 63
ebc-middle-platform/src/routes.js

@ -114,9 +114,9 @@ export default [
114 114
    name: 'index',
115 115
    path: '/',
116 116
    component: () =>
117
      import(
118
        /* webpackChunkName: "welcome" */ './modules/layouts/BasicLayout.vue'
119
      ),
117
        import(
118
            /* webpackChunkName: "welcome" */ './modules/layouts/BasicLayout.vue'
119
            ),
120 120
    redirect: '/orientation',
121 121
    meta: { title: '首页' },
122 122
    children: [
@ -124,30 +124,30 @@ export default [
124 124
      {
125 125
        path: '/orientation',
126 126
        component: () =>
127
          import(
128
            /* webpackChunkName: "welcome" */ '@/modules/orientation/orientation.vue'
129
          ),
127
            import(
128
                /* webpackChunkName: "welcome" */ '@/modules/orientation/orientation.vue'
129
                ),
130 130
        name: 'orientation',
131
        meta: { title: '人员定位', keepAlive: true, icon: 'heart-outline', hiddenHeaderContent: true }
131
        meta: { title: '人员定位', keepAlive: true, icon: 'map-marker', hiddenHeaderContent: true }
132 132
      },
133 133
      // 报警救援
134 134
      {
135 135
        path: '/call-help',
136 136
        component: () =>
137
          import(
138
            /* webpackChunkName: "call-help" */ '@/modules/layouts/RouteView.vue'
139
          ),
137
            import(
138
                /* webpackChunkName: "call-help" */ '@/modules/layouts/RouteView.vue'
139
                ),
140 140
        name: 'callHelp',
141
        meta: { title: '报警救援', icon: 'heart-outline' },
141
        meta: { title: '报警救援', icon: 'alert-circle-outline' },
142 142
        redirect: '/call-help/current',
143 143
        children: [
144 144
          {
145 145
            path: '/call-help/current',
146 146
            name: 'CallHelpOne',
147 147
            component: () =>
148
              import(
149
                /* webpackChunkName: "call-help" */ '@/modules/call-help/current.vue'
150
              ),
148
                import(
149
                    /* webpackChunkName: "call-help" */ '@/modules/call-help/current.vue'
150
                    ),
151 151
            meta: {
152 152
              title: '实时报警',
153 153
              hiddenHeaderContent: true,
@ -158,9 +158,9 @@ export default [
158 158
            path: '/call-help/history',
159 159
            name: 'CallHelpTwo',
160 160
            component: () =>
161
              import(
162
                /* webpackChunkName: "call-help" */ '@/modules/call-help/history.vue'
163
              ),
161
                import(
162
                    /* webpackChunkName: "call-help" */ '@/modules/call-help/history.vue'
163
                    ),
164 164
            meta: {
165 165
              title: '历史报警',
166 166
              hiddenHeaderContent: true,
@ -173,20 +173,20 @@ export default [
173 173
      {
174 174
        path: '/attendance',
175 175
        component: () =>
176
          import(
177
            /* webpackChunkName: "attendance" */ '@/modules/layouts/RouteView.vue'
178
          ),
176
            import(
177
                /* webpackChunkName: "attendance" */ '@/modules/layouts/RouteView.vue'
178
                ),
179 179
        name: 'attendance',
180
        meta: { title: '考勤管理', icon: 'heart-outline' },
180
        meta: { title: '考勤管理', icon: 'calendar-outline' },
181 181
        redirect: '/attendance/attendance',
182 182
        children: [
183 183
          {
184 184
            path: '/attendance/attendance',
185 185
            name: 'attendanceWork',
186 186
            component: () =>
187
              import(
188
                /* webpackChunkName: "attendance" */ '@/modules/attendance/attendance.vue'
189
              ),
187
                import(
188
                    /* webpackChunkName: "attendance" */ '@/modules/attendance/attendance.vue'
189
                    ),
190 190
            meta: {
191 191
              title: '作业考勤',
192 192
              hiddenHeaderContent: true,
@ -197,9 +197,9 @@ export default [
197 197
            path: '/attendance/track',
198 198
            name: 'track',
199 199
            component: () =>
200
              import(
201
                /* webpackChunkName: "attendance" */ '@/modules/attendance/track.vue'
202
              ),
200
                import(
201
                    /* webpackChunkName: "attendance" */ '@/modules/attendance/track.vue'
202
                    ),
203 203
            meta: {
204 204
              title: '轨迹分析',
205 205
              hiddenHeaderContent: true,
@ -212,20 +212,20 @@ export default [
212 212
      {
213 213
        path: '/system-management',
214 214
        component: () =>
215
          import(
216
            /* webpackChunkName: "system-management" */ '@/modules/layouts/RouteView.vue'
217
          ),
215
            import(
216
                /* webpackChunkName: "system-management" */ '@/modules/layouts/RouteView.vue'
217
                ),
218 218
        name: 'systemManagement',
219
        meta: { title: '系统管理', icon: 'heart-outline' },
219
        meta: { title: '系统管理', icon: 'setting-outline' },
220 220
        redirect: '/system-management/terminal-management',
221 221
        children: [
222 222
          {
223 223
            path: '/system-management/terminal-management',
224 224
            name: 'terminalManagement',
225 225
            component: () =>
226
              import(
227
                /* webpackChunkName: "system-management" */ '@/modules/system-management/terminal-management.vue'
228
              ),
226
                import(
227
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/terminal-management.vue'
228
                    ),
229 229
            meta: {
230 230
              title: '终端管理',
231 231
              hiddenHeaderContent: true,
@ -236,9 +236,9 @@ export default [
236 236
            path: '/system-management/map-mark',
237 237
            name: 'mapMark',
238 238
            component: () =>
239
              import(
240
                /* webpackChunkName: "system-management" */ '@/modules/system-management/map-mark.vue'
241
              ),
239
                import(
240
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/map-mark.vue'
241
                    ),
242 242
            meta: {
243 243
              title: '地图标记',
244 244
              hiddenHeaderContent: true,
@ -249,9 +249,9 @@ export default [
249 249
            path: '/system-management/default-map',
250 250
            name: 'defaultMap',
251 251
            component: () =>
252
              import(
253
                /* webpackChunkName: "system-management" */ '@/modules/system-management/default-map.vue'
254
              ),
252
                import(
253
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/default-map.vue'
254
                    ),
255 255
            meta: {
256 256
              title: '默认地图',
257 257
              hiddenHeaderContent: true,
@ -262,9 +262,9 @@ export default [
262 262
            path: '/system-management/equipment-management',
263 263
            name: 'equipmentManagement',
264 264
            component: () =>
265
              import(
266
                /* webpackChunkName: "system-management" */ '@/modules/system-management/equipment-management.vue'
267
              ),
265
                import(
266
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/equipment-management.vue'
267
                    ),
268 268
            meta: {
269 269
              title: '设备管理',
270 270
              hiddenHeaderContent: true,
@ -275,9 +275,9 @@ export default [
275 275
            path: '/system-management/user-management',
276 276
            name: 'userManagement',
277 277
            component: () =>
278
              import(
279
                /* webpackChunkName: "system-management" */ '@/modules/system-management/user-management.vue'
280
              ),
278
                import(
279
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/user-management.vue'
280
                    ),
281 281
            meta: {
282 282
              title: '用户管理',
283 283
              hiddenHeaderContent: true,
@ -288,9 +288,9 @@ export default [
288 288
            path: '/system-management/role-management',
289 289
            name: 'roleManagement',
290 290
            component: () =>
291
              import(
292
                /* webpackChunkName: "system-management" */ '@/modules/system-management/role-management.vue'
293
              ),
291
                import(
292
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/role-management.vue'
293
                    ),
294 294
            meta: {
295 295
              title: '角色管理',
296 296
              hiddenHeaderContent: true,
@ -301,9 +301,9 @@ export default [
301 301
            path: '/system-management/menu-management',
302 302
            name: 'menuManagement',
303 303
            component: () =>
304
              import(
305
                /* webpackChunkName: "system-management" */ '@/modules/system-management/menu-management.vue'
306
              ),
304
                import(
305
                    /* webpackChunkName: "system-management" */ '@/modules/system-management/menu-management.vue'
306
                    ),
307 307
            meta: {
308 308
              title: '菜单管理',
309 309
              hiddenHeaderContent: true,
@ -316,20 +316,20 @@ export default [
316 316
      {
317 317
        path: '/authorization',
318 318
        component: () =>
319
          import(
320
            /* webpackChunkName: "authorization" */ '@/modules/layouts/RouteView.vue'
321
          ),
319
            import(
320
                /* webpackChunkName: "authorization" */ '@/modules/layouts/RouteView.vue'
321
                ),
322 322
        name: 'authorization',
323
        meta: { title: '授权管理', icon: 'heart-outline' },
323
        meta: { title: '授权管理', icon: 'user-outline' },
324 324
        redirect: '/authorization/menu-authorization',
325 325
        children: [
326 326
          {
327 327
            path: '/authorization/menu-authorization',
328 328
            name: 'menuAuthorization',
329 329
            component: () =>
330
              import(
331
                /* webpackChunkName: "call-help-One" */ '@/modules/authorization/menu-authorization.vue'
332
              ),
330
                import(
331
                    /* webpackChunkName: "call-help-One" */ '@/modules/authorization/menu-authorization.vue'
332
                    ),
333 333
            meta: {
334 334
              title: '菜单授权',
335 335
              hiddenHeaderContent: true,
@ -340,9 +340,9 @@ export default [
340 340
            path: '/authorization/role-authorization',
341 341
            name: 'roleAuthorization',
342 342
            component: () =>
343
              import(
344
                /* webpackChunkName: "call-help-Two" */ '@/modules/authorization/role-authorization.vue'
345
              ),
343
                import(
344
                    /* webpackChunkName: "call-help-Two" */ '@/modules/authorization/role-authorization.vue'
345
                    ),
346 346
            meta: {
347 347
              title: '角色授权',
348 348
              hiddenHeaderContent: true,
@ -357,6 +357,6 @@ export default [
357 357
    path: '*',
358 358
    hidden: true,
359 359
    component: () =>
360
      import(/* webpackChunkName: "fail" */ './modules/ootb/exception/404.vue')
360
        import(/* webpackChunkName: "fail" */ './modules/ootb/exception/404.vue')
361 361
  }
362 362
]

二進制
ebc-middle-platform/static/images/aid-logo.png


+ 3 - 0
security-protection-platform/src/modules/dashboard/index.vue

@ -324,6 +324,9 @@ export default {
324 324
          data = data.slice(0, 4)
325 325
        }
326 326
        data.forEach(e => {
327
          if (e.employeeName == null || e.employeeName == ''){
328
            e.employeeCode = '未识别成功'
329
          }
327 330
          e.simi = e.simi.split('.')[0] + '%'
328 331
          e.newImg = e.idenPictureUrl
329 332
          var loadTimer

+ 3 - 6
security-protection-platform/src/modules/workorder/components/table/index.vue

@ -3,7 +3,6 @@
3 3
    <div class="table-box">
4 4
      <t-table :data="data" :loading="tableLoading" line>
5 5
        <t-table-column type="selection" width="70"></t-table-column>
6
        <t-table-column prop="orderId" label="工单编号" width="220"></t-table-column>
7 6
        <t-table-column prop="orderTypeName" label="工单类型" width="100">
8 7
          <template v-slot="{row}">
9 8
            <div :class="getTypecellClass(row.orderTypeName)" class="tag-cell">
@ -12,21 +11,19 @@
12 11
          </template>
13 12
        </t-table-column>
14 13
        <t-table-column prop="name" label="姓名" width="100"></t-table-column>
15
        <t-table-column prop="userno" label="员工编号" width="100"></t-table-column>
16 14
        <t-table-column prop="startAndEndDate" label="起止时间" width="210">
17 15
          <template v-slot="{row}">
18 16
            <span else>{{ row.reclockingTime||formatDate(row) }}</span>
19 17
          </template>
20 18
        </t-table-column>
21
        <t-table-column prop="duration" label="时长(天)" width="120" align="center">
19
        <t-table-column prop="duration" label="时长(天)" width="80" align="center">
22 20
          <template v-slot="{row}">
23 21
            <span else>{{ row.reclockingTime?'--':row.duration }}</span>
24 22
          </template>
25 23
        </t-table-column>
26
        <t-table-column prop="reason" label="事由" width="200"></t-table-column>
27
        <t-table-column prop="submitTime" label="申请时间" width="200"></t-table-column>
24
        <t-table-column prop="submitTime" label="申请时间" width="180"></t-table-column>
28 25
        <t-table-column prop="approver" label="审批人" width="100"></t-table-column>
29
        <t-table-column v-if="status===1" prop="approveTime" label="审批时间" width="200"></t-table-column>
26
        <t-table-column v-if="status===1" prop="approveTime" label="审批时间" width="180"></t-table-column>
30 27
        <t-table-column v-if="status===1" prop="result" label="审批结果" width="100">
31 28
          <template v-slot="{row}">
32 29
            <div style="display: flex; align-items: center;justify-content: center;">