cloud-web-corejs-haier 1.0.43 → 1.0.45
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 +8 -6
- package/src/api/user.js +54 -46
- package/src/components/baseAlert/index.vue +57 -53
- package/src/components/baseInputExport/index.vue +3 -3
- package/src/components/baseTabs/mixins.js +12 -1
- package/src/components/errorMsg/index.vue +78 -78
- package/src/components/excelExport/button.vue +54 -45
- package/src/components/excelExport/exportFieldDialog.vue +3 -3
- package/src/components/excelExport/index.js +1 -43
- package/src/components/excelExport/index.vue +62 -34
- package/src/components/excelExport/mixins.js +74 -87
- package/src/components/excelImport/index.js +1 -62
- package/src/components/excelImport/mixins.js +1 -774
- package/src/components/fileLibrary/index.vue +113 -33
- package/src/components/fileLibrary/propertiesDialog.vue +6 -0
- package/src/components/hiprint/view/design/index.vue +139 -47
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +69 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- package/src/components/onlineTalk/index.vue +328 -6
- package/src/components/onlineTalk/talkUserDialog.vue +280 -0
- package/src/components/wf/addTaskUserdialog.vue +5 -5
- package/src/components/wf/content.vue +1244 -1169
- package/src/components/wf/content2.vue +604 -604
- package/src/components/wf/mixins/setCandidateDialog.js +228 -2
- package/src/components/wf/mixins/setCandidateDialog2.js +116 -101
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
- package/src/components/wf/setCandidateDialog.vue +5 -7
- package/src/components/wf/setCandidateDialog2.vue +14 -10
- package/src/components/wf/wf.js +2325 -2209
- package/src/components/wf/wfTaskUserRangeDialog.vue +1 -1
- package/src/components/wf/wfUtil.js +129 -91
- package/src/components/xform/form-designer/designer.js +1994 -9
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +10 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1756 -2
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1630 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +153 -40
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +65 -46
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +231 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +7 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +659 -221
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +18 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +26 -26
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +67 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showViewButton-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +8 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +20 -17
- package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
- package/src/components/xform/form-render/container-item/sub-form-item.vue +10 -2
- package/src/components/xform/form-render/container-item/table2-item.vue +40 -10
- package/src/components/xform/form-render/indexMixin.js +3705 -1
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/components/xform/lang/zh-CN.js +2 -1
- package/src/components/xform/mixins/defaultHandle.js +366 -2
- package/src/components/xform/utils/formula-util.js +3 -0
- package/src/components/xform/utils/sfc-generator.js +2 -2
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/tableColumnHelper.js +54 -10
- package/src/components/xform/utils/util.js +1547 -1
- package/src/index.js +190 -211
- package/src/lang/locale/en/login.js +26 -19
- package/src/lang/locale/zh/login.js +25 -19
- package/src/layout/components/Sidebar/default.vue +252 -71
- package/src/layout/components/Sidebar/index.vue +6 -1
- package/src/layout/components/TagsView/index.vue +6 -0
- package/src/layout/components/langTool.vue +32 -29
- package/src/layout/defaultLayout.vue +16 -8
- package/src/layout/index.vue +5 -3
- package/src/permission.js +135 -1
- package/src/router/index.js +1 -4
- package/src/store/config/index.js +667 -1
- package/src/store/getters.js +2 -1
- package/src/store/modules/permission.js +332 -1
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +190 -1
- package/src/store/modules/user.js +358 -1
- package/src/utils/aes.js +15 -1
- package/src/utils/auth.js +27 -1
- package/src/utils/componentDialog.js +217 -0
- package/src/utils/request.js +368 -1
- package/src/utils/vab.js +1256 -7
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +125 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +539 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +65 -0
- package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
- package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
- package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
- package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +491 -0
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
- package/src/views/bd/setting/formVersion/tableDetailDiff.js +99 -0
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +514 -0
- package/src/views/bd/setting/formVersion/textDiff.js +102 -0
- package/src/views/bd/setting/form_import_log/edit.vue +6 -3
- package/src/views/bd/setting/form_import_log/list.vue +5 -0
- package/src/views/bd/setting/form_script/edit.vue +196 -83
- package/src/views/bd/setting/form_script/edit1.vue +410 -220
- package/src/views/bd/setting/form_script/form_list.vue +19 -0
- package/src/views/bd/setting/form_script/list.vue +95 -21
- package/src/views/bd/setting/form_script/list1.vue +24 -0
- package/src/views/bd/setting/form_script/mixins/dialog.js +2 -2
- package/src/views/bd/setting/form_script/mixins/edit.js +265 -207
- package/src/views/bd/setting/form_script/mixins/edit1.js +259 -201
- package/src/views/bd/setting/form_script/mixins/form_list.js +322 -296
- package/src/views/bd/setting/form_script/mixins/list.js +163 -95
- package/src/views/bd/setting/form_script/mixins/list1.js +244 -155
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/edit.vue +355 -205
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
- package/src/views/bd/setting/form_template/list.vue +49 -74
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +51 -8
- package/src/views/bd/setting/form_template/mixins/itemList.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +114 -82
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -7
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
- package/src/views/bd/setting/request_setting/edit.vue +300 -300
- package/src/views/bd/setting/request_setting/list.vue +15 -25
- package/src/views/bd/setting/table_model/edit.vue +702 -498
- package/src/views/bd/setting/table_model/list.vue +28 -0
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +228 -121
- package/src/views/bd/setting/table_model/mixins/list.js +55 -20
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +50 -46
- package/src/views/bd/setting/utils/index.js +15 -0
- package/src/views/user/api_request/list.vue +203 -203
- package/src/views/user/bill_setting/list.vue +345 -345
- package/src/views/user/code_rules/list.vue +204 -204
- package/src/views/user/common_attribute/list.vue +378 -378
- package/src/views/user/common_script/list.vue +341 -341
- package/src/views/user/company_info/dialog.vue +80 -49
- package/src/views/user/country/list.vue +197 -197
- package/src/views/user/extend_datasource/dialog.vue +0 -3
- package/src/views/user/extend_datasource/edit.vue +1 -2
- package/src/views/user/extend_datasource/list.vue +221 -224
- package/src/views/user/fieldTranslation/editDialog.vue +1 -1
- package/src/views/user/fieldTranslation/list.vue +473 -473
- package/src/views/user/field_values_invisible/list.vue +207 -207
- package/src/views/user/file_type/list.vue +271 -271
- package/src/views/user/file_view_area/list.vue +331 -331
- package/src/views/user/form/vform/designer.vue +303 -287
- package/src/views/user/form/vform/formFieldMapping.js +2 -3
- package/src/views/user/form/view/edit.vue +19 -1
- package/src/views/user/form/view/list.vue +59 -17
- package/src/views/user/groups/list.vue +158 -158
- package/src/views/user/home/default.vue +274 -182
- package/src/views/user/home/default2.vue +1148 -0
- package/src/views/user/home/index.vue +2 -1
- package/src/views/user/lang_tag/list.vue +170 -170
- package/src/views/user/language_setting/list.vue +208 -208
- package/src/views/user/ledger_library/list.vue +12 -10
- package/src/views/user/login/default.vue +1 -1
- package/src/views/user/login/indexMixin.js +204 -169
- package/src/views/user/menu/list.vue +575 -575
- package/src/views/user/notify_message/dialog.vue +7 -1
- package/src/views/user/notify_template/list.vue +192 -192
- package/src/views/user/notify_template/list2.vue +190 -190
- package/src/views/user/position/list.vue +188 -188
- package/src/views/user/project_tag/list.vue +175 -175
- package/src/views/user/push_setting/list.vue +236 -236
- package/src/views/user/request_setting/list.vue +248 -248
- package/src/views/user/role/list.vue +182 -182
- package/src/views/user/system_notice/infoDialog.vue +61 -2
- package/src/views/user/system_notice/list.vue +203 -203
- package/src/views/user/system_parameter/list.vue +141 -141
- package/src/views/user/user/edit.vue +45 -0
- package/src/views/user/user/form_list.vue +245 -245
- package/src/views/user/user/info.vue +253 -140
- package/src/views/user/user_log_classify/list.vue +197 -197
- package/src/views/user/wf/iframe/index.vue +46 -46
- package/src/views/user/wf/wfReport/index.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +659 -659
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list.vue +795 -795
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +106 -106
- package/src/views/user/wf/wf_obj_config/dialog.vue +2 -2
- package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit_form.vue +2 -2
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemOperateDialog.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list.vue +28 -28
- package/src/views/user/wf/wf_obj_config/list_form.vue +5 -5
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -292
- package/src/views/user/wf/wf_param/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +321 -319
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +369 -367
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +401 -399
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +6 -6
- package/src/views/user/wf/wf_work_calendar/date.js +84 -83
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -6
- package/src/views/user/workbench_menu/list.vue +555 -0
|
@@ -3,88 +3,141 @@
|
|
|
3
3
|
<el-row>
|
|
4
4
|
<el-col :span="8">
|
|
5
5
|
<div class="i-user-info">
|
|
6
|
-
<img class="img" v-if="headPhotoUrl" :src="headPhotoUrl"/>
|
|
7
|
-
<p class="name">{{ $t1(
|
|
6
|
+
<img class="img" v-if="headPhotoUrl" :src="headPhotoUrl" />
|
|
7
|
+
<p class="name">{{ $t1("您好") }},{{ userInfo.nickName }}</p>
|
|
8
8
|
<p>{{ companyInfo.companyName }}</p>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="notice-box">
|
|
11
11
|
<div class="txt" @click="openMoreNotifyMessage()">
|
|
12
12
|
<i class="iconfont icon-xiaoxitongzhi"></i>
|
|
13
|
-
<span
|
|
14
|
-
|
|
13
|
+
<span
|
|
14
|
+
v-if="unreadMessageNum > 0"
|
|
15
|
+
v-html="
|
|
16
|
+
$t1('您 有{number}条 未读消息,请及时查看。', {
|
|
17
|
+
number: `<b>${
|
|
18
|
+
unreadMessageNum > 99 ? '99+' : unreadMessageNum
|
|
19
|
+
}</b>`,
|
|
20
|
+
})
|
|
21
|
+
"
|
|
22
|
+
>
|
|
15
23
|
</span>
|
|
16
|
-
<span v-else-if="unreadMessageNum==0">
|
|
17
|
-
|
|
24
|
+
<span v-else-if="unreadMessageNum == 0">
|
|
25
|
+
{{ $t1("您 暂无 未读消息。") }}
|
|
18
26
|
</span>
|
|
19
27
|
</div>
|
|
20
|
-
<el-tooltip
|
|
21
|
-
|
|
28
|
+
<el-tooltip
|
|
29
|
+
class="item"
|
|
30
|
+
effect="dark"
|
|
31
|
+
:content="$t1('刷新')"
|
|
32
|
+
placement="top"
|
|
33
|
+
>
|
|
34
|
+
<el-button type="text" @click="getUnreadMessageNum(true)"
|
|
35
|
+
><i class="el-icon-refresh"></i
|
|
36
|
+
></el-button>
|
|
22
37
|
</el-tooltip>
|
|
23
|
-
<el-tooltip
|
|
24
|
-
|
|
38
|
+
<el-tooltip
|
|
39
|
+
class="item"
|
|
40
|
+
effect="dark"
|
|
41
|
+
:content="$t1('查看更多')"
|
|
42
|
+
placement="top"
|
|
43
|
+
>
|
|
44
|
+
<el-button
|
|
45
|
+
type="text"
|
|
46
|
+
@click="openMoreNotifyMessage()"
|
|
47
|
+
class="more"
|
|
48
|
+
>
|
|
25
49
|
<i class="el-icon-news"></i>
|
|
26
50
|
</el-button>
|
|
27
51
|
</el-tooltip>
|
|
28
52
|
</div>
|
|
29
53
|
<el-card class="box-card">
|
|
30
54
|
<div slot="header" class="clearfix">
|
|
31
|
-
<span style="float:left">
|
|
55
|
+
<span style="float: left">
|
|
32
56
|
<i class="el-icon-chat-line-round ico"></i>
|
|
33
|
-
{{ $t1(
|
|
57
|
+
{{ $t1("公告") }}
|
|
34
58
|
</span>
|
|
35
|
-
<el-button type="text" @click="openSystemNoticeDialog()"
|
|
59
|
+
<el-button type="text" @click="openSystemNoticeDialog()"
|
|
60
|
+
><span class="more">MORE+</span></el-button
|
|
61
|
+
>
|
|
36
62
|
</div>
|
|
37
63
|
<div class="home-notice-list">
|
|
38
|
-
<div
|
|
39
|
-
|
|
40
|
-
|
|
64
|
+
<div
|
|
65
|
+
v-for="(systemNotice, index) in systemNotices"
|
|
66
|
+
:key="index"
|
|
67
|
+
class="item"
|
|
68
|
+
@click="openSystemNoticeDialog(systemNotice)"
|
|
69
|
+
:title="systemNotice.title"
|
|
70
|
+
>
|
|
41
71
|
{{ systemNotice.title }}
|
|
42
|
-
<span class="time">{{
|
|
72
|
+
<span class="time">{{
|
|
73
|
+
systemNotice.modifyDate.substring(0, 10)
|
|
74
|
+
}}</span>
|
|
43
75
|
</div>
|
|
44
76
|
</div>
|
|
45
77
|
</el-card>
|
|
46
78
|
</el-col>
|
|
47
|
-
<el-col :span="homeConfig.toDoSpan || 16" style="padding-left:6px
|
|
79
|
+
<el-col :span="homeConfig.toDoSpan || 16" style="padding-left: 6px">
|
|
48
80
|
<el-card class="box-card">
|
|
49
81
|
<div slot="header" class="clearfix">
|
|
50
|
-
<span style="float:left">
|
|
82
|
+
<span style="float: left">
|
|
51
83
|
<i class="el-icon-chat-line-round ico"></i>
|
|
52
|
-
{{ $t1(
|
|
84
|
+
{{ $t1("待办事项") }}
|
|
53
85
|
</span>
|
|
54
|
-
<el-tooltip
|
|
55
|
-
|
|
86
|
+
<el-tooltip
|
|
87
|
+
class="item"
|
|
88
|
+
effect="dark"
|
|
89
|
+
:content="$t1('刷新')"
|
|
90
|
+
placement="top"
|
|
91
|
+
>
|
|
92
|
+
<el-button
|
|
93
|
+
type="text"
|
|
94
|
+
@click="getWfInfoList(true)"
|
|
95
|
+
class="more"
|
|
96
|
+
style="right: 107px"
|
|
97
|
+
>
|
|
56
98
|
<i class="el-icon-refresh"></i>
|
|
57
99
|
</el-button>
|
|
58
100
|
</el-tooltip>
|
|
59
|
-
<el-button type="text" @click="
|
|
101
|
+
<el-button type="text" @click="toWorkflowManage()" class="more">
|
|
60
102
|
<i class="el-icon-news"></i>
|
|
61
|
-
<span>{{ $t1(
|
|
103
|
+
<span>{{ $t1("查看更多+") }}</span>
|
|
62
104
|
</el-button>
|
|
63
105
|
</div>
|
|
64
106
|
<div class="need-to">
|
|
65
|
-
<vxe-grid
|
|
66
|
-
|
|
67
|
-
|
|
107
|
+
<vxe-grid
|
|
108
|
+
:data="unDoWfRows"
|
|
109
|
+
ref="table-wf"
|
|
110
|
+
v-bind="wfOption"
|
|
111
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
112
|
+
@custom="$vxeTableUtil.customHandle"
|
|
113
|
+
></vxe-grid>
|
|
68
114
|
</div>
|
|
69
115
|
</el-card>
|
|
70
116
|
</el-col>
|
|
71
117
|
</el-row>
|
|
72
118
|
<el-row>
|
|
73
|
-
<el-col :span="24" v-show="homeConfig.showFastTrack!==false">
|
|
119
|
+
<el-col :span="24" v-show="homeConfig.showFastTrack !== false">
|
|
74
120
|
<el-card class="box-card">
|
|
75
121
|
<div slot="header" class="clearfix">
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
<el-button type="text" @click="showCommMenuDialog = true"
|
|
122
|
+
<span style="float: left">
|
|
123
|
+
<i class="el-icon-star-off ico"></i>
|
|
124
|
+
{{ $t1("快捷通道") }}
|
|
125
|
+
</span>
|
|
126
|
+
<el-button type="text" @click="showCommMenuDialog = true"
|
|
127
|
+
><span class="more">MORE+</span></el-button
|
|
128
|
+
>
|
|
81
129
|
</div>
|
|
82
130
|
<div class="fast-box">
|
|
83
131
|
<div class="item" v-for="commMenu in commMenus" :key="commMenu.id">
|
|
84
132
|
<a href="javascript:void(0);" @click="rourteTo(commMenu)">
|
|
85
|
-
<p
|
|
86
|
-
|
|
87
|
-
|
|
133
|
+
<p>
|
|
134
|
+
<i
|
|
135
|
+
:class="
|
|
136
|
+
!!commMenu.menuImg ? 'iconfont ' + commMenu.menuImg : null
|
|
137
|
+
"
|
|
138
|
+
></i
|
|
139
|
+
><span>{{ commMenu.menuName }}</span>
|
|
140
|
+
</p>
|
|
88
141
|
</a>
|
|
89
142
|
</div>
|
|
90
143
|
</div>
|
|
@@ -131,20 +184,33 @@
|
|
|
131
184
|
</el-col> -->
|
|
132
185
|
</el-row>
|
|
133
186
|
<slot></slot>
|
|
134
|
-
<systemNoticeInfoDialog
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
187
|
+
<systemNoticeInfoDialog
|
|
188
|
+
v-if="showSystemNoticeInfoDialog"
|
|
189
|
+
:visiable.sync="showSystemNoticeInfoDialog"
|
|
190
|
+
:param="csnRow"
|
|
191
|
+
:appendToTop="true"
|
|
192
|
+
></systemNoticeInfoDialog>
|
|
193
|
+
|
|
194
|
+
<commMenuDialog
|
|
195
|
+
v-if="showCommMenuDialog"
|
|
196
|
+
:visiable.sync="showCommMenuDialog"
|
|
197
|
+
@confirm="commMenuCallBack"
|
|
198
|
+
></commMenuDialog>
|
|
199
|
+
<wfContentDialog
|
|
200
|
+
v-if="showWfDialog"
|
|
201
|
+
:visible.sync="showWfDialog"
|
|
202
|
+
@close="wfClose"
|
|
203
|
+
:option.sync="wfContentOption"
|
|
204
|
+
></wfContentDialog>
|
|
141
205
|
|
|
142
206
|
<notifyMessageDialog ref="notifyMessageDialog"></notifyMessageDialog>
|
|
143
207
|
|
|
144
|
-
<notifyMessageInfoDialog
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
208
|
+
<notifyMessageInfoDialog
|
|
209
|
+
v-if="showNoticeDialog"
|
|
210
|
+
:visiable.sync="showNoticeDialog"
|
|
211
|
+
:dataId.sync="notifyMessageInfoId"
|
|
212
|
+
@readHanlde="notifyMessageReadHanlde"
|
|
213
|
+
></notifyMessageInfoDialog>
|
|
148
214
|
|
|
149
215
|
<el-dialog
|
|
150
216
|
:title="$t1('选择分组')"
|
|
@@ -159,39 +225,40 @@
|
|
|
159
225
|
:destroy-on-close="true"
|
|
160
226
|
>
|
|
161
227
|
<div class="cont group-list">
|
|
162
|
-
<div
|
|
163
|
-
|
|
228
|
+
<div
|
|
229
|
+
class="item"
|
|
230
|
+
v-for="(notifyTemplate, index) in notifyTemplates"
|
|
231
|
+
:key="index"
|
|
232
|
+
@click="openMoreNotifyMessage(notifyTemplate.notifyType)"
|
|
233
|
+
>
|
|
164
234
|
<i class="iconfont icon-fenzu"></i>
|
|
165
235
|
<span class="name">{{ notifyTemplate.ntName }}</span>
|
|
166
236
|
<!-- <span class="nums">99+</span>-->
|
|
167
237
|
</div>
|
|
168
238
|
</div>
|
|
169
239
|
</el-dialog>
|
|
170
|
-
|
|
171
240
|
</div>
|
|
172
241
|
</template>
|
|
173
242
|
|
|
174
243
|
<script>
|
|
175
|
-
import systemNoticeInfoDialog from
|
|
176
|
-
import commMenuDialog from
|
|
177
|
-
import notifyMessageDialog from
|
|
178
|
-
import notifyMessageInfoDialog from
|
|
244
|
+
import systemNoticeInfoDialog from "@base/views/user/system_notice/infoDialog.vue";
|
|
245
|
+
import commMenuDialog from "@base/views/user/commMenu/index.vue";
|
|
246
|
+
import notifyMessageDialog from "@base/views/user/notify_message/dialog.vue";
|
|
247
|
+
import notifyMessageInfoDialog from "@base/views/user/notify_message/infoDialog";
|
|
179
248
|
|
|
180
|
-
import {getToken} from "@base/utils/auth";
|
|
249
|
+
import { getToken } from "@base/utils/auth";
|
|
181
250
|
import wfContentDialog from "@base/views/user/wf/wf_manage/wfContentDialog";
|
|
182
251
|
import corejsConfig from "@/corejsConfig";
|
|
252
|
+
import { getLogicParamValue } from "@base/api/user";
|
|
183
253
|
|
|
184
254
|
export default {
|
|
185
|
-
name:
|
|
186
|
-
props: {
|
|
187
|
-
wf_manage_url: String
|
|
188
|
-
},
|
|
255
|
+
name: "home",
|
|
189
256
|
components: {
|
|
190
257
|
systemNoticeInfoDialog,
|
|
191
258
|
commMenuDialog,
|
|
192
259
|
notifyMessageDialog,
|
|
193
260
|
notifyMessageInfoDialog,
|
|
194
|
-
wfContentDialog
|
|
261
|
+
wfContentDialog,
|
|
195
262
|
},
|
|
196
263
|
data() {
|
|
197
264
|
return {
|
|
@@ -203,7 +270,7 @@ export default {
|
|
|
203
270
|
systemNotices: [],
|
|
204
271
|
showSystemNoticeInfoDialog: false,
|
|
205
272
|
csnRow: null,
|
|
206
|
-
headPhotoUrl:
|
|
273
|
+
headPhotoUrl: "",
|
|
207
274
|
dialogVisible: true,
|
|
208
275
|
unDoWfRows: [],
|
|
209
276
|
wfOption: {},
|
|
@@ -211,7 +278,7 @@ export default {
|
|
|
211
278
|
wfContentOption: {},
|
|
212
279
|
showWfContent: true,
|
|
213
280
|
wfContent: null,
|
|
214
|
-
wfDataId:
|
|
281
|
+
wfDataId: "",
|
|
215
282
|
showCommMenuDialog: false,
|
|
216
283
|
commMenus: [],
|
|
217
284
|
notifyMessages: [],
|
|
@@ -220,7 +287,7 @@ export default {
|
|
|
220
287
|
unreadMessageNum: 0,
|
|
221
288
|
activating: true,
|
|
222
289
|
wfTimer: null,
|
|
223
|
-
homeConfig: corejsConfig.homeConfig || {}
|
|
290
|
+
homeConfig: corejsConfig.homeConfig || {},
|
|
224
291
|
};
|
|
225
292
|
},
|
|
226
293
|
activated() {
|
|
@@ -242,8 +309,23 @@ export default {
|
|
|
242
309
|
this.initNotifyMessage();
|
|
243
310
|
this.initWfParam();
|
|
244
311
|
this.initWfTimer();
|
|
312
|
+
//初始化流程待办路由
|
|
313
|
+
this.initWorkflowManageRoute();
|
|
245
314
|
},
|
|
246
315
|
methods: {
|
|
316
|
+
initWorkflowManageRoute() {
|
|
317
|
+
//初始化流程待办路由
|
|
318
|
+
getLogicParamValue({
|
|
319
|
+
data: { paramCode: "workflowManageRoute" },
|
|
320
|
+
success: (res) => {
|
|
321
|
+
let value = res?.objx;
|
|
322
|
+
this.workflowManageRoute = value || "/basic/wf/wf_manage/list";
|
|
323
|
+
},
|
|
324
|
+
});
|
|
325
|
+
},
|
|
326
|
+
toWorkflowManage() {
|
|
327
|
+
this.$router.push(this.workflowManageRoute);
|
|
328
|
+
},
|
|
247
329
|
wfClose() {
|
|
248
330
|
this.timerExcFun(true);
|
|
249
331
|
},
|
|
@@ -259,7 +341,7 @@ export default {
|
|
|
259
341
|
}
|
|
260
342
|
this.getWfInfoList(isLoading);
|
|
261
343
|
this.getUnreadMessageNum(isLoading);
|
|
262
|
-
this.$emit(
|
|
344
|
+
this.$emit("timerHandle");
|
|
263
345
|
},
|
|
264
346
|
clearTimer() {
|
|
265
347
|
clearInterval(this.wfTimer);
|
|
@@ -267,31 +349,34 @@ export default {
|
|
|
267
349
|
},
|
|
268
350
|
getUserInfo() {
|
|
269
351
|
this.$http({
|
|
270
|
-
url: USER_PREFIX +
|
|
271
|
-
method:
|
|
272
|
-
success: res => {
|
|
352
|
+
url: USER_PREFIX + "/user/currentUser",
|
|
353
|
+
method: "post",
|
|
354
|
+
success: (res) => {
|
|
273
355
|
let userInfo = res.objx;
|
|
274
|
-
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
356
|
+
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
357
|
+
? userInfo.headPhotoUrl
|
|
358
|
+
: require("@/resources/images" + "/default-header.png");
|
|
275
359
|
|
|
276
360
|
this.userInfo = userInfo;
|
|
277
|
-
}
|
|
361
|
+
},
|
|
278
362
|
});
|
|
279
363
|
this.$http({
|
|
280
|
-
url: USER_PREFIX +
|
|
364
|
+
url: USER_PREFIX + "/company_info/getCurrent",
|
|
281
365
|
method: `post`,
|
|
282
|
-
success: res => {
|
|
366
|
+
success: (res) => {
|
|
283
367
|
this.companyInfo = res.objx || {};
|
|
284
|
-
}
|
|
368
|
+
},
|
|
285
369
|
});
|
|
286
370
|
},
|
|
287
371
|
initSystemNotice() {
|
|
288
372
|
this.$http({
|
|
289
|
-
url: USER_PREFIX +
|
|
290
|
-
data: {publish: true, searchCount: false},
|
|
291
|
-
method:
|
|
292
|
-
success: res => {
|
|
293
|
-
this.systemNotices =
|
|
294
|
-
|
|
373
|
+
url: USER_PREFIX + "/system_notice/listPage",
|
|
374
|
+
data: { publish: true, searchCount: false },
|
|
375
|
+
method: "post",
|
|
376
|
+
success: (res) => {
|
|
377
|
+
this.systemNotices =
|
|
378
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
379
|
+
},
|
|
295
380
|
});
|
|
296
381
|
},
|
|
297
382
|
openSystemNoticeDialog(row) {
|
|
@@ -300,72 +385,76 @@ export default {
|
|
|
300
385
|
},
|
|
301
386
|
initUnDoWfInfo() {
|
|
302
387
|
this.$http({
|
|
303
|
-
url: AGILEBPM_PREFIX +
|
|
304
|
-
data: {type: 0, searchCount: false},
|
|
305
|
-
method:
|
|
306
|
-
success: res => {
|
|
388
|
+
url: AGILEBPM_PREFIX + "/wf_manage/listPage",
|
|
389
|
+
data: { type: 0, searchCount: false },
|
|
390
|
+
method: "post",
|
|
391
|
+
success: (res) => {
|
|
307
392
|
this.unDoWfRows = res.objx.records || [];
|
|
308
|
-
}
|
|
393
|
+
},
|
|
309
394
|
});
|
|
310
395
|
},
|
|
311
396
|
initWfTableList() {
|
|
312
397
|
let that = this;
|
|
313
|
-
let paramColumns = this.wfParamDTOs.map(item => {
|
|
398
|
+
let paramColumns = this.wfParamDTOs.map((item) => {
|
|
314
399
|
return {
|
|
315
400
|
title: this.$t1(item.paramName),
|
|
316
401
|
field: item.paramKey,
|
|
317
|
-
width: 150
|
|
402
|
+
width: 150,
|
|
318
403
|
};
|
|
319
|
-
})
|
|
320
|
-
var statuses = {
|
|
404
|
+
});
|
|
405
|
+
var statuses = {
|
|
406
|
+
running: this.$t1("审核中"),
|
|
407
|
+
back: this.$t1("已驳回"),
|
|
408
|
+
end: this.$t1("已完成"),
|
|
409
|
+
};
|
|
321
410
|
let tableOption = {
|
|
322
411
|
vue: this,
|
|
323
|
-
tableRef:
|
|
324
|
-
tableName:
|
|
412
|
+
tableRef: "table-wf",
|
|
413
|
+
tableName: "home-table-wf",
|
|
325
414
|
config: {
|
|
326
|
-
height:
|
|
415
|
+
height: "auto",
|
|
327
416
|
},
|
|
328
417
|
columns: [
|
|
329
|
-
{type:
|
|
418
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
|
330
419
|
{
|
|
331
|
-
title: this.$t1(
|
|
332
|
-
field:
|
|
420
|
+
title: this.$t1("单据类型"),
|
|
421
|
+
field: "objTypeName",
|
|
333
422
|
width: 150,
|
|
334
|
-
fixed:
|
|
423
|
+
fixed: "left",
|
|
335
424
|
},
|
|
336
425
|
{
|
|
337
|
-
title: this.$t1(
|
|
338
|
-
field:
|
|
339
|
-
width: 150
|
|
426
|
+
title: this.$t1("流程主题"),
|
|
427
|
+
field: "name",
|
|
428
|
+
width: 150,
|
|
340
429
|
},
|
|
341
430
|
{
|
|
342
|
-
title: this.$t1(
|
|
343
|
-
field:
|
|
344
|
-
width: 150
|
|
431
|
+
title: this.$t1("启动人"),
|
|
432
|
+
field: "starterName",
|
|
433
|
+
width: 150,
|
|
345
434
|
},
|
|
346
435
|
{
|
|
347
|
-
title: this.$t1(
|
|
348
|
-
field:
|
|
349
|
-
width: 150
|
|
436
|
+
title: this.$t1("当前任务"),
|
|
437
|
+
field: "taskName",
|
|
438
|
+
width: 150,
|
|
350
439
|
},
|
|
351
440
|
{
|
|
352
|
-
title: this.$t1(
|
|
353
|
-
field:
|
|
354
|
-
width: 150
|
|
441
|
+
title: this.$t1("当前任务用户"),
|
|
442
|
+
field: "candidateNames",
|
|
443
|
+
width: 150,
|
|
355
444
|
},
|
|
356
445
|
{
|
|
357
|
-
title: this.$t1(
|
|
358
|
-
field:
|
|
359
|
-
width: 150
|
|
446
|
+
title: this.$t1("启动时间"),
|
|
447
|
+
field: "createDate",
|
|
448
|
+
width: 150,
|
|
360
449
|
},
|
|
361
450
|
...paramColumns,
|
|
362
451
|
{
|
|
363
452
|
width: 47,
|
|
364
|
-
fixed:
|
|
365
|
-
title:
|
|
453
|
+
fixed: "right",
|
|
454
|
+
title: "",
|
|
366
455
|
sortable: false,
|
|
367
456
|
slots: {
|
|
368
|
-
default: ({row}) => {
|
|
457
|
+
default: ({ row }) => {
|
|
369
458
|
return [
|
|
370
459
|
<a
|
|
371
460
|
href="javascript:void(0);"
|
|
@@ -374,18 +463,23 @@ export default {
|
|
|
374
463
|
this.openWfDialog(row);
|
|
375
464
|
}}
|
|
376
465
|
>
|
|
377
|
-
<el-tooltip
|
|
378
|
-
|
|
379
|
-
|
|
466
|
+
<el-tooltip
|
|
467
|
+
enterable={false}
|
|
468
|
+
effect="dark"
|
|
469
|
+
content={this.$t1("查看")}
|
|
470
|
+
placement="top"
|
|
471
|
+
popper-class="tooltip-skin"
|
|
472
|
+
>
|
|
473
|
+
<i class="el-icon-edit" />
|
|
380
474
|
</el-tooltip>
|
|
381
|
-
</a
|
|
475
|
+
</a>,
|
|
382
476
|
];
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
]
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
],
|
|
387
481
|
};
|
|
388
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
482
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
389
483
|
this.wfOption = opts;
|
|
390
484
|
});
|
|
391
485
|
},
|
|
@@ -393,7 +487,8 @@ export default {
|
|
|
393
487
|
this.wfContentOption = {
|
|
394
488
|
objId: row.objId,
|
|
395
489
|
url: row.url,
|
|
396
|
-
objTypeCode: row.objTypeCode
|
|
490
|
+
objTypeCode: row.objTypeCode,
|
|
491
|
+
formCode: row.formCode,
|
|
397
492
|
};
|
|
398
493
|
this.showWfDialog = true;
|
|
399
494
|
},
|
|
@@ -402,22 +497,23 @@ export default {
|
|
|
402
497
|
},
|
|
403
498
|
initCommMenu() {
|
|
404
499
|
this.$http({
|
|
405
|
-
url: USER_PREFIX +
|
|
406
|
-
data: {longOne: 0},
|
|
407
|
-
method:
|
|
408
|
-
}).then(resultMsg => {
|
|
500
|
+
url: USER_PREFIX + "/comm_menu/currentList",
|
|
501
|
+
data: { longOne: 0 },
|
|
502
|
+
method: "POST",
|
|
503
|
+
}).then((resultMsg) => {
|
|
409
504
|
this.commMenus = resultMsg.objx || [];
|
|
410
505
|
});
|
|
411
506
|
},
|
|
412
507
|
initNotifyMessage() {
|
|
413
|
-
return
|
|
508
|
+
return;
|
|
414
509
|
this.$http({
|
|
415
|
-
url: USER_PREFIX +
|
|
416
|
-
data: {searchCount: false},
|
|
417
|
-
method:
|
|
418
|
-
success: res => {
|
|
419
|
-
this.notifyMessages =
|
|
420
|
-
|
|
510
|
+
url: USER_PREFIX + "/notify_message/listPage",
|
|
511
|
+
data: { searchCount: false },
|
|
512
|
+
method: "post",
|
|
513
|
+
success: (res) => {
|
|
514
|
+
this.notifyMessages =
|
|
515
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
516
|
+
},
|
|
421
517
|
});
|
|
422
518
|
},
|
|
423
519
|
openNotifyMessageDialog(row) {
|
|
@@ -428,12 +524,12 @@ export default {
|
|
|
428
524
|
}
|
|
429
525
|
},
|
|
430
526
|
openMoreNotifyMessage(notifyType) {
|
|
431
|
-
let data = {notifyType:
|
|
527
|
+
let data = { notifyType: notifyType || "" };
|
|
432
528
|
let view = {
|
|
433
|
-
name:
|
|
434
|
-
query: data
|
|
529
|
+
name: "notify_message:list",
|
|
530
|
+
query: data,
|
|
435
531
|
};
|
|
436
|
-
this.$store.dispatch(
|
|
532
|
+
this.$store.dispatch("tagsView/delCachedView", view).then(() => {
|
|
437
533
|
this.$router.replace(view);
|
|
438
534
|
});
|
|
439
535
|
|
|
@@ -453,31 +549,32 @@ export default {
|
|
|
453
549
|
this.$http({
|
|
454
550
|
url: USER_PREFIX + `/notify_template/listPage`,
|
|
455
551
|
method: `post`,
|
|
456
|
-
data: {searchCount: false},
|
|
552
|
+
data: { searchCount: false },
|
|
457
553
|
isLoading: true,
|
|
458
554
|
// loadingTarget: document.body,
|
|
459
|
-
success: res => {
|
|
460
|
-
this.notifyTemplates =
|
|
555
|
+
success: (res) => {
|
|
556
|
+
this.notifyTemplates =
|
|
557
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
461
558
|
this.showGroupDialog = true;
|
|
462
|
-
}
|
|
559
|
+
},
|
|
463
560
|
});
|
|
464
561
|
},
|
|
465
562
|
rourteTo(route) {
|
|
466
563
|
if (route.type == 4) {
|
|
467
|
-
this.jumpOutLink(route)
|
|
564
|
+
this.jumpOutLink(route);
|
|
468
565
|
} else if (route.type == 3) {
|
|
469
566
|
let menuCode = route.menuCode;
|
|
470
567
|
let path = "/user/outLink/index/" + menuCode;
|
|
471
|
-
this.$router.push({path: path, query: {url: route.url}});
|
|
568
|
+
this.$router.push({ path: path, query: { url: route.url } });
|
|
472
569
|
} else {
|
|
473
|
-
let path = this.getPath(route)
|
|
474
|
-
if (!path) return
|
|
570
|
+
let path = this.getPath(route);
|
|
571
|
+
if (!path) return;
|
|
475
572
|
this.$router.push(path);
|
|
476
573
|
}
|
|
477
574
|
},
|
|
478
575
|
getPath(route3) {
|
|
479
576
|
let item = null;
|
|
480
|
-
let path = null
|
|
577
|
+
let path = null;
|
|
481
578
|
if (route3.type == 0) {
|
|
482
579
|
//普通菜单
|
|
483
580
|
if (route3.url) {
|
|
@@ -485,7 +582,7 @@ export default {
|
|
|
485
582
|
let str = "/report/vform/render/";
|
|
486
583
|
if (path.indexOf(str) == 0) {
|
|
487
584
|
} else {
|
|
488
|
-
let pIndex = path.indexOf(
|
|
585
|
+
let pIndex = path.indexOf("?");
|
|
489
586
|
if (pIndex > 0) {
|
|
490
587
|
path = path.substring(0, pIndex);
|
|
491
588
|
}
|
|
@@ -497,31 +594,31 @@ export default {
|
|
|
497
594
|
path = url;
|
|
498
595
|
}
|
|
499
596
|
if (path && path.startsWith("@")) {
|
|
500
|
-
path = null
|
|
597
|
+
path = null;
|
|
501
598
|
}
|
|
502
599
|
return path;
|
|
503
600
|
},
|
|
504
601
|
jumpOutLink(route) {
|
|
505
602
|
let path = route.url;
|
|
506
603
|
if (route.type == 4 && path) {
|
|
507
|
-
if (path.indexOf(
|
|
508
|
-
path = path.replace(
|
|
604
|
+
if (path.indexOf("token={token}") >= 0) {
|
|
605
|
+
path = path.replace("token={token}", "token=" + getToken());
|
|
509
606
|
}
|
|
510
607
|
window.open(path);
|
|
511
608
|
}
|
|
512
609
|
},
|
|
513
610
|
initWfParam() {
|
|
514
611
|
return this.$http({
|
|
515
|
-
url: USER_PREFIX +
|
|
612
|
+
url: USER_PREFIX + "/wf_param/list",
|
|
516
613
|
method: `post`,
|
|
517
614
|
data: {},
|
|
518
615
|
isLoading: true,
|
|
519
616
|
// loadingTarget: document.body,
|
|
520
617
|
modalStrictly: true,
|
|
521
|
-
success: res => {
|
|
618
|
+
success: (res) => {
|
|
522
619
|
this.wfParamDTOs = res.objx || [];
|
|
523
620
|
this.initWfTableList();
|
|
524
|
-
}
|
|
621
|
+
},
|
|
525
622
|
});
|
|
526
623
|
},
|
|
527
624
|
getWfInfoList(isLoading) {
|
|
@@ -529,14 +626,15 @@ export default {
|
|
|
529
626
|
return;
|
|
530
627
|
}
|
|
531
628
|
this.$http({
|
|
532
|
-
url: USER_PREFIX +
|
|
533
|
-
data: {type: 0, size: 20, searchCount: false},
|
|
534
|
-
method:
|
|
629
|
+
url: USER_PREFIX + "/wf_info/listPage",
|
|
630
|
+
data: { type: 0, size: 20, searchCount: false },
|
|
631
|
+
method: "post",
|
|
535
632
|
isLoading: isLoading,
|
|
536
633
|
modal: isLoading || false,
|
|
537
634
|
// loadingTarget: document.body,
|
|
538
|
-
success: res => {
|
|
539
|
-
this.unDoWfRows =
|
|
635
|
+
success: (res) => {
|
|
636
|
+
this.unDoWfRows =
|
|
637
|
+
res.objx && res.objx.records ? res.objx.records : [];
|
|
540
638
|
},
|
|
541
639
|
failMsg: false,
|
|
542
640
|
errorMsg: false,
|
|
@@ -544,7 +642,7 @@ export default {
|
|
|
544
642
|
if (response && response.status == 200) {
|
|
545
643
|
this.$errorMsg(res);
|
|
546
644
|
}
|
|
547
|
-
}
|
|
645
|
+
},
|
|
548
646
|
});
|
|
549
647
|
},
|
|
550
648
|
getUnreadMessageNum(isLoading) {
|
|
@@ -552,13 +650,13 @@ export default {
|
|
|
552
650
|
return;
|
|
553
651
|
}
|
|
554
652
|
return this.$http({
|
|
555
|
-
url: USER_PREFIX +
|
|
653
|
+
url: USER_PREFIX + "/notify_message/countMessage",
|
|
556
654
|
method: `post`,
|
|
557
655
|
data: {},
|
|
558
656
|
isLoading: isLoading,
|
|
559
657
|
modal: isLoading || false,
|
|
560
658
|
// loadingTarget: document.body,
|
|
561
|
-
success: res => {
|
|
659
|
+
success: (res) => {
|
|
562
660
|
this.unreadMessageNum = res.objx || 0;
|
|
563
661
|
},
|
|
564
662
|
failMsg: false,
|
|
@@ -567,7 +665,7 @@ export default {
|
|
|
567
665
|
if (response && response.status == 200) {
|
|
568
666
|
this.$errorMsg(res);
|
|
569
667
|
}
|
|
570
|
-
}
|
|
668
|
+
},
|
|
571
669
|
});
|
|
572
670
|
},
|
|
573
671
|
wfhandleCallback(flag) {
|
|
@@ -576,15 +674,11 @@ export default {
|
|
|
576
674
|
this.wfClose();
|
|
577
675
|
}
|
|
578
676
|
},
|
|
579
|
-
|
|
580
|
-
let url = this.wf_manage_url || '/basic/wf/wf_manage/list'
|
|
581
|
-
this.$router.push(url)
|
|
582
|
-
}
|
|
583
|
-
}
|
|
677
|
+
},
|
|
584
678
|
};
|
|
585
679
|
</script>
|
|
586
680
|
<style lang="scss" scoped>
|
|
587
|
-
@import
|
|
681
|
+
@import "~@/styles/variables.scss";
|
|
588
682
|
|
|
589
683
|
body #app .index-home {
|
|
590
684
|
margin: 3px 10px;
|
|
@@ -599,7 +693,8 @@ body #app .index-home {
|
|
|
599
693
|
}
|
|
600
694
|
|
|
601
695
|
.i-user-info {
|
|
602
|
-
background: url(~@/resources/images/home-img.png) #2a6494 no-repeat 116%
|
|
696
|
+
background: url(~@/resources/images/home-img.png) #2a6494 no-repeat 116%
|
|
697
|
+
45px;
|
|
603
698
|
margin-bottom: 6px;
|
|
604
699
|
background-size: 181px;
|
|
605
700
|
padding: 14px 38px 11px 16px;
|
|
@@ -650,7 +745,7 @@ body #app .index-home {
|
|
|
650
745
|
background-color: transparentize($baseColor, 0.97);
|
|
651
746
|
|
|
652
747
|
.time {
|
|
653
|
-
color: $baseColor
|
|
748
|
+
color: $baseColor;
|
|
654
749
|
}
|
|
655
750
|
}
|
|
656
751
|
|
|
@@ -671,7 +766,6 @@ body #app .index-home {
|
|
|
671
766
|
overflow: auto;
|
|
672
767
|
margin: -8px -12px;
|
|
673
768
|
|
|
674
|
-
|
|
675
769
|
.item {
|
|
676
770
|
white-space: initial;
|
|
677
771
|
padding: 8px 22px 2px;
|
|
@@ -744,11 +838,11 @@ body #app .index-home {
|
|
|
744
838
|
}
|
|
745
839
|
|
|
746
840
|
&:hover .name {
|
|
747
|
-
color: $baseColor
|
|
841
|
+
color: $baseColor;
|
|
748
842
|
}
|
|
749
843
|
|
|
750
844
|
&:first-child:before {
|
|
751
|
-
border-top: none
|
|
845
|
+
border-top: none;
|
|
752
846
|
}
|
|
753
847
|
|
|
754
848
|
.btns {
|
|
@@ -766,7 +860,6 @@ body #app .index-home {
|
|
|
766
860
|
}
|
|
767
861
|
}
|
|
768
862
|
}
|
|
769
|
-
|
|
770
863
|
}
|
|
771
864
|
}
|
|
772
865
|
|
|
@@ -804,7 +897,7 @@ body #app .index-home {
|
|
|
804
897
|
}
|
|
805
898
|
|
|
806
899
|
&:before {
|
|
807
|
-
content:
|
|
900
|
+
content: "";
|
|
808
901
|
width: 4px;
|
|
809
902
|
height: 24px;
|
|
810
903
|
display: inline-block;
|
|
@@ -893,7 +986,7 @@ body #app .index-home {
|
|
|
893
986
|
&:before {
|
|
894
987
|
content: "";
|
|
895
988
|
background-color: $baseColor;
|
|
896
|
-
border-color: $baseColor
|
|
989
|
+
border-color: $baseColor;
|
|
897
990
|
}
|
|
898
991
|
|
|
899
992
|
background-color: transparentize($baseColor, 0.9);
|
|
@@ -920,7 +1013,7 @@ body #app .index-home {
|
|
|
920
1013
|
position: absolute;
|
|
921
1014
|
right: 5px;
|
|
922
1015
|
top: 6px;
|
|
923
|
-
color: #
|
|
1016
|
+
color: #fff;
|
|
924
1017
|
font-size: 12px;
|
|
925
1018
|
background-color: $red;
|
|
926
1019
|
line-height: 22px;
|
|
@@ -972,11 +1065,11 @@ body #app .index-home {
|
|
|
972
1065
|
display: inline-block;
|
|
973
1066
|
|
|
974
1067
|
b {
|
|
975
|
-
color: #
|
|
1068
|
+
color: #fff;
|
|
976
1069
|
margin: 0 4px;
|
|
977
1070
|
font-size: 16px;
|
|
978
1071
|
vertical-align: middle;
|
|
979
|
-
background: #
|
|
1072
|
+
background: #ff5615;
|
|
980
1073
|
border-radius: 50%;
|
|
981
1074
|
display: inline-block;
|
|
982
1075
|
padding: 4px;
|
|
@@ -984,7 +1077,6 @@ body #app .index-home {
|
|
|
984
1077
|
line-height: 1;
|
|
985
1078
|
}
|
|
986
1079
|
}
|
|
987
|
-
|
|
988
1080
|
}
|
|
989
1081
|
|
|
990
1082
|
.el-button {
|
|
@@ -1005,7 +1097,7 @@ body #app .index-home {
|
|
|
1005
1097
|
|
|
1006
1098
|
&:hover {
|
|
1007
1099
|
background-color: $baseColor;
|
|
1008
|
-
color: #
|
|
1100
|
+
color: #fff;
|
|
1009
1101
|
}
|
|
1010
1102
|
|
|
1011
1103
|
&.more {
|
|
@@ -1013,7 +1105,7 @@ body #app .index-home {
|
|
|
1013
1105
|
background: #f7f7f7;
|
|
1014
1106
|
|
|
1015
1107
|
&:hover {
|
|
1016
|
-
color: $baseColor
|
|
1108
|
+
color: $baseColor;
|
|
1017
1109
|
}
|
|
1018
1110
|
}
|
|
1019
1111
|
}
|