eoss-ui 0.3.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +929 -0
- package/README.md +30 -0
- package/lib/button-group.js +2857 -0
- package/lib/button.js +2884 -0
- package/lib/card.js +603 -0
- package/lib/cascader.js +373 -0
- package/lib/checkbox-group.js +3099 -0
- package/lib/clients.js +375 -0
- package/lib/config/api.js +205 -0
- package/lib/data-table-form.js +3848 -0
- package/lib/data-table.js +6315 -0
- package/lib/date-picker.js +2821 -0
- package/lib/dialog.js +3730 -0
- package/lib/enterprise.js +372 -0
- package/lib/eoss-ui.common.js +65365 -0
- package/lib/error-page.js +293 -0
- package/lib/flow-group.js +4200 -0
- package/lib/flow-list.js +4350 -0
- package/lib/flow.js +12893 -0
- package/lib/form.js +15635 -0
- package/lib/handle-user.js +2900 -0
- package/lib/handler.js +3118 -0
- package/lib/index.js +1 -0
- package/lib/input-number.js +2743 -0
- package/lib/input.js +2935 -0
- package/lib/label.js +411 -0
- package/lib/login.js +5048 -0
- package/lib/main.js +5816 -0
- package/lib/mainComp.js +6530 -0
- package/lib/menu.js +529 -0
- package/lib/nav.js +3048 -0
- package/lib/notify.js +1079 -0
- package/lib/page.js +3036 -0
- package/lib/pagination.js +354 -0
- package/lib/player.js +2904 -0
- package/lib/qr-code.js +2860 -0
- package/lib/radio-group.js +3091 -0
- package/lib/select-ganged.js +3242 -0
- package/lib/select.js +3295 -0
- package/lib/selector-panel.js +4425 -0
- package/lib/selector.js +3722 -0
- package/lib/sizer.js +3067 -0
- package/lib/steps.js +2943 -0
- package/lib/switch.js +2784 -0
- package/lib/table-form.js +6211 -0
- package/lib/tabs-panel.js +274 -0
- package/lib/tabs.js +4988 -0
- package/lib/theme-chalk/base.css +1 -0
- package/lib/theme-chalk/button-group.css +1 -0
- package/lib/theme-chalk/button.css +0 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/cascader.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +1 -0
- package/lib/theme-chalk/clients.css +1 -0
- package/lib/theme-chalk/data-table-form.css +1 -0
- package/lib/theme-chalk/data-table.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/enterprise.css +1 -0
- package/lib/theme-chalk/error-page.css +1 -0
- package/lib/theme-chalk/flow-chart.css +0 -0
- package/lib/theme-chalk/flow-group.css +1 -0
- package/lib/theme-chalk/flow-list.css +1 -0
- package/lib/theme-chalk/flow.css +1 -0
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/handle-user.css +1 -0
- package/lib/theme-chalk/handler.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/index.css +1 -0
- package/lib/theme-chalk/input-number.css +0 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/label.css +1 -0
- package/lib/theme-chalk/login.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/mainComp.css +0 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/nav.css +1 -0
- package/lib/theme-chalk/notify.css +0 -0
- package/lib/theme-chalk/page.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/player.css +1 -0
- package/lib/theme-chalk/qr-code.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/select-ganged.css +1 -0
- package/lib/theme-chalk/select.css +0 -0
- package/lib/theme-chalk/selector-panel.css +1 -0
- package/lib/theme-chalk/selector.css +1 -0
- package/lib/theme-chalk/sizer.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/table-form.css +0 -0
- package/lib/theme-chalk/tabs-panel.css +0 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tips.css +1 -0
- package/lib/theme-chalk/toolbar.css +1 -0
- package/lib/theme-chalk/tree-group.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/upload.css +1 -0
- package/lib/theme-chalk/wujie.css +0 -0
- package/lib/theme-chalk/wxlogin.css +1 -0
- package/lib/tips.js +2830 -0
- package/lib/toolbar.js +531 -0
- package/lib/tree-group.js +3373 -0
- package/lib/tree.js +3482 -0
- package/lib/upload.js +3913 -0
- package/lib/utils/bus.js +9 -0
- package/lib/utils/date-util.js +318 -0
- package/lib/utils/http.js +58 -0
- package/lib/utils/rules.js +19 -0
- package/lib/utils/store.js +22 -0
- package/lib/utils/util.js +2056 -0
- package/lib/wujie.js +2845 -0
- package/lib/wxlogin.js +2799 -0
- package/package.json +151 -0
- package/packages/button/index.js +5 -0
- package/packages/button/src/main.vue +264 -0
- package/packages/button-group/index.js +5 -0
- package/packages/button-group/src/main.vue +130 -0
- package/packages/card/index.js +5 -0
- package/packages/card/src/main.vue +144 -0
- package/packages/cascader/index.js +5 -0
- package/packages/cascader/src/main.vue +144 -0
- package/packages/checkbox-group/index.js +5 -0
- package/packages/checkbox-group/src/main.vue +285 -0
- package/packages/clients/index.js +5 -0
- package/packages/clients/src/main.vue +50 -0
- package/packages/data-table/index.js +5 -0
- package/packages/data-table/src/children.vue +40 -0
- package/packages/data-table/src/column.vue +796 -0
- package/packages/data-table/src/main copy.vue +1383 -0
- package/packages/data-table/src/main.vue +1229 -0
- package/packages/data-table/src/mixins/table.js +12 -0
- package/packages/data-table/src/sizer.vue +160 -0
- package/packages/data-table-form/index.js +5 -0
- package/packages/data-table-form/src/colgroup.vue +17 -0
- package/packages/data-table-form/src/main.vue +167 -0
- package/packages/data-table-form/src/table.vue +192 -0
- package/packages/data-table-form/src/tbody.vue +219 -0
- package/packages/data-table-form/src/thead.vue +68 -0
- package/packages/date-picker/index.js +5 -0
- package/packages/date-picker/src/main.vue +185 -0
- package/packages/dialog/index.js +5 -0
- package/packages/dialog/src/main.vue +442 -0
- package/packages/enterprise/index.js +5 -0
- package/packages/enterprise/src/main.vue +66 -0
- package/packages/error-page/index.js +5 -0
- package/packages/error-page/src/main.vue +44 -0
- package/packages/flow/index.js +5 -0
- package/packages/flow/src/component/CommonOpinions.vue +290 -0
- package/packages/flow/src/component/CustomPreset.vue +311 -0
- package/packages/flow/src/component/FileList.vue +97 -0
- package/packages/flow/src/component/Preset.vue +253 -0
- package/packages/flow/src/component/SendMsg.vue +221 -0
- package/packages/flow/src/component/TimeLimit.vue +190 -0
- package/packages/flow/src/component/taskUnionExamine.vue +507 -0
- package/packages/flow/src/form.vue +120 -0
- package/packages/flow/src/main.vue +2107 -0
- package/packages/flow/src/processForm.vue +866 -0
- package/packages/flow/src/processReject.vue +262 -0
- package/packages/flow/src/selectUser.vue +425 -0
- package/packages/flow/src/startTaskRead.vue +556 -0
- package/packages/flow/src/table.vue +51 -0
- package/packages/flow-group/index.js +5 -0
- package/packages/flow-group/src/main.vue +540 -0
- package/packages/flow-list/index.js +5 -0
- package/packages/flow-list/src/flow-table.vue +445 -0
- package/packages/flow-list/src/main.vue +456 -0
- package/packages/form/index.js +5 -0
- package/packages/form/src/main.vue +4429 -0
- package/packages/form/src/table.vue +1196 -0
- package/packages/handle-user/index.js +5 -0
- package/packages/handle-user/src/main.vue +122 -0
- package/packages/handler/index.js +5 -0
- package/packages/handler/src/main.vue +306 -0
- package/packages/input/index.js +5 -0
- package/packages/input/src/main.vue +307 -0
- package/packages/input-number/index.js +5 -0
- package/packages/input-number/src/main.vue +106 -0
- package/packages/label/index.js +5 -0
- package/packages/label/src/main.vue +208 -0
- package/packages/login/index.js +5 -0
- package/packages/login/src/main.vue +1193 -0
- package/packages/login/src/resetPassword.vue +332 -0
- package/packages/main/index.js +5 -0
- package/packages/main/src/main.vue +1496 -0
- package/packages/main/src/message.vue +239 -0
- package/packages/main/src/notice.vue +145 -0
- package/packages/main/src/settings.vue +105 -0
- package/packages/main/src/userinfo.vue +430 -0
- package/packages/mainComp/index.js +5 -0
- package/packages/mainComp/src/async-component/index.vue +85 -0
- package/packages/mainComp/src/main.vue +1934 -0
- package/packages/mainComp/src/message.vue +239 -0
- package/packages/mainComp/src/notice.vue +152 -0
- package/packages/mainComp/src/settings.vue +105 -0
- package/packages/mainComp/src/userinfo.vue +423 -0
- package/packages/menu/index.js +5 -0
- package/packages/menu/src/main.vue +401 -0
- package/packages/nav/index.js +5 -0
- package/packages/nav/src/main.vue +250 -0
- package/packages/notify/index.js +5 -0
- package/packages/notify/src/main.vue +538 -0
- package/packages/page/index.js +5 -0
- package/packages/page/src/main.vue +167 -0
- package/packages/pagination/index.js +5 -0
- package/packages/pagination/src/main.vue +77 -0
- package/packages/player/index.js +5 -0
- package/packages/player/src/main.vue +194 -0
- package/packages/qr-code/index.js +5 -0
- package/packages/qr-code/src/main.vue +154 -0
- package/packages/radio/index.js +5 -0
- package/packages/radio/src/main.vue +259 -0
- package/packages/radio-group/index.js +6 -0
- package/packages/radio-group/src/main.vue +267 -0
- package/packages/select/index.js +5 -0
- package/packages/select/src/main.vue +683 -0
- package/packages/select-ganged/index.js +5 -0
- package/packages/select-ganged/src/main.vue +686 -0
- package/packages/selector/index.js +5 -0
- package/packages/selector/src/main.vue +588 -0
- package/packages/selector-panel/index.js +5 -0
- package/packages/selector-panel/src/main.vue +968 -0
- package/packages/selector-panel/src/selection.vue +142 -0
- package/packages/selector-panel/src/tree.vue +129 -0
- package/packages/sizer/index.js +5 -0
- package/packages/sizer/src/main.vue +254 -0
- package/packages/steps/index.js +5 -0
- package/packages/steps/src/main.vue +175 -0
- package/packages/switch/index.js +5 -0
- package/packages/switch/src/main.vue +154 -0
- package/packages/table-form/index.js +5 -0
- package/packages/tabs/index.js +5 -0
- package/packages/tabs/src/main.vue +749 -0
- package/packages/tabs-panel/index.js +5 -0
- package/packages/tabs-panel/src/main.vue +18 -0
- package/packages/theme-chalk/README.md +33 -0
- package/packages/theme-chalk/lib/base.css +1 -0
- package/packages/theme-chalk/lib/button-group.css +1 -0
- package/packages/theme-chalk/lib/button.css +0 -0
- package/packages/theme-chalk/lib/card.css +1 -0
- package/packages/theme-chalk/lib/cascader.css +0 -0
- package/packages/theme-chalk/lib/checkbox-group.css +1 -0
- package/packages/theme-chalk/lib/clients.css +1 -0
- package/packages/theme-chalk/lib/data-table-form.css +1 -0
- package/packages/theme-chalk/lib/data-table.css +1 -0
- package/packages/theme-chalk/lib/date-picker.css +1 -0
- package/packages/theme-chalk/lib/dialog.css +1 -0
- package/packages/theme-chalk/lib/enterprise.css +1 -0
- package/packages/theme-chalk/lib/error-page.css +1 -0
- package/packages/theme-chalk/lib/flow-chart.css +0 -0
- package/packages/theme-chalk/lib/flow-group.css +1 -0
- package/packages/theme-chalk/lib/flow-list.css +1 -0
- package/packages/theme-chalk/lib/flow.css +1 -0
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/form.css +1 -0
- package/packages/theme-chalk/lib/handle-user.css +1 -0
- package/packages/theme-chalk/lib/handler.css +1 -0
- package/packages/theme-chalk/lib/icon.css +1 -0
- package/packages/theme-chalk/lib/index.css +1 -0
- package/packages/theme-chalk/lib/input-number.css +0 -0
- package/packages/theme-chalk/lib/input.css +1 -0
- package/packages/theme-chalk/lib/label.css +1 -0
- package/packages/theme-chalk/lib/login.css +1 -0
- package/packages/theme-chalk/lib/main.css +1 -0
- package/packages/theme-chalk/lib/mainComp.css +0 -0
- package/packages/theme-chalk/lib/menu.css +1 -0
- package/packages/theme-chalk/lib/nav.css +1 -0
- package/packages/theme-chalk/lib/notify.css +0 -0
- package/packages/theme-chalk/lib/page.css +1 -0
- package/packages/theme-chalk/lib/pagination.css +1 -0
- package/packages/theme-chalk/lib/player.css +1 -0
- package/packages/theme-chalk/lib/qr-code.css +1 -0
- package/packages/theme-chalk/lib/radio-group.css +1 -0
- package/packages/theme-chalk/lib/radio.css +1 -0
- package/packages/theme-chalk/lib/select-ganged.css +1 -0
- package/packages/theme-chalk/lib/select.css +0 -0
- package/packages/theme-chalk/lib/selector-panel.css +1 -0
- package/packages/theme-chalk/lib/selector.css +1 -0
- package/packages/theme-chalk/lib/sizer.css +1 -0
- package/packages/theme-chalk/lib/steps.css +1 -0
- package/packages/theme-chalk/lib/switch.css +1 -0
- package/packages/theme-chalk/lib/table-form.css +0 -0
- package/packages/theme-chalk/lib/tabs-panel.css +0 -0
- package/packages/theme-chalk/lib/tabs.css +1 -0
- package/packages/theme-chalk/lib/tips.css +1 -0
- package/packages/theme-chalk/lib/toolbar.css +1 -0
- package/packages/theme-chalk/lib/tree-group.css +1 -0
- package/packages/theme-chalk/lib/tree.css +1 -0
- package/packages/theme-chalk/lib/upload.css +1 -0
- package/packages/theme-chalk/lib/wujie.css +0 -0
- package/packages/theme-chalk/lib/wxlogin.css +1 -0
- package/packages/theme-chalk/package.json +35 -0
- package/packages/theme-chalk/src/base.scss +165 -0
- package/packages/theme-chalk/src/button-group.scss +9 -0
- package/packages/theme-chalk/src/button.scss +0 -0
- package/packages/theme-chalk/src/card.scss +55 -0
- package/packages/theme-chalk/src/cascader.scss +0 -0
- package/packages/theme-chalk/src/checkbox-group.scss +8 -0
- package/packages/theme-chalk/src/clients.scss +72 -0
- package/packages/theme-chalk/src/common/var.scss +1516 -0
- package/packages/theme-chalk/src/data-table-form.scss +55 -0
- package/packages/theme-chalk/src/data-table.scss +202 -0
- package/packages/theme-chalk/src/date-picker.scss +8 -0
- package/packages/theme-chalk/src/dialog.scss +52 -0
- package/packages/theme-chalk/src/enterprise.scss +5 -0
- package/packages/theme-chalk/src/error-page.scss +18 -0
- package/packages/theme-chalk/src/flow-chart.scss +0 -0
- package/packages/theme-chalk/src/flow-group.scss +101 -0
- package/packages/theme-chalk/src/flow-list.scss +41 -0
- package/packages/theme-chalk/src/flow.scss +285 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/form.scss +451 -0
- package/packages/theme-chalk/src/handle-user.scss +40 -0
- package/packages/theme-chalk/src/handler.scss +131 -0
- package/packages/theme-chalk/src/icon.scss +1714 -0
- package/packages/theme-chalk/src/index.scss +50 -0
- package/packages/theme-chalk/src/input-number.scss +0 -0
- package/packages/theme-chalk/src/input.scss +3 -0
- package/packages/theme-chalk/src/label.scss +24 -0
- package/packages/theme-chalk/src/login.scss +490 -0
- package/packages/theme-chalk/src/main.scss +483 -0
- package/packages/theme-chalk/src/mainComp.scss +0 -0
- package/packages/theme-chalk/src/menu.scss +201 -0
- package/packages/theme-chalk/src/mixins/color.scss +117 -0
- package/packages/theme-chalk/src/mixins/mixins.scss +25 -0
- package/packages/theme-chalk/src/nav.scss +73 -0
- package/packages/theme-chalk/src/notify.scss +0 -0
- package/packages/theme-chalk/src/page.scss +3 -0
- package/packages/theme-chalk/src/pagination.scss +14 -0
- package/packages/theme-chalk/src/player.scss +9 -0
- package/packages/theme-chalk/src/qr-code.scss +17 -0
- package/packages/theme-chalk/src/radio-group.scss +9 -0
- package/packages/theme-chalk/src/radio.scss +3 -0
- package/packages/theme-chalk/src/select-ganged.scss +9 -0
- package/packages/theme-chalk/src/select.scss +0 -0
- package/packages/theme-chalk/src/selector-panel.scss +203 -0
- package/packages/theme-chalk/src/selector.scss +85 -0
- package/packages/theme-chalk/src/sizer.scss +36 -0
- package/packages/theme-chalk/src/steps.scss +88 -0
- package/packages/theme-chalk/src/switch.scss +3 -0
- package/packages/theme-chalk/src/table-form.scss +1 -0
- package/packages/theme-chalk/src/tabs-panel.scss +0 -0
- package/packages/theme-chalk/src/tabs.scss +91 -0
- package/packages/theme-chalk/src/tips.scss +7 -0
- package/packages/theme-chalk/src/toolbar.scss +121 -0
- package/packages/theme-chalk/src/tree-group.scss +64 -0
- package/packages/theme-chalk/src/tree.scss +140 -0
- package/packages/theme-chalk/src/upload.scss +131 -0
- package/packages/theme-chalk/src/wujie.scss +0 -0
- package/packages/theme-chalk/src/wxlogin.scss +3 -0
- package/packages/tips/index.js +5 -0
- package/packages/tips/src/main.vue +126 -0
- package/packages/toolbar/index.js +5 -0
- package/packages/toolbar/src/main.vue +377 -0
- package/packages/tree/index.js +5 -0
- package/packages/tree/src/main.vue +636 -0
- package/packages/tree-group/index.js +5 -0
- package/packages/tree-group/src/main.vue +435 -0
- package/packages/upload/index.js +5 -0
- package/packages/upload/src/main.vue +1033 -0
- package/packages/upload/src/picture.js +15 -0
- package/packages/wujie/index.js +5 -0
- package/packages/wujie/src/main.vue +137 -0
- package/packages/wxlogin/index.js +5 -0
- package/packages/wxlogin/src/main.vue +110 -0
- package/src/config/api.js +211 -0
- package/src/index.js +167 -0
- package/src/utils/bus.js +3 -0
- package/src/utils/date-util.js +312 -0
- package/src/utils/http.js +50 -0
- package/src/utils/rules.js +18 -0
- package/src/utils/store.js +21 -0
- package/src/utils/util.js +2105 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height:100%">
|
|
3
|
+
<es-data-table :data="data" border style="width: 100%">
|
|
4
|
+
<el-table-column type="index" align="center" label="序号" width="50">
|
|
5
|
+
</el-table-column>
|
|
6
|
+
<el-table-column
|
|
7
|
+
prop="deptid"
|
|
8
|
+
align="center"
|
|
9
|
+
label="经办部门"
|
|
10
|
+
width="150"
|
|
11
|
+
>
|
|
12
|
+
</el-table-column>
|
|
13
|
+
<el-table-column
|
|
14
|
+
align="center"
|
|
15
|
+
label="步骤"
|
|
16
|
+
width="110"
|
|
17
|
+
show-overflow-tooltip
|
|
18
|
+
>
|
|
19
|
+
<template slot-scope="scope"
|
|
20
|
+
><span :title="scope.row.itemname">{{
|
|
21
|
+
scope.row.itemid
|
|
22
|
+
}}</span></template
|
|
23
|
+
>
|
|
24
|
+
</el-table-column>
|
|
25
|
+
<el-table-column align="center" label="办理人" width="110">
|
|
26
|
+
<template slot-scope="scope"
|
|
27
|
+
><span :title="scope.row.userName">{{
|
|
28
|
+
scope.row.userid
|
|
29
|
+
}}</span></template
|
|
30
|
+
>
|
|
31
|
+
</el-table-column>
|
|
32
|
+
<el-table-column
|
|
33
|
+
label="状态"
|
|
34
|
+
align="center"
|
|
35
|
+
width="60"
|
|
36
|
+
show-overflow-tooltip
|
|
37
|
+
>
|
|
38
|
+
<template slot-scope="scope"
|
|
39
|
+
><div
|
|
40
|
+
:style="
|
|
41
|
+
`${
|
|
42
|
+
scope.row.pendstate == 0 || scope.row.pendstate == 3
|
|
43
|
+
? 'color:red'
|
|
44
|
+
: scope.row.pendstate == 1
|
|
45
|
+
? 'color:green'
|
|
46
|
+
: 'color:deepskyblue'
|
|
47
|
+
}`
|
|
48
|
+
"
|
|
49
|
+
v-html="scope.row.querykeywords"></div
|
|
50
|
+
></template
|
|
51
|
+
>
|
|
52
|
+
</el-table-column>
|
|
53
|
+
<el-table-column align="center" label="办理意见" show-overflow-tooltip>
|
|
54
|
+
<template slot-scope="scope"
|
|
55
|
+
><span>{{
|
|
56
|
+
scope.row.doresult || scope.row.handleInfo
|
|
57
|
+
}}</span></template
|
|
58
|
+
>
|
|
59
|
+
</el-table-column>
|
|
60
|
+
<el-table-column
|
|
61
|
+
align="center"
|
|
62
|
+
label="验签"
|
|
63
|
+
width="70"
|
|
64
|
+
show-overflow-tooltip
|
|
65
|
+
>
|
|
66
|
+
<template slot-scope="scope"
|
|
67
|
+
><span style="color:deepskyblue">{{
|
|
68
|
+
scope.row.authTypeStr
|
|
69
|
+
}}</span></template
|
|
70
|
+
>
|
|
71
|
+
</el-table-column>
|
|
72
|
+
<el-table-column align="center" label="附件" width="70">
|
|
73
|
+
<template slot-scope="scope">
|
|
74
|
+
<div class="file" @click="showFile(scope.row.wfpendingid)">
|
|
75
|
+
<span
|
|
76
|
+
v-show="scope.row.hasAdjunct"
|
|
77
|
+
class="iconfont es-icon-fujian"
|
|
78
|
+
:style="fileStyle || 'color:red;font-size:20px'"
|
|
79
|
+
></span></div
|
|
80
|
+
></template>
|
|
81
|
+
</el-table-column>
|
|
82
|
+
<el-table-column width="130" align="center" label="时间">
|
|
83
|
+
<template slot-scope="scope">{{ scope.row.doetime | date }}</template>
|
|
84
|
+
</el-table-column>
|
|
85
|
+
<!-- <el-table-column align="center" prop="itemname" label="提醒" show-overflow-tooltip>
|
|
86
|
+
</el-table-column> -->
|
|
87
|
+
<el-table-column
|
|
88
|
+
align="center"
|
|
89
|
+
width="80"
|
|
90
|
+
prop="douserid"
|
|
91
|
+
label="代办人"
|
|
92
|
+
v-if="hasAgent == '1'"
|
|
93
|
+
show-overflow-tooltip
|
|
94
|
+
>
|
|
95
|
+
</el-table-column>
|
|
96
|
+
<el-table-column
|
|
97
|
+
align="center"
|
|
98
|
+
label="催办"
|
|
99
|
+
width="60"
|
|
100
|
+
show-overflow-tooltip
|
|
101
|
+
>
|
|
102
|
+
<template slot-scope="scope">
|
|
103
|
+
<span
|
|
104
|
+
style="color:deepskyblue;cursor: pointer;"
|
|
105
|
+
@click="goPress(scope.row.id)"
|
|
106
|
+
>{{ scope.row.pressTimes }}</span
|
|
107
|
+
>
|
|
108
|
+
</template>
|
|
109
|
+
</el-table-column>
|
|
110
|
+
<el-table-column
|
|
111
|
+
align="center"
|
|
112
|
+
:width="modify ? '130' : '100'"
|
|
113
|
+
label="操作"
|
|
114
|
+
>
|
|
115
|
+
<template slot-scope="scope">
|
|
116
|
+
<el-button v-show="scope.row.canDelete" @click="del(scope.row.id)"
|
|
117
|
+
>删除</el-button
|
|
118
|
+
>
|
|
119
|
+
<el-button
|
|
120
|
+
v-show="modify && scope.row.pendstate == 2"
|
|
121
|
+
@click="hadelModify(scope.row.id)"
|
|
122
|
+
>修改</el-button
|
|
123
|
+
>
|
|
124
|
+
</template>
|
|
125
|
+
</el-table-column>
|
|
126
|
+
</es-data-table>
|
|
127
|
+
<es-dialog
|
|
128
|
+
append-to-body
|
|
129
|
+
:close-on-click-modal="false"
|
|
130
|
+
title="查看附件"
|
|
131
|
+
:visible.sync="showFileList"
|
|
132
|
+
v-if="showFileList"
|
|
133
|
+
>
|
|
134
|
+
<FileList
|
|
135
|
+
:ownId="wfpendingid"
|
|
136
|
+
:code="adjunctCode"
|
|
137
|
+
:deleted="false"
|
|
138
|
+
:disabled="true"
|
|
139
|
+
@cancel="showFileList = false"
|
|
140
|
+
/>
|
|
141
|
+
</es-dialog>
|
|
142
|
+
<es-dialog
|
|
143
|
+
append-to-body
|
|
144
|
+
:close-on-click-modal="false"
|
|
145
|
+
title="查看催办记录"
|
|
146
|
+
:visible.sync="showPress"
|
|
147
|
+
height="500px"
|
|
148
|
+
v-if="showPress"
|
|
149
|
+
>
|
|
150
|
+
<div style="height:400px" v-loading="pressLoading">
|
|
151
|
+
<es-data-table
|
|
152
|
+
:data="pressTableList"
|
|
153
|
+
:thead="pressThead"
|
|
154
|
+
stripe
|
|
155
|
+
full
|
|
156
|
+
style="width: 100%"
|
|
157
|
+
@sort-change="sortChange"
|
|
158
|
+
/>
|
|
159
|
+
<el-pagination
|
|
160
|
+
@size-change="handleSizeChange"
|
|
161
|
+
@current-change="handleCurrentChange"
|
|
162
|
+
:current-page="currentPage"
|
|
163
|
+
:page-sizes="[5, 10, 20, 30, 50, 100]"
|
|
164
|
+
:page-size="pageSize"
|
|
165
|
+
layout="total, sizes, prev, pager, next, jumper"
|
|
166
|
+
:total="total"
|
|
167
|
+
class="pagination"
|
|
168
|
+
>
|
|
169
|
+
</el-pagination>
|
|
170
|
+
</div>
|
|
171
|
+
</es-dialog>
|
|
172
|
+
<es-dialog
|
|
173
|
+
append-to-body
|
|
174
|
+
:close-on-click-modal="false"
|
|
175
|
+
title="删除"
|
|
176
|
+
:visible.sync="showDel"
|
|
177
|
+
height="auto"
|
|
178
|
+
class="del-flow"
|
|
179
|
+
v-if="showDel"
|
|
180
|
+
>
|
|
181
|
+
<es-form
|
|
182
|
+
v-loading="delLoading"
|
|
183
|
+
:model="formData"
|
|
184
|
+
:contents="formItemList"
|
|
185
|
+
@submit="handleFormSubmit"
|
|
186
|
+
>
|
|
187
|
+
</es-form>
|
|
188
|
+
</es-dialog>
|
|
189
|
+
</div>
|
|
190
|
+
</template>
|
|
191
|
+
|
|
192
|
+
<script>
|
|
193
|
+
import util from 'eoss-ui/src/utils/util';
|
|
194
|
+
import FileList from '../../flow/src/component/FileList.vue';
|
|
195
|
+
import { pressListJson, deleteFlow } from 'eoss-ui/src/config/api';
|
|
196
|
+
export default {
|
|
197
|
+
name: 'FlowTable',
|
|
198
|
+
components: {
|
|
199
|
+
[FileList.name]: FileList
|
|
200
|
+
},
|
|
201
|
+
props: {
|
|
202
|
+
data: {
|
|
203
|
+
type: Array,
|
|
204
|
+
default: () => []
|
|
205
|
+
},
|
|
206
|
+
adjunctCode: {
|
|
207
|
+
type: String,
|
|
208
|
+
default: ''
|
|
209
|
+
},
|
|
210
|
+
fileStyle: {
|
|
211
|
+
default: ''
|
|
212
|
+
},
|
|
213
|
+
modify: {
|
|
214
|
+
type: Boolean,
|
|
215
|
+
default: false
|
|
216
|
+
},
|
|
217
|
+
hasAgent: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: '1'
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
filters: {
|
|
223
|
+
date(val) {
|
|
224
|
+
return util.formatDate(val, 'yyyy-MM-dd HH:mm');
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
data() {
|
|
228
|
+
return {
|
|
229
|
+
showFileList: false,
|
|
230
|
+
showPress: false,
|
|
231
|
+
showDel: false,
|
|
232
|
+
currentPage: 1,
|
|
233
|
+
pageSize: 20,
|
|
234
|
+
wfpendingid: '',
|
|
235
|
+
delLoading: false,
|
|
236
|
+
pressLoading: false,
|
|
237
|
+
pressTableList: [],
|
|
238
|
+
formItemList: [
|
|
239
|
+
{
|
|
240
|
+
name: 'reason',
|
|
241
|
+
label: '删除原因',
|
|
242
|
+
type: 'textarea',
|
|
243
|
+
placeholder: '请输入删除原因',
|
|
244
|
+
rules: {
|
|
245
|
+
required: true,
|
|
246
|
+
message: '请输入删除原因',
|
|
247
|
+
trigger: 'blur'
|
|
248
|
+
},
|
|
249
|
+
value: '',
|
|
250
|
+
rows: 5
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
type: 'submit',
|
|
254
|
+
skin: 'lay-form-btns',
|
|
255
|
+
contents: [
|
|
256
|
+
{
|
|
257
|
+
type: 'primary',
|
|
258
|
+
plain: true,
|
|
259
|
+
text: '保存',
|
|
260
|
+
event: 'confirm'
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
formData: { reason: '' },
|
|
266
|
+
historyId: '',
|
|
267
|
+
sidx: '',
|
|
268
|
+
sord: '',
|
|
269
|
+
total: 0,
|
|
270
|
+
pressThead: [
|
|
271
|
+
{
|
|
272
|
+
title: '催办节点',
|
|
273
|
+
align: 'center',
|
|
274
|
+
sortable: true,
|
|
275
|
+
field: 'urge_item'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
title: '催办人名称',
|
|
279
|
+
sortable: true,
|
|
280
|
+
align: 'center',
|
|
281
|
+
field: 'urge_man_name'
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
title: '催办时间',
|
|
285
|
+
sortable: true,
|
|
286
|
+
align: 'center',
|
|
287
|
+
field: 'urge_time'
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
title: '被催办人名称',
|
|
291
|
+
align: 'center',
|
|
292
|
+
sortable: true,
|
|
293
|
+
field: 'urged_man_name'
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
};
|
|
297
|
+
},
|
|
298
|
+
methods: {
|
|
299
|
+
/**
|
|
300
|
+
* handleFormSubmit
|
|
301
|
+
* @desc:删除节点点击事件
|
|
302
|
+
* @param {Object} formData 点击删除的form数据
|
|
303
|
+
* @author liufan
|
|
304
|
+
* @date 2022年11月29日
|
|
305
|
+
**/
|
|
306
|
+
handleFormSubmit(formData) {
|
|
307
|
+
this.delLoading = true;
|
|
308
|
+
let params = {
|
|
309
|
+
url: deleteFlow,
|
|
310
|
+
method: 'POST',
|
|
311
|
+
data: { id: this.historyId, reason: formData.reason }
|
|
312
|
+
};
|
|
313
|
+
util
|
|
314
|
+
.ajax(params)
|
|
315
|
+
.then(res => {
|
|
316
|
+
const { status, message } = res;
|
|
317
|
+
this.delLoading = false;
|
|
318
|
+
if (status === 'success') {
|
|
319
|
+
this.$message.success('删除成功');
|
|
320
|
+
this.showDel = false;
|
|
321
|
+
this.$emit('success');
|
|
322
|
+
} else {
|
|
323
|
+
this.$message.error(message || '系统错误,请联系管理员!');
|
|
324
|
+
}
|
|
325
|
+
})
|
|
326
|
+
.catch(err => {
|
|
327
|
+
this.delLoading = false;
|
|
328
|
+
if (err.message && err.message !== 'canceled') {
|
|
329
|
+
this.$message.error(err.message);
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* del
|
|
335
|
+
* @desc:展示删除弹窗
|
|
336
|
+
* @param {String} id 当前点击数据id
|
|
337
|
+
* @author liufan
|
|
338
|
+
* @date 2022年11月29日
|
|
339
|
+
**/
|
|
340
|
+
del(id) {
|
|
341
|
+
this.historyId = id;
|
|
342
|
+
this.showDel = true;
|
|
343
|
+
},
|
|
344
|
+
/**
|
|
345
|
+
* hadelModify
|
|
346
|
+
* @desc:展示修改弹窗
|
|
347
|
+
* @param {String} id 当前点击数据id
|
|
348
|
+
* @author liufan
|
|
349
|
+
* @date 2022年11月29日
|
|
350
|
+
**/
|
|
351
|
+
hadelModify(id) {
|
|
352
|
+
this.$message.warning('暂未开放,敬请期待!');
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* handleSizeChange
|
|
356
|
+
* @desc:监听每页数据显示数量变化
|
|
357
|
+
* @param {String} val 每页展示数量
|
|
358
|
+
* @author liufan
|
|
359
|
+
* @date 2022年11月29日
|
|
360
|
+
**/
|
|
361
|
+
handleSizeChange(val) {
|
|
362
|
+
this.pageSize = val;
|
|
363
|
+
this.getPressList();
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* handleCurrentChange
|
|
367
|
+
* @desc:监听页码变化
|
|
368
|
+
* @param {String} val 当前页
|
|
369
|
+
* @author liufan
|
|
370
|
+
* @date 2022年11月29日
|
|
371
|
+
**/
|
|
372
|
+
handleCurrentChange(val) {
|
|
373
|
+
this.currentPage = val;
|
|
374
|
+
this.getPressList();
|
|
375
|
+
},
|
|
376
|
+
/**
|
|
377
|
+
* sortChange
|
|
378
|
+
* @desc:监听排序变化
|
|
379
|
+
* @param {Object} info 需要排序的字段及排序方式
|
|
380
|
+
* @author liufan
|
|
381
|
+
* @date 2022年11月29日
|
|
382
|
+
**/
|
|
383
|
+
sortChange(info) {
|
|
384
|
+
let { prop, order } = info;
|
|
385
|
+
this.sidx = prop;
|
|
386
|
+
this.sord = order.replace('ending', '');
|
|
387
|
+
this.getPressList();
|
|
388
|
+
},
|
|
389
|
+
/**
|
|
390
|
+
* getPressList
|
|
391
|
+
* @desc:催办列表数据
|
|
392
|
+
* @author liufan
|
|
393
|
+
* @date 2022年11月29日
|
|
394
|
+
**/
|
|
395
|
+
getPressList() {
|
|
396
|
+
const { historyId, pageSize, sidx, sord, currentPage } = this;
|
|
397
|
+
this.pressLoading = true;
|
|
398
|
+
let params = {
|
|
399
|
+
url: pressListJson,
|
|
400
|
+
params: { historyId },
|
|
401
|
+
method: 'POST',
|
|
402
|
+
data: { page: currentPage, rows: pageSize, sidx, sord }
|
|
403
|
+
};
|
|
404
|
+
util
|
|
405
|
+
.ajax(params)
|
|
406
|
+
.then(res => {
|
|
407
|
+
this.pressTableList = res.data;
|
|
408
|
+
this.total = res.totalrecords;
|
|
409
|
+
this.pressLoading = false;
|
|
410
|
+
})
|
|
411
|
+
.catch(err => {
|
|
412
|
+
this.pressLoading = false;
|
|
413
|
+
if (err.message && err.message !== 'canceled') {
|
|
414
|
+
this.$message.error(err.message);
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* showFile
|
|
420
|
+
* @desc:附件查看
|
|
421
|
+
* @param {String} ownId 附件id
|
|
422
|
+
* @author liufan
|
|
423
|
+
* @date 2022年11月29日
|
|
424
|
+
**/
|
|
425
|
+
showFile(ownId) {
|
|
426
|
+
this.wfpendingid = ownId;
|
|
427
|
+
this.showFileList = true;
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
* goPress
|
|
431
|
+
* @desc:催办列表查看
|
|
432
|
+
* @param {String} id 催办列表id
|
|
433
|
+
* @author liufan
|
|
434
|
+
* @date 2022年11月29日
|
|
435
|
+
**/
|
|
436
|
+
goPress(id) {
|
|
437
|
+
this.historyId = id;
|
|
438
|
+
this.showPress = true;
|
|
439
|
+
this.getPressList();
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
</script>
|
|
444
|
+
|
|
445
|
+
<style></style>
|