@lambo-design-mobile/workflow-approve 1.0.0-beta.6 → 1.0.0-beta.8
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 +19 -0
- package/api.js +1 -1
- package/package.json +3 -3
- package/src/ApprovalNodeCell.vue +100 -0
- package/src/FlowApproval.vue +27 -86
- package/src/TodoListCard.vue +5 -5
- package/src/WorkflowDiagram.vue +5 -95
- package/src/assets/icon/iconfont.css +7 -3
- package/src/assets/icon/iconfont.js +1 -1
- package/src/assets/icon/iconfont.json +7 -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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [1.0.0-beta.8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/workflow-approve@1.0.0-beta.7...@lambo-design-mobile/workflow-approve@1.0.0-beta.8) (2025-03-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ♻️ Code Refactoring | 代码重构
|
|
6
|
+
|
|
7
|
+
* **workflow-approve:** 修改 getNextNodes 请求方法为 POST ([5486961](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/54869618e32ee13f26dcef21507e2309d8ac2469))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
11
|
+
|
|
12
|
+
* **workflow-approve:** 修复待办列表卡片中的表单链接错误 ([0575ae8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0575ae81a488766cdad79f335d24fa2ecf2450da))
|
|
13
|
+
|
|
14
|
+
## [1.0.0-beta.7](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/workflow-approve@1.0.0-beta.6...@lambo-design-mobile/workflow-approve@1.0.0-beta.7) (2024-12-03)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ✨ Features | 新功能
|
|
18
|
+
|
|
19
|
+
* **workflow-approve:** 优化审批页面功能 ([f18679c](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/f18679c7769644df4606d0832d6ec7c558dfe189))
|
|
20
|
+
|
|
2
21
|
## [1.0.0-beta.6](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/workflow-approve@1.0.0-beta.5...@lambo-design-mobile/workflow-approve@1.0.0-beta.6) (2024-11-22)
|
|
3
22
|
|
|
4
23
|
|
package/api.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design-mobile/workflow-approve",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@lambo-design-mobile/lambo-scan-code": "^1.0.0-beta.1",
|
|
17
|
-
"@lambo-design-mobile/
|
|
18
|
-
"@lambo-design-mobile/
|
|
17
|
+
"@lambo-design-mobile/upload-file": "^1.0.0-beta.10",
|
|
18
|
+
"@lambo-design-mobile/shared": "^1.0.0-beta.18"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<van-cell center>
|
|
3
|
+
<template v-slot:icon>
|
|
4
|
+
<div
|
|
5
|
+
v-if="['通过','流程发起','跳转指定节点'].includes(getAuditStatus(item.auditResult).text)"
|
|
6
|
+
class="completed-icon">
|
|
7
|
+
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
8
|
+
size="28px" color="#fff"/>
|
|
9
|
+
</div>
|
|
10
|
+
<div v-else class="pending-icon">
|
|
11
|
+
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
12
|
+
size="28px" color="#fff"/>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<template v-slot:title>
|
|
16
|
+
<div :style="{ color: getAuditStatus(item.auditResult).color }"
|
|
17
|
+
style="font-size: 16px;font-weight: bold;padding:5px 0;">
|
|
18
|
+
{{ Array.isArray(item.auditName) ? item.auditName[0] : item.auditName }}
|
|
19
|
+
</div>
|
|
20
|
+
<div>{{ item.taskName }}
|
|
21
|
+
<span v-if="item.auditComment" @click="showAuditDetail(item.auditComment)">
|
|
22
|
+
| 审批意见 <van-icon name="comment-circle-o"/>
|
|
23
|
+
</span>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
<template v-slot:label>
|
|
27
|
+
<div>{{ item.auditDate || item.createTime }}</div>
|
|
28
|
+
</template>
|
|
29
|
+
<template v-slot:default>
|
|
30
|
+
<span :style="{ color: getAuditStatus(item.auditResult).color }">{{
|
|
31
|
+
getAuditStatus(item.auditResult).text
|
|
32
|
+
}}</span>
|
|
33
|
+
</template>
|
|
34
|
+
</van-cell>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
import {Dialog} from "vant";
|
|
39
|
+
import {getAuditStatus} from "./js/global";
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
name: "ApprovalNodeCell",
|
|
43
|
+
props: {
|
|
44
|
+
nodeDetail: {
|
|
45
|
+
type: Object,
|
|
46
|
+
required: true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
data() {
|
|
50
|
+
return {
|
|
51
|
+
item: this.nodeDetail
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
getAuditStatus,
|
|
56
|
+
showAuditDetail(auditComment) {
|
|
57
|
+
Dialog.alert({
|
|
58
|
+
title: '审批意见',
|
|
59
|
+
message: auditComment,
|
|
60
|
+
}).then(() => {
|
|
61
|
+
// on close
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<style scoped>
|
|
69
|
+
.completed-icon {
|
|
70
|
+
width: 45px;
|
|
71
|
+
height: 45px;
|
|
72
|
+
background-clip: padding-box; /* 使背景不填充边框 */
|
|
73
|
+
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
margin-right: 1rem;
|
|
76
|
+
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
|
|
81
|
+
background: linear-gradient(90deg, #0096FF, #1677FF);
|
|
82
|
+
border: 0.3rem solid rgb(229, 244, 255); /* 半透明边框,颜色和背景色相同 */
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.pending-icon {
|
|
86
|
+
width: 45px;
|
|
87
|
+
height: 45px;
|
|
88
|
+
background-clip: padding-box; /* 使背景不填充边框 */
|
|
89
|
+
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
margin-right: 1rem;
|
|
92
|
+
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
|
|
97
|
+
background: linear-gradient(90deg, #FF7E00, #FFA200);
|
|
98
|
+
border: 0.4rem solid rgb(255, 245, 229); /* 半透明边框,颜色和背景色相同 */
|
|
99
|
+
}
|
|
100
|
+
</style>
|
package/src/FlowApproval.vue
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<van-tabs ref="tabs" style="padding-bottom: 60px" v-model="active"
|
|
3
|
+
<van-tabs ref="tabs" style="padding-bottom: 60px" v-model="active"
|
|
4
|
+
@click="onTabClick"
|
|
5
|
+
sticky :offset-top="offsetTop"
|
|
6
|
+
animated>
|
|
4
7
|
<slot name="business-content"/>
|
|
5
8
|
<van-tab title="流程信息">
|
|
6
9
|
<div style="padding: 0 10px">
|
|
@@ -15,6 +18,8 @@
|
|
|
15
18
|
v-model="approvalForm.auditOpinion"
|
|
16
19
|
rows="3"
|
|
17
20
|
autosize
|
|
21
|
+
@focus="handleInputFocus"
|
|
22
|
+
:error="approvalError"
|
|
18
23
|
required
|
|
19
24
|
label="审批意见"
|
|
20
25
|
type="textarea"
|
|
@@ -61,43 +66,10 @@
|
|
|
61
66
|
<van-collapse-item v-for="(items,index) in processHistory" :key="index" :title="items[0].taskName"
|
|
62
67
|
:name="index">
|
|
63
68
|
<div v-for="(item,index) in items" :key="index" class="record-item">
|
|
64
|
-
<
|
|
65
|
-
<template #icon>
|
|
66
|
-
<div
|
|
67
|
-
v-if="['通过','流程发起','跳转指定节点'].includes(getAuditStatus(item.auditResult).text)"
|
|
68
|
-
class="completed-icon">
|
|
69
|
-
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
70
|
-
size="30px" color="#fff"/>
|
|
71
|
-
</div>
|
|
72
|
-
<div v-else class="pending-icon">
|
|
73
|
-
<van-icon class="iconfont" class-prefix='icon' :name=getAuditStatus(item.auditResult).icon
|
|
74
|
-
size="30px" color="#fff"/>
|
|
75
|
-
</div>
|
|
76
|
-
</template>
|
|
77
|
-
<template #title>
|
|
78
|
-
<div :style="{ color: getAuditStatus(item.auditResult).color }"
|
|
79
|
-
style="font-size: 16px;font-weight: bold;padding:5px 0;">
|
|
80
|
-
{{ item.auditName[0] }}
|
|
81
|
-
</div>
|
|
82
|
-
<div>{{ item.auditOrganName[0] }}
|
|
83
|
-
<span v-if="item.auditComment" @click="showAuditDetail(item.auditComment)">
|
|
84
|
-
| 审批意见 <van-icon name="comment-circle-o"/>
|
|
85
|
-
</span>
|
|
86
|
-
</div>
|
|
87
|
-
</template>
|
|
88
|
-
<template #label>
|
|
89
|
-
<div>{{ item.auditDate || item.createTime }}</div>
|
|
90
|
-
</template>
|
|
91
|
-
<template #default>
|
|
92
|
-
<span :style="{ color: getAuditStatus(item.auditResult).color }">{{
|
|
93
|
-
getAuditStatus(item.auditResult).text
|
|
94
|
-
}}</span>
|
|
95
|
-
</template>
|
|
96
|
-
</van-cell>
|
|
69
|
+
<approval-node-cell :node-detail="item"/>
|
|
97
70
|
<div v-if="index !== items.length - 1" class="van-hairline--bottom"></div>
|
|
98
71
|
</div>
|
|
99
72
|
</van-collapse-item>
|
|
100
|
-
|
|
101
73
|
</van-collapse>
|
|
102
74
|
</div>
|
|
103
75
|
</div>
|
|
@@ -335,6 +307,8 @@ import SelectHandle from "./SelectHandle.vue";
|
|
|
335
307
|
import Tree from "./tree/Tree.vue";
|
|
336
308
|
import SelectOrganize from "./SelectOrganize.vue";
|
|
337
309
|
import SelectNormalList from "./SelectNormalList.vue";
|
|
310
|
+
import ApprovalNodeCell from "./ApprovalNodeCell.vue";
|
|
311
|
+
import {getAuditStatus} from "./js/global";
|
|
338
312
|
|
|
339
313
|
|
|
340
314
|
export default {
|
|
@@ -343,7 +317,7 @@ export default {
|
|
|
343
317
|
return config
|
|
344
318
|
}
|
|
345
319
|
},
|
|
346
|
-
components: {SelectNormalList, SelectOrganize, Tree, SelectHandle, UploadFile},
|
|
320
|
+
components: {ApprovalNodeCell, SelectNormalList, SelectOrganize, Tree, SelectHandle, UploadFile},
|
|
347
321
|
props: {
|
|
348
322
|
//业务表单保存方法
|
|
349
323
|
businessFormSave: {
|
|
@@ -371,6 +345,10 @@ export default {
|
|
|
371
345
|
type: Boolean,
|
|
372
346
|
default: false,
|
|
373
347
|
},
|
|
348
|
+
offsetTop: {
|
|
349
|
+
type: Number,
|
|
350
|
+
default: 0
|
|
351
|
+
}
|
|
374
352
|
},
|
|
375
353
|
data() {
|
|
376
354
|
return {
|
|
@@ -391,6 +369,7 @@ export default {
|
|
|
391
369
|
handlingPersonnel: '',
|
|
392
370
|
nodeConfigMaps: '',
|
|
393
371
|
},
|
|
372
|
+
approvalError: false,
|
|
394
373
|
|
|
395
374
|
processHistory: [],
|
|
396
375
|
tableData: [],
|
|
@@ -445,6 +424,7 @@ export default {
|
|
|
445
424
|
};
|
|
446
425
|
},
|
|
447
426
|
methods: {
|
|
427
|
+
getAuditStatus,
|
|
448
428
|
initData() {
|
|
449
429
|
this.getProcessHistory();
|
|
450
430
|
this.getNextNodes();
|
|
@@ -688,24 +668,7 @@ export default {
|
|
|
688
668
|
if (ext === 'pdf') return 'P';
|
|
689
669
|
return ext.charAt(0).toUpperCase();
|
|
690
670
|
},
|
|
691
|
-
|
|
692
|
-
const statusMap = {
|
|
693
|
-
'00': {text: '流程发起', icon: "faqiliuchen", color: '#0d88ff', type: 'success'},
|
|
694
|
-
'30': {text: '通过', icon: "tongguo", color: '#0d88ff', type: 'success'},
|
|
695
|
-
'40': {text: '驳回上一节点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
696
|
-
'50': {text: '驳回到原点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
697
|
-
'51': {text: '流程作废', icon: "liuchengzuofei", color: '#ed4014', type: 'danger'},
|
|
698
|
-
'60': {text: '撤回', icon: "chehui", color: '#ed4014', type: 'warning'},
|
|
699
|
-
'80': {text: '跳转指定节点', icon: "tiaozhuan", color: '#0d88ff', type: 'primary'},
|
|
700
|
-
'90': {text: '驳回指定节点', icon: "bohui", color: '#ed4014', type: 'primary'},
|
|
701
|
-
};
|
|
702
|
-
return {
|
|
703
|
-
text: (statusMap[auditResult] && statusMap[auditResult].text) || '待审批',
|
|
704
|
-
icon: (statusMap[auditResult] && statusMap[auditResult].icon) || 'daishenpi',
|
|
705
|
-
color: (statusMap[auditResult] && statusMap[auditResult].color) || '#ff9900',
|
|
706
|
-
type: (statusMap[auditResult] && statusMap[auditResult].type) || 'warning',
|
|
707
|
-
};
|
|
708
|
-
},
|
|
671
|
+
|
|
709
672
|
getAuditButtonStatus(auditResult) {
|
|
710
673
|
let statusMap = {
|
|
711
674
|
'30': '通过',
|
|
@@ -740,6 +703,8 @@ export default {
|
|
|
740
703
|
|
|
741
704
|
if (this.approvalForm.auditOpinion === '' || this.approvalForm.auditOpinion == null) {
|
|
742
705
|
if (!this.handleButtons || this.handleButtons.includes('auditOpinion')) {
|
|
706
|
+
this.updateActiveTab()
|
|
707
|
+
this.approvalError = true
|
|
743
708
|
Toast({message: '请输入审批意见', duration: '500'});
|
|
744
709
|
return
|
|
745
710
|
} else {
|
|
@@ -755,6 +720,9 @@ export default {
|
|
|
755
720
|
this.popupShow = false;
|
|
756
721
|
|
|
757
722
|
},
|
|
723
|
+
handleInputFocus() {
|
|
724
|
+
this.approvalError = false;
|
|
725
|
+
},
|
|
758
726
|
submit() {
|
|
759
727
|
let self = this;
|
|
760
728
|
self.auditParams = {
|
|
@@ -1007,6 +975,10 @@ export default {
|
|
|
1007
975
|
<style scoped>
|
|
1008
976
|
@import 'styles/global.css';
|
|
1009
977
|
|
|
978
|
+
::v-deep .van-tabs__content {
|
|
979
|
+
background: #f7f8fa;
|
|
980
|
+
}
|
|
981
|
+
|
|
1010
982
|
::v-deep .van-collapse-item__content {
|
|
1011
983
|
padding: 0 0;
|
|
1012
984
|
}
|
|
@@ -1023,6 +995,7 @@ export default {
|
|
|
1023
995
|
::v-deep .van-tab--active .van-tab__text {
|
|
1024
996
|
color: #3478f6; /* 设置激活状态下的文字颜色为蓝色 */
|
|
1025
997
|
font-size: 16px; /* 增大激活状态下的字体大小 */
|
|
998
|
+
font-weight: bold;
|
|
1026
999
|
}
|
|
1027
1000
|
|
|
1028
1001
|
::v-deep .van-tabs__line {
|
|
@@ -1071,38 +1044,6 @@ export default {
|
|
|
1071
1044
|
padding: 20px 10px;
|
|
1072
1045
|
}
|
|
1073
1046
|
|
|
1074
|
-
.completed-icon {
|
|
1075
|
-
width: 45px; /* 自定义宽度 */
|
|
1076
|
-
height: 45px; /* 自定义高度 */
|
|
1077
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
1078
|
-
|
|
1079
|
-
border-radius: 50%;
|
|
1080
|
-
margin-right: 15px;
|
|
1081
|
-
|
|
1082
|
-
display: flex;
|
|
1083
|
-
align-items: center;
|
|
1084
|
-
justify-content: center;
|
|
1085
|
-
|
|
1086
|
-
background: linear-gradient(90deg, #0096FF, #1677FF);
|
|
1087
|
-
border: 5px solid rgb(229, 244, 255); /* 半透明边框,颜色和背景色相同 */
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
.pending-icon {
|
|
1091
|
-
width: 45px; /* 自定义宽度 */
|
|
1092
|
-
height: 45px; /* 自定义高度 */
|
|
1093
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
1094
|
-
|
|
1095
|
-
border-radius: 50%;
|
|
1096
|
-
margin-right: 15px;
|
|
1097
|
-
|
|
1098
|
-
display: flex;
|
|
1099
|
-
align-items: center;
|
|
1100
|
-
justify-content: center;
|
|
1101
|
-
|
|
1102
|
-
background: linear-gradient(90deg, #FF7E00, #FFA200);
|
|
1103
|
-
border: 5px solid rgb(255, 245, 229); /* 半透明边框,颜色和背景色相同 */
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
1047
|
.info-icon {
|
|
1107
1048
|
display: inline-block;
|
|
1108
1049
|
color: white; /* 自定义文字颜色 */
|
package/src/TodoListCard.vue
CHANGED
|
@@ -134,8 +134,8 @@ export default {
|
|
|
134
134
|
procType: item.procType,
|
|
135
135
|
procKey: result.data[0].procKey,
|
|
136
136
|
handleButtons: result.data[0].handleButtons,
|
|
137
|
-
appFormUrl:
|
|
138
|
-
appDetailUrl:
|
|
137
|
+
appFormUrl: item.appFormUrl,
|
|
138
|
+
appDetailUrl: item.appDetailUrl,
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
}
|
|
@@ -167,8 +167,8 @@ export default {
|
|
|
167
167
|
procType: item.procType,
|
|
168
168
|
procKey: result.data[0].procKey,
|
|
169
169
|
handleButtons: result.data[0].handleButtons,
|
|
170
|
-
appFormUrl:
|
|
171
|
-
appDetailUrl:
|
|
170
|
+
appFormUrl: item.appFormUrl,
|
|
171
|
+
appDetailUrl: item.appDetailUrl,
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
}
|
|
@@ -234,4 +234,4 @@ export default {
|
|
|
234
234
|
flex: 0 0 auto;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
</style>
|
|
237
|
+
</style>
|
package/src/WorkflowDiagram.vue
CHANGED
|
@@ -18,49 +18,15 @@
|
|
|
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 || item.createTime }}</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
|
-
|
|
64
30
|
<van-field readonly input-align="right" label="审批节点:" :value="nodeDetail.taskName" />
|
|
65
31
|
<van-field readonly input-align="right" label="审批人:" :value="nodeDetail.auditName" />
|
|
66
32
|
<van-field readonly input-align="right" label="申请人:" :value="nodeDetail.applyUser ? nodeDetail.applyUser.split(':')[1] : '未定义'" />
|
|
@@ -84,9 +50,11 @@
|
|
|
84
50
|
<script>
|
|
85
51
|
import Viewer from "bpmn-js/lib/Viewer";
|
|
86
52
|
import {getHisAudit, getPrintData, printData} from "../api";
|
|
87
|
-
import
|
|
53
|
+
import ApprovalNodeCell from "./ApprovalNodeCell.vue";
|
|
54
|
+
import { getAuditStatus } from './js/global'; // 根据路径修改
|
|
88
55
|
|
|
89
56
|
export default {
|
|
57
|
+
components: {ApprovalNodeCell},
|
|
90
58
|
props: {
|
|
91
59
|
procId: {
|
|
92
60
|
type: String,
|
|
@@ -118,6 +86,7 @@ export default {
|
|
|
118
86
|
}
|
|
119
87
|
},
|
|
120
88
|
methods: {
|
|
89
|
+
getAuditStatus,
|
|
121
90
|
getPrintData() {
|
|
122
91
|
getPrintData(this.applyId, this.procId).then(resp => {
|
|
123
92
|
if (resp.data.code === '200') {
|
|
@@ -266,34 +235,7 @@ export default {
|
|
|
266
235
|
}
|
|
267
236
|
}
|
|
268
237
|
});
|
|
269
|
-
|
|
270
|
-
},
|
|
271
|
-
getAuditStatus(auditResult) {
|
|
272
|
-
const statusMap = {
|
|
273
|
-
'00': {text: '流程发起', icon: "faqiliuchen", color: '#0d88ff', type: 'success'},
|
|
274
|
-
'30': {text: '通过', icon: "tongguo", color: '#0d88ff', type: 'success'},
|
|
275
|
-
'40': {text: '驳回上一节点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
276
|
-
'50': {text: '驳回到原点', icon: "bohui", color: '#ed4014', type: 'danger'},
|
|
277
|
-
'51': {text: '流程作废', icon: "liuchengzuofei", color: '#ed4014', type: 'danger'},
|
|
278
|
-
'60': {text: '撤回', icon: "chehui", color: '#ed4014', type: 'warning'},
|
|
279
|
-
'80': {text: '跳转指定节点', icon: "tiaozhuan", color: '#0d88ff', type: 'primary'},
|
|
280
|
-
'90': {text: '驳回指定节点', icon: "bohui", color: '#ed4014', type: 'primary'},
|
|
281
|
-
};
|
|
282
|
-
return {
|
|
283
|
-
text: (statusMap[auditResult] && statusMap[auditResult].text) || '待审批',
|
|
284
|
-
icon: (statusMap[auditResult] && statusMap[auditResult].icon) || 'daishenpi',
|
|
285
|
-
color: (statusMap[auditResult] && statusMap[auditResult].color) || '#ff9900',
|
|
286
|
-
type: (statusMap[auditResult] && statusMap[auditResult].type) || 'warning',
|
|
287
|
-
};
|
|
288
238
|
},
|
|
289
|
-
showAuditDetail(auditComment) {
|
|
290
|
-
Dialog.alert({
|
|
291
|
-
title: '审批意见',
|
|
292
|
-
message: auditComment,
|
|
293
|
-
}).then(() => {
|
|
294
|
-
// on close
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
239
|
}
|
|
298
240
|
}
|
|
299
241
|
</script>
|
|
@@ -357,38 +299,6 @@ export default {
|
|
|
357
299
|
background-color: #0d88ff; /* 线条颜色 */
|
|
358
300
|
}
|
|
359
301
|
|
|
360
|
-
.completed-icon {
|
|
361
|
-
width: 45px; /* 自定义宽度 */
|
|
362
|
-
height: 45px; /* 自定义高度 */
|
|
363
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
364
|
-
|
|
365
|
-
border-radius: 50%;
|
|
366
|
-
margin-right: 15px;
|
|
367
|
-
|
|
368
|
-
display: flex;
|
|
369
|
-
align-items: center;
|
|
370
|
-
justify-content: center;
|
|
371
|
-
|
|
372
|
-
background: linear-gradient(90deg, #0096FF, #1677FF);
|
|
373
|
-
border: 5px solid rgb(229, 244, 255); /* 半透明边框,颜色和背景色相同 */
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.pending-icon {
|
|
377
|
-
width: 45px; /* 自定义宽度 */
|
|
378
|
-
height: 45px; /* 自定义高度 */
|
|
379
|
-
background-clip: padding-box; /* 使背景不填充边框 */
|
|
380
|
-
|
|
381
|
-
border-radius: 50%;
|
|
382
|
-
margin-right: 15px;
|
|
383
|
-
|
|
384
|
-
display: flex;
|
|
385
|
-
align-items: center;
|
|
386
|
-
justify-content: center;
|
|
387
|
-
|
|
388
|
-
background: linear-gradient(90deg, #FF7E00, #FFA200);
|
|
389
|
-
border: 5px solid rgb(255, 245, 229); /* 半透明边框,颜色和背景色相同 */
|
|
390
|
-
}
|
|
391
|
-
|
|
392
302
|
|
|
393
303
|
.title-info {
|
|
394
304
|
font-weight: bold;
|
|
@@ -1,8 +1,8 @@
|
|
|
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
8
|
.icon {
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.icon-faqi:before {
|
|
17
|
+
content: "\e67c";
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
.icon-faqiliuchen:before {
|
|
17
21
|
content: "\e621";
|
|
18
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window._iconfont_svg_string_4700118='<svg><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=(t=(t=document.getElementsByTagName("script"))[t.length-1]).getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var a,l,e,i,o,s=function(c,t){t.parentNode.insertBefore(c,t)};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)}}a=function(){var c,t=document.createElement("div");t.innerHTML=h._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(a,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),a()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(e=a,i=h.document,o=!1,d(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,n())})}function n(){o||(o=!0,e())}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);
|
|
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
|
+
}
|