@lambo-design-mobile/workflow-approve 1.0.0-beta.1 → 1.0.0-beta.11
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/CHANGELOG.md +63 -3
- package/README.md +2 -38
- package/api.js +55 -3
- package/package.json +3 -3
- package/src/ApprovalNodeCell.vue +116 -0
- package/src/FlowApproval.vue +262 -151
- package/src/SelectHandle.vue +83 -39
- package/src/SelectHandleCard.vue +19 -6
- package/src/SelectNormalList.vue +111 -0
- package/src/SelectOrganize.vue +216 -0
- package/src/TodoListCard.vue +6 -2
- package/src/WorkflowDiagram.vue +18 -108
- package/src/assets/icon/iconfont.css +12 -4
- package/src/assets/icon/iconfont.js +1 -1
- package/src/assets/icon/iconfont.json +14 -0
- package/src/assets/icon/iconfont.ttf +0 -0
- package/src/assets/icon/iconfont.woff +0 -0
- package/src/assets/icon/iconfont.woff2 +0 -0
- package/src/js/global.js +19 -0
- package/src/tree/Node.vue +190 -0
- package/src/tree/Tree.vue +212 -0
- package/src/tree/util.js +74 -0
package/src/WorkflowDiagram.vue
CHANGED
|
@@ -18,58 +18,20 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div v-if="auditData.length > 0">
|
|
20
20
|
<div v-for="(item,index) in auditData" :key="index" class="record-item">
|
|
21
|
-
<
|
|
22
|
-
<template v-slot:icon>
|
|
23
|
-
<div
|
|
24
|
-
v-if="['通过', '跳转指定节点'].includes(getAuditStatus(item.auditResult).text)"
|
|
25
|
-
class="completed-icon">
|
|
26
|
-
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
27
|
-
size="30px" color="#fff"/>
|
|
28
|
-
</div>
|
|
29
|
-
<div v-else class="pending-icon">
|
|
30
|
-
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
31
|
-
size="30px" color="#fff"/>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
<template v-slot:title>
|
|
35
|
-
<div :style="{ color: getAuditStatus(item.auditResult).color }"
|
|
36
|
-
style="font-size: 16px;font-weight: bold;padding:5px 0;">
|
|
37
|
-
{{ item.auditName }}
|
|
38
|
-
</div>
|
|
39
|
-
<div>{{ item.taskName }}
|
|
40
|
-
<span v-if="item.auditComment" @click="showAuditDetail(item.auditComment)">
|
|
41
|
-
| 审批意见 <van-icon name="comment-circle-o"/>
|
|
42
|
-
</span>
|
|
43
|
-
</div>
|
|
44
|
-
</template>
|
|
45
|
-
<template v-slot:label>
|
|
46
|
-
<div>{{ item.auditDate }}</div>
|
|
47
|
-
</template>
|
|
48
|
-
<template v-slot:default>
|
|
49
|
-
<span :style="{ color: getAuditStatus(item.auditResult).color }">{{
|
|
50
|
-
getAuditStatus(item.auditResult).text
|
|
51
|
-
}}</span>
|
|
52
|
-
</template>
|
|
53
|
-
</van-cell>
|
|
21
|
+
<approval-node-cell :node-detail="item"/>
|
|
54
22
|
</div>
|
|
55
23
|
</div>
|
|
56
24
|
<div v-else>
|
|
57
25
|
<van-empty description="暂无审批记录"/>
|
|
58
26
|
</div>
|
|
59
|
-
|
|
60
27
|
<!--审批详情弹出框-->
|
|
61
28
|
<van-dialog v-model="showTaskNodeDetail" title="审批详情">
|
|
62
29
|
<van-cell-group>
|
|
63
|
-
<van-
|
|
64
|
-
|
|
65
|
-
<van-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:value="nodeDetail.applyUser ? nodeDetail.applyUser.split(':')[1] : '未定义'"></van-cell>
|
|
69
|
-
<van-cell class="custom-cell"
|
|
70
|
-
:title="nodeDetail.startDate ? '发起时间:':'审批时间:' "
|
|
71
|
-
:value="nodeDetail.startDate ? nodeDetail.startDate : nodeDetail.auditDate">
|
|
72
|
-
</van-cell>
|
|
30
|
+
<van-field readonly input-align="right" label="审批节点:" :value="nodeDetail.taskName" />
|
|
31
|
+
<van-field readonly input-align="right" label="审批人:" :value="nodeDetail.auditName" />
|
|
32
|
+
<van-field readonly input-align="right" label="申请人:" :value="nodeDetail.applyUser ? nodeDetail.applyUser.split(':')[1] : '未定义'" />
|
|
33
|
+
<van-field readonly input-align="right" :label="nodeDetail.auditDate ? '审批时间:':'发起时间:' "
|
|
34
|
+
:value="nodeDetail.auditDate ? nodeDetail.auditDate : nodeDetail.createTime" />
|
|
73
35
|
<van-cell title="审批结果:" class="custom-cell" :border="false">
|
|
74
36
|
<template v-slot:default>
|
|
75
37
|
<van-tag :type="getAuditStatus(nodeDetail.auditResult).type">
|
|
@@ -88,9 +50,11 @@
|
|
|
88
50
|
<script>
|
|
89
51
|
import Viewer from "bpmn-js/lib/Viewer";
|
|
90
52
|
import {getHisAudit, getPrintData, printData} from "../api";
|
|
91
|
-
import
|
|
53
|
+
import ApprovalNodeCell from "./ApprovalNodeCell.vue";
|
|
54
|
+
import { getAuditStatus } from './js/global'; // 根据路径修改
|
|
92
55
|
|
|
93
56
|
export default {
|
|
57
|
+
components: {ApprovalNodeCell},
|
|
94
58
|
props: {
|
|
95
59
|
procId: {
|
|
96
60
|
type: String,
|
|
@@ -122,6 +86,7 @@ export default {
|
|
|
122
86
|
}
|
|
123
87
|
},
|
|
124
88
|
methods: {
|
|
89
|
+
getAuditStatus,
|
|
125
90
|
getPrintData() {
|
|
126
91
|
getPrintData(this.applyId, this.procId).then(resp => {
|
|
127
92
|
if (resp.data.code === '200') {
|
|
@@ -270,33 +235,7 @@ export default {
|
|
|
270
235
|
}
|
|
271
236
|
}
|
|
272
237
|
});
|
|
273
|
-
|
|
274
238
|
},
|
|
275
|
-
getAuditStatus(auditResult) {
|
|
276
|
-
const statusMap = {
|
|
277
|
-
'30': {text: '通过', icon: "tongguo", color: '#0d88ff', type: 'success'},
|
|
278
|
-
'40': {text: '驳回上一节点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
279
|
-
'50': {text: '驳回到原点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
280
|
-
'51': {text: '流程作废', icon: "liuchengzuofei", color: '#ed4014', type: 'danger'},
|
|
281
|
-
'60': {text: '撤回', icon: "chehui", color: '#ed4014', type: 'warning'},
|
|
282
|
-
'80': {text: '跳转指定节点', icon: "tiaozhuan", color: '#0d88ff', type: 'primary'},
|
|
283
|
-
'90': {text: '驳回指定节点', icon: "bohui", color: '#ed4014', type: 'primary'},
|
|
284
|
-
};
|
|
285
|
-
return {
|
|
286
|
-
text: (statusMap[auditResult] && statusMap[auditResult].text) || '待审批',
|
|
287
|
-
icon: (statusMap[auditResult] && statusMap[auditResult].icon) || 'daishenpi',
|
|
288
|
-
color: (statusMap[auditResult] && statusMap[auditResult].color) || '#ff9900',
|
|
289
|
-
type: (statusMap[auditResult] && statusMap[auditResult].type) || 'warning',
|
|
290
|
-
};
|
|
291
|
-
},
|
|
292
|
-
showAuditDetail(auditComment) {
|
|
293
|
-
Dialog.alert({
|
|
294
|
-
title: '审批意见',
|
|
295
|
-
message: auditComment,
|
|
296
|
-
}).then(() => {
|
|
297
|
-
// on close
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
239
|
}
|
|
301
240
|
}
|
|
302
241
|
</script>
|
|
@@ -338,6 +277,13 @@ export default {
|
|
|
338
277
|
|
|
339
278
|
}
|
|
340
279
|
|
|
280
|
+
::v-deep .van-dialog__header {
|
|
281
|
+
padding: 10px 0;
|
|
282
|
+
font-weight: 500;
|
|
283
|
+
line-height: 24px;
|
|
284
|
+
text-align: center;
|
|
285
|
+
}
|
|
286
|
+
|
|
341
287
|
.record-item {
|
|
342
288
|
position: relative;
|
|
343
289
|
margin-bottom: 20px;
|
|
@@ -353,38 +299,6 @@ export default {
|
|
|
353
299
|
background-color: #0d88ff; /* 线条颜色 */
|
|
354
300
|
}
|
|
355
301
|
|
|
356
|
-
.completed-icon {
|
|
357
|
-
width: 45px; /* 自定义宽度 */
|
|
358
|
-
height: 45px; /* 自定义高度 */
|
|
359
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
360
|
-
|
|
361
|
-
border-radius: 50%;
|
|
362
|
-
margin-right: 15px;
|
|
363
|
-
|
|
364
|
-
display: flex;
|
|
365
|
-
align-items: center;
|
|
366
|
-
justify-content: center;
|
|
367
|
-
|
|
368
|
-
background: linear-gradient(90deg, #0096FF, #1677FF);
|
|
369
|
-
border: 5px solid rgb(229, 244, 255); /* 半透明边框,颜色和背景色相同 */
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.pending-icon {
|
|
373
|
-
width: 45px; /* 自定义宽度 */
|
|
374
|
-
height: 45px; /* 自定义高度 */
|
|
375
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
376
|
-
|
|
377
|
-
border-radius: 50%;
|
|
378
|
-
margin-right: 15px;
|
|
379
|
-
|
|
380
|
-
display: flex;
|
|
381
|
-
align-items: center;
|
|
382
|
-
justify-content: center;
|
|
383
|
-
|
|
384
|
-
background: linear-gradient(90deg, #FF7E00, #FFA200);
|
|
385
|
-
border: 5px solid rgb(255, 245, 229); /* 半透明边框,颜色和背景色相同 */
|
|
386
|
-
}
|
|
387
|
-
|
|
388
302
|
|
|
389
303
|
.title-info {
|
|
390
304
|
font-weight: bold;
|
|
@@ -401,12 +315,8 @@ export default {
|
|
|
401
315
|
margin-right: 5px;
|
|
402
316
|
}
|
|
403
317
|
|
|
404
|
-
.van-cell__title {
|
|
405
|
-
flex: 1 0 auto;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
318
|
.van-cell__value {
|
|
409
|
-
flex: 0
|
|
319
|
+
flex: 0 auto;
|
|
410
320
|
}
|
|
411
321
|
|
|
412
322
|
</style>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "iconfont"; /* Project id 4700118 */
|
|
3
|
-
src: url('iconfont.woff2?t=
|
|
4
|
-
url('iconfont.woff?t=
|
|
5
|
-
url('iconfont.ttf?t=
|
|
3
|
+
src: url('iconfont.woff2?t=1733205617891') format('woff2'),
|
|
4
|
+
url('iconfont.woff?t=1733205617891') format('woff'),
|
|
5
|
+
url('iconfont.ttf?t=1733205617891') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.icon{
|
|
8
|
+
.icon {
|
|
9
9
|
font-family: "iconfont" !important;
|
|
10
10
|
font-size: 16px;
|
|
11
11
|
font-style: normal;
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.icon-faqi:before {
|
|
17
|
+
content: "\e67c";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-faqiliuchen:before {
|
|
21
|
+
content: "\e621";
|
|
22
|
+
}
|
|
23
|
+
|
|
16
24
|
.icon-daiban:before {
|
|
17
25
|
content: "\e629";
|
|
18
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window._iconfont_svg_string_4700118='<svg><symbol id="icon-daiban" viewBox="0 0 1024 1024"><path d="M120.759083 892.5321V127.647783c0-4.252196 3.447422-7.713952 7.699618-7.713952h643.527285c4.252196 0 7.713952 3.461756 7.713952 7.713952V436.239653h55.82018V127.647783c0-35.024045-28.495752-63.534132-63.534132-63.534132H128.458701c-35.024045 0-63.519798 28.510087-63.519798 63.534132v764.884317c0 35.024045 28.495752 63.534132 63.519798 63.534133h360.269409v-55.820181H128.458701c-4.252196 0-7.699618-3.461756-7.699618-7.713952z" fill="#3E3A39" ></path><path d="M287.660582 552.786472c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h111.449918c15.41357 0 27.91009-12.48321 27.91009-27.91009s-12.49652-27.91009-27.91009-27.91009h-111.449918zM636.53722 429.699074c0-15.42688-12.49652-27.91009-27.91009-27.91009H287.660582c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h320.966548c15.41357 0 27.91009-12.48321 27.91009-27.91009zM608.62713 256.295903H287.660582c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h320.966548c15.41357 0 27.91009-12.48321 27.91009-27.91009s-12.49652-27.91009-27.91009-27.91009zM820.392212 718.748044h-55.643048v-90.271873c0-15.42688-12.49652-27.91009-27.91009-27.91009s-27.91009 12.48321-27.91009 27.91009v118.181963c0 15.42688 12.49652 27.91009 27.91009 27.91009H820.393236c15.41357 0 27.91009-12.48321 27.91009-27.91009-0.001024-15.42688-12.497544-27.91009-27.911114-27.91009z" fill="#3E3A39" ></path><path d="M738.670805 515.125922c-121.258739 0-219.559921 98.300158-219.559921 219.559921 0 121.259763 98.300158 219.560945 219.559921 219.560945 121.259763 0 219.560945-98.300158 219.560945-219.560945 0-121.259763-98.301182-219.559921-219.560945-219.559921z m0 383.299662c-90.286208 0-163.739741-73.453533-163.739741-163.740765 0-90.286208 73.453533-163.739741 163.739741-163.739741 90.286208 0 163.739741 73.453533 163.739741 163.739741 0.001024 90.287232-73.452509 163.740765-163.739741 163.740765z" fill="#3E3A39" ></path></symbol><symbol id="icon-cloud-download" viewBox="0 0 1024 1024"><path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7c3.2 4.1 9.4 4.1 12.6 0l112-141.7c4.1-5.2 0.4-12.9-6.3-12.9z" ></path><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6 0.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4 14.9-19.2 32.6-35.9 52.4-49.9 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7-23.4 23.4-54.5 36.3-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" ></path></symbol><symbol id="icon-tiaozhuan" viewBox="0 0 1024 1024"><path d="M435.712 334.848H200.704c-22.528 0-40.448 14.848-40.448 33.28s18.432 33.28 40.448 33.28h235.008c22.528 0 40.448-14.848 40.448-33.28s-17.92-33.28-40.448-33.28z m-126.464 122.88H200.704c-22.528 0-40.448 14.848-40.448 33.28s18.432 33.28 40.448 33.28h108.544c22.528 0 40.448-14.848 40.448-33.28s-18.432-33.28-40.448-33.28z m251.904-9.728c2.048 0.512 4.096 0.512 6.656 0.512h201.728c15.36 0 28.16-10.24 28.16-23.04s-12.288-23.04-28.16-23.04h-201.728c-3.072 0-6.144 0.512-8.704 1.024l-1.024-16.896v-1.536c-0.512-6.656-6.656-11.264-14.848-11.264-4.608 0-8.192 2.048-10.752 4.608 0 0-0.512 0-0.512 0.512l-46.592 39.424c-5.12 4.608-4.608 11.776 0.512 15.872l50.176 36.352c0.512 0.512 1.536 1.024 2.048 1.536 2.56 1.536 5.632 2.56 9.216 2.56 7.68 0 13.824-5.632 13.824-12.288v-14.336z" fill="" ></path><path d="M894.464 257.536h-114.176V193.536c0-42.496-27.648-77.312-86.528-77.312H129.536c-58.88 0-86.528 34.304-86.528 77.312v470.016c0 42.496 27.648 77.312 86.528 77.312h114.176V819.2c0 42.496 27.648 77.312 86.528 77.312h564.224c58.88 0 86.528-34.304 86.528-77.312V334.336c0.512-42.496-27.136-76.8-86.528-76.8z m20.48 177.152h-1.024V563.2h1.024v231.424c0 3.584-0.512 6.656-1.536 10.24-2.048 13.824-13.824 24.064-28.16 24.064H335.872c-15.872 0-28.672-12.288-28.672-28.16v-56.832-3.584h386.56c58.88 0 86.528-34.304 86.528-77.312v-61.952c-2.56-14.848-15.36-26.112-31.744-26.112-15.36 0-28.16 10.752-31.232 25.088l-0.512 1.536c-0.512 1.536-0.512 3.072-0.512 5.12v38.4c0 15.36-12.8 28.16-28.672 28.16H138.752c-14.336 0-26.624-10.24-28.16-24.064-1.024-3.072-1.536-6.656-1.536-10.24V407.552h1.024V279.04h-1.024V218.112c0-4.096 0.512-8.192 2.048-11.776 2.56-10.752 11.776-18.432 22.528-20.48 3.072-1.024 6.144-1.536 9.728-1.536h536.576-6.656 15.36c15.872 0 28.672 13.312 28.672 29.184v44.032h-50.176c-19.456 0-34.816 15.36-34.816 33.792 0 18.432 14.848 33.28 33.28 33.792h215.04c3.072 0 6.656 0.512 9.728 1.536 11.264 2.048 19.968 10.24 22.528 20.48 1.536 3.584 2.048 22.528 2.048 26.624v60.928z" fill="" ></path><path d="M830.976 455.168s-0.512-0.512 0 0c-3.072-3.072-6.656-5.12-11.264-5.12-7.68 0-14.336 4.608-14.848 11.264v1.536l-1.024 16.896c-2.56-0.512-5.632-1.024-8.704-1.024h-201.728c-15.36 0-28.16 10.24-28.16 23.04s12.288 23.04 28.16 23.04h201.728c2.048 0 4.608 0 6.656-0.512l-0.512 12.8v1.536c-0.512 6.656 5.632 11.776 13.824 12.288 3.072 0 6.144-0.512 9.216-2.56 1.024-0.512 1.536-1.024 2.048-1.536l50.176-36.352c5.632-4.096 5.632-11.264 0.512-15.872l-46.08-39.424z" fill="" ></path></symbol><symbol id="icon-bohui" viewBox="0 0 1024 1024"><path d="M537.725375 547.15625a35.26171875 35.26171875 0 0 0-35.15625-35.15625h-225a35.15625 35.15625 0 0 0 0 70.3125h225a35.26171875 35.26171875 0 0 0 35.15625-35.15625zM277.569125 392.46875h105.46875a35.15625 35.15625 0 0 0 0-70.3125h-105.46875a35.15625 35.15625 0 0 0 0 70.3125zM277.569125 701.84375a35.15625 35.15625 0 0 0 0 70.3125h147.65625a35.15625 35.15625 0 0 0 0-70.3125z" fill="" ></path><path d="M510.00115625 891.6875c-0.41484375 0-0.79453125 0.10546875-1.209375 0.11953125V891.6875H242.81365625a70.5234375 70.5234375 0 0 1-70.3125-70.3125V202.625a70.5234375 70.5234375 0 0 1 70.3125-70.3125h272.53125v189.33046875c0 33.328125 36.26015625 70.3125 70.3125 70.3125H756.09490625v-0.03515625h34.79765625c0.11953125 0 0.23203125 0.03515625 0.35859375 0.03515625a35.15625 35.15625 0 0 0 35.15625-35.15625V308.09375h-0.06328125a34.98046875 34.98046875 0 0 0-10.1953125-24.2296875L625.79178125 72.2515625A34.99453125 34.99453125 0 0 0 601.40740625 62.04921875V62H172.50115625A70.5234375 70.5234375 0 0 0 102.18865625 132.3125v759.375a70.5234375 70.5234375 0 0 0 70.3125 70.3125h337.5a35.15625 35.15625 0 0 0 0-70.3125zM585.65740625 132.6359375l170.03671875 189.00703125H641.90740625c-46.94765625 0-56.25-27.028125-56.25-70.3125z" fill="" ></path><path d="M911.07771875 693.70859375L781.8081875 564.4390625a34.86796875 34.86796875 0 0 0-17.8875-9.534375 35.521875 35.521875 0 0 0-7.03125-0.71015625L756.8331875 554.1875c-0.6609375 0-1.2796875 0.16171875-1.93359375 0.196875a35.45859375 35.45859375 0 0 0-4.809375 0.48515625 34.453125 34.453125 0 0 0-4.5703125 1.34296875c-0.646875 0.225-1.31484375 0.3515625-1.94765625 0.61171875a34.8890625 34.8890625 0 0 0-5.23125 2.7421875c-0.26015625 0.1546875-0.5484375 0.26015625-0.8015625 0.42890625A35.0859375 35.0859375 0 0 0 721.6769375 589.34375v267.1875a35.15625 35.15625 0 0 1-70.3125 0V694.8125a35.15625 35.15625 0 0 0-70.3125 0v161.71875a105.46875 105.46875 0 0 0 210.9375 0V674.0703125l69.3703125 69.35625a35.15625 35.15625 0 1 0 49.7109375-49.7109375z" fill="" ></path></symbol><symbol id="icon-daishenpi" viewBox="0 0 1024 1024"><path d="M742.58 702.76h-19.12L700 653a98.09 98.09 0 0 0 29.85-70.32c0-53.84-43.69-97.65-97.38-97.65s-97.38 43.8-97.38 97.65A98.1 98.1 0 0 0 564.94 653l-23.46 49.74H522a72.1 72.1 0 0 0-72 72v2.92a72.1 72.1 0 0 0 72 72h220.58a72.1 72.1 0 0 0 72-72v-2.92a72.1 72.1 0 0 0-72-71.98z m-110.1-167.7a47.69 47.69 0 0 1 24.38 88.49 25.39 25.39 0 0 0-10 34.68c0.37 0.64 0.77 1.25 1.19 1.84l20.14 42.69h-71.42L616.92 660c0.4-0.58 0.79-1.18 1.15-1.8a25 25 0 0 0-9.14-34.15 47.71 47.71 0 0 1 23.55-89zM764.6 777.7a22 22 0 0 1-22 22H522a22 22 0 0 1-22-22v-2.92a22 22 0 0 1 22-22h220.58a22 22 0 0 1 22 22zM479.67 514a32 32 0 0 0-32-32h-128a32 32 0 0 0 0 64h128a32 32 0 0 0 32-32z" fill="#666666" ></path><path d="M863 65.16H161a64.19 64.19 0 0 0-64 64v767.68a64.19 64.19 0 0 0 64 64h702a64.19 64.19 0 0 0 64-64V129.16a64.19 64.19 0 0 0-64-64z m0 831.58l-0.11 0.11H161.12l-0.11-0.11V129.27l0.11-0.11h701.76l0.11 0.11z" fill="#666666" ></path><path d="M319 289.58h383.25a32 32 0 0 0 0-64H319a32 32 0 1 0 0 64zM319 417.41h383.25a32 32 0 0 0 0-64H319a32 32 0 0 0 0 64z" fill="#666666" ></path></symbol><symbol id="icon-chehui" viewBox="0 0 1024 1024"><path d="M479.8 672H223c-17.7 0-32 14.3-32 32s14.3 32 32 32h256.9c17.7 0 32-14.3 32-32-0.1-17.7-14.4-32-32.1-32zM606.8 480H223c-17.7 0-32 14.3-32 32s14.3 32 32 32h383.9c17.7 0 32-14.3 32-32-0.1-17.7-14.4-32-32.1-32zM223 352h191.9c17.7 0 32-14.3 32-32s-14.3-32-32-32H223c-17.7 0-32 14.3-32 32s14.3 32 32 32zM832 671H686.8l23.1-23.1c12.5-12.5 12.5-32.8 0-45.3-6.2-6.2-14.4-9.4-22.6-9.4s-16.4 3.1-22.6 9.4L587 680.3c-0.4 0.4-0.8 0.8-1.1 1.2-5.5 6.1-8.2 13.8-8.2 21.4 0 7.7 2.7 15.4 8.2 21.4 0.4 0.4 0.7 0.8 1.1 1.2l77.7 77.7c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L686.8 735H832c35.6 0 64.5 29.3 64 65-0.5 35.1-29.8 63-65 63h-30c-17.7 0-32 14.3-32 32s14.3 32 32 32h29.6c70.6 0 129-56.6 129.4-127.3 0.4-70.9-57.2-128.7-128-128.7z" ></path><path d="M822.4 247.6L649.2 73.4c-6-6-14.2-9.4-22.7-9.4H128c-35.3 0-64 28.7-64 64v768c0 35.3 28.6 64 64 64h543.9c17.7 0 32-14.3 32-32s-14.3-32-32-32H160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h383.9v160c0 35.3 28.6 64 64 64h159.9v192c0 17.7 14.3 32 32 32s32-14.3 32-32V270.2c0-8.5-3.4-16.6-9.4-22.6zM639.8 288c-17.7 0-32-14.3-32-32V128l159.9 160H639.8z" ></path></symbol><symbol id="icon-tongguo" viewBox="0 0 1024 1024"><path d="M303.313 839.094h-119.25c-41.738 0-59.625-26.888-59.625-59.625V183.5c0-52.875 10.237-59.625 59.624-59.625h476.832c46.125 0 60.469 15.469 60.469 59.625v80.044c0 41.625 59.625 46.969 59.625 0v-79.875c0-87.863-28.407-119.194-120.207-119.194H183.894c-58.163 0-118.913 7.144-118.913 116.775V799.1a113.485 113.485 0 0 0 4.95 34.763 93.825 93.825 0 0 0 91.856 65.08c72.957 0.282 102.544 0 141.638 0 39.094 0 36.337-59.793-0.169-59.793z" ></path><path d="M244.025 242.844c-42.806 0-44.719 60.412 0 60.412h357.637c40.95 0 47.475-60.356 0-60.412H244.026z m96.019 178.706h-96.019c-42.806 0-44.719 60.412 0 60.412h96.019c40.95 0 47.475-60.356 0-60.412zM660.894 363.219A298.012 298.012 0 1 0 958.962 661.23c0.057-166.837-137.08-298.012-298.068-298.012z m0 536.456a238.444 238.444 0 1 1 238.443-238.444A239.231 239.231 0 0 1 660.894 899.9v-0.225z" ></path><path d="M765.237 557l-146.08 146.138-62.607-62.607c-5.963-11.925-29.813-11.925-41.737 0a28.8 28.8 0 0 0 0 41.738l83.53 83.475a28.8 28.8 0 0 0 41.738 0l166.894-166.95a29.531 29.531 0 0 0-41.681-41.738h-0.056z" ></path></symbol><symbol id="icon-liuchengzuofei" viewBox="0 0 1024 1024"><path d="M427.625 877.625H174.5c-33.75 0-56.25-22.5-56.25-56.25v-618.75c0-33.75 22.5-56.25 56.25-56.25h506.25c33.75 0 56.25 22.5 56.25 56.25V343.25c0 16.875 11.25 28.125 28.125 28.125s28.125-11.25 28.125-28.125V202.625c0-61.875-50.625-112.5-112.5-112.5H174.5c-61.875 0-112.5 50.625-112.5 112.5v618.75c0 61.875 50.625 112.5 112.5 112.5h253.125c16.875 0 28.125-11.25 28.125-28.125s-5.625-28.125-28.125-28.125z" ></path><path d="M630.125 343.25c0-16.875-11.25-28.125-28.125-28.125h-337.5c-22.5 0-33.75 11.25-33.75 28.125s11.25 28.125 28.125 28.125h337.5c22.5 0 33.75-11.25 33.75-28.125zM708.875 427.625C568.25 427.625 455.75 540.125 455.75 680.75s112.5 253.125 253.125 253.125 253.125-112.5 253.125-253.125-112.5-253.125-253.125-253.125z m0 450C602 877.625 512 787.625 512 680.75s90-196.875 196.875-196.875S905.75 573.875 905.75 680.75s-90 196.875-196.875 196.875z" ></path><path d="M810.125 585.125c-11.25-11.25-28.125-11.25-39.375 0l-61.875 61.875-61.875-61.875c-11.25-11.25-28.125-11.25-39.375 0-11.25 11.25-11.25 28.125 0 39.375l61.875 61.875-61.875 61.875c-11.25 11.25-11.25 28.125 0 39.375 11.25 11.25 28.125 11.25 39.375 0l61.875-61.875 61.875 61.875c11.25 11.25 28.125 11.25 39.375 0 11.25-11.25 11.25-28.125 0-39.375l-61.875-61.875 61.875-61.875c11.25-11.25 11.25-28.125 0-39.375zM405.125 540.125c0-16.875-11.25-28.125-33.75-28.125h-112.5c-16.875 0-28.125 11.25-28.125 28.125s11.25 28.125 28.125 28.125h112.5c22.5 5.625 33.75-11.25 33.75-28.125zM258.875 708.875c-16.875 0-28.125 11.25-28.125 28.125s11.25 28.125 28.125 28.125h56.25c16.875 0 28.125-11.25 28.125-28.125s-11.25-28.125-28.125-28.125h-56.25z" ></path></symbol><symbol id="icon-tqm-search" viewBox="0 0 1056 1024"><path d="M468.48 128c185.6 0 336 150.432 336 336 0 81.408-28.928 156.064-77.12 214.208l0.736 0.512 3.04 2.656 160 160a32 32 0 0 1-42.24 47.904l-3.04-2.656-160-160a32.256 32.256 0 0 1-3.2-3.744A334.496 334.496 0 0 1 468.48 800c-185.536 0-336-150.432-336-336s150.464-336 336-336z m0 64a272 272 0 1 0 0 544 272 272 0 0 0 0-544z" ></path></symbol></svg>',(a=>{var c=(t=(t=document.getElementsByTagName("script"))[t.length-1]).getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var h,e,l,i,o,s=function(c,t){t.parentNode.insertBefore(c,t)};if(c&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}h=function(){var c,t=document.createElement("div");t.innerHTML=a._iconfont_svg_string_4700118,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",t=t,(c=document.body).firstChild?s(t,c.firstChild):c.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(h,0):(e=function(){document.removeEventListener("DOMContentLoaded",e,!1),h()},document.addEventListener("DOMContentLoaded",e,!1)):document.attachEvent&&(l=h,i=a.document,o=!1,d(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,n())})}function n(){o||(o=!0,l())}function d(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}n()}})(window);
|
|
1
|
+
window._iconfont_svg_string_4700118='<svg><symbol id="icon-faqi" viewBox="0 0 1024 1024"><path d="M795.83333362 586.99999971a37.50000029 37.50000029 0 0 1 37.49999942 37.50000029v112.5h112.5a37.50000029 37.50000029 0 1 1 0 74.99999971h-112.53749942l0.03749942 112.5a37.50000029 37.50000029 0 1 1-74.99999971 0l-0.03750029-112.5H645.83333333a37.50000029 37.50000029 0 1 1 0-74.99999971h112.5v-112.5a37.50000029 37.50000029 0 0 1 37.50000029-37.50000029z" fill="#707070" ></path><path d="M683.33333362 62a37.50000029 37.50000029 0 0 1 22.79999971 7.72499971l3.75000029 3.2625 181.98749971 181.98750058a56.25 56.25 0 0 1 16.2 34.23749942l0.26250029 5.55000029V512a37.50000029 37.50000029 0 0 1-74.73750029 4.3875L833.33333304 512v-150.00000029h-168.75a56.25 56.25 0 0 1-55.98749971-50.85l-0.26250029-5.4v-168.75h-374.99999942v750.00000058h338.92499971a37.50000029 37.50000029 0 0 1 37.27500029 33.11249942l0.225 4.3875a37.50000029 37.50000029 0 0 1-33.11250029 37.2375l-4.3875 0.26250029h-357.67500029a56.25 56.25 0 0 1-55.98749971-50.85l-0.26250029-5.4v-787.5a56.25 56.25 0 0 1 50.85-55.98749971l5.4-0.26250029h468.75000058z m134.51249971 225l-134.51249971-134.4375V287h134.51249971z" fill="#707070" ></path><path d="M345.83333362 361.99999971m37.49999942 0l112.5 0q37.50000029 0 37.50000029 37.50000029l0 0q0 37.50000029-37.50000029 37.50000029l-112.5 0q-37.50000029 0-37.49999942-37.50000029l0 0q0-37.50000029 37.49999942-37.50000029Z" fill="#707070" ></path><path d="M345.83333362 512m37.49999942 0l262.50000029 0q37.50000029 0 37.50000029 37.50000029l0 0q0 37.50000029-37.50000029 37.49999942l-262.50000029 0q-37.50000029 0-37.49999942-37.49999942l0 0q0-37.50000029 37.49999942-37.50000029Z" fill="#707070" ></path><path d="M345.83333362 662.00000029m37.49999942 0l112.5 0q37.50000029 0 37.50000029 37.49999942l0 0q0 37.50000029-37.50000029 37.50000029l-112.5 0q-37.50000029 0-37.49999942-37.50000029l0 0q0-37.50000029 37.49999942-37.49999942Z" fill="#707070" ></path></symbol><symbol id="icon-faqiliuchen" viewBox="0 0 1024 1024"><path d="M226.98666666 864.14222221V118.89777777h600.74666667v390.25777778h72.81777778V82.48888888c0-20.10794667-16.30094222-36.40888889-36.4088889-36.40888889H190.57777777c-20.10794667 0-36.40888889 16.30094222-36.40888889 36.40888889v818.06222223c0 20.10794667 16.30094222 36.40888889 36.40888889 36.40888888h318.57777778v-72.81777778H226.98666666z" fill="#707070" ></path><path d="M318.93333333 273.06666666h420.26666666v68.26666667H318.93333333zM318.93333333 426.66666666h192v68.26666667H318.93333333z" fill="#707070" ></path><path d="M759.46666666 981.33333333c122.53333333 0 221.86666667-99.33333333 221.86666667-221.86666667s-99.33333333-221.86666667-221.86666667-221.86666667-221.86666667 99.33333333-221.86666667 221.86666667 99.33333333 221.86666667 221.86666667 221.86666667z m0-68.26666667c-84.83093333 0-153.6-68.76906667-153.6-153.6s68.76906667-153.6 153.6-153.6 153.6 68.76906667 153.6 153.6-68.76906667 153.6-153.6 153.6z" fill="#707070" ></path><path d="M657.06666666 725.33333333h204.8v68.26666666H657.06666666z" fill="#707070" ></path><path d="M793.59999999 657.06666666v204.8h-68.26666666V657.06666666z" fill="#707070" ></path></symbol><symbol id="icon-daiban" viewBox="0 0 1024 1024"><path d="M184.75908299 892.5321V127.647783c0-4.252196 3.447422-7.713952 7.699618-7.713952h643.527285c4.252196 0 7.713952 3.461756 7.713952 7.713952V436.239653h55.82018V127.647783c0-35.024045-28.495752-63.534132-63.534132-63.534132H192.45870099c-35.024045 0-63.519798 28.510087-63.519798 63.534132v764.884317c0 35.024045 28.495752 63.534132 63.519798 63.534133h360.269409v-55.820181H192.45870099c-4.252196 0-7.699618-3.461756-7.699618-7.713952z" fill="#3E3A39" ></path><path d="M351.66058199 552.786472c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h111.449918c15.41357 0 27.91009-12.48321 27.91009-27.91009s-12.49652-27.91009-27.91009-27.91009h-111.449918zM700.53721999 429.699074c0-15.42688-12.49652-27.91009-27.91009-27.91009H351.66058199c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h320.966548c15.41357 0 27.91009-12.48321 27.91009-27.91009zM672.62712999 256.295903H351.66058199c-15.41357 0-27.91009 12.48321-27.91009 27.91009s12.49652 27.91009 27.91009 27.91009h320.966548c15.41357 0 27.91009-12.48321 27.91009-27.91009s-12.49652-27.91009-27.91009-27.91009zM884.39221199 718.748044h-55.643048v-90.271873c0-15.42688-12.49652-27.91009-27.91009-27.91009s-27.91009 12.48321-27.91009 27.91009v118.181963c0 15.42688 12.49652 27.91009 27.91009 27.91009H884.39323599c15.41357 0 27.91009-12.48321 27.91009-27.91009-0.001024-15.42688-12.497544-27.91009-27.911114-27.91009z" fill="#3E3A39" ></path><path d="M802.67080499 515.125922c-121.258739 0-219.559921 98.300158-219.559921 219.559921 0 121.259763 98.300158 219.560945 219.559921 219.560945 121.259763 0 219.560945-98.300158 219.560945-219.560945 0-121.259763-98.301182-219.559921-219.560945-219.559921z m0 383.299662c-90.286208 0-163.739741-73.453533-163.739741-163.740765 0-90.286208 73.453533-163.739741 163.739741-163.739741 90.286208 0 163.739741 73.453533 163.739741 163.739741 0.001024 90.287232-73.452509 163.740765-163.739741 163.740765z" fill="#3E3A39" ></path></symbol><symbol id="icon-cloud-download" viewBox="0 0 1024 1024"><path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7c3.2 4.1 9.4 4.1 12.6 0l112-141.7c4.1-5.2 0.4-12.9-6.3-12.9z" ></path><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6 0.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4 14.9-19.2 32.6-35.9 52.4-49.9 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7-23.4 23.4-54.5 36.3-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" ></path></symbol><symbol id="icon-tiaozhuan" viewBox="0 0 1024 1024"><path d="M435.712 334.848H200.704c-22.528 0-40.448 14.848-40.448 33.28s18.432 33.28 40.448 33.28h235.008c22.528 0 40.448-14.848 40.448-33.28s-17.92-33.28-40.448-33.28z m-126.464 122.88H200.704c-22.528 0-40.448 14.848-40.448 33.28s18.432 33.28 40.448 33.28h108.544c22.528 0 40.448-14.848 40.448-33.28s-18.432-33.28-40.448-33.28z m251.904-9.728c2.048 0.512 4.096 0.512 6.656 0.512h201.728c15.36 0 28.16-10.24 28.16-23.04s-12.288-23.04-28.16-23.04h-201.728c-3.072 0-6.144 0.512-8.704 1.024l-1.024-16.896v-1.536c-0.512-6.656-6.656-11.264-14.848-11.264-4.608 0-8.192 2.048-10.752 4.608 0 0-0.512 0-0.512 0.512l-46.592 39.424c-5.12 4.608-4.608 11.776 0.512 15.872l50.176 36.352c0.512 0.512 1.536 1.024 2.048 1.536 2.56 1.536 5.632 2.56 9.216 2.56 7.68 0 13.824-5.632 13.824-12.288v-14.336z" fill="" ></path><path d="M894.464 257.536h-114.176V193.536c0-42.496-27.648-77.312-86.528-77.312H129.536c-58.88 0-86.528 34.304-86.528 77.312v470.016c0 42.496 27.648 77.312 86.528 77.312h114.176V819.2c0 42.496 27.648 77.312 86.528 77.312h564.224c58.88 0 86.528-34.304 86.528-77.312V334.336c0.512-42.496-27.136-76.8-86.528-76.8z m20.48 177.152h-1.024V563.2h1.024v231.424c0 3.584-0.512 6.656-1.536 10.24-2.048 13.824-13.824 24.064-28.16 24.064H335.872c-15.872 0-28.672-12.288-28.672-28.16v-56.832-3.584h386.56c58.88 0 86.528-34.304 86.528-77.312v-61.952c-2.56-14.848-15.36-26.112-31.744-26.112-15.36 0-28.16 10.752-31.232 25.088l-0.512 1.536c-0.512 1.536-0.512 3.072-0.512 5.12v38.4c0 15.36-12.8 28.16-28.672 28.16H138.752c-14.336 0-26.624-10.24-28.16-24.064-1.024-3.072-1.536-6.656-1.536-10.24V407.552h1.024V279.04h-1.024V218.112c0-4.096 0.512-8.192 2.048-11.776 2.56-10.752 11.776-18.432 22.528-20.48 3.072-1.024 6.144-1.536 9.728-1.536h536.576-6.656 15.36c15.872 0 28.672 13.312 28.672 29.184v44.032h-50.176c-19.456 0-34.816 15.36-34.816 33.792 0 18.432 14.848 33.28 33.28 33.792h215.04c3.072 0 6.656 0.512 9.728 1.536 11.264 2.048 19.968 10.24 22.528 20.48 1.536 3.584 2.048 22.528 2.048 26.624v60.928z" fill="" ></path><path d="M830.976 455.168s-0.512-0.512 0 0c-3.072-3.072-6.656-5.12-11.264-5.12-7.68 0-14.336 4.608-14.848 11.264v1.536l-1.024 16.896c-2.56-0.512-5.632-1.024-8.704-1.024h-201.728c-15.36 0-28.16 10.24-28.16 23.04s12.288 23.04 28.16 23.04h201.728c2.048 0 4.608 0 6.656-0.512l-0.512 12.8v1.536c-0.512 6.656 5.632 11.776 13.824 12.288 3.072 0 6.144-0.512 9.216-2.56 1.024-0.512 1.536-1.024 2.048-1.536l50.176-36.352c5.632-4.096 5.632-11.264 0.512-15.872l-46.08-39.424z" fill="" ></path></symbol><symbol id="icon-bohui" viewBox="0 0 1024 1024"><path d="M601.72537499 547.15625a35.26171875 35.26171875 0 0 0-35.15625-35.15625h-225a35.15625 35.15625 0 0 0 0 70.3125h225a35.26171875 35.26171875 0 0 0 35.15625-35.15625zM341.56912499 392.46875h105.46875a35.15625 35.15625 0 0 0 0-70.3125h-105.46875a35.15625 35.15625 0 0 0 0 70.3125zM341.56912499 701.84375a35.15625 35.15625 0 0 0 0 70.3125h147.65625a35.15625 35.15625 0 0 0 0-70.3125z" fill="" ></path><path d="M574.00115624 891.6875c-0.41484375 0-0.79453125 0.10546875-1.209375 0.11953125V891.6875H306.81365624a70.5234375 70.5234375 0 0 1-70.3125-70.3125V202.625a70.5234375 70.5234375 0 0 1 70.3125-70.3125h272.53125v189.33046875c0 33.328125 36.26015625 70.3125 70.3125 70.3125H820.09490624v-0.03515625h34.79765625c0.11953125 0 0.23203125 0.03515625 0.35859375 0.03515625a35.15625 35.15625 0 0 0 35.15625-35.15625V308.09375h-0.06328125a34.98046875 34.98046875 0 0 0-10.1953125-24.2296875L689.79178124 72.2515625A34.99453125 34.99453125 0 0 0 665.40740624 62.04921875V62H236.50115624A70.5234375 70.5234375 0 0 0 166.18865624 132.3125v759.375a70.5234375 70.5234375 0 0 0 70.3125 70.3125h337.5a35.15625 35.15625 0 0 0 0-70.3125zM649.65740624 132.6359375l170.03671875 189.00703125H705.90740624c-46.94765625 0-56.25-27.028125-56.25-70.3125z" fill="" ></path><path d="M975.07771874 693.70859375L845.80818749 564.4390625a34.86796875 34.86796875 0 0 0-17.8875-9.534375 35.521875 35.521875 0 0 0-7.03125-0.71015625L820.83318749 554.1875c-0.6609375 0-1.2796875 0.16171875-1.93359375 0.196875a35.45859375 35.45859375 0 0 0-4.809375 0.48515625 34.453125 34.453125 0 0 0-4.5703125 1.34296875c-0.646875 0.225-1.31484375 0.3515625-1.94765625 0.61171875a34.8890625 34.8890625 0 0 0-5.23125 2.7421875c-0.26015625 0.1546875-0.5484375 0.26015625-0.8015625 0.42890625A35.0859375 35.0859375 0 0 0 785.67693749 589.34375v267.1875a35.15625 35.15625 0 0 1-70.3125 0V694.8125a35.15625 35.15625 0 0 0-70.3125 0v161.71875a105.46875 105.46875 0 0 0 210.9375 0V674.0703125l69.3703125 69.35625a35.15625 35.15625 0 1 0 49.7109375-49.7109375z" fill="" ></path></symbol><symbol id="icon-daishenpi" viewBox="0 0 1024 1024"><path d="M742.58 702.76h-19.12L700 653a98.09 98.09 0 0 0 29.85-70.32c0-53.84-43.69-97.65-97.38-97.65s-97.38 43.8-97.38 97.65A98.1 98.1 0 0 0 564.94 653l-23.46 49.74H522a72.1 72.1 0 0 0-72 72v2.92a72.1 72.1 0 0 0 72 72h220.58a72.1 72.1 0 0 0 72-72v-2.92a72.1 72.1 0 0 0-72-71.98z m-110.1-167.7a47.69 47.69 0 0 1 24.38 88.49 25.39 25.39 0 0 0-10 34.68c0.37 0.64 0.77 1.25 1.19 1.84l20.14 42.69h-71.42L616.92 660c0.4-0.58 0.79-1.18 1.15-1.8a25 25 0 0 0-9.14-34.15 47.71 47.71 0 0 1 23.55-89zM764.6 777.7a22 22 0 0 1-22 22H522a22 22 0 0 1-22-22v-2.92a22 22 0 0 1 22-22h220.58a22 22 0 0 1 22 22zM479.67 514a32 32 0 0 0-32-32h-128a32 32 0 0 0 0 64h128a32 32 0 0 0 32-32z" fill="#666666" ></path><path d="M863 65.16H161a64.19 64.19 0 0 0-64 64v767.68a64.19 64.19 0 0 0 64 64h702a64.19 64.19 0 0 0 64-64V129.16a64.19 64.19 0 0 0-64-64z m0 831.58l-0.11 0.11H161.12l-0.11-0.11V129.27l0.11-0.11h701.76l0.11 0.11z" fill="#666666" ></path><path d="M319 289.58h383.25a32 32 0 0 0 0-64H319a32 32 0 1 0 0 64zM319 417.41h383.25a32 32 0 0 0 0-64H319a32 32 0 0 0 0 64z" fill="#666666" ></path></symbol><symbol id="icon-chehui" viewBox="0 0 1024 1024"><path d="M543.79999999 672H286.99999999c-17.7 0-32 14.3-32 32s14.3 32 32 32h256.9c17.7 0 32-14.3 32-32-0.1-17.7-14.4-32-32.1-32zM670.79999999 480H286.99999999c-17.7 0-32 14.3-32 32s14.3 32 32 32h383.9c17.7 0 32-14.3 32-32-0.1-17.7-14.4-32-32.1-32zM286.99999999 352h191.9c17.7 0 32-14.3 32-32s-14.3-32-32-32H286.99999999c-17.7 0-32 14.3-32 32s14.3 32 32 32zM895.99999999 671H750.79999999l23.1-23.1c12.5-12.5 12.5-32.8 0-45.3-6.2-6.2-14.4-9.4-22.6-9.4s-16.4 3.1-22.6 9.4L650.99999999 680.3c-0.4 0.4-0.8 0.8-1.1 1.2-5.5 6.1-8.2 13.8-8.2 21.4 0 7.7 2.7 15.4 8.2 21.4 0.4 0.4 0.7 0.8 1.1 1.2l77.7 77.7c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L750.79999999 735H895.99999999c35.6 0 64.5 29.3 64 65-0.5 35.1-29.8 63-65 63h-30c-17.7 0-32 14.3-32 32s14.3 32 32 32h29.6c70.6 0 129-56.6 129.4-127.3 0.4-70.9-57.2-128.7-128-128.7z" ></path><path d="M886.39999999 247.6L713.19999999 73.4c-6-6-14.2-9.4-22.7-9.4H191.99999999c-35.3 0-64 28.7-64 64v768c0 35.3 28.6 64 64 64h543.9c17.7 0 32-14.3 32-32s-14.3-32-32-32H223.99999999c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h383.9v160c0 35.3 28.6 64 64 64h159.9v192c0 17.7 14.3 32 32 32s32-14.3 32-32V270.2c0-8.5-3.4-16.6-9.4-22.6zM703.79999999 288c-17.7 0-32-14.3-32-32V128l159.9 160H703.79999999z" ></path></symbol><symbol id="icon-tongguo" viewBox="0 0 1024 1024"><path d="M367.31299999 839.094h-119.25c-41.738 0-59.625-26.888-59.625-59.625V183.5c0-52.875 10.237-59.625 59.624-59.625h476.832c46.125 0 60.469 15.469 60.469 59.625v80.044c0 41.625 59.625 46.969 59.625 0v-79.875c0-87.863-28.407-119.194-120.207-119.194H247.89399999c-58.163 0-118.913 7.144-118.913 116.775V799.1a113.485 113.485 0 0 0 4.95 34.763 93.825 93.825 0 0 0 91.856 65.08c72.957 0.282 102.544 0 141.638 0 39.094 0 36.337-59.793-0.169-59.793z" ></path><path d="M308.02499999 242.844c-42.806 0-44.719 60.412 0 60.412h357.637c40.95 0 47.475-60.356 0-60.412H308.02599999z m96.019 178.706h-96.019c-42.806 0-44.719 60.412 0 60.412h96.019c40.95 0 47.475-60.356 0-60.412zM724.89399999 363.219A298.012 298.012 0 1 0 1022.96199999 661.23c0.057-166.837-137.08-298.012-298.068-298.012z m0 536.456a238.444 238.444 0 1 1 238.443-238.444A239.231 239.231 0 0 1 724.89399999 899.9v-0.225z" ></path><path d="M829.23699999 557l-146.08 146.138-62.607-62.607c-5.963-11.925-29.813-11.925-41.737 0a28.8 28.8 0 0 0 0 41.738l83.53 83.475a28.8 28.8 0 0 0 41.738 0l166.894-166.95a29.531 29.531 0 0 0-41.681-41.738h-0.056z" ></path></symbol><symbol id="icon-liuchengzuofei" viewBox="0 0 1024 1024"><path d="M491.62499999 877.625H238.49999999c-33.75 0-56.25-22.5-56.25-56.25v-618.75c0-33.75 22.5-56.25 56.25-56.25h506.25c33.75 0 56.25 22.5 56.25 56.25V343.25c0 16.875 11.25 28.125 28.125 28.125s28.125-11.25 28.125-28.125V202.625c0-61.875-50.625-112.5-112.5-112.5H238.49999999c-61.875 0-112.5 50.625-112.5 112.5v618.75c0 61.875 50.625 112.5 112.5 112.5h253.125c16.875 0 28.125-11.25 28.125-28.125s-5.625-28.125-28.125-28.125z" ></path><path d="M694.12499999 343.25c0-16.875-11.25-28.125-28.125-28.125h-337.5c-22.5 0-33.75 11.25-33.75 28.125s11.25 28.125 28.125 28.125h337.5c22.5 0 33.75-11.25 33.75-28.125zM772.87499999 427.625C632.24999999 427.625 519.74999999 540.125 519.74999999 680.75s112.5 253.125 253.125 253.125 253.125-112.5 253.125-253.125-112.5-253.125-253.125-253.125z m0 450C665.99999999 877.625 575.99999999 787.625 575.99999999 680.75s90-196.875 196.875-196.875S969.74999999 573.875 969.74999999 680.75s-90 196.875-196.875 196.875z" ></path><path d="M874.12499999 585.125c-11.25-11.25-28.125-11.25-39.375 0l-61.875 61.875-61.875-61.875c-11.25-11.25-28.125-11.25-39.375 0-11.25 11.25-11.25 28.125 0 39.375l61.875 61.875-61.875 61.875c-11.25 11.25-11.25 28.125 0 39.375 11.25 11.25 28.125 11.25 39.375 0l61.875-61.875 61.875 61.875c11.25 11.25 28.125 11.25 39.375 0 11.25-11.25 11.25-28.125 0-39.375l-61.875-61.875 61.875-61.875c11.25-11.25 11.25-28.125 0-39.375zM469.12499999 540.125c0-16.875-11.25-28.125-33.75-28.125h-112.5c-16.875 0-28.125 11.25-28.125 28.125s11.25 28.125 28.125 28.125h112.5c22.5 5.625 33.75-11.25 33.75-28.125zM322.87499999 708.875c-16.875 0-28.125 11.25-28.125 28.125s11.25 28.125 28.125 28.125h56.25c16.875 0 28.125-11.25 28.125-28.125s-11.25-28.125-28.125-28.125h-56.25z" ></path></symbol><symbol id="icon-tqm-search" viewBox="0 0 1056 1024"><path d="M468.48 128c185.6 0 336 150.432 336 336 0 81.408-28.928 156.064-77.12 214.208l0.736 0.512 3.04 2.656 160 160a32 32 0 0 1-42.24 47.904l-3.04-2.656-160-160a32.256 32.256 0 0 1-3.2-3.744A334.496 334.496 0 0 1 468.48 800c-185.536 0-336-150.432-336-336s150.464-336 336-336z m0 64a272 272 0 1 0 0 544 272 272 0 0 0 0-544z" ></path></symbol></svg>',(h=>{var c=(a=(a=document.getElementsByTagName("script"))[a.length-1]).getAttribute("data-injectcss"),a=a.getAttribute("data-disable-injectsvg");if(!a){var t,l,i,e,o,s=function(c,a){a.parentNode.insertBefore(c,a)};if(c&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}t=function(){var c,a=document.createElement("div");a.innerHTML=h._iconfont_svg_string_4700118,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(c=document.body).firstChild?s(a,c.firstChild):c.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),t()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(i=t,e=h.document,o=!1,d(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,n())})}function n(){o||(o=!0,i())}function d(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}n()}})(window);
|
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
"css_prefix_text": "icon-",
|
|
6
6
|
"description": "",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "22422650",
|
|
10
|
+
"name": "发起",
|
|
11
|
+
"font_class": "faqi",
|
|
12
|
+
"unicode": "e67c",
|
|
13
|
+
"unicode_decimal": 59004
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "17174304",
|
|
17
|
+
"name": "流程发起",
|
|
18
|
+
"font_class": "faqiliuchen",
|
|
19
|
+
"unicode": "e621",
|
|
20
|
+
"unicode_decimal": 58913
|
|
21
|
+
},
|
|
8
22
|
{
|
|
9
23
|
"icon_id": "1263305",
|
|
10
24
|
"name": "待办",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/js/global.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function getAuditStatus(auditResult) {
|
|
2
|
+
const statusMap = {
|
|
3
|
+
'00': { text: '流程发起', icon: "faqi", color: '#0d88ff', type: 'success' },
|
|
4
|
+
'30': { text: '通过', icon: "tongguo", color: '#0d88ff', type: 'success' },
|
|
5
|
+
'40': { text: '驳回上一节点', icon: "bohui", color: '#ed4014', type: 'danger' },
|
|
6
|
+
'50': { text: '驳回到原点', icon: "bohui", color: '#ed4014', type: 'danger' },
|
|
7
|
+
'51': { text: '流程作废', icon: "liuchengzuofei", color: '#ed4014', type: 'danger' },
|
|
8
|
+
'60': { text: '撤回', icon: "chehui", color: '#ed4014', type: 'warning' },
|
|
9
|
+
'80': { text: '跳转指定节点', icon: "tiaozhuan", color: '#0d88ff', type: 'primary' },
|
|
10
|
+
'90': { text: '驳回指定节点', icon: "bohui", color: '#ed4014', type: 'primary' },
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
return {
|
|
14
|
+
text: (statusMap[auditResult] && statusMap[auditResult].text) || '待审批',
|
|
15
|
+
icon: (statusMap[auditResult] && statusMap[auditResult].icon) || 'daishenpi',
|
|
16
|
+
color: (statusMap[auditResult] && statusMap[auditResult].color) || '#ff9900',
|
|
17
|
+
type: (statusMap[auditResult] && statusMap[auditResult].type) || 'warning',
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import { broadCastMixins } from './util';
|
|
3
|
+
export default {
|
|
4
|
+
name: 'Node', // 这个很关键,递归组件必须有name
|
|
5
|
+
render() {
|
|
6
|
+
let showCheckBox = this.showCheckBox;
|
|
7
|
+
let data = this.data;
|
|
8
|
+
let loadData = this.loadData
|
|
9
|
+
return (
|
|
10
|
+
<div>
|
|
11
|
+
<ul class={'tree-ul'}>
|
|
12
|
+
<li class={'tree-li'} onClick={(e) => this.handleSelect(e)}>
|
|
13
|
+
{showCheckBox && (
|
|
14
|
+
<van-checkbox
|
|
15
|
+
class={'checkbox'}
|
|
16
|
+
icon-size={'18px'}
|
|
17
|
+
value={data.checked}
|
|
18
|
+
onClick={(e) => this.handleCheck(e, data)}
|
|
19
|
+
/>
|
|
20
|
+
)}
|
|
21
|
+
|
|
22
|
+
{/*如果没有插槽则默认使用显示内容*/}
|
|
23
|
+
|
|
24
|
+
{this.$scopedSlots.default ? (
|
|
25
|
+
this.$scopedSlots.default({
|
|
26
|
+
data: data
|
|
27
|
+
})
|
|
28
|
+
) : (
|
|
29
|
+
<span>{data.title}</span>
|
|
30
|
+
)}
|
|
31
|
+
<span class={'tree-expand'}>
|
|
32
|
+
{this.showLoading ? (
|
|
33
|
+
<van-loading class={'tree-loading'} color={'#1989fa'}/>
|
|
34
|
+
) : (
|
|
35
|
+
''
|
|
36
|
+
)}
|
|
37
|
+
{this.showArrow ? (
|
|
38
|
+
<van-icon
|
|
39
|
+
name={this.arrowType}
|
|
40
|
+
onClick={(e) => this.handleExpand(e)}
|
|
41
|
+
/>
|
|
42
|
+
) : (
|
|
43
|
+
''
|
|
44
|
+
)}
|
|
45
|
+
</span>
|
|
46
|
+
{data.expand &&
|
|
47
|
+
data.children.map((item, index) => {
|
|
48
|
+
return (
|
|
49
|
+
<Node key={index} data={item} showCheckBox={showCheckBox} loadData={loadData}>
|
|
50
|
+
{this.$scopedSlots.default}
|
|
51
|
+
</Node>
|
|
52
|
+
);
|
|
53
|
+
})}
|
|
54
|
+
</li>
|
|
55
|
+
</ul>
|
|
56
|
+
</div>
|
|
57
|
+
);
|
|
58
|
+
},
|
|
59
|
+
props: {
|
|
60
|
+
data: {
|
|
61
|
+
type: Object,
|
|
62
|
+
default() {
|
|
63
|
+
return {};
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
showCheckBox: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false
|
|
69
|
+
},
|
|
70
|
+
loadData: {
|
|
71
|
+
type: Function
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
mixins: [broadCastMixins],
|
|
75
|
+
computed: {
|
|
76
|
+
showArrow() {
|
|
77
|
+
// 1.如果数据没有children,说明是子组件,就不用展示下拉箭头
|
|
78
|
+
// 2.如果开启了异步加载,在loading的时候,不显示箭头
|
|
79
|
+
return (
|
|
80
|
+
(this.data.children &&
|
|
81
|
+
this.data.children.length &&
|
|
82
|
+
!this.showLoading) ||
|
|
83
|
+
(this.data.children &&
|
|
84
|
+
!this.data.children.length &&
|
|
85
|
+
this.loadData &&
|
|
86
|
+
!this.showLoading)
|
|
87
|
+
);
|
|
88
|
+
},
|
|
89
|
+
showLoading() {
|
|
90
|
+
// 判断是否有loading属性,并且判断你是否在开启状态
|
|
91
|
+
return 'loading' in this.data && this.data.loading;
|
|
92
|
+
},
|
|
93
|
+
arrowType() {
|
|
94
|
+
//箭头方向,van组件提供的属性
|
|
95
|
+
return this.showArrow && this.data.expand ? 'arrow-down' : 'arrow';
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
handleCheck(e) {
|
|
100
|
+
e.cancelBubble = true;
|
|
101
|
+
this.$set(this.data, 'checked', !this.data.checked);
|
|
102
|
+
this.broadCast('handleCheck', this.data);
|
|
103
|
+
}, //勾选方法
|
|
104
|
+
handleExpand(e) {
|
|
105
|
+
e.cancelBubble = true;
|
|
106
|
+
let node = this.data;
|
|
107
|
+
if (node.children && node.children.length === 0) {
|
|
108
|
+
if (this.loadData) {
|
|
109
|
+
this.$set(node, 'loading', true); // 显示loading
|
|
110
|
+
this.loadData(node, (arr, callback) => {
|
|
111
|
+
// 这个loadData回调函数,由外部组件调用的时候传入arr和callback
|
|
112
|
+
if (arr.length) {
|
|
113
|
+
// 如果外部传入的数组不为空
|
|
114
|
+
// 把arr作为当前父级节点的children
|
|
115
|
+
this.$set(node, 'children', arr);
|
|
116
|
+
this.$nextTick(() => {
|
|
117
|
+
//展开操作
|
|
118
|
+
this.handleExpand(e);
|
|
119
|
+
//执行外部传入的回调函数,成功的时候
|
|
120
|
+
callback('suc', node);
|
|
121
|
+
});
|
|
122
|
+
} else {
|
|
123
|
+
// 如果返回的是为空数组,则执行失败的回调
|
|
124
|
+
callback('falid');
|
|
125
|
+
}
|
|
126
|
+
this.$set(node, 'loading', false); //关闭loading
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
this.$set(this.data, 'expand', !this.data.expand);
|
|
132
|
+
this.broadCast('handleExpand', this.data);
|
|
133
|
+
},
|
|
134
|
+
handleSelect(e) {
|
|
135
|
+
e.cancelBubble = true;
|
|
136
|
+
this.broadCast('handleSelect', this.data);
|
|
137
|
+
} //点击列表
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
};
|
|
141
|
+
</script>
|
|
142
|
+
|
|
143
|
+
<style scoped>
|
|
144
|
+
.tree-ul,
|
|
145
|
+
.tree-li {
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
list-style: none;
|
|
148
|
+
margin-left: 10px;
|
|
149
|
+
position: relative;
|
|
150
|
+
height: auto;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.tree-ul {
|
|
154
|
+
margin: 15px auto;
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.tree-li {
|
|
159
|
+
position: relative;
|
|
160
|
+
width: 100%;
|
|
161
|
+
box-sizing: border-box;
|
|
162
|
+
margin: 6px 3px;
|
|
163
|
+
padding-right: 3px;
|
|
164
|
+
padding-left: 10px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.tree-expand {
|
|
168
|
+
height: 20px;
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
position: absolute;
|
|
171
|
+
top: 4px;
|
|
172
|
+
right: 0;
|
|
173
|
+
margin: auto;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.checkbox {
|
|
177
|
+
display: inline-block !important;
|
|
178
|
+
vertical-align: middle;
|
|
179
|
+
margin-right: 4px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.tree-loading {
|
|
183
|
+
width: 20px;
|
|
184
|
+
height: 20px;
|
|
185
|
+
position: absolute;
|
|
186
|
+
top: 0;
|
|
187
|
+
right: 0;
|
|
188
|
+
margin: auto;
|
|
189
|
+
}
|
|
190
|
+
</style>
|