cloud-web-corejs 1.1.0-dev.43 → 1.1.0-dev.45

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.
@@ -0,0 +1,1571 @@
1
+ <template>
2
+ <div class="index-home">
3
+ <el-row class="home-top">
4
+ <el-col :span="10">
5
+ <div class="i-user-info">
6
+ <img class="img" v-if="headPhotoUrl" :src="headPhotoUrl" />
7
+ <p class="name">{{ $t1("您好") }},{{ userInfo.nickName }}</p>
8
+ <p>{{ companyInfo.companyName }}</p>
9
+ </div>
10
+ <div class="notice-box">
11
+ <div class="txt" @click="openMoreNotifyMessage()">
12
+ <i class="iconfont icon-xiaoxitongzhi"></i>
13
+ <span
14
+ v-if="unreadMessageNum > 0"
15
+ v-html="
16
+ $t1('您 有{number}条 未读消息,请及时查看。', {
17
+ number: `<b>${
18
+ unreadMessageNum > 99 ? '99+' : unreadMessageNum
19
+ }</b>`,
20
+ })
21
+ "
22
+ >
23
+ </span>
24
+ <span v-else-if="unreadMessageNum == 0">
25
+ {{ $t1("您 暂无 未读消息。") }}
26
+ </span>
27
+ </div>
28
+ <el-tooltip
29
+ class="item"
30
+ effect="dark"
31
+ :content="$t1('刷新')"
32
+ placement="top"
33
+ >
34
+ <el-button type="text" @click="getUnreadMessageNum(true)"
35
+ ><i class="el-icon-refresh"></i
36
+ ></el-button>
37
+ </el-tooltip>
38
+ <el-tooltip
39
+ class="item"
40
+ effect="dark"
41
+ :content="$t1('查看更多')"
42
+ placement="top"
43
+ >
44
+ <el-button
45
+ type="text"
46
+ @click="openMoreNotifyMessage()"
47
+ class="more"
48
+ >
49
+ <i class="el-icon-news"></i>
50
+ </el-button>
51
+ </el-tooltip>
52
+ </div>
53
+ <el-card class="box-card">
54
+ <div slot="header" class="clearfix">
55
+ <span style="float: left">
56
+ <i class="el-icon-chat-line-round ico"></i>
57
+ {{ $t1("公告") }}
58
+ </span>
59
+ <el-button type="text" @click="openSystemNoticeDialog()"
60
+ ><span class="more">MORE+</span></el-button
61
+ >
62
+ </div>
63
+ <div class="home-notice-list">
64
+ <div
65
+ v-for="(systemNotice, index) in systemNotices"
66
+ :key="index"
67
+ class="item"
68
+ @click="openSystemNoticeDialog(systemNotice)"
69
+ :title="systemNotice.title"
70
+ >
71
+ {{ systemNotice.title }}
72
+ <span class="time">{{
73
+ systemNotice.modifyDate.substring(0, 10)
74
+ }}</span>
75
+ </div>
76
+ </div>
77
+ </el-card>
78
+ </el-col>
79
+ <el-col :span="homeConfig.toDoSpan || 14" style="padding-left: 6px">
80
+ <el-card class="box-card">
81
+ <div slot="header" class="clearfix">
82
+ <span style="float: left">
83
+ <i class="el-icon-chat-line-round ico"></i>
84
+ {{ $t1("待办事项") }}
85
+ </span>
86
+ <el-tooltip
87
+ class="item"
88
+ effect="dark"
89
+ :content="$t1('刷新')"
90
+ placement="top"
91
+ >
92
+ <el-button
93
+ type="text"
94
+ @click="getWfInfoList(true)"
95
+ class="more"
96
+ style="right: 107px"
97
+ >
98
+ <i class="el-icon-refresh"></i>
99
+ </el-button>
100
+ </el-tooltip>
101
+ <el-button type="text" @click="toWorkflowManage()" class="more">
102
+ <i class="el-icon-news"></i>
103
+ <span>{{ $t1("查看更多+") }}</span>
104
+ </el-button>
105
+ </div>
106
+ <div class="need-to">
107
+ <vxe-grid
108
+ :data="unDoWfRows"
109
+ ref="table-wf"
110
+ v-bind="wfOption"
111
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
112
+ @custom="$vxeTableUtil.customHandle"
113
+ ></vxe-grid>
114
+ </div>
115
+ </el-card>
116
+ </el-col>
117
+ </el-row>
118
+ <el-row class="home-bottom" v-show="isServiceProvider">
119
+ <el-col :span="10">
120
+ <el-card class="box-card">
121
+ <div slot="header" class="clearfix">
122
+ <span style="float: left">
123
+ <i class="el-icon-star-off ico"></i>
124
+ {{ $t1("快捷通道") }}
125
+ </span>
126
+ <el-tooltip
127
+ class="item"
128
+ effect="dark"
129
+ :content="$t1('刷新')"
130
+ placement="top"
131
+ >
132
+ <el-button type="text" @click="getOrderCount(true)" class="more">
133
+ <i class="el-icon-refresh"></i>
134
+ </el-button>
135
+ </el-tooltip>
136
+ </div>
137
+ <div class="shortcut-box">
138
+ <div
139
+ class="item"
140
+ v-for="item in shortcutItems"
141
+ :key="item.key"
142
+ @click="openShortcut(item)"
143
+ >
144
+ <span class="name">{{ item.name }}</span>
145
+ <span class="count">({{ item.count }})</span>
146
+ </div>
147
+ </div>
148
+ </el-card>
149
+ </el-col>
150
+ <el-col :span="14" style="padding-left: 6px">
151
+ <el-card class="box-card">
152
+ <div slot="header" class="clearfix">
153
+ <span style="float: left">
154
+ <i class="el-icon-message ico"></i>
155
+ {{ $t1("待处理消息") }}
156
+ </span>
157
+ <el-tooltip
158
+ class="item"
159
+ effect="dark"
160
+ :content="$t1('刷新')"
161
+ placement="top"
162
+ >
163
+ <el-button
164
+ type="text"
165
+ @click="getOrderMessage(true)"
166
+ class="more"
167
+ style="right: 72px"
168
+ >
169
+ <i class="el-icon-refresh"></i>
170
+ </el-button>
171
+ </el-tooltip>
172
+ <el-button type="text" @click="openOrderMessageList()"
173
+ ><span class="more">MORE+</span></el-button
174
+ >
175
+ </div>
176
+ <div class="pending-msg">
177
+ <vxe-grid
178
+ :data="pendingMessageRows"
179
+ ref="table-pending-msg"
180
+ v-bind="pendingMsgOption"
181
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
182
+ @custom="$vxeTableUtil.customHandle"
183
+ ></vxe-grid>
184
+ </div>
185
+ </el-card>
186
+ </el-col>
187
+ </el-row>
188
+ <slot></slot>
189
+ <systemNoticeInfoDialog
190
+ v-if="showSystemNoticeInfoDialog"
191
+ :visiable.sync="showSystemNoticeInfoDialog"
192
+ :param="csnRow"
193
+ :appendToTop="true"
194
+ ></systemNoticeInfoDialog>
195
+
196
+ <wfContentDialog
197
+ v-if="showWfDialog"
198
+ :visible.sync="showWfDialog"
199
+ @close="wfClose"
200
+ :option.sync="wfContentOption"
201
+ ></wfContentDialog>
202
+
203
+ <notifyMessageDialog ref="notifyMessageDialog"></notifyMessageDialog>
204
+
205
+ <notifyMessageInfoDialog
206
+ v-if="showNoticeDialog"
207
+ :visiable.sync="showNoticeDialog"
208
+ :dataId.sync="notifyMessageInfoId"
209
+ @readHanlde="notifyMessageReadHanlde"
210
+ ></notifyMessageInfoDialog>
211
+
212
+ <el-dialog
213
+ :title="$t1('处理消息')"
214
+ :append-to-body="true"
215
+ :modal-append-to-body="true"
216
+ :close-on-click-modal="false"
217
+ v-if="showDealDialog"
218
+ :visible.sync="showDealDialog"
219
+ custom-class="el-dialog dialog-style"
220
+ width="560px"
221
+ :destroy-on-close="true"
222
+ v-el-drag-dialog
223
+ >
224
+ <el-form :model="dealForm" label-width="100px" class="deal-msg-form">
225
+ <el-form-item :label="$t1('标题')">
226
+ <span>{{ dealRow.title }}</span>
227
+ </el-form-item>
228
+ <el-form-item :label="$t1('业务单据号')">
229
+ <span>{{ dealRow.bill_order_no }}</span>
230
+ </el-form-item>
231
+ <el-form-item :label="$t1('消息内容')">
232
+ <div class="deal-msg-content">{{ dealRow.content }}</div>
233
+ </el-form-item>
234
+ <el-form-item :label="$t1('处理备注')">
235
+ <el-input
236
+ type="textarea"
237
+ v-model="dealForm.deal_remark"
238
+ :rows="4"
239
+ :placeholder="$t1('请输入处理备注')"
240
+ maxlength="500"
241
+ show-word-limit
242
+ />
243
+ </el-form-item>
244
+ </el-form>
245
+ <span slot="footer" class="dialog-footer">
246
+ <el-button @click="showDealDialog = false">{{ $t1("取消") }}</el-button>
247
+ <el-button
248
+ type="primary"
249
+ :loading="dealSubmitting"
250
+ @click="submitDealMessage"
251
+ >{{ $t1("确定") }}</el-button
252
+ >
253
+ </span>
254
+ </el-dialog>
255
+
256
+ <el-dialog
257
+ :title="$t1('选择分组')"
258
+ :append-to-body="true"
259
+ :modal-append-to-body="true"
260
+ :close-on-click-modal="false"
261
+ v-if="showGroupDialog"
262
+ :visible.sync="showGroupDialog"
263
+ :modal="false"
264
+ custom-class="el-dialog dialog-style list-dialog"
265
+ width="355px"
266
+ :destroy-on-close="true"
267
+ >
268
+ <div class="cont group-list">
269
+ <div
270
+ class="item"
271
+ v-for="(notifyTemplate, index) in notifyTemplates"
272
+ :key="index"
273
+ @click="openMoreNotifyMessage(notifyTemplate.notifyType)"
274
+ >
275
+ <i class="iconfont icon-fenzu"></i>
276
+ <span class="name">{{ notifyTemplate.ntName }}</span>
277
+ <!-- <span class="nums">99+</span>-->
278
+ </div>
279
+ </div>
280
+ </el-dialog>
281
+ </div>
282
+ </template>
283
+
284
+ <script>
285
+ import systemNoticeInfoDialog from "@base/views/user/system_notice/infoDialog.vue";
286
+ import notifyMessageDialog from "@base/views/user/notify_message/dialog.vue";
287
+ import notifyMessageInfoDialog from "@base/views/user/notify_message/infoDialog";
288
+
289
+ import { getToken } from "@base/utils/auth";
290
+ import wfContentDialog from "@base/views/user/wf/wf_manage/wfContentDialog";
291
+ import corejsConfig from "@/corejsConfig";
292
+ import { getLogicParamValue } from "@base/api/user";
293
+
294
+ export default {
295
+ name: "home",
296
+ components: {
297
+ systemNoticeInfoDialog,
298
+ notifyMessageDialog,
299
+ notifyMessageInfoDialog,
300
+ wfContentDialog,
301
+ },
302
+ data() {
303
+ return {
304
+ showNoticeDialog: false,
305
+ showGroupDialog: false,
306
+ notifyTemplates: [],
307
+ userInfo: {},
308
+ companyInfo: {},
309
+ systemNotices: [],
310
+ showSystemNoticeInfoDialog: false,
311
+ csnRow: null,
312
+ headPhotoUrl: "",
313
+ dialogVisible: true,
314
+ unDoWfRows: [],
315
+ wfOption: {},
316
+ showWfDialog: false,
317
+ wfContentOption: {},
318
+ showWfContent: true,
319
+ wfContent: null,
320
+ wfDataId: "",
321
+ notifyMessages: [],
322
+ notifyMessageInfoIndex: null,
323
+ notifyMessageInfoId: null,
324
+ unreadMessageNum: 0,
325
+ activating: true,
326
+ wfTimer: null,
327
+ homeConfig: corejsConfig.homeConfig || {},
328
+ pendingMsgOption: {},
329
+ isServiceProvider: false,
330
+ roleChecked: false,
331
+ showDealDialog: false,
332
+ dealSubmitting: false,
333
+ dealRow: {},
334
+ dealForm: {
335
+ deal_remark: "",
336
+ },
337
+ shortcutItems: [
338
+ {
339
+ key: "unTakeQty",
340
+ name: "待接单",
341
+ count: 0,
342
+ formCode: "fwm_so_order_list",
343
+ query: { quick_type: 1 },
344
+ },
345
+ {
346
+ key: "outTimeBookQty",
347
+ name: "超时预约",
348
+ count: 0,
349
+ formCode: "fwm_so_order_list",
350
+ query: { quick_type: 2 },
351
+ },
352
+ {
353
+ key: "unBookQty",
354
+ name: "待预约",
355
+ count: 0,
356
+ formCode: "fwm_so_order_list",
357
+ query: { quick_type: 3 },
358
+ },
359
+ {
360
+ key: "unTakeEngineerQty",
361
+ name: "待派师傅",
362
+ count: 0,
363
+ formCode: "fwm_so_order_list",
364
+ query: { quick_type: 4 },
365
+ },
366
+ {
367
+ key: "engineerReturnQty",
368
+ name: "师傅退单",
369
+ count: 0,
370
+ formCode: "fwm_so_order_list",
371
+ query: { quick_type: 5 },
372
+ },
373
+ {
374
+ key: "unIntallQty",
375
+ name: "签收待安装",
376
+ count: 0,
377
+ formCode: "fwm_so_order_list",
378
+ query: { quick_type: 6 },
379
+ },
380
+ {
381
+ key: "unFinishQty",
382
+ name: "待完工单",
383
+ count: 0,
384
+ formCode: "fwm_so_order_list",
385
+ query: { quick_type: 7 },
386
+ },
387
+ {
388
+ key: "unCommitFinishQty",
389
+ name: "待确认完工",
390
+ count: 0,
391
+ formCode: "fwm_so_order_list",
392
+ query: { quick_type: 8 },
393
+ },
394
+ {
395
+ key: "unComplainQty",
396
+ name: "待申诉",
397
+ count: 0,
398
+ formCode: "fwm_so_order_appeal_list",
399
+ query: { query_type: 3 },
400
+ },
401
+ {
402
+ key: "urgeOrComplainQty",
403
+ name: "投诉/催单",
404
+ count: 0,
405
+ formCode: "fwm_so_order_list",
406
+ query: { quick_type: 10 },
407
+ },
408
+ ],
409
+ pendingMessageRows: [],
410
+ };
411
+ },
412
+ activated() {
413
+ this.activating = true;
414
+ if (!this.wfTimer) {
415
+ this.initWfTimer();
416
+ } else {
417
+ this.timerExcFun(true);
418
+ }
419
+ },
420
+ deactivated() {
421
+ this.activating = false;
422
+ },
423
+ beforeDestroy() {
424
+ this.clearTimer();
425
+ },
426
+ created() {
427
+ this.getUserInfo();
428
+ this.initSystemNotice();
429
+ this.initNotifyMessage();
430
+ this.initWfParam();
431
+ this.initWfTimer();
432
+ //初始化流程待办路由
433
+ this.initWorkflowManageRoute();
434
+ this.initServiceProviderRole();
435
+ },
436
+ mounted() {
437
+ this.initPendingMsgTable();
438
+ },
439
+ methods: {
440
+ initWorkflowManageRoute() {
441
+ //初始化流程待办路由
442
+ getLogicParamValue({
443
+ data: { paramCode: "workflowManageRoute" },
444
+ success: (res) => {
445
+ let value = res?.objx;
446
+ this.workflowManageRoute = value || "/basic/wf/wf_manage/list";
447
+ },
448
+ });
449
+ },
450
+ toWorkflowManage() {
451
+ this.$router.push(this.workflowManageRoute);
452
+ },
453
+ wfClose() {
454
+ this.timerExcFun(true);
455
+ },
456
+ initWfTimer() {
457
+ this.wfTimer = setInterval(() => {
458
+ this.timerExcFun(false);
459
+ }, 10000);
460
+ this.timerExcFun(true);
461
+ },
462
+ timerExcFun(isLoading) {
463
+ if (!this.activating) {
464
+ return;
465
+ }
466
+ this.getWfInfoList(isLoading);
467
+ this.getUnreadMessageNum(isLoading);
468
+ if (this.isServiceProvider) {
469
+ this.getOrderCount(isLoading);
470
+ this.getOrderMessage(isLoading);
471
+ }
472
+ this.$emit("timerHandle");
473
+ },
474
+ clearTimer() {
475
+ clearInterval(this.wfTimer);
476
+ this.wfTimer = null;
477
+ },
478
+ getUserInfo() {
479
+ this.$http({
480
+ url: USER_PREFIX + "/user/currentUser",
481
+ method: "post",
482
+ success: (res) => {
483
+ let userInfo = res.objx;
484
+ this.headPhotoUrl = this.$assetUrl(
485
+ userInfo.headPhotoUrl ||
486
+ require("@/resources/images/default-header.png")
487
+ );
488
+
489
+ this.userInfo = userInfo;
490
+ this.initServiceProviderRole();
491
+ },
492
+ });
493
+ this.$http({
494
+ url: USER_PREFIX + "/company_info/getCurrent",
495
+ method: `post`,
496
+ success: (res) => {
497
+ this.companyInfo = res.objx || {};
498
+ },
499
+ });
500
+ },
501
+ initSystemNotice() {
502
+ this.$http({
503
+ url: USER_PREFIX + "/system_notice/listPage",
504
+ data: { publish: true, searchCount: false },
505
+ method: "post",
506
+ success: (res) => {
507
+ this.systemNotices =
508
+ res.objx && res.objx.records ? res.objx.records : [];
509
+ },
510
+ });
511
+ },
512
+ openSystemNoticeDialog(row) {
513
+ this.csnRow = row || null;
514
+ this.showSystemNoticeInfoDialog = true;
515
+ },
516
+ initUnDoWfInfo() {
517
+ this.$http({
518
+ url: AGILEBPM_PREFIX + "/wf_manage/listPage",
519
+ data: { type: 0, searchCount: false },
520
+ method: "post",
521
+ success: (res) => {
522
+ this.unDoWfRows = res.objx.records || [];
523
+ },
524
+ });
525
+ },
526
+ initWfTableList() {
527
+ let that = this;
528
+ let paramColumns = this.wfParamDTOs.map((item) => {
529
+ return {
530
+ title: this.$t1(item.paramName),
531
+ field: item.paramKey,
532
+ width: 150,
533
+ };
534
+ });
535
+ var statuses = {
536
+ running: this.$t1("审核中"),
537
+ back: this.$t1("已驳回"),
538
+ end: this.$t1("已完成"),
539
+ };
540
+ let tableOption = {
541
+ vue: this,
542
+ tableRef: "table-wf",
543
+ tableName: "home-table-wf",
544
+ config: {
545
+ height: "auto",
546
+ },
547
+ columns: [
548
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
549
+ {
550
+ title: this.$t1("单据类型"),
551
+ field: "objTypeName",
552
+ width: 150,
553
+ fixed: "left",
554
+ },
555
+ {
556
+ title: this.$t1("流程主题"),
557
+ field: "name",
558
+ width: 150,
559
+ },
560
+ {
561
+ title: this.$t1("当前任务"),
562
+ field: "taskName",
563
+ width: 150,
564
+ },
565
+ {
566
+ title: this.$t1("当前任务用户"),
567
+ field: "candidateNames",
568
+ width: 150,
569
+ },
570
+ {
571
+ title: this.$t1("启动时间"),
572
+ field: "createDate",
573
+ width: 150,
574
+ },
575
+ ...paramColumns,
576
+ {
577
+ width: 47,
578
+ fixed: "right",
579
+ title: "",
580
+ sortable: false,
581
+ slots: {
582
+ default: ({ row }) => {
583
+ return [
584
+ <a
585
+ href="javascript:void(0);"
586
+ class="a-link"
587
+ onclick={() => {
588
+ this.openWfDialog(row);
589
+ }}
590
+ >
591
+ <el-tooltip
592
+ enterable={false}
593
+ effect="dark"
594
+ content={this.$t1("查看")}
595
+ placement="top"
596
+ popper-class="tooltip-skin"
597
+ >
598
+ <i class="el-icon-edit" />
599
+ </el-tooltip>
600
+ </a>,
601
+ ];
602
+ },
603
+ },
604
+ },
605
+ ],
606
+ };
607
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
608
+ this.wfOption = opts;
609
+ });
610
+ },
611
+ initPendingMsgTable() {
612
+ let tableOption = {
613
+ vue: this,
614
+ tableRef: "table-pending-msg",
615
+ tableName: "home-table-pending-msg",
616
+ config: {
617
+ height: "auto",
618
+ toolbarConfig: {
619
+ enabled: false,
620
+ },
621
+ pagerConfig: {
622
+ enabled: false,
623
+ },
624
+ },
625
+ columns: [
626
+ {
627
+ title: this.$t1("通知时间"),
628
+ field: "create_date",
629
+ width: 150,
630
+ },
631
+ {
632
+ title: this.$t1("消息类型"),
633
+ field: "message_type",
634
+ width: 120,
635
+ slots: {
636
+ default: ({ row }) => {
637
+ return [
638
+ <span>{this.getMessageTypeName(row.message_type)}</span>,
639
+ ];
640
+ },
641
+ },
642
+ },
643
+ {
644
+ title: this.$t1("业务单据号"),
645
+ field: "bill_order_no",
646
+ minWidth: 150,
647
+ slots: {
648
+ default: ({ row }) => {
649
+ return [
650
+ <a
651
+ href="javascript:void(0);"
652
+ class="a-link"
653
+ onclick={() => {
654
+ this.openOrderView(row);
655
+ }}
656
+ >
657
+ {row.bill_order_no}
658
+ </a>,
659
+ ];
660
+ },
661
+ },
662
+ },
663
+ {
664
+ title: this.$t1("标题"),
665
+ field: "title",
666
+ minWidth: 150,
667
+ },
668
+ {
669
+ title: this.$t1("操作"),
670
+ width: 70,
671
+ fixed: "right",
672
+ sortable: false,
673
+ slots: {
674
+ default: ({ row }) => {
675
+ return [
676
+ <a
677
+ href="javascript:void(0);"
678
+ class="a-link"
679
+ onclick={() => {
680
+ this.handlePendingMessage(row);
681
+ }}
682
+ >
683
+ {this.$t1("处理")}
684
+ </a>,
685
+ ];
686
+ },
687
+ },
688
+ },
689
+ ],
690
+ };
691
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
692
+ this.pendingMsgOption = opts;
693
+ this.$nextTick(() => {
694
+ let grid = this.$refs["table-pending-msg"];
695
+ if (grid && grid.recalculate) {
696
+ grid.recalculate();
697
+ }
698
+ });
699
+ });
700
+ },
701
+ handlePendingMessage(row) {
702
+ this.dealRow = row || {};
703
+ this.dealForm = { deal_remark: "" };
704
+ this.dealSubmitting = false;
705
+ this.showDealDialog = true;
706
+ },
707
+ openOrderView(row) {
708
+ let dataId = row.order_id;
709
+ if (dataId == null) {
710
+ this.$message.warning(this.$t1("未找到工单"));
711
+ return;
712
+ }
713
+ this.wfContentOption = {
714
+ objId: dataId,
715
+ url: "form",
716
+ formCode: "fwm_so_order_view",
717
+ };
718
+ this.showWfDialog = true;
719
+ },
720
+ submitDealMessage() {
721
+ if (!this.dealRow || !this.dealRow.id) {
722
+ return;
723
+ }
724
+ this.dealSubmitting = true;
725
+ this.callFormScript({
726
+ url: YX_PREFIX + "/bd_api/fwm_so_order_message_list/doDealOrderMessage",
727
+ data: {
728
+ id: this.dealRow.id,
729
+ deal_remark: this.dealForm.deal_remark,
730
+ },
731
+ isLoading: true,
732
+ success: (res) => {
733
+ this.dealSubmitting = false;
734
+ this.showDealDialog = false;
735
+ this.$message.success(res.content || this.$t1("处理成功"));
736
+ this.getOrderCount(true);
737
+ this.getOrderMessage(true);
738
+ },
739
+ fail: (res, response) => {
740
+ this.dealSubmitting = false;
741
+ if (response && response.status == 200) {
742
+ this.$errorMsg(res);
743
+ }
744
+ },
745
+ });
746
+ },
747
+ getMessageTypeName(type) {
748
+ let map = {
749
+ 1: this.$t1("工单"),
750
+ 2: this.$t1("备件申请"),
751
+ 3: this.$t1("结算"),
752
+ 4: this.$t1("考核"),
753
+ };
754
+ return map[type] || type || "";
755
+ },
756
+ initServiceProviderRole() {
757
+ if (this.roleChecked) {
758
+ return;
759
+ }
760
+ let userId = this.$store.getters.userId || this.userInfo.id;
761
+ if (!userId) {
762
+ return;
763
+ }
764
+ this.roleChecked = true;
765
+ this.$http({
766
+ url: USER_PREFIX + "/user/getUserRole",
767
+ method: "post",
768
+ data: { id: userId },
769
+ failMsg: false,
770
+ errorMsg: false,
771
+ success: (res) => {
772
+ let rows = res.objx || [];
773
+ let codes = rows.map((row) => row.roleCode);
774
+ this.isServiceProvider =
775
+ codes.includes("yjfws") || codes.includes("ejfws");
776
+ if (this.isServiceProvider) {
777
+ this.getOrderCount(true);
778
+ this.getOrderMessage(true);
779
+ this.$nextTick(() => {
780
+ let grid = this.$refs["table-pending-msg"];
781
+ if (grid && grid.recalculate) {
782
+ grid.recalculate();
783
+ }
784
+ });
785
+ }
786
+ },
787
+ fail: () => {
788
+ this.roleChecked = false;
789
+ },
790
+ });
791
+ },
792
+ callFormScript(opts) {
793
+ let isLoading = opts.isLoading ?? true;
794
+ return this.$http({
795
+ url: opts.url,
796
+ method: "post",
797
+ data: opts.data || {},
798
+ isLoading,
799
+ modal: isLoading || false,
800
+ success: opts.success,
801
+ failMsg: false,
802
+ errorMsg: false,
803
+ fail:
804
+ opts.fail ||
805
+ ((res, response) => {
806
+ if (response && response.status == 200) {
807
+ this.$errorMsg(res);
808
+ }
809
+ }),
810
+ });
811
+ },
812
+ getOrderCount(isLoading) {
813
+ if (!this.isServiceProvider || !this.activating) {
814
+ return;
815
+ }
816
+ this.callFormScript({
817
+ url: YX_PREFIX + "/bd_api/intf/getOrderCount",
818
+ isLoading,
819
+ success: (res) => {
820
+ let objx = res.objx || {};
821
+ this.shortcutItems.forEach((item) => {
822
+ item.count = objx[item.key] != null ? objx[item.key] : 0;
823
+ });
824
+ },
825
+ });
826
+ },
827
+ getOrderMessage(isLoading) {
828
+ if (!this.isServiceProvider || !this.activating) {
829
+ return;
830
+ }
831
+ this.callFormScript({
832
+ url: YX_PREFIX + "/bd_api/intf/getOrderMessage",
833
+ isLoading,
834
+ success: (res) => {
835
+ let objx = res.objx;
836
+ this.pendingMessageRows = Array.isArray(objx)
837
+ ? objx
838
+ : (objx && objx.records) || [];
839
+ },
840
+ });
841
+ },
842
+ openShortcut(item) {
843
+ if (!item || !item.formCode) {
844
+ return;
845
+ }
846
+ this.openFormList(item.formCode, item.query, item.name);
847
+ },
848
+ openOrderMessageList() {
849
+ this.openFormList("fwm_so_order_message_list");
850
+ },
851
+ findFormPath(formCode) {
852
+ if (!formCode) {
853
+ return null;
854
+ }
855
+ let match = (path) => {
856
+ if (!path) {
857
+ return false;
858
+ }
859
+ let p = String(path).split("?")[0];
860
+ return p === formCode || p.endsWith("/" + formCode);
861
+ };
862
+ let walk = (routes) => {
863
+ for (let r of routes || []) {
864
+ if (match(r.path) || match(r.url)) {
865
+ let candidates = [r.path, r.url].filter(Boolean);
866
+ return (
867
+ candidates.find((p) => String(p).startsWith("/")) || candidates[0]
868
+ );
869
+ }
870
+ let found = walk(r.children);
871
+ if (found) {
872
+ return found;
873
+ }
874
+ }
875
+ return null;
876
+ };
877
+ return (
878
+ walk(this.$store.getters.permission_routes) ||
879
+ walk(this.$store.getters.add_routes) ||
880
+ walk(this.$store.getters.sidebarRouters)
881
+ );
882
+ },
883
+ openFormList(formCode, query, titleSuffix) {
884
+ let path = this.findFormPath(formCode);
885
+ if (!path) {
886
+ this.$message.warning(this.$t1("未找到对应菜单"));
887
+ return;
888
+ }
889
+ path = String(path).split("?")[0];
890
+ let q = query || {};
891
+ let queryData = { ...q };
892
+ if (titleSuffix) {
893
+ queryData._tabSuffix = titleSuffix;
894
+ }
895
+ if (
896
+ formCode !== "fwm_so_order_list" &&
897
+ formCode !== "fwm_so_order_appeal_list"
898
+ ) {
899
+ queryData.param = JSON.stringify(q);
900
+ }
901
+ let view = {
902
+ path,
903
+ query: queryData,
904
+ };
905
+ this.$store.dispatch("tagsView/delCachedView", view).then(() => {
906
+ this.$openView(view);
907
+ });
908
+ },
909
+ openWfDialog(row) {
910
+ this.wfContentOption = {
911
+ objId: row.objId,
912
+ url: row.url,
913
+ objTypeCode: row.objTypeCode,
914
+ formCode: row.formCode,
915
+ };
916
+ this.showWfDialog = true;
917
+ },
918
+ initNotifyMessage() {
919
+ return;
920
+ this.$http({
921
+ url: USER_PREFIX + "/notify_message/listPage",
922
+ data: { searchCount: false },
923
+ method: "post",
924
+ success: (res) => {
925
+ this.notifyMessages =
926
+ res.objx && res.objx.records ? res.objx.records : [];
927
+ },
928
+ });
929
+ },
930
+ openNotifyMessageDialog(row) {
931
+ if (row.jumpContent) {
932
+ this.$refs.notifyMessageDialog.open(row, () => {
933
+ row.readed = 1;
934
+ });
935
+ }
936
+ },
937
+ openMoreNotifyMessage(notifyType) {
938
+ let data = { notifyType: notifyType || "" };
939
+ let view = {
940
+ name: "notify_message:list",
941
+ query: data,
942
+ };
943
+ this.$store.dispatch("tagsView/delCachedView", view).then(() => {
944
+ this.$router.replace(view);
945
+ });
946
+
947
+ if (notifyType) {
948
+ this.showGroupDialog = false;
949
+ }
950
+ },
951
+ checkNotifyMessage(row, index) {
952
+ this.showNoticeDialog = true;
953
+ this.notifyMessageInfoIndex = index;
954
+ this.notifyMessageInfoId = row.id;
955
+ },
956
+ notifyMessageReadHanlde() {
957
+ this.notifyMessages[this.notifyMessageInfoIndex].readed = 1;
958
+ },
959
+ openNotifyTemplateGroupDialog() {
960
+ this.$http({
961
+ url: USER_PREFIX + `/notify_template/listPage`,
962
+ method: `post`,
963
+ data: { searchCount: false },
964
+ isLoading: true,
965
+ // loadingTarget: document.body,
966
+ success: (res) => {
967
+ this.notifyTemplates =
968
+ res.objx && res.objx.records ? res.objx.records : [];
969
+ this.showGroupDialog = true;
970
+ },
971
+ });
972
+ },
973
+ rourteTo(route) {
974
+ if (route.type == 4) {
975
+ this.jumpOutLink(route);
976
+ } else if (route.type == 3) {
977
+ let menuCode = route.menuCode;
978
+ let path = "/user/outLink/index/" + menuCode;
979
+ this.$openView({ path: path, query: { url: route.url } }, route);
980
+ } else {
981
+ let path = this.getPath(route);
982
+ if (!path) return;
983
+ this.$openView(path, route);
984
+ }
985
+ },
986
+ getPath(route3) {
987
+ let item = null;
988
+ let path = null;
989
+ if (route3.type == 0) {
990
+ //普通菜单
991
+ if (route3.url) {
992
+ path = route3.route || route3.url;
993
+ let str = "/report/vform/render/";
994
+ if (path.indexOf(str) == 0) {
995
+ } else {
996
+ let pIndex = path.indexOf("?");
997
+ if (pIndex > 0) {
998
+ path = path.substring(0, pIndex);
999
+ }
1000
+ }
1001
+ }
1002
+ } else if (route3.type == 5) {
1003
+ //动态表单
1004
+ let url = route3.route || route3.url;
1005
+ path = url;
1006
+ }
1007
+ if (path && path.startsWith("@")) {
1008
+ path = null;
1009
+ }
1010
+ return path;
1011
+ },
1012
+ jumpOutLink(route) {
1013
+ let path = route.url;
1014
+ if (route.type == 4 && path) {
1015
+ if (path.indexOf("token={token}") >= 0) {
1016
+ path = path.replace("token={token}", "token=" + getToken());
1017
+ }
1018
+ window.open(path);
1019
+ }
1020
+ },
1021
+ initWfParam() {
1022
+ return this.$http({
1023
+ url: USER_PREFIX + "/wf_param/list",
1024
+ method: `post`,
1025
+ data: {},
1026
+ isLoading: true,
1027
+ // loadingTarget: document.body,
1028
+ modalStrictly: true,
1029
+ success: (res) => {
1030
+ this.wfParamDTOs = res.objx || [];
1031
+ this.initWfTableList();
1032
+ },
1033
+ });
1034
+ },
1035
+ getWfInfoList(isLoading) {
1036
+ if (!this.activating) {
1037
+ return;
1038
+ }
1039
+ this.$http({
1040
+ url: USER_PREFIX + "/wf_info/listPage",
1041
+ data: { type: 0, size: 20, searchCount: false },
1042
+ method: "post",
1043
+ isLoading: isLoading,
1044
+ modal: isLoading || false,
1045
+ // loadingTarget: document.body,
1046
+ success: (res) => {
1047
+ this.unDoWfRows =
1048
+ res.objx && res.objx.records ? res.objx.records : [];
1049
+ },
1050
+ failMsg: false,
1051
+ errorMsg: false,
1052
+ fail: (res, response) => {
1053
+ if (response && response.status == 200) {
1054
+ this.$errorMsg(res);
1055
+ }
1056
+ },
1057
+ });
1058
+ },
1059
+ getUnreadMessageNum(isLoading) {
1060
+ if (!this.activating) {
1061
+ return;
1062
+ }
1063
+ return this.$http({
1064
+ url: USER_PREFIX + "/notify_message/countMessage",
1065
+ method: `post`,
1066
+ data: {},
1067
+ isLoading: isLoading,
1068
+ modal: isLoading || false,
1069
+ // loadingTarget: document.body,
1070
+ success: (res) => {
1071
+ this.unreadMessageNum = res.objx || 0;
1072
+ },
1073
+ failMsg: false,
1074
+ errorMsg: false,
1075
+ fail: (res, response) => {
1076
+ if (response && response.status == 200) {
1077
+ this.$errorMsg(res);
1078
+ }
1079
+ },
1080
+ });
1081
+ },
1082
+ wfhandleCallback(flag) {
1083
+ if ([1, 2, 3].includes(flag)) {
1084
+ this.showWfDialog = false;
1085
+ this.wfClose();
1086
+ }
1087
+ },
1088
+ },
1089
+ };
1090
+ </script>
1091
+ <style lang="scss" scoped>
1092
+ @import "~@/styles/variables.scss";
1093
+
1094
+ body #app .index-home {
1095
+ margin: 3px 10px;
1096
+ height: calc(100vh - 44px);
1097
+ overflow: hidden;
1098
+ display: flex;
1099
+ flex-direction: column;
1100
+
1101
+ #containt {
1102
+ margin: 0;
1103
+ background: none;
1104
+ height: auto;
1105
+ box-shadow: none;
1106
+ }
1107
+
1108
+ .i-user-info {
1109
+ background: url(~@/resources/images/home-img.png) #2a6494 no-repeat 116%
1110
+ 45px;
1111
+ margin-bottom: 6px;
1112
+ background-size: 181px;
1113
+ padding: 14px 38px 11px 16px;
1114
+ border-radius: 4px 4px;
1115
+ color: #fff;
1116
+ font-size: 12px;
1117
+ margin-top: 3px;
1118
+ height: 95px;
1119
+ overflow: hidden;
1120
+
1121
+ .name {
1122
+ opacity: 1;
1123
+ font-weight: 600;
1124
+ margin: 9px 0 14px;
1125
+ font-size: 14px;
1126
+ }
1127
+
1128
+ .img {
1129
+ width: 60px;
1130
+ height: 60px;
1131
+ float: left;
1132
+ border-radius: 50%;
1133
+ border: solid 4px rgba(255, 255, 255, 0.28);
1134
+ margin-right: 10px;
1135
+ }
1136
+ }
1137
+
1138
+ .home-notice-list {
1139
+ height: 182px;
1140
+ margin: 0 -12px;
1141
+
1142
+ .item {
1143
+ padding: 6px 12px;
1144
+ font-size: 12px;
1145
+ cursor: pointer;
1146
+ overflow: hidden;
1147
+ text-overflow: ellipsis;
1148
+ white-space: nowrap;
1149
+
1150
+ .time {
1151
+ color: #b9b9b9;
1152
+ font-size: 12px;
1153
+ right: 12px;
1154
+ background: #FFF;
1155
+ padding-left: 8px;
1156
+ }
1157
+
1158
+ &:hover {
1159
+ color: $baseColor;
1160
+ background-color: #F8FAFC;
1161
+
1162
+ .time {
1163
+ color: $baseColor;
1164
+ background-color: #F8FAFC;
1165
+ }
1166
+ }
1167
+
1168
+ &.no-read:before {
1169
+ content: "";
1170
+ width: 6px;
1171
+ height: 6px;
1172
+ background-color: $red;
1173
+ border-radius: 50%;
1174
+ vertical-align: middle;
1175
+ display: inline-block;
1176
+ margin-bottom: 1px;
1177
+ }
1178
+ }
1179
+
1180
+ &.to-reed {
1181
+ height: 300px;
1182
+ overflow: auto;
1183
+ margin: -8px -12px;
1184
+
1185
+ .item {
1186
+ white-space: initial;
1187
+ padding: 8px 22px 2px;
1188
+ position: relative;
1189
+
1190
+ &:after {
1191
+ content: "";
1192
+ position: absolute;
1193
+ left: 22px;
1194
+ right: 22px;
1195
+ border-top: dashed 1px #eee;
1196
+ height: 1px;
1197
+ bottom: 0;
1198
+ }
1199
+
1200
+ &.noread {
1201
+ &:before {
1202
+ content: "";
1203
+ width: 6px;
1204
+ height: 6px;
1205
+ background-color: $red;
1206
+ border-radius: 50%;
1207
+ margin-right: 5px;
1208
+ display: inline-block;
1209
+ position: absolute;
1210
+ left: 10px;
1211
+ top: 16px;
1212
+ }
1213
+ }
1214
+
1215
+ .el-tag {
1216
+ zoom: 0.95;
1217
+ padding: 0 5px;
1218
+ height: 24px;
1219
+ line-height: 24px;
1220
+ }
1221
+
1222
+ // .noread{
1223
+ // position: absolute;right:0;top:0;
1224
+ // span{transform: rotate(47deg);
1225
+ // -ms-transform: rotate(47deg);
1226
+ // -moz-transform: rotate(47deg);
1227
+ // -webkit-transform: rotate(47deg);
1228
+ // -o-transform: rotate(47deg);
1229
+ // z-index: 3;
1230
+ // color: #FFF;
1231
+ // position: absolute;
1232
+ // right: 1px;
1233
+ // top: 2px;}
1234
+ // &:after{
1235
+ // content: "\e618";
1236
+ // font-size: 62px;
1237
+ // font-family: "iconfont";
1238
+ // color:$red
1239
+ // }
1240
+ // }
1241
+ .time {
1242
+ position: relative;
1243
+ right: 0;
1244
+ margin-left: 12px;
1245
+ }
1246
+
1247
+ .name {
1248
+ overflow: hidden;
1249
+ text-overflow: ellipsis;
1250
+ white-space: nowrap;
1251
+ margin-top: 3px;
1252
+ display: block;
1253
+ margin-bottom: 4px;
1254
+ }
1255
+
1256
+ &:hover .name {
1257
+ color: $baseColor;
1258
+ }
1259
+
1260
+ &:first-child:before {
1261
+ border-top: none;
1262
+ }
1263
+
1264
+ .btns {
1265
+ text-align: right;
1266
+
1267
+ .el-link {
1268
+ font-size: 12px;
1269
+ display: inline-block;
1270
+ margin-left: 14px;
1271
+
1272
+ i {
1273
+ font-size: 12px;
1274
+ margin-right: 3px;
1275
+ }
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ }
1281
+
1282
+ .home-top {
1283
+ flex: none;
1284
+ }
1285
+
1286
+ .home-bottom {
1287
+ flex: 1;
1288
+ min-height: 0;
1289
+ display: flex;
1290
+
1291
+ > .el-col {
1292
+ height: 100%;
1293
+ display: flex;
1294
+ flex-direction: column;
1295
+ }
1296
+
1297
+ .box-card {
1298
+ flex: 1;
1299
+ min-height: 0;
1300
+ display: flex;
1301
+ flex-direction: column;
1302
+
1303
+ &.el-card.is-always-shadow {
1304
+ margin-top: 0 !important;
1305
+ }
1306
+ }
1307
+
1308
+ ::v-deep .el-card__body {
1309
+ flex: 1;
1310
+ min-height: 0;
1311
+ display: flex;
1312
+ flex-direction: column;
1313
+ }
1314
+ }
1315
+
1316
+ .shortcut-box {
1317
+ flex: 1;
1318
+ min-height: 0;
1319
+ display: grid;
1320
+ grid-template-columns: repeat(5, 1fr);
1321
+ grid-template-rows: repeat(2, 1fr);
1322
+ gap: 8px;
1323
+
1324
+ .item {
1325
+ border: solid 1px #e2e2e2;
1326
+ border-radius: 2px;
1327
+ text-align: center;
1328
+ padding: 12px 4px 10px;
1329
+ cursor: pointer;
1330
+ background: #fff;
1331
+ display: flex;
1332
+ flex-direction: column;
1333
+ justify-content: center;
1334
+
1335
+ .name {
1336
+ display: block;
1337
+ color: #424242;
1338
+ font-size: 12px;
1339
+ line-height: 20px;
1340
+ }
1341
+
1342
+ .count {
1343
+ display: block;
1344
+ color: #d62b31;
1345
+ font-size: 12px;
1346
+ line-height: 20px;
1347
+ }
1348
+
1349
+ &:hover {
1350
+ border-color: $baseColor;
1351
+ background-color: transparentize($baseColor, 0.95);
1352
+
1353
+ .name {
1354
+ color: $baseColor;
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+
1360
+ .need-to {
1361
+ height: 332px;
1362
+ }
1363
+
1364
+ .pending-msg {
1365
+ flex: 1;
1366
+ min-height: 0;
1367
+ height: 100%;
1368
+ }
1369
+
1370
+ .table-box {
1371
+ width: 100%;
1372
+ font-size: 12px;
1373
+
1374
+ th {
1375
+ line-height: 32px;
1376
+ background: #f7f7f7;
1377
+ font-weight: 400;
1378
+ color: #808080;
1379
+ padding: 0 6px;
1380
+ }
1381
+
1382
+ td {
1383
+ text-align: center;
1384
+ line-height: 34px;
1385
+ color: #424242;
1386
+ border-bottom: solid 1px #eee;
1387
+ padding: 0 6px;
1388
+ }
1389
+
1390
+ tr:last-child td {
1391
+ border-bottom: none;
1392
+ }
1393
+ }
1394
+ }
1395
+
1396
+ .deal-msg-form {
1397
+ padding: 8px 12px 0;
1398
+
1399
+ .deal-msg-content {
1400
+ max-height: 160px;
1401
+ overflow: auto;
1402
+ line-height: 20px;
1403
+ white-space: pre-wrap;
1404
+ word-break: break-all;
1405
+ }
1406
+ }
1407
+
1408
+ .box-card .more {
1409
+ background-color: #f7f7f7;
1410
+ }
1411
+
1412
+ .group-list {
1413
+ padding: 18px 18px 6px 32px !important;
1414
+ height: 400px;
1415
+ overflow: auto;
1416
+
1417
+ .item {
1418
+ position: relative;
1419
+ height: 36px;
1420
+ border: solid 1px #eee;
1421
+ line-height: 34px;
1422
+ border-radius: 2px;
1423
+ padding: 0 42px 0 14px;
1424
+ margin-bottom: 10px;
1425
+ cursor: pointer;
1426
+
1427
+ &::before {
1428
+ content: "";
1429
+ width: 8px;
1430
+ height: 8px;
1431
+ border: solid 1px #eee;
1432
+ border-radius: 50%;
1433
+ display: inline-block;
1434
+ position: absolute;
1435
+ left: -16px;
1436
+ top: 13px;
1437
+ }
1438
+
1439
+ &.checked {
1440
+ &:before {
1441
+ content: "";
1442
+ background-color: $baseColor;
1443
+ border-color: $baseColor;
1444
+ }
1445
+
1446
+ background-color: transparentize($baseColor, 0.9);
1447
+ color: $baseColor;
1448
+ border-color: $baseColor;
1449
+ }
1450
+
1451
+ i {
1452
+ font-size: 12px;
1453
+ vertical-align: middle;
1454
+ }
1455
+
1456
+ .name {
1457
+ font-size: 12px;
1458
+ margin-left: 8px;
1459
+ vertical-align: middle;
1460
+ }
1461
+
1462
+ .nums {
1463
+ width: 22px;
1464
+ height: 22px;
1465
+ border-radius: 50%;
1466
+ display: inline-block;
1467
+ position: absolute;
1468
+ right: 5px;
1469
+ top: 6px;
1470
+ color: #fff;
1471
+ font-size: 12px;
1472
+ background-color: $red;
1473
+ line-height: 22px;
1474
+ text-align: center;
1475
+ }
1476
+ }
1477
+ }
1478
+
1479
+ .notice-box {
1480
+ background-color: #2a649429;
1481
+ border-radius: 0 0 4px 4px;
1482
+ padding: 9px 12px;
1483
+ margin-bottom: 5px;
1484
+ margin-top: -6px;
1485
+ position: relative;
1486
+ z-index: 2;
1487
+ font-size: 13px;
1488
+ color: #212121;
1489
+ overflow: hidden;
1490
+
1491
+ .txt {
1492
+ line-height: 28px;
1493
+ font-size: 12px;
1494
+ position: relative;
1495
+ display: inline-block;
1496
+ cursor: pointer;
1497
+
1498
+ &:before {
1499
+ content: "";
1500
+ background-color: $baseColor;
1501
+ width: 4px;
1502
+ height: 20px;
1503
+ border-radius: 2px;
1504
+ display: inline-block;
1505
+ vertical-align: middle;
1506
+ margin-right: 18px;
1507
+ }
1508
+
1509
+ i {
1510
+ font-size: 14px;
1511
+ margin-right: 12px;
1512
+ vertical-align: middle;
1513
+ }
1514
+
1515
+ > span {
1516
+ vertical-align: middle;
1517
+ height: 22px;
1518
+ line-height: 22px;
1519
+ display: inline-block;
1520
+
1521
+ b {
1522
+ color: #fff;
1523
+ margin: 0 4px;
1524
+ font-size: 16px;
1525
+ vertical-align: middle;
1526
+ background: #ff5615;
1527
+ border-radius: 50%;
1528
+ display: inline-block;
1529
+ padding: 4px;
1530
+ font-weight: 200;
1531
+ line-height: 1;
1532
+ }
1533
+ }
1534
+ }
1535
+
1536
+ .el-button {
1537
+ position: absolute;
1538
+ right: 46px;
1539
+ padding: 0;
1540
+ height: 22px;
1541
+ line-height: 22px;
1542
+ min-width: 22px;
1543
+ text-align: center;
1544
+ border-radius: 2px;
1545
+ top: 50%;
1546
+ margin-top: -11px;
1547
+
1548
+ i {
1549
+ font-size: 15px;
1550
+ }
1551
+
1552
+ &:hover {
1553
+ background-color: $baseColor;
1554
+ color: #fff;
1555
+ }
1556
+
1557
+ &.more {
1558
+ right: 12px;
1559
+ background: #f7f7f7;
1560
+
1561
+ &:hover {
1562
+ color: $baseColor;
1563
+ }
1564
+ }
1565
+ }
1566
+
1567
+ ::v-deep .el-card.is-always-shadow {
1568
+ box-shadow: 0 2px 2px 0 rgb(0 0 0 / 6%);
1569
+ }
1570
+ }
1571
+ </style>