cloud-web-corejs 1.0.280 → 1.1.0-dev.10
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/package.json +6 -2
- package/src/components/VabUpload/image-viewer.vue +442 -442
- package/src/components/VabUpload/index.vue +45 -3
- package/src/components/VabUpload/mixins.js +174 -34
- package/src/components/VabUpload/previewGroup.js +128 -0
- package/src/components/VabUpload/view.vue +248 -209
- package/src/components/baseTabs/mixins.js +181 -181
- package/src/components/bizTab/BizBillActions.vue +129 -0
- package/src/components/bizTab/BizTabListPage.vue +391 -0
- package/src/components/bizTab/README.md +378 -0
- package/src/components/bizTab/billTableUtil.js +48 -0
- package/src/components/bizTab/billValidators.js +136 -0
- package/src/components/bizTab/bizBillDetailMixin.js +705 -0
- package/src/components/bizTab/index.js +24 -0
- package/src/components/excelExport/exportFieldDialog.vue +23 -12
- package/src/components/excelExport/exportItemConfigUtil.js +30 -0
- package/src/components/excelExport/mixins.js +3 -3
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/langImport/index.vue +1 -1
- package/src/components/mobile/statusTag/mixins.js +1 -61
- package/src/components/mobile/wf/addTaskUserdialog.vue +23 -3
- package/src/components/mobile/wf/content.vue +1705 -1556
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +22 -3
- package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +8 -6
- package/src/components/mobile/wf/selectUserDialog.vue +122 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +25 -4
- package/src/components/mobile/wf/urgingDialog.vue +26 -3
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/table/config.js +78 -78
- package/src/components/table/index.js +1276 -1276
- package/src/components/table/plugins/cell-area/index.js +1055 -0
- package/src/components/table/plugins/cell-area/index.scss +77 -0
- package/src/components/table/plugins/cell-area/util.js +224 -0
- package/src/components/table/tableForm.vue +330 -330
- package/src/components/table/tableFormMixin.js +318 -318
- package/src/components/table/vxeFilter/index.js +163 -163
- package/src/components/table/vxeFilter/mixin.js +316 -316
- package/src/components/wf/content.vue +1188 -1188
- package/src/components/wf/wf.js +40 -20
- package/src/components/wf/wfActionDropdown.vue +1 -1
- package/src/components/wf/wfActionItems.js +1 -1
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +528 -0
- package/src/components/xform/docs/2026-08 xform H5 P1 /345/256/236/347/216/260/350/247/204/346/240/274.md" +412 -0
- package/src/components/xform/docs/2026-08 xform H5 P2 /345/256/236/347/216/260/350/247/204/346/240/274.md" +287 -0
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +400 -0
- package/src/components/xform/form-designer/designer.js +51 -52
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +269 -269
- package/src/components/xform/form-designer/form-widget/container-widget/detail-h5-widget.vue +18 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +132 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +250 -250
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-pane-widget.vue +23 -2
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-widget.vue +30 -1
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +319 -320
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +365 -365
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +185 -185
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +554 -555
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +409 -409
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +150 -132
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +114 -114
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +154 -154
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +47 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +178 -178
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +77 -77
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +6 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +139 -139
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +106 -106
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +134 -134
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +3 -2
- package/src/components/xform/form-designer/indexMixin.js +35 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +39 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +10 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +438 -432
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +2103 -2103
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +90 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +82 -82
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +833 -846
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +8 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +137 -137
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +237 -237
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -96
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +42 -42
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +43 -43
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +158 -158
- package/src/components/xform/form-designer/setting-panel/property-editor/h5Span-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/itemStyle-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +188 -188
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTempClass-editor.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +347 -347
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +12 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +884 -874
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +14 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +30 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +112 -4
- package/src/components/xform/form-render/container-item/data-table-mixin.js +151 -93
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +204 -34
- package/src/components/xform/form-render/container-item/detail-temp-item.vue +110 -0
- package/src/components/xform/form-render/container-item/h5-card-pane-item.vue +160 -140
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1913 -1699
- package/src/components/xform/form-render/index.vue +153 -147
- package/src/components/xform/form-render/indexMixin.js +35 -3
- package/src/components/xform/lang/en-US.js +14 -0
- package/src/components/xform/lang/zh-CN.js +17 -0
- package/src/components/xform/mixins/defaultHandle.js +707 -707
- package/src/components/xform/styles/h5.scss +2238 -0
- package/src/components/xform/utils/textMaskUtil.js +182 -179
- package/src/components/xform/utils/treeTableUtil.js +1292 -1265
- package/src/components/xform/utils/util.js +56 -11
- package/src/directive/append-to-body/index.js +48 -0
- package/src/index.js +13 -4
- package/src/layout/components/Sidebar/default.vue +1655 -1655
- package/src/layout/components/extractedCode/viewDialog.vue +7 -7
- package/src/router/index.js +48 -27
- package/src/router/modules/customer.js +71 -14
- package/src/store/modules/permission.js +17 -18
- package/src/utils/assetUrl.js +19 -0
- package/src/utils/pdfUtil.js +429 -429
- package/src/utils/resolveViewComponent.js +142 -16
- package/src/utils/vab.js +1283 -1279
- package/src/views/bd/project/branch/bd_branch/edit.vue +145 -0
- package/src/views/bd/project/branch/bd_branch/list.vue +72 -0
- package/src/views/bd/project/branch/bd_branch/menuKindDialog.vue +106 -0
- package/src/views/bd/project/branch/bd_branch/mixins/edit.js +189 -0
- package/src/views/bd/project/branch/bd_branch/mixins/list.js +124 -0
- package/src/views/bd/project/branch/bd_branch/mixins/menuKindDialog.js +85 -0
- package/src/views/bd/project/branch/form_script/list.vue +31 -0
- package/src/views/bd/project/branch/form_template/list.vue +30 -0
- package/src/views/bd/project/branch/menu_kind/list.vue +31 -0
- package/src/views/bd/project/common/form_script/list.vue +16 -0
- package/src/views/bd/project/common/form_template/list.vue +15 -0
- package/src/views/bd/project/common/menu_kind/list.vue +15 -0
- package/src/views/bd/project/core/branchContext.js +100 -0
- package/src/views/bd/project/core/branchPage.js +78 -0
- package/src/views/bd/project/core/branchPageWrap.vue +225 -0
- package/src/views/bd/project/core/branchScope.js +44 -0
- package/src/views/bd/project/core/branchSearchPage.js +285 -0
- package/src/views/bd/project/core/branchSelect.vue +85 -0
- package/src/views/bd/project/core/branchTreeBar.vue +81 -0
- package/src/views/bd/project/core/httpBranchPatch.js +58 -0
- package/src/views/bd/project/datatable/menu_kind/list.vue +15 -0
- package/src/views/bd/project/datatable/table_model/list.vue +15 -0
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +748 -721
- package/src/views/bd/setting/table_model/edit.vue +1066 -1066
- package/src/views/bd/setting/table_model/mixins/edit.js +1455 -1455
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +148 -148
- package/src/views/demo/bizTab/bill/billConfig.js +41 -0
- package/src/views/demo/bizTab/bill/detail.vue +436 -0
- package/src/views/demo/bizTab/bill/list.vue +288 -0
- package/src/views/demo/bizTab/bill/productDialog.vue +176 -0
- package/src/views/demo/bizTab/simple/billApi.js +123 -0
- package/src/views/demo/bizTab/simple/detail.vue +407 -0
- package/src/views/demo/bizTab/simple/list.vue +217 -0
- package/src/views/demo/bizTab/standalone/index.vue +121 -0
- package/src/views/demo/bizTab/wf/billConfig.js +44 -0
- package/src/views/demo/bizTab/wf/detail.vue +661 -0
- package/src/views/demo/bizTab/wf/list.vue +242 -0
- package/src/views/support/form-dialog-demo/demoPickerDialog.vue +72 -0
- package/src/views/support/form-dialog-demo/index.vue +537 -0
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/home/default.vue +1117 -1117
- package/src/views/user/home/default2.vue +1 -1
- package/src/views/user/home/index.vue +103 -101
- package/src/views/user/home/wjl/content.vue +1569 -0
- package/src/views/user/notify_message/dialog.vue +139 -137
- package/src/views/user/outLink/cc_form_view.vue +188 -0
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/outLink/view.vue +3 -3
- package/src/views/user/role/edit.vue +632 -632
- package/src/views/user/role/list.vue +260 -260
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_manage/list.vue +1112 -1116
- package/src/views/user/wf/wf_manage/list2.vue +871 -875
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +134 -131
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +0 -106
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +0 -99
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +0 -1340
- package/src/utils/wf.js +0 -766
|
@@ -1,1556 +1,1705 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<div class="
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}}
|
|
145
|
-
</
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</el-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
</
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
return
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
let
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
});
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
if (
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
if (
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
},
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
871
|
-
},
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
var
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
var
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
},
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
this.
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
that
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
this.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
},
|
|
1165
|
-
});
|
|
1166
|
-
},
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
method:
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
this
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
this
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
this.
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
this.
|
|
1502
|
-
this.
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<h5-card-pane label="流程信息">
|
|
4
|
+
<template #default>
|
|
5
|
+
<div class="flowPath-box">
|
|
6
|
+
<!-- 这一行的值是 wfInfo.name(流程主题),标签原先误写成「任务情况」——
|
|
7
|
+
与下面第三行「查看任务情况」重名。PC content.vue 同一个值的标签就是
|
|
8
|
+
「流程主题」(components.wf.theme)。 -->
|
|
9
|
+
<div class="t"><span>{{ $t2('流程主题', 'components.wf.theme') }}</span></div>
|
|
10
|
+
<div class="c">
|
|
11
|
+
<div class="name">
|
|
12
|
+
{{ (wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name }}
|
|
13
|
+
<el-tag :type="getWfStatusType()" size="mini">{{ getWfStatusLabel() }}</el-tag>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="m2">
|
|
17
|
+
<div class="t"><span>{{ $t2('流程图', 'components.wf.wfImage') }}</span></div>
|
|
18
|
+
<div class="c">
|
|
19
|
+
<el-button icon="" class="btn" @click="showPreviewDialog=true" icon="el-icon-view">查看流程图</el-button>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="m2">
|
|
23
|
+
<div class="t"><span>{{ $t2('任务情况', 'components.wf.taskInfo') }}</span></div>
|
|
24
|
+
<div class="c">
|
|
25
|
+
<el-button icon="" class="btn" @click="showRenwuDialog=true" icon="iconfont icon-preview">查看任务情况
|
|
26
|
+
</el-button>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
<!-- hideActions:宿主已经把审批动作提到别处(如 xform H5 的底部动作栏)时,
|
|
32
|
+
这一排整条藏掉,避免一个动作出现两份。与 PC content.vue 的
|
|
33
|
+
headerActionsMounted 同意图,这里做成 prop 是为了没有时序问题。 -->
|
|
34
|
+
<div class="flowPath-btns" v-show="!hideActions">
|
|
35
|
+
<el-button type="success" plain class="btn" @click="openAgreeDialog" v-show="wfInfo.toSubmit"
|
|
36
|
+
icon="iconfont icon-tongguo">{{ $t2('通过', 'components.wf.agree') }}
|
|
37
|
+
</el-button>
|
|
38
|
+
<el-button type="warning" plain class="btn" @click="openManualDialog" v-show="wfInfo.toInterrupt"
|
|
39
|
+
icon="iconfont icon-caozuozhongduan">{{ $t2('中断', 'components.wf.manual') }}
|
|
40
|
+
</el-button>
|
|
41
|
+
<el-button type="danger" plain class="btn" @click="rejectWfTask" v-show="wfInfo.toReject"
|
|
42
|
+
icon="iconfont icon-a-bohui1">{{ $t2('驳回', 'components.wf.reject') }}
|
|
43
|
+
</el-button>
|
|
44
|
+
<el-button type="primary" plain class="btn" @click="openChangeWfForm"
|
|
45
|
+
v-show="(wfInfo.toTransfer===null || wfInfo.toTransfer===undefined) ? wfInfo.toSubmit: wfInfo.toTransfer"
|
|
46
|
+
icon="iconfont icon-zhuanban">{{ $t2('转办', 'components.wf.transfer') }}
|
|
47
|
+
</el-button>
|
|
48
|
+
<el-button type="primary" plain class="btn" @click="openUrgingDialog" v-show="wfInfo.toInterrupt"
|
|
49
|
+
icon="iconfont icon-cuiban">{{ $t2('催办', 'components.wf.urging') }}
|
|
50
|
+
</el-button>
|
|
51
|
+
<el-button type="primary" plain class="btn" @click="openAddIncreaseSign" v-show="wfInfo.toAddIncreaseSign"
|
|
52
|
+
icon="el-icon-plus">{{ $t2('加签', 'components.wf.addIncreaseSign') }}
|
|
53
|
+
</el-button>
|
|
54
|
+
<el-button type="primary" plain class="btn" @click="openDeleteTaskUserDialog"
|
|
55
|
+
v-show="wfInfo.toDeleteIncreaseSign"
|
|
56
|
+
icon="el-icon-delete">{{ $t2('减签', 'components.wf.deleteIncreaseSign') }}
|
|
57
|
+
</el-button>
|
|
58
|
+
<el-button type="primary" plain class="btn" @click="openTalkDialog()"
|
|
59
|
+
icon="el-icon-chat-dot-square" v-if="toTalk && wfInfo.toLinkup">
|
|
60
|
+
{{ $t2('沟通', 'components.wf.talk') }}
|
|
61
|
+
</el-button>
|
|
62
|
+
<el-button type="primary" plain class="btn" @click="openSetCandidateDialog(null)"
|
|
63
|
+
v-show="wfInfo.toSetCandidate"
|
|
64
|
+
icon="el-icon-user">{{ $t2('修改候选人', 'components.wf.setCandidate') }}
|
|
65
|
+
</el-button>
|
|
66
|
+
<el-button type="danger" plain class="btn" @click="openRevokeDialog(null)"
|
|
67
|
+
v-show="wfInfo.toRevoke"
|
|
68
|
+
icon="el-icon-document-delete">{{ $t2('撤回', 'components.wf.revoke') }}
|
|
69
|
+
</el-button>
|
|
70
|
+
</div>
|
|
71
|
+
</template>
|
|
72
|
+
</h5-card-pane>
|
|
73
|
+
|
|
74
|
+
<!-- 流程相关的弹框必须放在卡片外面。h5CardPane 折叠时会给 .cont 加
|
|
75
|
+
display:none,放在插槽里的弹框会被一起隐藏 —— 表现为「流程信息收起后,
|
|
76
|
+
通过/驳回/转办这些弹框点了没反应」(祖先 display:none 无法被后代覆盖)。 -->
|
|
77
|
+
<el-dialog
|
|
78
|
+
title="流程图预览"
|
|
79
|
+
:modal-append-to-body="false"
|
|
80
|
+
:close-on-click-modal="false"
|
|
81
|
+
:visible.sync="showPreviewDialog"
|
|
82
|
+
:modal="false"
|
|
83
|
+
custom-class="dialog-style h5view-dialog"
|
|
84
|
+
width="100%"
|
|
85
|
+
top="0px"
|
|
86
|
+
v-el-drag-dialog
|
|
87
|
+
v-el-dialog-center
|
|
88
|
+
:append-to-body ="true"
|
|
89
|
+
:destroy-on-close="true"
|
|
90
|
+
>
|
|
91
|
+
<div class="flex">
|
|
92
|
+
<el-form label-position="top" class="form-box">
|
|
93
|
+
<div class="tit"><span>{{
|
|
94
|
+
(wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name
|
|
95
|
+
}}</span></div>
|
|
96
|
+
<iframe style="width: 100%;flex:1" :src="wfImage"></iframe>
|
|
97
|
+
</el-form>
|
|
98
|
+
</div>
|
|
99
|
+
<span slot="footer" class="dialog-footer">
|
|
100
|
+
<el-button
|
|
101
|
+
type="primary"
|
|
102
|
+
plain
|
|
103
|
+
class="button-sty"
|
|
104
|
+
icon="el-icon-close"
|
|
105
|
+
@click="showPreviewDialog = false"
|
|
106
|
+
>{{$t2('关 闭', 'system.button.close2')}}</el-button
|
|
107
|
+
>
|
|
108
|
+
</span>
|
|
109
|
+
</el-dialog>
|
|
110
|
+
|
|
111
|
+
<el-dialog
|
|
112
|
+
title="任务情况预览"
|
|
113
|
+
:modal-append-to-body="false"
|
|
114
|
+
:close-on-click-modal="false"
|
|
115
|
+
:visible.sync="showRenwuDialog"
|
|
116
|
+
:modal="false"
|
|
117
|
+
custom-class="dialog-style h5view-dialog"
|
|
118
|
+
width="100%"
|
|
119
|
+
top="0px"
|
|
120
|
+
v-el-drag-dialog
|
|
121
|
+
v-el-dialog-center
|
|
122
|
+
:append-to-body ="true"
|
|
123
|
+
:destroy-on-close="true"
|
|
124
|
+
>
|
|
125
|
+
<div class="flex">
|
|
126
|
+
<div class="h5-process-info">
|
|
127
|
+
<div class="item" v-for="wftaskLineData in wftaskData" :key="wftaskLineData.id">
|
|
128
|
+
<div class="time">
|
|
129
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(0, 10) : '' }}
|
|
130
|
+
<br/>
|
|
131
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : '' }}
|
|
132
|
+
</div>
|
|
133
|
+
<div class="status"
|
|
134
|
+
:class="taskStatuses[wftaskLineData.type]?taskStatuses[wftaskLineData.type].class:''">
|
|
135
|
+
{{ taskStatuses[wftaskLineData.type] ? taskStatuses[wftaskLineData.type].value : null }}
|
|
136
|
+
</div>
|
|
137
|
+
<i class="circle"></i>
|
|
138
|
+
<div class="info">
|
|
139
|
+
<p>
|
|
140
|
+
<span class="name">{{ wftaskLineData.taskName }}</span>
|
|
141
|
+
<span>{{ $t2('执行人', 'components.wf.approverName') }}:{{ wftaskLineData.approverName }}</span>
|
|
142
|
+
<span>
|
|
143
|
+
{{ $t2('候选人', 'components.wf.candidateName') }}:
|
|
144
|
+
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
|
145
|
+
</span>
|
|
146
|
+
</p>
|
|
147
|
+
<p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
|
|
148
|
+
wftaskLineData.opinion
|
|
149
|
+
}}</span></p>
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<!-- 同上:只读预览,合成一个「关 闭」 -->
|
|
155
|
+
<span slot="footer" class="dialog-footer">
|
|
156
|
+
<el-button
|
|
157
|
+
type="primary"
|
|
158
|
+
plain
|
|
159
|
+
class="button-sty"
|
|
160
|
+
icon="el-icon-close"
|
|
161
|
+
@click="showRenwuDialog = false"
|
|
162
|
+
>{{$t2('关 闭', 'system.button.close2')}}</el-button
|
|
163
|
+
>
|
|
164
|
+
</span>
|
|
165
|
+
</el-dialog>
|
|
166
|
+
<!-- 下面 5 个确认框(中断 / 驳回 / 通过 / 转办 / 加签)都走 v-append-to-body:
|
|
167
|
+
节点搬到 document.body 下,不再靠 position:fixed 在宿主子树里侥幸生效。
|
|
168
|
+
它们保持 .pop-tipsBox 的原造型,没有改成 el-dialog——那个圆角卡片 + 顶部
|
|
169
|
+
溢出圆形图标的样子要用 el-dialog 复刻,得把 header/body/footer 三段默认
|
|
170
|
+
样式全推翻,样式量不减反增。
|
|
171
|
+
|
|
172
|
+
三条约束,改动前先看 directive/append-to-body/index.js 的说明:
|
|
173
|
+
1. 必须是 v-show,不能换回 v-if(Vue 的 insert() 会静默跳过以被搬走的
|
|
174
|
+
节点为参照物的插入,兄弟顺序会错乱);
|
|
175
|
+
2. 内联 style="display: block;" 不能删(v-show 的 originalDisplay 取自
|
|
176
|
+
它,删了「显示」态会退回各应用 h5.scss 里 .pop-tipsBox{display:none});
|
|
177
|
+
3. 多挂的 h5-pop-tips 类是样式作用域锚点——搬到 body 后 .xform-h5 前缀
|
|
178
|
+
全部失配,样式改挂在 .pop-tipsBox.h5-pop-tips 上,既保住原有优先级,
|
|
179
|
+
又不会误伤同样用 .pop-tipsBox 的 confirmDialog / baseAlert / errorMsg。 -->
|
|
180
|
+
<div class="pop-tipsBox h5-pop-tips" style="display: block;" v-show="showWfManualDialog"
|
|
181
|
+
v-append-to-body>
|
|
182
|
+
<div>
|
|
183
|
+
<i class="icon"></i>
|
|
184
|
+
<div class="cont">
|
|
185
|
+
<p class="name">
|
|
186
|
+
{{ $t2('流程中断', 'components.wf.wfManual') }}<span>—</span><b
|
|
187
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
|
188
|
+
wfInfo.taskName
|
|
189
|
+
}}</b>
|
|
190
|
+
</p>
|
|
191
|
+
<p class="txt">{{ $t2('您确定要中断流程吗?', 'components.wf.manualTip') }}</p>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="btns">
|
|
194
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="showWfManualDialog = false">{{
|
|
195
|
+
$t2('取 消', 'system.button.cancel2')
|
|
196
|
+
}}
|
|
197
|
+
</el-button>
|
|
198
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="manualEndWf()">{{
|
|
199
|
+
$t2('确 定', 'system.button.confirm2')
|
|
200
|
+
}}
|
|
201
|
+
</el-button>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="pop-tipsBox h5-pop-tips" style="display: block;" v-show="rejectDialogVisible"
|
|
206
|
+
v-append-to-body>
|
|
207
|
+
<div>
|
|
208
|
+
<i class="icon"></i>
|
|
209
|
+
<div class="cont">
|
|
210
|
+
<p class="name">{{ $t2('流程驳回', 'components.wf.wfReject') }}<span
|
|
211
|
+
>—</span><b
|
|
212
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
|
213
|
+
wfInfo.taskName
|
|
214
|
+
}}</b></p>
|
|
215
|
+
<el-form label-position="top" class="form-box">
|
|
216
|
+
<el-form-item label="驳回节点" field="nodeId">
|
|
217
|
+
<el-select v-model="rejectForm.nodeId"
|
|
218
|
+
:placeholder="$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')">
|
|
219
|
+
<el-option v-for="(rejectNode,index) in rejectNodes" :label="rejectNode.nodeName"
|
|
220
|
+
:value="rejectNode.nodeId" :key="index"></el-option>
|
|
221
|
+
</el-select>
|
|
222
|
+
</el-form-item>
|
|
223
|
+
<el-form-item label="驳回意见" field="opinion">
|
|
224
|
+
<el-input type="textarea" :rows="8"
|
|
225
|
+
:placeholder="$t2('请输入内容', 'components.wf.rejectOpinionPlaceholder')"
|
|
226
|
+
v-model="rejectForm.opinion" class="txt"></el-input>
|
|
227
|
+
</el-form-item>
|
|
228
|
+
</el-form>
|
|
229
|
+
</div>
|
|
230
|
+
<div class="btns">
|
|
231
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="rejectDialogVisible = false">{{
|
|
232
|
+
$t2('取 消', 'system.button.cancel2')
|
|
233
|
+
}}
|
|
234
|
+
</el-button>
|
|
235
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="subRejectForm()">{{
|
|
236
|
+
$t2('确 定', 'system.button.confirm2')
|
|
237
|
+
}}
|
|
238
|
+
</el-button>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="pop-tipsBox h5-pop-tips" style="display: block;" v-show="agreeDialogVisible"
|
|
243
|
+
v-append-to-body>
|
|
244
|
+
<div>
|
|
245
|
+
<i class="icon"></i>
|
|
246
|
+
<div class="cont">
|
|
247
|
+
<p class="name">{{ $t2('流程通过', 'components.wf.wfAgree') }}<span
|
|
248
|
+
>—</span><b
|
|
249
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
|
250
|
+
wfInfo.taskName
|
|
251
|
+
}}</b></p>
|
|
252
|
+
<el-form label-position="top" class="form-box">
|
|
253
|
+
<!-- 只有分支网关这类多出口节点,getNextOutgoingNodes 才会返回候选节点;
|
|
254
|
+
单出口节点返回空数组,这一项必须整条不渲染,否则会露出一个没有任何
|
|
255
|
+
选项的空下拉(提交时 nodeId 本就传 null,不需要选)。
|
|
256
|
+
与 PC content.vue 的 <tr v-if="agreeNodes.length > 0"> 同口径。 -->
|
|
257
|
+
<el-form-item v-if="agreeNodes.length > 0"
|
|
258
|
+
:label="$t2('通过节点', 'components.wf.agreeNode')" field="nodeId">
|
|
259
|
+
<el-select v-model="agreeForm.nodeId"
|
|
260
|
+
:placeholder="$t2('请选择通过节点', 'components.wf.agreeNodePlaceholder')">
|
|
261
|
+
<el-option v-for="(node,index) in agreeNodes" :label="node.nodeName"
|
|
262
|
+
:value="node.nodeId" :key="index"></el-option>
|
|
263
|
+
</el-select>
|
|
264
|
+
</el-form-item>
|
|
265
|
+
<el-form-item :label="$t2('通过意见', 'components.wf.agreeOpinion')" field="opinion">
|
|
266
|
+
<el-input type="textarea" :rows="8" :placeholder="$t2(`请填写您的意见~
|
|
267
|
+
注:
|
|
268
|
+
通过默认意见为“同意”
|
|
269
|
+
`, 'components.wf.agreeOpinionPlaceholder')" v-model="agreeForm.opinion"></el-input>
|
|
270
|
+
</el-form-item>
|
|
271
|
+
</el-form>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="btns">
|
|
274
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="agreeDialogVisible = false">{{
|
|
275
|
+
$t2('取 消', 'system.button.cancel2')
|
|
276
|
+
}}
|
|
277
|
+
</el-button>
|
|
278
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="subAgreeForm()">{{
|
|
279
|
+
$t2('确 定', 'system.button.confirm2')
|
|
280
|
+
}}
|
|
281
|
+
</el-button>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
<div class="pop-tipsBox h5-pop-tips" style="display: block;" v-show="changeWfDialogVisible"
|
|
286
|
+
v-append-to-body>
|
|
287
|
+
<div>
|
|
288
|
+
<i class="icon"></i>
|
|
289
|
+
<div class="cont">
|
|
290
|
+
<p class="name">{{ $t2('流程转办', 'components.wf.wfTransfer') }}<span>—</span><b
|
|
291
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
|
292
|
+
wfInfo.taskName
|
|
293
|
+
}}</b></p>
|
|
294
|
+
<el-form label-position="top" class="form-box">
|
|
295
|
+
<el-form-item label="转办人" field="nodeId">
|
|
296
|
+
<el-input
|
|
297
|
+
class="search-input"
|
|
298
|
+
max="200"
|
|
299
|
+
v-model="changeWfForm.userNickNames"
|
|
300
|
+
@clear="
|
|
301
|
+
changeWfForm.userIds = '';
|
|
302
|
+
changeUserRows = [];
|
|
303
|
+
$forceUpdate();
|
|
304
|
+
"
|
|
305
|
+
v-el-readonly
|
|
306
|
+
clearable
|
|
307
|
+
>
|
|
308
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="showUserDialog = true"></i>
|
|
309
|
+
</el-input>
|
|
310
|
+
</el-form-item>
|
|
311
|
+
<el-form-item label="转办意见" field="opinion">
|
|
312
|
+
<el-input type="textarea" :rows="8"
|
|
313
|
+
:placeholder="$t2('请输入内容', 'components.wf.transferOpinionPlaceholder')"
|
|
314
|
+
v-model="changeWfForm.opinion"></el-input>
|
|
315
|
+
</el-form-item>
|
|
316
|
+
</el-form>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="btns">
|
|
319
|
+
<el-button type="primary" class="btn" plain @click="changeWfDialogVisible = false">{{
|
|
320
|
+
$t2('取 消', 'system.button.cancel2')
|
|
321
|
+
}}
|
|
322
|
+
</el-button>
|
|
323
|
+
<el-button type="primary" class="btn" @click="subChangeWfForm()">
|
|
324
|
+
{{ $t2('确认转办', 'components.wf.confirmTransfer') }}
|
|
325
|
+
</el-button>
|
|
326
|
+
</div>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
<div class="pop-tipsBox h5-pop-tips" style="display: block;" v-show="showAddIncreaseSignDialog"
|
|
330
|
+
v-append-to-body>
|
|
331
|
+
<div>
|
|
332
|
+
<i class="icon"></i>
|
|
333
|
+
<div class="cont">
|
|
334
|
+
<p class="name">
|
|
335
|
+
{{ $t2('流程加签', 'components.wf.wfAddIncreaseSign') }}<span>—</span><b
|
|
336
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
|
337
|
+
wfInfo.taskName
|
|
338
|
+
}}</b>
|
|
339
|
+
</p>
|
|
340
|
+
<el-form label-position="top" class="form-box">
|
|
341
|
+
<el-form-item label="候选人">
|
|
342
|
+
<el-input
|
|
343
|
+
class="search-input"
|
|
344
|
+
max="200"
|
|
345
|
+
v-model="addIncreaseSignForm.userNickNames"
|
|
346
|
+
@clear="
|
|
347
|
+
addIncreaseSignUsers = [];
|
|
348
|
+
$forceUpdate();
|
|
349
|
+
"
|
|
350
|
+
:placeholder="$t2('候选人', 'components.wf.addIncreaseSignUser')"
|
|
351
|
+
v-el-readonly
|
|
352
|
+
clearable
|
|
353
|
+
>
|
|
354
|
+
<i slot="suffix" class="el-input__icon el-icon-search"
|
|
355
|
+
@click="showAddTaskUserDialog = true"></i>
|
|
356
|
+
</el-input>
|
|
357
|
+
</el-form-item>
|
|
358
|
+
<el-form-item label="加签意见" field="opinion">
|
|
359
|
+
<el-input type="textarea" :rows="8"
|
|
360
|
+
:placeholder="$t2('请输入内容', 'components.wf.addIncreaseSignOpinionPlaceholder')"
|
|
361
|
+
v-model="addIncreaseSignForm.opinion"></el-input>
|
|
362
|
+
</el-form-item>
|
|
363
|
+
</el-form>
|
|
364
|
+
</div>
|
|
365
|
+
<div class="btns">
|
|
366
|
+
<el-button type="primary" class="btn" plain @click="showAddIncreaseSignDialog = false">{{
|
|
367
|
+
$t2('取 消', 'system.button.cancel2')
|
|
368
|
+
}}
|
|
369
|
+
</el-button>
|
|
370
|
+
<el-button type="primary" class="btn" @click="submitAddTaskUserForm(0)">
|
|
371
|
+
{{ $t2('确认加签', 'components.wf.confirmAddIncreaseSign') }}
|
|
372
|
+
</el-button>
|
|
373
|
+
</div>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
|
|
377
|
+
<user-dialog v-if="showUserDialog" :visiable.sync="showUserDialog" @close="showUserDialog = false"
|
|
378
|
+
@confirm="userConfirm" multi="true" :param.sync="wfUserParamForTransfer"
|
|
379
|
+
:rows="changeUserRows"></user-dialog>
|
|
380
|
+
<urgingDialog v-if="urgingDialogVisible" :visiable.sync="urgingDialogVisible" :wfInfo="wfInfo"
|
|
381
|
+
:current_prefix="current_prefix"
|
|
382
|
+
@confirm="reloadContent" multi="true"></urgingDialog>
|
|
383
|
+
<deleteTaskUserDialog v-if="showDeleteTaskUserDialog" :visiable.sync="showDeleteTaskUserDialog" :wfInfo="wfInfo"
|
|
384
|
+
:current_prefix="current_prefix"
|
|
385
|
+
@confirm="reloadContent" multi="true"></deleteTaskUserDialog>
|
|
386
|
+
|
|
387
|
+
<addTaskUserdialog v-if="showAddTaskUserDialog" :visiable.sync="showAddTaskUserDialog" :wfInfo="wfInfo"
|
|
388
|
+
:current_prefix="current_prefix" :rows.sync="addIncreaseSignUsers"
|
|
389
|
+
@confirm="confirmAddTaskUser" multi="true"
|
|
390
|
+
:param.sync="wfUserParamForAddSign"></addTaskUserdialog>
|
|
391
|
+
<user-dialog v-if="showTalkUserDialog" :visiable.sync="showTalkUserDialog" @close="showTalkUserDialog = false"
|
|
392
|
+
@confirm="confirmTalkUserDialog" multi="false" :param.sync="wfUserParamForTalk"></user-dialog>
|
|
393
|
+
<setCandidateDialog v-if="showSetCandidateDialog" :visiable.sync="showSetCandidateDialog"
|
|
394
|
+
@close="closeSetCandidateDialog"
|
|
395
|
+
:wfInfo="wfInfo"
|
|
396
|
+
:current_prefix="current_prefix"></setCandidateDialog>
|
|
397
|
+
</div>
|
|
398
|
+
</template>
|
|
399
|
+
<script>
|
|
400
|
+
import Vue from "vue";
|
|
401
|
+
|
|
402
|
+
import settingConfig from "@/settings";
|
|
403
|
+
import commonMixin from "../../../mixins/mobile/common/index";
|
|
404
|
+
import {getToken} from "../../../utils/auth";
|
|
405
|
+
|
|
406
|
+
let configUtil = {
|
|
407
|
+
baseUrl: process.env.VUE_APP_BASE_API,
|
|
408
|
+
getToken,
|
|
409
|
+
settingConfig,
|
|
410
|
+
Vue,
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
function appendPrevChildDom(parentDom, newDom) {
|
|
414
|
+
if (parentDom.hasChildNodes()) {
|
|
415
|
+
let currentDom = parentDom.children[0];
|
|
416
|
+
parentDom.insertBefore(newDom, currentDom);
|
|
417
|
+
} else {
|
|
418
|
+
parentDom.append(newDom);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
function getTarget(t) {
|
|
423
|
+
return t.parentVue;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export default {
|
|
427
|
+
mixins: [commonMixin],
|
|
428
|
+
props: {
|
|
429
|
+
_wfInfo: Object,
|
|
430
|
+
_taskParam: Object,
|
|
431
|
+
wfOption: Object,
|
|
432
|
+
defaultShowWfContent: Boolean,
|
|
433
|
+
// 见模板里 .flowPath-btns 的注释:宿主接管审批动作时藏掉面板内那一排
|
|
434
|
+
hideActions: Boolean,
|
|
435
|
+
},
|
|
436
|
+
components: {
|
|
437
|
+
/* 本组件根节点就是 <h5-card-pane>,但此前没在这里注册——手写移动页是靠
|
|
438
|
+
mixins/mobile/common 在**宿主**上局部注册才碰巧能渲染。Vue 2 解析组件只查
|
|
439
|
+
自身 components 与全局注册、不查父组件的局部注册,所以被别处(如 xform 的
|
|
440
|
+
detail-h5-item)引用时会渲染不出来。补上自己的依赖声明。 */
|
|
441
|
+
h5CardPane: () => import('../h5Card/h5CardPane.vue'),
|
|
442
|
+
/* 选用户弹层用包内的 selectUserDialog(el-dialog + append-to-body 版)。
|
|
443
|
+
原来引的 views/mobile/user/user/dialog.vue 仍是 .pop-box 就地渲染版,
|
|
444
|
+
且 src/views 不随包发布(被包内组件引用属隐式依赖),保持原样不动。 */
|
|
445
|
+
UserDialog: () => import('./selectUserDialog.vue'),
|
|
446
|
+
urgingDialog: () => import('./urgingDialog'),
|
|
447
|
+
deleteTaskUserDialog: () => import('./deleteTaskUserDialog'),
|
|
448
|
+
addTaskUserdialog: () => import('./addTaskUserdialog'),
|
|
449
|
+
setCandidateDialog: () => import('./setCandidateDialog')
|
|
450
|
+
},
|
|
451
|
+
computed: {
|
|
452
|
+
current_prefix() {
|
|
453
|
+
return this.serviceId ? "/" + this.serviceId : "";
|
|
454
|
+
},
|
|
455
|
+
viewTarget() {
|
|
456
|
+
return getTarget(this);
|
|
457
|
+
},
|
|
458
|
+
isHideWf() {
|
|
459
|
+
let that = this.viewTarget;
|
|
460
|
+
let _hideWf = that._hideWf || that.$attrs._hideWf;
|
|
461
|
+
return _hideWf === true || _hideWf === 'true';
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
data() {
|
|
465
|
+
let showWfFold =
|
|
466
|
+
settingConfig.showWfFold != null && settingConfig.showWfFold != undefined
|
|
467
|
+
? settingConfig.showWfFold
|
|
468
|
+
: false;
|
|
469
|
+
let showWfContent =
|
|
470
|
+
showWfFold &&
|
|
471
|
+
settingConfig.defaultShowWfContent != null &&
|
|
472
|
+
settingConfig.defaultShowWfContent != undefined
|
|
473
|
+
? settingConfig.defaultShowWfContent
|
|
474
|
+
: true;
|
|
475
|
+
if (
|
|
476
|
+
this.defaultShowWfContent != null &&
|
|
477
|
+
this.defaultShowWfContent != undefined
|
|
478
|
+
) {
|
|
479
|
+
showWfContent = this.defaultShowWfContent;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
return {
|
|
483
|
+
showRenwuDialog: false,
|
|
484
|
+
showDomContent: false,
|
|
485
|
+
showPreviewDialog: false,
|
|
486
|
+
objId: null,
|
|
487
|
+
wfCode: null,
|
|
488
|
+
serviceId: null,
|
|
489
|
+
parentVue: null,
|
|
490
|
+
wfConfig: null,
|
|
491
|
+
|
|
492
|
+
fileInfos: [],
|
|
493
|
+
showUserDialog: false,
|
|
494
|
+
showContent: true,
|
|
495
|
+
objTypeCode: "",
|
|
496
|
+
// objId: '',
|
|
497
|
+
wfInfo: {},
|
|
498
|
+
// currentTask: {},
|
|
499
|
+
taskParam: {},
|
|
500
|
+
wfImage: "",
|
|
501
|
+
wfStartBtn: false,
|
|
502
|
+
wfManualendBtn: false,
|
|
503
|
+
wfSubmitBtn: false,
|
|
504
|
+
wfRejectBtn: false,
|
|
505
|
+
changeHandlerBtn: false,
|
|
506
|
+
wftaskData: [],
|
|
507
|
+
allWfTaskOpinions: [],
|
|
508
|
+
vxeOption: {},
|
|
509
|
+
rejectNodes: [],
|
|
510
|
+
rejectDialogVisible: false,
|
|
511
|
+
rejectForm: {
|
|
512
|
+
rejectSubmitModel: null,
|
|
513
|
+
nodeId: null,
|
|
514
|
+
opinion: null,
|
|
515
|
+
},
|
|
516
|
+
formLabelWidth: "120px",
|
|
517
|
+
agreeDialogVisible: false,
|
|
518
|
+
agreeForm: {
|
|
519
|
+
opinion: this.$t2('同意', 'components.wf.defaultAgreeOption'),
|
|
520
|
+
nodeId: null,
|
|
521
|
+
},
|
|
522
|
+
changeWfDialogVisible: false,
|
|
523
|
+
changeWfForm: {},
|
|
524
|
+
changeUserRows: [],
|
|
525
|
+
taskStatuses: {
|
|
526
|
+
start: {
|
|
527
|
+
class: "blue",
|
|
528
|
+
value: this.$t2('开始', 'components.wf.startStatus'),
|
|
529
|
+
},
|
|
530
|
+
approve: {
|
|
531
|
+
class: "orgn",
|
|
532
|
+
value: this.$t2('待审批', 'components.wf.approveStatus'),
|
|
533
|
+
},
|
|
534
|
+
submit: {
|
|
535
|
+
class: "green",
|
|
536
|
+
value: this.$t2('同意', 'components.wf.submitStatus'),
|
|
537
|
+
},
|
|
538
|
+
reject: {
|
|
539
|
+
class: "red",
|
|
540
|
+
value: this.$t2('驳回', 'components.wf.rejectStatus'),
|
|
541
|
+
},
|
|
542
|
+
transfer: {
|
|
543
|
+
class: "green",
|
|
544
|
+
value: this.$t2('转办', 'components.wf.transferStatus'),
|
|
545
|
+
},
|
|
546
|
+
addIncreaseSign: {
|
|
547
|
+
class: "green",
|
|
548
|
+
value: this.$t2('加签', 'components.wf.addIncreaseSignStatus'),
|
|
549
|
+
},
|
|
550
|
+
revoke: {
|
|
551
|
+
class: "red",
|
|
552
|
+
value: this.$t2('撤回', 'components.wf.revokeStatus'),
|
|
553
|
+
},
|
|
554
|
+
end: {
|
|
555
|
+
class: "gray",
|
|
556
|
+
value: this.$t2('结束', 'components.wf.endStatus'),
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
opinion: "",
|
|
560
|
+
showWfFold: showWfFold,
|
|
561
|
+
showWfContent: showWfContent,
|
|
562
|
+
|
|
563
|
+
urgingForm: {},
|
|
564
|
+
urgingDialogVisible: false,
|
|
565
|
+
urgingUserIds: [],
|
|
566
|
+
urgingUsers: [],
|
|
567
|
+
agreeNodes: [],
|
|
568
|
+
showWfManualDialog: false,
|
|
569
|
+
|
|
570
|
+
showDeleteTaskUserDialog: false,
|
|
571
|
+
showAddTaskUserDialog: false,
|
|
572
|
+
wfUserParam: {},
|
|
573
|
+
wfUserParamForTransfer: {},//转办
|
|
574
|
+
wfUserParamForAddSign: {},//加签
|
|
575
|
+
wfUserParamForTalk: {},//沟通
|
|
576
|
+
tabIndex: "1",
|
|
577
|
+
linkupOption: {},
|
|
578
|
+
talkForm: {
|
|
579
|
+
receiverName: null,
|
|
580
|
+
content: null,
|
|
581
|
+
attachmentDTOs: [],
|
|
582
|
+
replyId: null
|
|
583
|
+
},
|
|
584
|
+
showTalkUserDialog: false,
|
|
585
|
+
showTalkDialog: false,
|
|
586
|
+
showFlowImg: true,
|
|
587
|
+
operateType: null,
|
|
588
|
+
addIncreaseSignUsers: [],
|
|
589
|
+
addIncreaseSignForm: {
|
|
590
|
+
userNickNames: null,
|
|
591
|
+
opinion: null
|
|
592
|
+
},
|
|
593
|
+
showAddIncreaseSignDialog: false,
|
|
594
|
+
showOpeaImg: true,
|
|
595
|
+
showSetCandidateDialog: false,
|
|
596
|
+
toTalk: false,
|
|
597
|
+
showAllWfOpinon: false,
|
|
598
|
+
|
|
599
|
+
revokeDialogVisible: false,
|
|
600
|
+
revokeForm: {opinion: null},
|
|
601
|
+
wfStatusMap: {
|
|
602
|
+
1: {label: "审核中", type: "warning"},
|
|
603
|
+
3: {label: "已驳回", type: "danger"},
|
|
604
|
+
2: {label: "已完成", type: "success"}
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
},
|
|
608
|
+
provide() {
|
|
609
|
+
return {
|
|
610
|
+
getParentVue: () => {
|
|
611
|
+
return this.parentVue;
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
},
|
|
615
|
+
created() {
|
|
616
|
+
// this.wfInfo = this._wfInfo;
|
|
617
|
+
this.showFlowImg = settingConfig.expandWfImage === false ? false : true;
|
|
618
|
+
this.showAllWfOpinon = settingConfig.showAllWfOpinon === true;
|
|
619
|
+
},
|
|
620
|
+
mounted() {
|
|
621
|
+
this.init();
|
|
622
|
+
},
|
|
623
|
+
methods: {
|
|
624
|
+
getWfStatusLabel() {
|
|
625
|
+
return this.wfStatusMap[this.wfInfo.stat]?.label;
|
|
626
|
+
},
|
|
627
|
+
getWfStatusType() {
|
|
628
|
+
return this.wfStatusMap[this.wfInfo.stat]?.type;
|
|
629
|
+
},
|
|
630
|
+
init() {
|
|
631
|
+
let opt = this.wfOption;
|
|
632
|
+
this.objId = opt.objId;
|
|
633
|
+
this.wfCode = opt.wfCode;
|
|
634
|
+
this.serviceId = opt.serviceId;
|
|
635
|
+
this.parentVue = opt.parentVue;
|
|
636
|
+
this.wfConfig = this.wfOption;
|
|
637
|
+
|
|
638
|
+
let wfConfig = this.wfOption;
|
|
639
|
+
let that = getTarget(this);
|
|
640
|
+
let hasWf = false;
|
|
641
|
+
let wfInfo, currentTask, taskParam;
|
|
642
|
+
let option = {
|
|
643
|
+
objId: this.objId,
|
|
644
|
+
wfCode: this.wfCode
|
|
645
|
+
}
|
|
646
|
+
let current_prefix = this.current_prefix;
|
|
647
|
+
|
|
648
|
+
let initButton = () => {
|
|
649
|
+
/*return
|
|
650
|
+
this.$nextTick(() => {
|
|
651
|
+
that.$refs.wfButtonGroup.init({
|
|
652
|
+
taskParam,
|
|
653
|
+
wfInfo,
|
|
654
|
+
hasWf,
|
|
655
|
+
current_prefix,
|
|
656
|
+
wfConfig
|
|
657
|
+
});
|
|
658
|
+
});*/
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
this.initWfInfo(option, {
|
|
662
|
+
success: res => {
|
|
663
|
+
if (res.objx && res.objx.procInstId) {
|
|
664
|
+
hasWf = true;
|
|
665
|
+
wfInfo = res.objx;
|
|
666
|
+
this.wfInfo = wfInfo;
|
|
667
|
+
// this.showDomContent = true;
|
|
668
|
+
|
|
669
|
+
if (wfInfo.taskId) {
|
|
670
|
+
this.getTaskParams(wfInfo.taskId, {
|
|
671
|
+
success: res2 => {
|
|
672
|
+
taskParam = res2.objx || {};
|
|
673
|
+
taskParam.objId = option.objId;
|
|
674
|
+
this.taskParam = taskParam;
|
|
675
|
+
|
|
676
|
+
initButton();
|
|
677
|
+
}
|
|
678
|
+
});
|
|
679
|
+
} else {
|
|
680
|
+
initButton();
|
|
681
|
+
}
|
|
682
|
+
this.initOperateType();
|
|
683
|
+
this.initForAll();
|
|
684
|
+
} else {
|
|
685
|
+
initButton();
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
});
|
|
689
|
+
},
|
|
690
|
+
initWfInfo(option, httpConfig) {
|
|
691
|
+
|
|
692
|
+
let that = getTarget(this);
|
|
693
|
+
let id = option.objId;
|
|
694
|
+
let code = option.wfCode;
|
|
695
|
+
return that.$http({
|
|
696
|
+
url: this.current_prefix + '/wf/getWfInfo',
|
|
697
|
+
method: `post`,
|
|
698
|
+
data: {
|
|
699
|
+
objTypeCode: code,
|
|
700
|
+
objId: id
|
|
701
|
+
},
|
|
702
|
+
isLoading: true,
|
|
703
|
+
modalStrictly: true,
|
|
704
|
+
...httpConfig
|
|
705
|
+
});
|
|
706
|
+
},
|
|
707
|
+
getTaskParams(taskId, httpConfig) {
|
|
708
|
+
let that = getTarget(this);
|
|
709
|
+
return that.$http({
|
|
710
|
+
url: this.current_prefix + '/wf/getTaskVariables',
|
|
711
|
+
method: `post`,
|
|
712
|
+
data: {
|
|
713
|
+
stringOne: taskId
|
|
714
|
+
},
|
|
715
|
+
isLoading: true,
|
|
716
|
+
modalStrictly: true,
|
|
717
|
+
...httpConfig
|
|
718
|
+
});
|
|
719
|
+
},
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
initOperateType() {
|
|
723
|
+
if (this.operateType) {
|
|
724
|
+
let wfInfo = this.wfInfo;
|
|
725
|
+
if (wfInfo.toSubmit) {
|
|
726
|
+
this.openAgreeDialog('submit');
|
|
727
|
+
} else if (wfInfo.toReject) {
|
|
728
|
+
this.rejectWfTask('reject');
|
|
729
|
+
} else if (wfInfo.toAddIncreaseSign) {
|
|
730
|
+
this.openAddIncreaseSign('addIncreaseSign')
|
|
731
|
+
} else if (wfInfo.toRevoke) {
|
|
732
|
+
this.openRevokeDialog('revoke')
|
|
733
|
+
} else if (wfInfo.toLinkup) {
|
|
734
|
+
this.openTalkDialog(null, null, 'talk');
|
|
735
|
+
} else {
|
|
736
|
+
this.operateType = null;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
initForAll() {
|
|
741
|
+
let that = getTarget(this);
|
|
742
|
+
this.initWf(() => {
|
|
743
|
+
if (this.wfInfo.procInstId) {
|
|
744
|
+
this.initCurrentTask(this.wfInfo.procInstId, () => {
|
|
745
|
+
this.initWftask(this.wfInfo.procInstId);
|
|
746
|
+
this.getAllWfTaskOpinions();
|
|
747
|
+
});
|
|
748
|
+
this.initWfUserParam();
|
|
749
|
+
this.initTabIndex();
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
},
|
|
753
|
+
initTabIndex() {
|
|
754
|
+
let that = getTarget(this);
|
|
755
|
+
that.$http({
|
|
756
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
|
757
|
+
method: `post`,
|
|
758
|
+
data: {attributeKey: "param7"},
|
|
759
|
+
isLoading: true,
|
|
760
|
+
success: (res) => {
|
|
761
|
+
let val = res !== null ? res.objx === true : false;
|
|
762
|
+
this.toTalk = val;
|
|
763
|
+
let flag = false;
|
|
764
|
+
if (val) {
|
|
765
|
+
let flag1 = that.$attrs._isNotifyMessage == true || that.$attrs._isNotifyMessage == "true";
|
|
766
|
+
if (flag1) {
|
|
767
|
+
this.tabIndex = "2";
|
|
768
|
+
}
|
|
769
|
+
if (settingConfig.autoOpenWfLinkup) {
|
|
770
|
+
flag = true;
|
|
771
|
+
let flag2 = that.$attrs._wfNotifyType == "wfLinkup";
|
|
772
|
+
let flag3 = flag1 && flag2;
|
|
773
|
+
if (flag3) {
|
|
774
|
+
this.$nextTick(() => {
|
|
775
|
+
let wfTabPane = this.$refs.wfTabPane;
|
|
776
|
+
if (!wfTabPane.showContent) {
|
|
777
|
+
wfTabPane.handleFold();
|
|
778
|
+
}
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
this.initLinkup(flag);
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
|
|
787
|
+
},
|
|
788
|
+
initWf(done) {
|
|
789
|
+
var data = this.wfInfo;
|
|
790
|
+
if (data && data.procInstId) {
|
|
791
|
+
/** 流程状态:0未启动,1审核中,2已完成,3驳回,4中断 */
|
|
792
|
+
var statuses = {
|
|
793
|
+
1: '<span class="tag">' + this.$t2('审核中', 'components.wf.wfStatus1') + '</span>',
|
|
794
|
+
3: '<span class="tag red">' + this.$t2('已驳回', 'components.wf.wfStatus2') + '</span>',
|
|
795
|
+
2: '<span class="tag green">' + this.$t2('已完成', 'components.wf.wfStatus3') + '</span>',
|
|
796
|
+
};
|
|
797
|
+
var statusStr = "";
|
|
798
|
+
if (data.stat != null) {
|
|
799
|
+
statusStr = statuses[data.stat] || "";
|
|
800
|
+
}
|
|
801
|
+
data.statusStr = statusStr;
|
|
802
|
+
this.wfInfo = data;
|
|
803
|
+
|
|
804
|
+
this.wfStartBtn = false;
|
|
805
|
+
if (data.status != 2 && data.starterId) {
|
|
806
|
+
this.wfManualendBtn = true;
|
|
807
|
+
}
|
|
808
|
+
this.wfSubmitBtn = false;
|
|
809
|
+
this.wfRejectBtn = false;
|
|
810
|
+
|
|
811
|
+
var url =
|
|
812
|
+
this.current_prefix +
|
|
813
|
+
"/wf/flowImage?procInstId=" +
|
|
814
|
+
data.procInstId +
|
|
815
|
+
"&_r=" +
|
|
816
|
+
Math.random() +
|
|
817
|
+
"&access_token=" +
|
|
818
|
+
configUtil.getToken();
|
|
819
|
+
this.wfImage = configUtil.baseUrl + url;
|
|
820
|
+
done();
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
initCurrentTask(procInstId, done) {
|
|
824
|
+
if (this.wfInfo.taskId) {
|
|
825
|
+
this.wfSubmitBtn = true;
|
|
826
|
+
this.wfRejectBtn = true;
|
|
827
|
+
this.changeHandlerBtn = true;
|
|
828
|
+
}
|
|
829
|
+
done();
|
|
830
|
+
},
|
|
831
|
+
initWftask(procInstId) {
|
|
832
|
+
let that = getTarget(this);
|
|
833
|
+
that.$http({
|
|
834
|
+
url: this.current_prefix + "/wf/getWfTaskOpinionMerge",
|
|
835
|
+
data: {
|
|
836
|
+
stringOne: procInstId,
|
|
837
|
+
},
|
|
838
|
+
method: "post",
|
|
839
|
+
isLoading: true,
|
|
840
|
+
modalStrictly: true,
|
|
841
|
+
success: (resultmsg) => {
|
|
842
|
+
var datas = resultmsg.objx || [];
|
|
843
|
+
this.wftaskData = datas;
|
|
844
|
+
},
|
|
845
|
+
});
|
|
846
|
+
},
|
|
847
|
+
getAllWfTaskOpinions() {
|
|
848
|
+
if (!this.showAllWfOpinon) {
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
let that = getTarget(this);
|
|
852
|
+
let wfInfo = this.wfInfo;
|
|
853
|
+
that.$http({
|
|
854
|
+
url: this.current_prefix + "/wf/getAllWfTaskOpinions",
|
|
855
|
+
data: {
|
|
856
|
+
objId: wfInfo.objId,
|
|
857
|
+
objTypeCode: wfInfo.objTypeCode
|
|
858
|
+
},
|
|
859
|
+
method: "post",
|
|
860
|
+
isLoading: true,
|
|
861
|
+
modalStrictly: true,
|
|
862
|
+
success: (resultmsg) => {
|
|
863
|
+
var datas = resultmsg.objx || [];
|
|
864
|
+
this.allWfTaskOpinions = datas;
|
|
865
|
+
},
|
|
866
|
+
});
|
|
867
|
+
},
|
|
868
|
+
openManualDialog(operateType) {
|
|
869
|
+
this.operateType = operateType;
|
|
870
|
+
this.showWfManualDialog = true;
|
|
871
|
+
},
|
|
872
|
+
manualEndWf() {
|
|
873
|
+
this.showWfManualDialog = false;
|
|
874
|
+
let that = getTarget(this);
|
|
875
|
+
var procInstId = this.wfInfo.procInstId;
|
|
876
|
+
var taskId = this.wfInfo.taskId ? this.wfInfo.taskId : "";
|
|
877
|
+
var data = JSON.stringify({
|
|
878
|
+
uuid: this.wfInfo.uuid,
|
|
879
|
+
});
|
|
880
|
+
that.$http({
|
|
881
|
+
url: this.current_prefix + "/wf/interrupt",
|
|
882
|
+
data: data,
|
|
883
|
+
method: "post",
|
|
884
|
+
headers: {
|
|
885
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
886
|
+
},
|
|
887
|
+
isLoading: true,
|
|
888
|
+
success: (resultMsg) => {
|
|
889
|
+
that.$message({
|
|
890
|
+
message: resultMsg.content,
|
|
891
|
+
type: "success",
|
|
892
|
+
duration: 500,
|
|
893
|
+
onClose: (t) => {
|
|
894
|
+
this.reloadContent();
|
|
895
|
+
this.closeWinOnCheck(3);
|
|
896
|
+
},
|
|
897
|
+
});
|
|
898
|
+
},
|
|
899
|
+
});
|
|
900
|
+
},
|
|
901
|
+
async rejectWfTask(operateType) {
|
|
902
|
+
// 与 PC wf.js 的 rejectWfTask 同结构:驳回也要先过一遍「驳回提醒」
|
|
903
|
+
this.handleReminderContent("rejectReminder", async () => {
|
|
904
|
+
let that = getTarget(this);
|
|
905
|
+
var procInstId = this.wfInfo.procInstId;
|
|
906
|
+
var taskId = this.wfInfo.taskId;
|
|
907
|
+
var destinations = [];
|
|
908
|
+
|
|
909
|
+
await that.$http({
|
|
910
|
+
url: this.current_prefix + "/wf/getPreIncomeNodes",
|
|
911
|
+
data: {
|
|
912
|
+
stringOne: taskId,
|
|
913
|
+
},
|
|
914
|
+
method: "post",
|
|
915
|
+
//contentType: 'application/json;charset=utf-8',
|
|
916
|
+
isLoading: true,
|
|
917
|
+
success: (resultMsg) => {
|
|
918
|
+
destinations = (resultMsg.objx || []).reverse();
|
|
919
|
+
},
|
|
920
|
+
});
|
|
921
|
+
|
|
922
|
+
if (destinations == null) {
|
|
923
|
+
return false;
|
|
924
|
+
}
|
|
925
|
+
if (destinations.length == 0) {
|
|
926
|
+
that.$message({
|
|
927
|
+
message: this.$t2('无法驳回,没有目标节点', 'components.wf.rejectWarnMsg1'),
|
|
928
|
+
type: "error",
|
|
929
|
+
duration: 2 * 1000,
|
|
930
|
+
});
|
|
931
|
+
return false;
|
|
932
|
+
}
|
|
933
|
+
this.operateType = operateType;
|
|
934
|
+
|
|
935
|
+
/* 驳回后提交模式,取自流程对象配置(wf_obj_config「驳回后提交模式」三选一):
|
|
936
|
+
toNextNode === 1 → 顺延下一步提交 → 1
|
|
937
|
+
toRejectNode false → 直接提交到驳回节点 → 2
|
|
938
|
+
toRejectNode true → 由提交人确定节点提交 → null(提交时自己选)
|
|
939
|
+
三个分支不能省成两个:选了「顺延下一步」时后台把 toRejectNode 置为 null,
|
|
940
|
+
而 null == false 在 JS 里是 false,会落到 null 分支上,配置被静默丢掉。
|
|
941
|
+
与 PC wf.js 的 rejectWfTask 同口径。 */
|
|
942
|
+
let rejectSubmitModel = null;
|
|
943
|
+
if (this.wfInfo.toNextNode === 1) {
|
|
944
|
+
rejectSubmitModel = this.wfInfo.toNextNode
|
|
945
|
+
} else {
|
|
946
|
+
rejectSubmitModel = this.wfInfo.toRejectNode == false ? 2 : null
|
|
947
|
+
}
|
|
948
|
+
this.rejectForm.rejectSubmitModel = rejectSubmitModel;
|
|
949
|
+
this.rejectForm.nodeId = destinations[0].nodeId;
|
|
950
|
+
this.rejectForm.opinion = "";
|
|
951
|
+
this.rejectNodes = destinations;
|
|
952
|
+
this.rejectDialogVisible = true;
|
|
953
|
+
})
|
|
954
|
+
},
|
|
955
|
+
subRejectForm() {
|
|
956
|
+
let that = getTarget(this);
|
|
957
|
+
var procInstId = this.wfInfo.procInstId;
|
|
958
|
+
var taskId = this.wfInfo.taskId;
|
|
959
|
+
|
|
960
|
+
if (!this.rejectForm.nodeId) {
|
|
961
|
+
that.$message({
|
|
962
|
+
message: this.$t2('请选择驳回节点', 'components.wf.rejectWarnMsg2'),
|
|
963
|
+
type: "error",
|
|
964
|
+
duration: 2 * 1000,
|
|
965
|
+
});
|
|
966
|
+
return false;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
if (!this.rejectForm.opinion) {
|
|
970
|
+
that.$message({
|
|
971
|
+
message: this.$t2('请输入驳回意见', 'components.wf.rejectWarnMsg3'),
|
|
972
|
+
type: "error",
|
|
973
|
+
duration: 2 * 1000,
|
|
974
|
+
});
|
|
975
|
+
return false;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
var data = JSON.stringify({
|
|
979
|
+
taskId: taskId,
|
|
980
|
+
uuid: this.wfInfo.uuid,
|
|
981
|
+
nodeId: this.rejectForm.nodeId,
|
|
982
|
+
suggestion: this.rejectForm.opinion,
|
|
983
|
+
rejectSubmitModel: this.rejectForm.rejectSubmitModel
|
|
984
|
+
});
|
|
985
|
+
this.rejectDialogVisible = false;
|
|
986
|
+
that.$http({
|
|
987
|
+
url: this.current_prefix + "/wf/reject",
|
|
988
|
+
data: data,
|
|
989
|
+
method: "post",
|
|
990
|
+
headers: {
|
|
991
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
992
|
+
},
|
|
993
|
+
isLoading: true,
|
|
994
|
+
success: (resultMsg) => {
|
|
995
|
+
that.$message({
|
|
996
|
+
message: resultMsg.content,
|
|
997
|
+
type: "success",
|
|
998
|
+
duration: 500,
|
|
999
|
+
onClose: (t) => {
|
|
1000
|
+
this.reloadContent();
|
|
1001
|
+
this.closeWinOnCheck(2);
|
|
1002
|
+
},
|
|
1003
|
+
});
|
|
1004
|
+
},
|
|
1005
|
+
});
|
|
1006
|
+
},
|
|
1007
|
+
/**
|
|
1008
|
+
* 提交/驳回前的「提醒内容」:后台按 scriptType 跑脚本,返回文案就先弹确认框,
|
|
1009
|
+
* 用户点确定才继续;没有文案(或接口 404,即后端未部署该能力)直接放行。
|
|
1010
|
+
* 与 PC wf.js 的同名方法保持一致。
|
|
1011
|
+
*
|
|
1012
|
+
* 提醒只是主流程前面的一道增强,不能让它把主流程带崩或卡死,所以:
|
|
1013
|
+
* - 放行只允许一次(go 自带闸门),成功/异常各分支共用一个出口;
|
|
1014
|
+
* - 确认框点取消 = 放弃本次操作,什么都不做,但 MessageBox 的 reject 必须吃掉,
|
|
1015
|
+
* 否则是一条 unhandled rejection;
|
|
1016
|
+
* - error 分支绝不能抛异常。request.js 是先调 config.error(e) 再 removeModel(config)
|
|
1017
|
+
* (见 utils/request.js 的响应错误拦截),这里一抛,isLoading 的全屏遮罩就永远
|
|
1018
|
+
* 关不掉、整页被锁死。而网络失败/超时时 e.response 本就是 undefined,
|
|
1019
|
+
* 老写法 e.response.status 必崩 —— 故 status 取值全程判空。
|
|
1020
|
+
*/
|
|
1021
|
+
handleReminderContent(scriptType, callback) {
|
|
1022
|
+
let that = getTarget(this);
|
|
1023
|
+
let called = false;
|
|
1024
|
+
const go = () => {
|
|
1025
|
+
if (called) return
|
|
1026
|
+
called = true;
|
|
1027
|
+
callback && callback();
|
|
1028
|
+
};
|
|
1029
|
+
that.$http({
|
|
1030
|
+
url: this.current_prefix + "/wf/getReminderContent",
|
|
1031
|
+
data: {
|
|
1032
|
+
scriptType,
|
|
1033
|
+
taskId: this.wfInfo.taskId,
|
|
1034
|
+
uuid: this.wfInfo.uuid,
|
|
1035
|
+
},
|
|
1036
|
+
method: "post",
|
|
1037
|
+
isLoading: true,
|
|
1038
|
+
errorMsg: false,
|
|
1039
|
+
success: (res) => {
|
|
1040
|
+
if (res && res.objx) {
|
|
1041
|
+
that.$baseConfirm(res.objx).then(go).catch(() => {});
|
|
1042
|
+
} else {
|
|
1043
|
+
go();
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
error: (e) => {
|
|
1047
|
+
let status = e && e.response ? e.response.status : null;
|
|
1048
|
+
if (status === 404) {
|
|
1049
|
+
// 后端没部署这个接口,等同于「没有提醒」,静默放行
|
|
1050
|
+
go();
|
|
1051
|
+
return
|
|
1052
|
+
}
|
|
1053
|
+
/* 其余错误只提示不放行:提醒内容可能是必须让人看到的业务警告,
|
|
1054
|
+
接口挂了就悄悄跳过等于把它吞掉。用户重试即可。 */
|
|
1055
|
+
that.$errorMsg({
|
|
1056
|
+
content: (e && e.message) || this.$t2('获取提醒内容失败', 'components.wf.reminderError'),
|
|
1057
|
+
type: 'error',
|
|
1058
|
+
}).catch(() => {});
|
|
1059
|
+
},
|
|
1060
|
+
});
|
|
1061
|
+
},
|
|
1062
|
+
openAgreeDialog(operateType) {
|
|
1063
|
+
const done = () => {
|
|
1064
|
+
this.handleReminderContent("submitReminder", () => {
|
|
1065
|
+
this.operateType = operateType;
|
|
1066
|
+
let that = getTarget(this);
|
|
1067
|
+
this.agreeForm = {
|
|
1068
|
+
opinion: this.$t2('同意', 'components.wf.defaultAgreeOption'),
|
|
1069
|
+
nodeId: null,
|
|
1070
|
+
};
|
|
1071
|
+
this.agreeNodes = [];
|
|
1072
|
+
that.$http({
|
|
1073
|
+
url: this.current_prefix + "/wf/getNextOutgoingNodes",
|
|
1074
|
+
data: {
|
|
1075
|
+
stringOne: this.wfInfo.taskId,
|
|
1076
|
+
},
|
|
1077
|
+
method: "post",
|
|
1078
|
+
isLoading: true,
|
|
1079
|
+
success: (res) => {
|
|
1080
|
+
let nodes = res.objx || [];
|
|
1081
|
+
/*if (tq == true) {
|
|
1082
|
+
nodes.reverse();
|
|
1083
|
+
}*/
|
|
1084
|
+
if (nodes.length) {
|
|
1085
|
+
this.agreeForm.nodeId = nodes[0].nodeId;
|
|
1086
|
+
}
|
|
1087
|
+
this.agreeNodes = nodes;
|
|
1088
|
+
this.agreeDialogVisible = true;
|
|
1089
|
+
},
|
|
1090
|
+
});
|
|
1091
|
+
})
|
|
1092
|
+
}
|
|
1093
|
+
// wfConfig 在 init() 里才赋值(初值 null),这里兜一层空对象
|
|
1094
|
+
let wfConfig = this.wfConfig || {};
|
|
1095
|
+
if (wfConfig.onClickAgree) {
|
|
1096
|
+
wfConfig.onClickAgree(done)
|
|
1097
|
+
} else {
|
|
1098
|
+
done();
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
subAgreeForm() {
|
|
1102
|
+
let wfConfig = this.wfConfig;
|
|
1103
|
+
let done = () => {
|
|
1104
|
+
this.subAgreeHandle();
|
|
1105
|
+
}
|
|
1106
|
+
if (wfConfig.onBeforeAgree) {
|
|
1107
|
+
wfConfig.onBeforeAgree(done)
|
|
1108
|
+
} else {
|
|
1109
|
+
done();
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
subAgreeHandle() {
|
|
1113
|
+
let that = getTarget(this);
|
|
1114
|
+
let nodeId = null;
|
|
1115
|
+
if (this.agreeNodes.length) {
|
|
1116
|
+
if (!this.agreeForm.nodeId) {
|
|
1117
|
+
that.$message({
|
|
1118
|
+
message: this.$t2('请选择节点', 'components.wf.agreeWarnMsg1'),
|
|
1119
|
+
type: "error",
|
|
1120
|
+
duration: 2 * 1000,
|
|
1121
|
+
});
|
|
1122
|
+
return;
|
|
1123
|
+
}
|
|
1124
|
+
nodeId = this.agreeForm.nodeId;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
var procInstId = this.wfInfo.procInstId;
|
|
1128
|
+
var taskId = this.wfInfo.taskId;
|
|
1129
|
+
var memo = this.agreeForm.opinion || this.$t2('同意', 'components.wf.defaultAgreeOption');
|
|
1130
|
+
var data = JSON.stringify({
|
|
1131
|
+
taskId: taskId,
|
|
1132
|
+
uuid: this.wfInfo.uuid,
|
|
1133
|
+
suggestion: memo,
|
|
1134
|
+
nodeId: nodeId,
|
|
1135
|
+
});
|
|
1136
|
+
this.agreeDialogVisible = false;
|
|
1137
|
+
that.$http({
|
|
1138
|
+
url: this.current_prefix + "/wf/submit",
|
|
1139
|
+
data: data,
|
|
1140
|
+
method: "post",
|
|
1141
|
+
headers: {
|
|
1142
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
1143
|
+
},
|
|
1144
|
+
isLoading: true,
|
|
1145
|
+
success: (resultMsg) => {
|
|
1146
|
+
if (resultMsg.objx && resultMsg.objx.code == "999999") {
|
|
1147
|
+
this.errorSubmit({
|
|
1148
|
+
taskId: taskId,
|
|
1149
|
+
uuid: this.wfInfo.uuid,
|
|
1150
|
+
suggestion: memo,
|
|
1151
|
+
errorMsg: resultMsg.objx.errorMsg
|
|
1152
|
+
});
|
|
1153
|
+
} else {
|
|
1154
|
+
that.$message({
|
|
1155
|
+
message: resultMsg.content,
|
|
1156
|
+
type: "success",
|
|
1157
|
+
duration: 500,
|
|
1158
|
+
onClose: (t) => {
|
|
1159
|
+
this.reloadContent();
|
|
1160
|
+
this.closeWinOnCheck(1);
|
|
1161
|
+
},
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
});
|
|
1166
|
+
},
|
|
1167
|
+
errorSubmit(data) {
|
|
1168
|
+
let that = getTarget(this);
|
|
1169
|
+
that.$http({
|
|
1170
|
+
url: this.current_prefix + "/wf/errorSubmit",
|
|
1171
|
+
data: data,
|
|
1172
|
+
method: "post",
|
|
1173
|
+
isLoading: true,
|
|
1174
|
+
success: (resultMsg) => {
|
|
1175
|
+
that.$message({
|
|
1176
|
+
message: resultMsg.content,
|
|
1177
|
+
type: "success",
|
|
1178
|
+
duration: 500,
|
|
1179
|
+
onClose: (t) => {
|
|
1180
|
+
this.reloadContent();
|
|
1181
|
+
this.closeWinOnCheck(1);
|
|
1182
|
+
},
|
|
1183
|
+
});
|
|
1184
|
+
},
|
|
1185
|
+
});
|
|
1186
|
+
},
|
|
1187
|
+
openChangeWfForm(operateType) {
|
|
1188
|
+
this.operateType = operateType;
|
|
1189
|
+
this.changeWfDialogVisible = true;
|
|
1190
|
+
this.changeUserRows = [];
|
|
1191
|
+
this.changeWfForm = {
|
|
1192
|
+
userIds: [],
|
|
1193
|
+
userNickNames: null,
|
|
1194
|
+
opinion: null,
|
|
1195
|
+
};
|
|
1196
|
+
},
|
|
1197
|
+
subChangeWfForm() {
|
|
1198
|
+
let that = getTarget(this);
|
|
1199
|
+
var procInstId = this.wfInfo.procInstId;
|
|
1200
|
+
var taskId = this.wfInfo.taskId;
|
|
1201
|
+
|
|
1202
|
+
var userIds = this.changeWfForm.userIds || [];
|
|
1203
|
+
var opinion = this.changeWfForm.opinion || null;
|
|
1204
|
+
|
|
1205
|
+
if (!userIds.length) {
|
|
1206
|
+
that.$message({
|
|
1207
|
+
message: this.$t2('请选择转办人', 'components.wf.transferWarnMsg1'),
|
|
1208
|
+
type: "error",
|
|
1209
|
+
duration: 2000,
|
|
1210
|
+
onClose: (t) => {
|
|
1211
|
+
},
|
|
1212
|
+
});
|
|
1213
|
+
return false;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
var data = JSON.stringify({
|
|
1217
|
+
taskId: taskId,
|
|
1218
|
+
uuid: this.wfInfo.uuid,
|
|
1219
|
+
transferTo: userIds,
|
|
1220
|
+
suggestion: opinion,
|
|
1221
|
+
});
|
|
1222
|
+
this.changeWfDialogVisible = false;
|
|
1223
|
+
that.$http({
|
|
1224
|
+
url: this.current_prefix + "/wf/transfer",
|
|
1225
|
+
data: data,
|
|
1226
|
+
method: "post",
|
|
1227
|
+
headers: {
|
|
1228
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
1229
|
+
},
|
|
1230
|
+
isLoading: true,
|
|
1231
|
+
success: (resultMsg) => {
|
|
1232
|
+
that.$message({
|
|
1233
|
+
message: resultMsg.content,
|
|
1234
|
+
type: "success",
|
|
1235
|
+
duration: 500,
|
|
1236
|
+
onClose: (t) => {
|
|
1237
|
+
this.reloadContent();
|
|
1238
|
+
this.closeWinOnCheck(4);
|
|
1239
|
+
},
|
|
1240
|
+
});
|
|
1241
|
+
},
|
|
1242
|
+
});
|
|
1243
|
+
},
|
|
1244
|
+
userConfirm(rows) {
|
|
1245
|
+
if (rows.length > 0) {
|
|
1246
|
+
let changeUserRows = this.changeUserRows;
|
|
1247
|
+
let ids = changeUserRows.map((changeUserRow) => changeUserRow.id);
|
|
1248
|
+
let addRows = rows.filter((row) => !ids.includes(row.id));
|
|
1249
|
+
changeUserRows.push(...addRows);
|
|
1250
|
+
|
|
1251
|
+
let row = rows[0];
|
|
1252
|
+
this.changeWfForm.userIds = changeUserRows.map(
|
|
1253
|
+
(changeUserRow) => changeUserRow.id
|
|
1254
|
+
);
|
|
1255
|
+
this.changeWfForm.userNickNames = changeUserRows
|
|
1256
|
+
.map((changeUserRow) => changeUserRow.nickName)
|
|
1257
|
+
.join(",");
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
reloadContent() {
|
|
1261
|
+
let that = getTarget(this);
|
|
1262
|
+
that.$baseReload();
|
|
1263
|
+
},
|
|
1264
|
+
closeWinOnCheck(flag) {
|
|
1265
|
+
//_closeWindowOnCheck=true, 1提交,2驳回,3中断,4转办时,5沟通 关闭窗口
|
|
1266
|
+
let that = getTarget(this);
|
|
1267
|
+
let _closeWindowOnCheck = that.$attrs._closeWindowOnCheck || that._closeWindowOnCheck;
|
|
1268
|
+
if (_closeWindowOnCheck === true || _closeWindowOnCheck === "true") {
|
|
1269
|
+
window.close && window.close();
|
|
1270
|
+
}
|
|
1271
|
+
let _handleCallback = that.$attrs._handleCallback || that._handleCallback;
|
|
1272
|
+
_handleCallback && _handleCallback(flag);
|
|
1273
|
+
},
|
|
1274
|
+
manualCallback() {
|
|
1275
|
+
this.$emit("manualCallback");
|
|
1276
|
+
},
|
|
1277
|
+
openUrgingDialog(operateType) {
|
|
1278
|
+
this.operateType = operateType;
|
|
1279
|
+
this.urgingDialogVisible = true;
|
|
1280
|
+
},
|
|
1281
|
+
openDeleteTaskUserDialog(operateType) {
|
|
1282
|
+
this.operateType = operateType;
|
|
1283
|
+
this.showDeleteTaskUserDialog = true;
|
|
1284
|
+
},
|
|
1285
|
+
openAddTaskUserDialog(operateType) {
|
|
1286
|
+
this.operateType = operateType;
|
|
1287
|
+
this.showAddTaskUserDialog = true;
|
|
1288
|
+
},
|
|
1289
|
+
openAddIncreaseSign(operateType) {
|
|
1290
|
+
this.operateType = operateType;
|
|
1291
|
+
this.addIncreaseSignUsers = [];
|
|
1292
|
+
this.addIncreaseSignForm = {userNickNames: null};
|
|
1293
|
+
this.showAddIncreaseSignDialog = true;
|
|
1294
|
+
},
|
|
1295
|
+
initWfUserParam(callback) {
|
|
1296
|
+
this.initTransferUserParam();//转办
|
|
1297
|
+
this.initAddSignUserParam();//加签
|
|
1298
|
+
this.initTalkUserParam();//沟通
|
|
1299
|
+
},
|
|
1300
|
+
//
|
|
1301
|
+
initTransferUserParam(callback) {
|
|
1302
|
+
//初始化转办用户参数
|
|
1303
|
+
let that = getTarget(this);
|
|
1304
|
+
return that.$http({
|
|
1305
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
|
1306
|
+
method: `post`,
|
|
1307
|
+
data: {attributeKey: "param1"},
|
|
1308
|
+
isLoading: true,
|
|
1309
|
+
modalStrictly: true,
|
|
1310
|
+
success: (res) => {
|
|
1311
|
+
this.wfUserParamForTransfer = res.objx || {};
|
|
1312
|
+
callback && callback();
|
|
1313
|
+
},
|
|
1314
|
+
});
|
|
1315
|
+
},
|
|
1316
|
+
initAddSignUserParam(callback) {
|
|
1317
|
+
//初始化加签用户参数
|
|
1318
|
+
let that = getTarget(this);
|
|
1319
|
+
return that.$http({
|
|
1320
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
|
1321
|
+
method: `post`,
|
|
1322
|
+
data: {attributeKey: "param2"},
|
|
1323
|
+
isLoading: true,
|
|
1324
|
+
modalStrictly: true,
|
|
1325
|
+
success: (res) => {
|
|
1326
|
+
this.wfUserParamForAddSign = res.objx || {};
|
|
1327
|
+
callback && callback();
|
|
1328
|
+
},
|
|
1329
|
+
});
|
|
1330
|
+
},
|
|
1331
|
+
initTalkUserParam(callback) {
|
|
1332
|
+
//初始化沟通用户参数
|
|
1333
|
+
let that = getTarget(this);
|
|
1334
|
+
return that.$http({
|
|
1335
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
|
1336
|
+
method: `post`,
|
|
1337
|
+
data: {attributeKey: "param3"},
|
|
1338
|
+
isLoading: true,
|
|
1339
|
+
modalStrictly: true,
|
|
1340
|
+
success: (res) => {
|
|
1341
|
+
this.wfUserParamForTalk = res.objx || {};
|
|
1342
|
+
callback && callback();
|
|
1343
|
+
},
|
|
1344
|
+
});
|
|
1345
|
+
},
|
|
1346
|
+
//
|
|
1347
|
+
resetLinkup() {
|
|
1348
|
+
this.formData = {};
|
|
1349
|
+
this.$refs["table-linkup"].commitProxy("reload");
|
|
1350
|
+
},
|
|
1351
|
+
searchLinkup() {
|
|
1352
|
+
this.$refs["table-linkup"].commitProxy("reload");
|
|
1353
|
+
},
|
|
1354
|
+
initLinkup(flag) {
|
|
1355
|
+
return
|
|
1356
|
+
let h = this.$createElement;
|
|
1357
|
+
let statusMap = {
|
|
1358
|
+
0: this.$t2('未完成', 'components.wf.talkStatus0'),
|
|
1359
|
+
1: this.$t2('已完成', 'components.wf.talkStatus1'),
|
|
1360
|
+
2: this.$t2('已取消', 'components.wf.talkStatus2')
|
|
1361
|
+
};
|
|
1362
|
+
let tableOption = {
|
|
1363
|
+
vue: this,
|
|
1364
|
+
tableRef: "table-linkup",
|
|
1365
|
+
tableName: "wf_table-linkup",
|
|
1366
|
+
path: this.current_prefix + "/wf_linkup/listPage",
|
|
1367
|
+
param: () => {
|
|
1368
|
+
return {
|
|
1369
|
+
uuid: this.wfInfo.uuid,
|
|
1370
|
+
};
|
|
1371
|
+
},
|
|
1372
|
+
config: {
|
|
1373
|
+
height: 350
|
|
1374
|
+
},
|
|
1375
|
+
columns: [
|
|
1376
|
+
{type: "checkbox", width: 48, resizable: false, fixed: "left"},
|
|
1377
|
+
{
|
|
1378
|
+
title: this.$t2('任务名称', 'components.wf.taskName'),
|
|
1379
|
+
field: "taskName",
|
|
1380
|
+
width: 150,
|
|
1381
|
+
fixed: "left",
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
title: this.$t2('发送人', 'components.wf.senderName'),
|
|
1385
|
+
field: "senderName",
|
|
1386
|
+
width: 150,
|
|
1387
|
+
slots: {
|
|
1388
|
+
default: "sender",
|
|
1389
|
+
},
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
title: this.$t2('接收人', 'components.wf.receiverName'),
|
|
1393
|
+
field: "receiverName",
|
|
1394
|
+
width: 150,
|
|
1395
|
+
slots: {
|
|
1396
|
+
default: "receiver",
|
|
1397
|
+
},
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
title: this.$t2('沟通内容', 'components.wf.talkContent'),
|
|
1401
|
+
field: "content",
|
|
1402
|
+
width: 250,
|
|
1403
|
+
showOverflow: false,
|
|
1404
|
+
slots: {
|
|
1405
|
+
default: ({row, rowIndex}) => {
|
|
1406
|
+
return row.replyId ? ("[" + this.$t2('回复', 'components.wf.reply') + "]" + row.content) : row.content;
|
|
1407
|
+
},
|
|
1408
|
+
},
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
width: 150,
|
|
1412
|
+
title: this.$t2('沟通资料', 'components.wf.talkAttachment'),
|
|
1413
|
+
field: "attachmentImage",
|
|
1414
|
+
sortable: false,
|
|
1415
|
+
slots: {
|
|
1416
|
+
default: ({row, rowIndex}) => {
|
|
1417
|
+
let option = {
|
|
1418
|
+
title: this.$t2('沟通资料', 'components.wf.talkAttachment'),
|
|
1419
|
+
edit: false,
|
|
1420
|
+
rows: (done) => {
|
|
1421
|
+
done(row.attachmentDTOs);
|
|
1422
|
+
},
|
|
1423
|
+
};
|
|
1424
|
+
return [
|
|
1425
|
+
h("base-attachment", {
|
|
1426
|
+
props: {
|
|
1427
|
+
option: option,
|
|
1428
|
+
},
|
|
1429
|
+
}),
|
|
1430
|
+
];
|
|
1431
|
+
},
|
|
1432
|
+
},
|
|
1433
|
+
},
|
|
1434
|
+
|
|
1435
|
+
{
|
|
1436
|
+
title: this.$t2('状态', 'components.wf.status'),
|
|
1437
|
+
field: "status",
|
|
1438
|
+
width: 150,
|
|
1439
|
+
slots: {
|
|
1440
|
+
default: ({row, rowIndex}) => {
|
|
1441
|
+
return statusMap[row.status] || "";
|
|
1442
|
+
},
|
|
1443
|
+
},
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
title: this.$t2('创建时间', 'system.label.createDate'),
|
|
1447
|
+
field: "createDate",
|
|
1448
|
+
width: 150,
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
width: 80,
|
|
1452
|
+
fixed: "right",
|
|
1453
|
+
title: "",
|
|
1454
|
+
sortable: false,
|
|
1455
|
+
slots: {
|
|
1456
|
+
default: "operate"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
],
|
|
1460
|
+
callback: (rows) => {
|
|
1461
|
+
if (rows.length && flag) {
|
|
1462
|
+
let row = rows[0];
|
|
1463
|
+
if (row.replyToSender) {
|
|
1464
|
+
this.$nextTick(() => {
|
|
1465
|
+
this.tabIndex = "2";
|
|
1466
|
+
this.openTalkDialog(row.sender, row.senderName, 'talk', 1, row.id)
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
};
|
|
1472
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
1473
|
+
this.linkupOption = opts;
|
|
1474
|
+
});
|
|
1475
|
+
},
|
|
1476
|
+
cancelTalk(row) {
|
|
1477
|
+
let that = getTarget(this);
|
|
1478
|
+
that.$baseConfirm(this.$t2('您确定要取消沟通记录吗?', 'components.wf.cancelTalkTip')).then(() => {
|
|
1479
|
+
that.$http({
|
|
1480
|
+
url: this.current_prefix + "/wf_linkup/cancel",
|
|
1481
|
+
data: {id: row.id},
|
|
1482
|
+
method: "post",
|
|
1483
|
+
loadingTarget: document.body,
|
|
1484
|
+
isLoading: true,
|
|
1485
|
+
success: (resultMsg) => {
|
|
1486
|
+
that.$message({
|
|
1487
|
+
message: resultMsg.content,
|
|
1488
|
+
type: "success",
|
|
1489
|
+
duration: 500,
|
|
1490
|
+
onClose: (t) => {
|
|
1491
|
+
this.reloadContent();
|
|
1492
|
+
},
|
|
1493
|
+
});
|
|
1494
|
+
},
|
|
1495
|
+
});
|
|
1496
|
+
});
|
|
1497
|
+
},
|
|
1498
|
+
openTalkDialog(receiver, receiverName, operateType, flag, replyId) {
|
|
1499
|
+
this.operateType = operateType;
|
|
1500
|
+
/*this.talkForm.receiver = receiver || null;
|
|
1501
|
+
this.talkForm.receiverName = receiverName || null;
|
|
1502
|
+
this.talkForm.replyId = replyId || null;
|
|
1503
|
+
this.talkForm.content = null;
|
|
1504
|
+
this.talkForm.attachmentDTOs = [];*/
|
|
1505
|
+
this.initTalkForm(receiver, receiverName, replyId)
|
|
1506
|
+
this.showTalkDialog = true;
|
|
1507
|
+
if (flag == 1) {
|
|
1508
|
+
let opeaBtnDom = this.$refs.opeaBtn;
|
|
1509
|
+
opeaBtnDom && opeaBtnDom.scrollIntoView();
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
initTalkForm(receiver, receiverName, replyId) {
|
|
1513
|
+
this.talkForm.receiver = receiver || null;
|
|
1514
|
+
this.talkForm.receiverName = receiverName || null;
|
|
1515
|
+
this.talkForm.replyId = replyId || null;
|
|
1516
|
+
this.talkForm.content = null;
|
|
1517
|
+
this.talkForm.attachmentDTOs = [];
|
|
1518
|
+
},
|
|
1519
|
+
submitTalkForm() {
|
|
1520
|
+
let that = getTarget(this);
|
|
1521
|
+
var procInstId = this.wfInfo.procInstId;
|
|
1522
|
+
var taskId = this.wfInfo.taskId;
|
|
1523
|
+
|
|
1524
|
+
if (!this.talkForm.receiver) {
|
|
1525
|
+
that.$message({
|
|
1526
|
+
message: this.$t2('请选择接收人', 'components.wf.talkWarnMsg1'),
|
|
1527
|
+
type: "error",
|
|
1528
|
+
duration: 2 * 1000,
|
|
1529
|
+
});
|
|
1530
|
+
return false;
|
|
1531
|
+
}
|
|
1532
|
+
if (!this.talkForm.content) {
|
|
1533
|
+
that.$message({
|
|
1534
|
+
message: this.$t2('请输入沟通内容', 'components.wf.talkWarnMsg2'),
|
|
1535
|
+
type: "error",
|
|
1536
|
+
duration: 2 * 1000,
|
|
1537
|
+
});
|
|
1538
|
+
return false;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
var data = {
|
|
1542
|
+
taskId: taskId,
|
|
1543
|
+
uuid: this.wfInfo.uuid,
|
|
1544
|
+
receiver: this.talkForm.receiver,
|
|
1545
|
+
receiverName: this.talkForm.receiverName,
|
|
1546
|
+
replyId: this.talkForm.replyId,
|
|
1547
|
+
content: this.talkForm.content,
|
|
1548
|
+
attachmentDTOs: this.talkForm.attachmentDTOs,
|
|
1549
|
+
notifyType: "wfLinkup",
|
|
1550
|
+
};
|
|
1551
|
+
this.showTalkDialog = false;
|
|
1552
|
+
that.$http({
|
|
1553
|
+
url: this.current_prefix + "/wf_linkup/save",
|
|
1554
|
+
data: data,
|
|
1555
|
+
method: "post",
|
|
1556
|
+
isLoading: true,
|
|
1557
|
+
success: (resultMsg) => {
|
|
1558
|
+
that.$message({
|
|
1559
|
+
message: resultMsg.content,
|
|
1560
|
+
type: "success",
|
|
1561
|
+
duration: 500,
|
|
1562
|
+
onClose: (t) => {
|
|
1563
|
+
this.reloadContent();
|
|
1564
|
+
this.closeWinOnCheck(5);
|
|
1565
|
+
},
|
|
1566
|
+
});
|
|
1567
|
+
},
|
|
1568
|
+
});
|
|
1569
|
+
},
|
|
1570
|
+
openTalkUserDialog() {
|
|
1571
|
+
this.showTalkUserDialog = true;
|
|
1572
|
+
},
|
|
1573
|
+
confirmTalkUserDialog(rows) {
|
|
1574
|
+
if (rows.length > 0) {
|
|
1575
|
+
let row = rows[0];
|
|
1576
|
+
if (this.talkForm.receiver != row.id) {
|
|
1577
|
+
this.talkForm.replyId = null;
|
|
1578
|
+
}
|
|
1579
|
+
this.talkForm.receiver = row.id;
|
|
1580
|
+
this.talkForm.receiverName = row.nickName;
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
confirmUrging() {
|
|
1584
|
+
this.reloadContent();
|
|
1585
|
+
},
|
|
1586
|
+
confirmDeleteTaskUser() {
|
|
1587
|
+
this.reloadContent();
|
|
1588
|
+
},
|
|
1589
|
+
confirmAddTaskUser(rows) {
|
|
1590
|
+
this.addIncreaseSignUsers = rows;
|
|
1591
|
+
this.addIncreaseSignForm.userNickNames = rows.map(row => row.nickName).join(',');
|
|
1592
|
+
// this.reloadContent();
|
|
1593
|
+
},
|
|
1594
|
+
submitAddTaskUserForm(flag) {
|
|
1595
|
+
let that = getTarget(this);
|
|
1596
|
+
let userIds = this.addIncreaseSignUsers.map((checkRow) => checkRow.id);
|
|
1597
|
+
if (userIds.length == 0) {
|
|
1598
|
+
that.$message({
|
|
1599
|
+
message: this.$t2('请选择候选人', 'components.wf.addIncreaseSignWarnMsg1'),
|
|
1600
|
+
type: "error",
|
|
1601
|
+
duration: 2000,
|
|
1602
|
+
onClose: (t) => {
|
|
1603
|
+
},
|
|
1604
|
+
});
|
|
1605
|
+
return false;
|
|
1606
|
+
}
|
|
1607
|
+
let toDo = () => {
|
|
1608
|
+
var data = JSON.stringify({
|
|
1609
|
+
uuid: this.wfInfo.uuid,
|
|
1610
|
+
taskId: this.wfInfo.taskId,
|
|
1611
|
+
userIds: userIds,
|
|
1612
|
+
suggestion: this.addIncreaseSignForm.opinion
|
|
1613
|
+
|
|
1614
|
+
});
|
|
1615
|
+
this.agreeDialogVisible = false;
|
|
1616
|
+
that.$http({
|
|
1617
|
+
url: this.current_prefix + "/wf/addIncreaseSign",
|
|
1618
|
+
data: data,
|
|
1619
|
+
method: "post",
|
|
1620
|
+
loadingTarget: document.body,
|
|
1621
|
+
headers: {
|
|
1622
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
1623
|
+
},
|
|
1624
|
+
isLoading: true,
|
|
1625
|
+
success: (resultMsg) => {
|
|
1626
|
+
that.$message({
|
|
1627
|
+
message: resultMsg.content,
|
|
1628
|
+
type: "success",
|
|
1629
|
+
duration: 500,
|
|
1630
|
+
onClose: (t) => {
|
|
1631
|
+
this.reloadContent();
|
|
1632
|
+
},
|
|
1633
|
+
});
|
|
1634
|
+
},
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
if (flag === 0) {
|
|
1638
|
+
toDo();
|
|
1639
|
+
} else {
|
|
1640
|
+
that.$baseConfirm(this.$t2('您确定要加签吗?', 'components.wf.addIncreaseSignConfirmTip')).then(() => {
|
|
1641
|
+
toDo();
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
openSetCandidateDialog(operateType) {
|
|
1646
|
+
this.operateType = operateType;
|
|
1647
|
+
this.showSetCandidateDialog = true;
|
|
1648
|
+
},
|
|
1649
|
+
closeSetCandidateDialog() {
|
|
1650
|
+
this.showSetCandidateDialog = false;
|
|
1651
|
+
this.reloadContent();
|
|
1652
|
+
},
|
|
1653
|
+
openRevokeDialog(operateType) {
|
|
1654
|
+
this.operateType = operateType;
|
|
1655
|
+
this.revokeForm = {opinion: null}
|
|
1656
|
+
this.revokeDialogVisible = true;
|
|
1657
|
+
},
|
|
1658
|
+
subRevokeForm(flag) {
|
|
1659
|
+
//撤回
|
|
1660
|
+
let that = getTarget(this);
|
|
1661
|
+
let toDo = () => {
|
|
1662
|
+
var data = JSON.stringify({
|
|
1663
|
+
uuid: this.wfInfo.uuid,
|
|
1664
|
+
taskId: this.wfInfo.taskId,
|
|
1665
|
+
suggestion: this.revokeForm.opinion,
|
|
1666
|
+
});
|
|
1667
|
+
this.revokeDialogVisible = false;
|
|
1668
|
+
that.$http({
|
|
1669
|
+
url: this.current_prefix + "/wf/revoke",
|
|
1670
|
+
data: data,
|
|
1671
|
+
method: "post",
|
|
1672
|
+
loadingTarget: document.body,
|
|
1673
|
+
headers: {
|
|
1674
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
1675
|
+
},
|
|
1676
|
+
isLoading: true,
|
|
1677
|
+
success: (resultMsg) => {
|
|
1678
|
+
that.$message({
|
|
1679
|
+
message: resultMsg.content,
|
|
1680
|
+
type: "success",
|
|
1681
|
+
duration: 500,
|
|
1682
|
+
onClose: (t) => {
|
|
1683
|
+
this.reloadContent();
|
|
1684
|
+
},
|
|
1685
|
+
});
|
|
1686
|
+
},
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1689
|
+
if (flag === 0) {
|
|
1690
|
+
toDo();
|
|
1691
|
+
} else {
|
|
1692
|
+
that.$baseConfirm(this.$t2('您确定要撤回吗?', 'components.wf.revokeConfirmTip')).then(() => {
|
|
1693
|
+
toDo();
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
</script>
|
|
1700
|
+
|
|
1701
|
+
<style scoped>
|
|
1702
|
+
::v-deep .form-box.el-form .el-form-item .el-form-item__label {
|
|
1703
|
+
width: 70px
|
|
1704
|
+
}
|
|
1705
|
+
</style>
|