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,538 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<es-data-table
|
|
3
|
+
ref="notify"
|
|
4
|
+
checkbox
|
|
5
|
+
page
|
|
6
|
+
stripe
|
|
7
|
+
numbers
|
|
8
|
+
row-key="id"
|
|
9
|
+
close
|
|
10
|
+
:key="tableCount"
|
|
11
|
+
:full="true"
|
|
12
|
+
:fit="true"
|
|
13
|
+
:thead="thead"
|
|
14
|
+
:toolbar="toolbar"
|
|
15
|
+
:url="sendList"
|
|
16
|
+
:param="defaultParam"
|
|
17
|
+
@success="successAfter"
|
|
18
|
+
>
|
|
19
|
+
<es-dialog
|
|
20
|
+
v-if="showForm"
|
|
21
|
+
title="查看"
|
|
22
|
+
:visible.sync="showForm"
|
|
23
|
+
:close-on-click-modal="false"
|
|
24
|
+
:middle="true"
|
|
25
|
+
height="600px"
|
|
26
|
+
class="dialog-form"
|
|
27
|
+
>
|
|
28
|
+
<es-form
|
|
29
|
+
ref="form"
|
|
30
|
+
:model="formData"
|
|
31
|
+
:param="params"
|
|
32
|
+
:contents="form"
|
|
33
|
+
:genre="2"
|
|
34
|
+
readonly
|
|
35
|
+
collapse
|
|
36
|
+
/>
|
|
37
|
+
</es-dialog>
|
|
38
|
+
</es-data-table>
|
|
39
|
+
</template>
|
|
40
|
+
<script>
|
|
41
|
+
import { sendList, sendInfo, sendBatch } from 'eoss-ui/src/config/api';
|
|
42
|
+
export default {
|
|
43
|
+
name: 'EsNotify',
|
|
44
|
+
componentName: 'EsNotify',
|
|
45
|
+
mixins: [],
|
|
46
|
+
props: {
|
|
47
|
+
param: {
|
|
48
|
+
type: Object,
|
|
49
|
+
default() {
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
thead: {
|
|
54
|
+
type: Array,
|
|
55
|
+
default() {
|
|
56
|
+
return [
|
|
57
|
+
{
|
|
58
|
+
title: '标题',
|
|
59
|
+
align: 'left',
|
|
60
|
+
field: 'title',
|
|
61
|
+
minWidth: 300
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: '发送者',
|
|
65
|
+
field: 'senderInfo',
|
|
66
|
+
align: 'center',
|
|
67
|
+
width: 200,
|
|
68
|
+
render: (h, params) => {
|
|
69
|
+
return h('p', {}, [
|
|
70
|
+
params.row.senderInfo == null ? '--' : params.row.senderInfo
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: '接收人',
|
|
76
|
+
field: 'msgTo',
|
|
77
|
+
align: 'center',
|
|
78
|
+
width: 200,
|
|
79
|
+
render: (h, params) => {
|
|
80
|
+
return h(
|
|
81
|
+
'el-popover',
|
|
82
|
+
{
|
|
83
|
+
props: {
|
|
84
|
+
placement: 'bottom',
|
|
85
|
+
trigger: 'hover',
|
|
86
|
+
content: '标识ID: ' + params.row.msgTo
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
[h('p', { slot: 'reference' }, params.row.accepterInfo)]
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
title: '发送方式',
|
|
95
|
+
align: 'center',
|
|
96
|
+
field: 'sendType',
|
|
97
|
+
width: 120,
|
|
98
|
+
render: (h, params) => {
|
|
99
|
+
return h(
|
|
100
|
+
'el-popover',
|
|
101
|
+
{
|
|
102
|
+
props: {
|
|
103
|
+
placement: 'bottom',
|
|
104
|
+
trigger: 'hover',
|
|
105
|
+
content: '标识: ' + params.row.sendType
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
[
|
|
109
|
+
h(
|
|
110
|
+
'el-tag',
|
|
111
|
+
{ slot: 'reference', props: { type: '' } },
|
|
112
|
+
this.formartSendType(params.row.sendType)
|
|
113
|
+
)
|
|
114
|
+
]
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
title: '消息状态',
|
|
120
|
+
align: 'center',
|
|
121
|
+
field: 'status',
|
|
122
|
+
width: 200,
|
|
123
|
+
render: (h, params) => {
|
|
124
|
+
let sta = params.row.status;
|
|
125
|
+
return h(
|
|
126
|
+
'el-popover',
|
|
127
|
+
{
|
|
128
|
+
props: {
|
|
129
|
+
placement: 'bottom',
|
|
130
|
+
trigger: 'hover',
|
|
131
|
+
content: sta == 2 ? '发送成功' : params.row.sendResponse
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
[
|
|
135
|
+
//-2-被终止 -1-发送失败 0-等待发送 1-重试中 2-发送成功 3-用户自定义忽略/拒收 4 发送时间超期 5 超过最大发送条数 6 第三方发送失败"
|
|
136
|
+
h(
|
|
137
|
+
'el-tag',
|
|
138
|
+
{
|
|
139
|
+
slot: 'reference',
|
|
140
|
+
props: {
|
|
141
|
+
type:
|
|
142
|
+
sta == 2
|
|
143
|
+
? 'success'
|
|
144
|
+
: sta == -1 || sta == 6
|
|
145
|
+
? 'danger'
|
|
146
|
+
: 'warning'
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
this.formartStatus(sta)
|
|
150
|
+
)
|
|
151
|
+
]
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
title: '预约时间',
|
|
157
|
+
align: 'center',
|
|
158
|
+
field: 'startTime',
|
|
159
|
+
width: 160
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
title: '重发次数',
|
|
163
|
+
align: 'center',
|
|
164
|
+
field: 'retryCountAlready',
|
|
165
|
+
width: 80,
|
|
166
|
+
render: (h, params) => {
|
|
167
|
+
return h(
|
|
168
|
+
'p',
|
|
169
|
+
{},
|
|
170
|
+
params.row.retryCountAlready == null
|
|
171
|
+
? '0'
|
|
172
|
+
: params.row.retryCountAlready
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
title: '操作',
|
|
178
|
+
type: 'handle',
|
|
179
|
+
width: 180,
|
|
180
|
+
// template: '',
|
|
181
|
+
events: [
|
|
182
|
+
{
|
|
183
|
+
text: '查看',
|
|
184
|
+
event: res => {
|
|
185
|
+
let { row } = res;
|
|
186
|
+
this.params = { id: row.id };
|
|
187
|
+
this.showForm = true;
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
text: '重发',
|
|
192
|
+
format: false,
|
|
193
|
+
method: 'post',
|
|
194
|
+
action: sendBatch
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
];
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
form: {
|
|
202
|
+
type: Array,
|
|
203
|
+
default() {
|
|
204
|
+
return [
|
|
205
|
+
{
|
|
206
|
+
name: 'title',
|
|
207
|
+
label: '标题',
|
|
208
|
+
type: 'textarea',
|
|
209
|
+
value: '',
|
|
210
|
+
col: 12
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'content',
|
|
214
|
+
label: '内容',
|
|
215
|
+
type: 'textarea',
|
|
216
|
+
value: '',
|
|
217
|
+
col: 12
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
label: '发送者',
|
|
221
|
+
name: 'senderInfo',
|
|
222
|
+
data: [],
|
|
223
|
+
col: 6
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'msgTo',
|
|
227
|
+
label: {
|
|
228
|
+
text: '接收人标识ID',
|
|
229
|
+
tips: '用于联系用户的标识ID, 可为手机号、邮箱、身份ID等'
|
|
230
|
+
},
|
|
231
|
+
value: '',
|
|
232
|
+
col: 6
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: 'accepterInfo',
|
|
236
|
+
label: {
|
|
237
|
+
text: '接收人信息',
|
|
238
|
+
tips: '接收人的详细信息'
|
|
239
|
+
},
|
|
240
|
+
value: '',
|
|
241
|
+
col: 6
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'handleIdentityId',
|
|
245
|
+
label: {
|
|
246
|
+
text: '接收人身份id',
|
|
247
|
+
tips: '接收人在系统中的身份ID, 可能为空。'
|
|
248
|
+
},
|
|
249
|
+
value: '',
|
|
250
|
+
col: 6
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'sendType',
|
|
254
|
+
label: {
|
|
255
|
+
text: '发送方式',
|
|
256
|
+
tips:
|
|
257
|
+
'SYS-系统消息 SMS-短信 EMAIL-邮件 APP-app消息推送 DING_DING-钉钉消息 WX_OFFICIAL_ACCOUNTS-微信公众号 等'
|
|
258
|
+
},
|
|
259
|
+
type: 'select',
|
|
260
|
+
data: [
|
|
261
|
+
{
|
|
262
|
+
name: '系统消息',
|
|
263
|
+
value: 'SYS'
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: '短信',
|
|
267
|
+
value: 'SMS'
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: '邮件',
|
|
271
|
+
value: 'EMAIL'
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
name: 'app消息推送',
|
|
275
|
+
value: 'APP'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: '钉钉消息',
|
|
279
|
+
value: 'DING_DING'
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: '微信公众号',
|
|
283
|
+
value: 'WX_OFFICIAL_ACCOUNTS'
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
col: 6
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'msgType',
|
|
290
|
+
label: {
|
|
291
|
+
text: '消息类型',
|
|
292
|
+
tips: '由业务指定的消息类型, 也是业务类型'
|
|
293
|
+
},
|
|
294
|
+
value: '',
|
|
295
|
+
col: 6
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: 'attaches',
|
|
299
|
+
label: {
|
|
300
|
+
text: '附加信息',
|
|
301
|
+
tips: '附件/办理地址'
|
|
302
|
+
},
|
|
303
|
+
value: '',
|
|
304
|
+
col: 6
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'startTime',
|
|
308
|
+
label: '预约开始时间',
|
|
309
|
+
value: '',
|
|
310
|
+
col: 6
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: 'status',
|
|
314
|
+
label: {
|
|
315
|
+
text: '状态',
|
|
316
|
+
tips:
|
|
317
|
+
'-2-被终止 -1-发送失败 0-等待发送 1-重试中 2-发送成功 3-用户自定义忽略/拒收 4 发送时间超期 5 超过最大发送条数 6 '
|
|
318
|
+
},
|
|
319
|
+
value: '',
|
|
320
|
+
type: 'select',
|
|
321
|
+
data: [
|
|
322
|
+
{
|
|
323
|
+
name: '被终止',
|
|
324
|
+
value: -2
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: '发送失败',
|
|
328
|
+
value: -1
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: '等待发送',
|
|
332
|
+
value: 0
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: '重试中',
|
|
336
|
+
value: 1
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: '发送成功',
|
|
340
|
+
value: 2
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
name: '用户自定义忽略/拒收',
|
|
344
|
+
value: 3
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: '发送时间超期',
|
|
348
|
+
value: 4
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: '超过最大发送条数',
|
|
352
|
+
value: 5
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: '用户自定义忽略/拒收',
|
|
356
|
+
value: 6
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
col: 6
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: 'sendedTime',
|
|
363
|
+
label: '发送时间',
|
|
364
|
+
value: '',
|
|
365
|
+
col: 6
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
name: 'businessId',
|
|
369
|
+
label: { text: '业务id', tips: '关联的业务标识ID' },
|
|
370
|
+
value: '',
|
|
371
|
+
col: 6
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: 'xcode',
|
|
375
|
+
label: '短信xcode',
|
|
376
|
+
value: '',
|
|
377
|
+
col: 6
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: 'templateCode',
|
|
381
|
+
label: { text: '模版Code', tips: '使用的消息模版编码code' },
|
|
382
|
+
value: '',
|
|
383
|
+
col: 6
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: 'tagText',
|
|
387
|
+
label: '消息标签',
|
|
388
|
+
value: '',
|
|
389
|
+
col: 6
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
type: 'textarea',
|
|
393
|
+
name: 'metaData',
|
|
394
|
+
label: '元数据',
|
|
395
|
+
value: '',
|
|
396
|
+
col: 12
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
type: 'textarea',
|
|
400
|
+
name: 'sendResponse',
|
|
401
|
+
label: '发送响应结果',
|
|
402
|
+
value: '',
|
|
403
|
+
col: 12
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: 'subsystemName',
|
|
407
|
+
label: '子系统名称',
|
|
408
|
+
value: '',
|
|
409
|
+
col: 6
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'updateTime',
|
|
413
|
+
label: '更新时间',
|
|
414
|
+
value: '',
|
|
415
|
+
col: 6
|
|
416
|
+
}
|
|
417
|
+
];
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
data() {
|
|
422
|
+
return {
|
|
423
|
+
sendList: sendList,
|
|
424
|
+
sendBatch: sendBatch,
|
|
425
|
+
tableCount: 0,
|
|
426
|
+
selectData: [],
|
|
427
|
+
formTitle: '',
|
|
428
|
+
showForm: false,
|
|
429
|
+
formData: sendInfo,
|
|
430
|
+
params: {},
|
|
431
|
+
sendTypeDict: [],
|
|
432
|
+
statusDict: []
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
computed: {
|
|
436
|
+
defaultParam() {
|
|
437
|
+
return { orderBy: 'startTime', asc: false, ...this.param };
|
|
438
|
+
},
|
|
439
|
+
toolbar() {
|
|
440
|
+
return [
|
|
441
|
+
{
|
|
442
|
+
type: 'button',
|
|
443
|
+
contents: [
|
|
444
|
+
{
|
|
445
|
+
text: '批量重发',
|
|
446
|
+
type: 'primary',
|
|
447
|
+
checkbox: true,
|
|
448
|
+
format: false,
|
|
449
|
+
action: sendBatch
|
|
450
|
+
}
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
type: 'search',
|
|
455
|
+
reset: true,
|
|
456
|
+
contents: [
|
|
457
|
+
{
|
|
458
|
+
name: 'title_like',
|
|
459
|
+
placeholder: '输入接标题',
|
|
460
|
+
col: 6
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
name: 'msgTo_like',
|
|
464
|
+
placeholder: '输入接收者',
|
|
465
|
+
col: 6
|
|
466
|
+
}
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
type: 'filter',
|
|
471
|
+
contents: [
|
|
472
|
+
{
|
|
473
|
+
type: 'select',
|
|
474
|
+
name: 'sendType',
|
|
475
|
+
col: 6,
|
|
476
|
+
label: '发送方式',
|
|
477
|
+
placeholder: '发送方式',
|
|
478
|
+
event: 'multipled',
|
|
479
|
+
data: this.sendTypeDict,
|
|
480
|
+
'value-key': 'rawName',
|
|
481
|
+
'label-key': 'text'
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
type: 'select',
|
|
485
|
+
name: 'status',
|
|
486
|
+
col: 6,
|
|
487
|
+
label: '消息状态',
|
|
488
|
+
placeholder: '消息状态',
|
|
489
|
+
event: 'multipled',
|
|
490
|
+
data: this.statusDict,
|
|
491
|
+
'value-key': 'status',
|
|
492
|
+
'label-key': 'text'
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
type: 'date',
|
|
496
|
+
col: 6,
|
|
497
|
+
name: 'startTime_begin',
|
|
498
|
+
label: '预约开始时间',
|
|
499
|
+
placeholder: '预约开始时间'
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
type: 'date',
|
|
503
|
+
col: 6,
|
|
504
|
+
name: 'startTime_end',
|
|
505
|
+
label: '预约结束时间',
|
|
506
|
+
placeholder: '预约结束时间'
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
}
|
|
510
|
+
];
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
methods: {
|
|
514
|
+
successAfter(data) {
|
|
515
|
+
this.sendTypeDict = data.results.extraData.sendType;
|
|
516
|
+
this.statusDict = data.results.extraData.statusType;
|
|
517
|
+
},
|
|
518
|
+
formartStatus(data) {
|
|
519
|
+
let text = '未知';
|
|
520
|
+
this.statusDict.forEach(dict => {
|
|
521
|
+
if (dict.status === data) {
|
|
522
|
+
text = dict.text;
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
return text;
|
|
526
|
+
},
|
|
527
|
+
formartSendType(data) {
|
|
528
|
+
let text = '未知';
|
|
529
|
+
this.sendTypeDict.forEach(dict => {
|
|
530
|
+
if (dict.rawName === data) {
|
|
531
|
+
text = dict.text;
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
return text;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
</script>
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="es-page">
|
|
3
|
+
<template v-for="(items, indexs) in contents">
|
|
4
|
+
<es-dialog
|
|
5
|
+
v-if="items.type === 'dialog'"
|
|
6
|
+
v-bind="
|
|
7
|
+
handleExclAttribute({
|
|
8
|
+
data: items,
|
|
9
|
+
attrs: ['events', 'visible', 'type', 'contents']
|
|
10
|
+
})
|
|
11
|
+
"
|
|
12
|
+
:key="indexs"
|
|
13
|
+
:visible.sync="visible[indexs]"
|
|
14
|
+
@close="
|
|
15
|
+
res => {
|
|
16
|
+
handleDialogClose(items, res);
|
|
17
|
+
}
|
|
18
|
+
"
|
|
19
|
+
v-on="{ ...items.events }"
|
|
20
|
+
>
|
|
21
|
+
<template v-if="items.module">
|
|
22
|
+
<component
|
|
23
|
+
:is="items.module"
|
|
24
|
+
v-bind="
|
|
25
|
+
handleExclAttribute({
|
|
26
|
+
data: items,
|
|
27
|
+
attrs: ['events', 'visible', 'type', 'contents', 'module']
|
|
28
|
+
})
|
|
29
|
+
"
|
|
30
|
+
></component>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<template v-else>
|
|
34
|
+
<template v-for="(item, index) in items.contents">
|
|
35
|
+
<es-form
|
|
36
|
+
v-if="item.type === 'form'"
|
|
37
|
+
:key="index"
|
|
38
|
+
v-bind="
|
|
39
|
+
handleExclAttribute({
|
|
40
|
+
data: item,
|
|
41
|
+
attrs: ['events', 'visible', 'type', 'model']
|
|
42
|
+
})
|
|
43
|
+
"
|
|
44
|
+
:model="item.model"
|
|
45
|
+
v-on="{ ...item.events }"
|
|
46
|
+
></es-form>
|
|
47
|
+
<es-data-table
|
|
48
|
+
v-if="item.type === 'data-table' || item.type === 'dataTable'"
|
|
49
|
+
:key="index"
|
|
50
|
+
v-bind="
|
|
51
|
+
handleExclAttribute({
|
|
52
|
+
data: item,
|
|
53
|
+
attrs: ['events', 'visible', 'type']
|
|
54
|
+
})
|
|
55
|
+
"
|
|
56
|
+
v-on="item.events"
|
|
57
|
+
></es-data-table>
|
|
58
|
+
<es-tree-group
|
|
59
|
+
v-if="item.type === 'data-table' || item.type === 'dataTable'"
|
|
60
|
+
:key="index"
|
|
61
|
+
v-bind="
|
|
62
|
+
handleExclAttribute({
|
|
63
|
+
data: item,
|
|
64
|
+
attrs: ['events', 'visible', 'type']
|
|
65
|
+
})
|
|
66
|
+
"
|
|
67
|
+
v-on="{ ...item.events }"
|
|
68
|
+
></es-tree-group>
|
|
69
|
+
</template>
|
|
70
|
+
</template>
|
|
71
|
+
</es-dialog>
|
|
72
|
+
<es-form
|
|
73
|
+
v-if="items.type === 'form'"
|
|
74
|
+
v-bind="
|
|
75
|
+
handleExclAttribute({
|
|
76
|
+
data: items,
|
|
77
|
+
attrs: ['events', 'visible', 'type', 'model']
|
|
78
|
+
})
|
|
79
|
+
"
|
|
80
|
+
:key="indexs"
|
|
81
|
+
v-model="items.value"
|
|
82
|
+
padding="16px"
|
|
83
|
+
:height="formHeight"
|
|
84
|
+
:model="items.model"
|
|
85
|
+
v-on="{ ...items.events }"
|
|
86
|
+
></es-form>
|
|
87
|
+
<es-data-table
|
|
88
|
+
v-if="items.type === 'data-table' || items.type === 'dataTable'"
|
|
89
|
+
v-bind="
|
|
90
|
+
handleExclAttribute({
|
|
91
|
+
data: items,
|
|
92
|
+
attrs: ['events', 'visible', 'type']
|
|
93
|
+
})
|
|
94
|
+
"
|
|
95
|
+
:key="indexs"
|
|
96
|
+
v-on="{ ...items.events }"
|
|
97
|
+
></es-data-table>
|
|
98
|
+
<es-tree-group
|
|
99
|
+
v-if="items.type === 'tree-group' || items.type === 'treeGroup'"
|
|
100
|
+
v-bind="
|
|
101
|
+
handleExclAttribute({
|
|
102
|
+
data: items,
|
|
103
|
+
attrs: ['events', 'visible', 'type']
|
|
104
|
+
})
|
|
105
|
+
"
|
|
106
|
+
:key="indexs"
|
|
107
|
+
v-on="{ ...items.events }"
|
|
108
|
+
></es-tree-group>
|
|
109
|
+
</template>
|
|
110
|
+
</div>
|
|
111
|
+
</template>
|
|
112
|
+
<script>
|
|
113
|
+
import util from 'eoss-ui/src/utils/util';
|
|
114
|
+
export default {
|
|
115
|
+
name: 'EsPage',
|
|
116
|
+
componentName: 'EsPage',
|
|
117
|
+
mixins: [],
|
|
118
|
+
props: {
|
|
119
|
+
contents: {
|
|
120
|
+
type: Array,
|
|
121
|
+
default() {
|
|
122
|
+
return [];
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
data() {
|
|
127
|
+
return {};
|
|
128
|
+
},
|
|
129
|
+
watch: {},
|
|
130
|
+
computed: {
|
|
131
|
+
visible: {
|
|
132
|
+
get() {
|
|
133
|
+
let visibles = [];
|
|
134
|
+
this.contents.forEach(item => {
|
|
135
|
+
visibles.push(item.visible);
|
|
136
|
+
});
|
|
137
|
+
return visibles;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
mounted() {},
|
|
142
|
+
methods: {
|
|
143
|
+
handleExclAttribute({ data, attrs }) {
|
|
144
|
+
return util.exclAttribute({
|
|
145
|
+
data: data,
|
|
146
|
+
attrs: attrs
|
|
147
|
+
});
|
|
148
|
+
},
|
|
149
|
+
//数据表刷新
|
|
150
|
+
dataTableReload(obj, first, tree) {
|
|
151
|
+
this.$refs.dataTable && this.$refs.dataTable.reload(obj, first, tree);
|
|
152
|
+
this.$refs.treeGroup && this.$refs.treeGroup.reload(obj, first, tree);
|
|
153
|
+
},
|
|
154
|
+
handleDialogClose(res, num) {
|
|
155
|
+
let changeData = {};
|
|
156
|
+
if (Object.prototype.hasOwnProperty.call(res, 'visibleKey')) {
|
|
157
|
+
changeData[res.visibleKey] = false;
|
|
158
|
+
} else {
|
|
159
|
+
changeData = { visible: false };
|
|
160
|
+
}
|
|
161
|
+
if (num !== 0) {
|
|
162
|
+
this.$parent.handleChangeData(changeData);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
</script>
|