cloud-web-corejs 1.0.17 → 1.0.19
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 +2 -1
- package/src/components/jsonImport/index.js +3 -1
- package/src/components/jsonImport/mixins.js +16 -16
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/layout/components/Sidebar/default.vue +10 -4
- package/src/router/modules/customer.js +8 -8
- package/src/router/modules/system.js +1 -1
- package/src/utils/aes.js +1 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -3
- package/src/views/bd/setting/bd_attach_setting/list.vue +3 -3
- package/src/views/bd/setting/form_script/dialog.vue +14 -12
- package/src/views/bd/setting/form_script/edit.vue +6 -5
- package/src/views/bd/setting/form_script/edit1.vue +4 -4
- package/src/views/bd/setting/form_script/form_list.vue +3 -3
- package/src/views/bd/setting/form_script/list.vue +4 -4
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/list2.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +24 -17
- package/src/views/bd/setting/form_template/edit.vue +3 -3
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +5 -5
- package/src/views/bd/setting/form_template/itemEdit.vue +3 -3
- package/src/views/bd/setting/form_template/itemList.vue +3 -3
- package/src/views/bd/setting/form_template/list.vue +4 -4
- package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
- package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
- package/src/views/bd/setting/menu_kind/list.vue +4 -4
- package/src/views/bd/setting/table_model/dialog.vue +4 -4
- package/src/views/bd/setting/table_model/edit.vue +1123 -1123
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/zdDialog.vue +4 -4
- package/src/views/mobile/user/area/dialog.vue +3 -2
- package/src/views/mobile/user/user/dialog.vue +3 -2
- package/src/views/support/export_template/edit.vue +4 -4
- package/src/views/support/export_template/list.vue +12 -12
- package/src/views/user/access_log/edit.vue +2 -2
- package/src/views/user/access_log/list.vue +8 -8
- package/src/views/user/access_log/statistics_list.vue +16 -11
- package/src/views/user/api_request/edit.vue +7 -4
- package/src/views/user/api_request/list.vue +7 -5
- package/src/views/user/area/dialog.vue +4 -4
- package/src/views/user/area_attribute/configDialog.vue +319 -319
- package/src/views/user/area_attribute/edit.vue +2 -2
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +11 -11
- package/src/views/user/bill_setting/edit.vue +6 -5
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
- package/src/views/user/bill_setting/h5_view.vue +4 -4
- package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
- package/src/views/user/bill_setting/list.vue +5 -4
- package/src/views/user/bill_setting/queryDialog.vue +3 -3
- package/src/views/user/bill_setting/render.vue +6 -6
- package/src/views/user/bill_setting/template2.json +44 -11
- package/src/views/user/bill_setting/userDialog.vue +4 -4
- package/src/views/user/code_rules/edit.vue +3 -3
- package/src/views/user/code_rules/list.vue +3 -3
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/edit.vue +3 -3
- package/src/views/user/common_attribute/itemEdit.vue +3 -3
- package/src/views/user/common_attribute/list.vue +3 -3
- package/src/views/user/common_script/edit.vue +5 -4
- package/src/views/user/common_script/list.vue +14 -13
- package/src/views/user/company_info/dialog.vue +138 -131
- package/src/views/user/company_info/edit.vue +2 -2
- package/src/views/user/company_info/view.vue +1 -1
- package/src/views/user/country/dialog.vue +6 -6
- package/src/views/user/country/edit.vue +8 -7
- package/src/views/user/country/list.vue +170 -160
- package/src/views/user/data_type_setting/dialog.vue +10 -7
- package/src/views/user/data_type_setting/editDialog.vue +12 -11
- package/src/views/user/ea/eagroup/eaobj_list.vue +331 -310
- package/src/views/user/ea/eagroup/edit.vue +492 -475
- package/src/views/user/ea/eaobj/edit.vue +153 -148
- package/src/views/user/ea/eaobj/list.vue +147 -135
- package/src/views/user/error-page/401.vue +42 -34
- package/src/views/user/error-page/404.vue +19 -3
- package/src/views/user/extend_datasource/dialog.vue +124 -116
- package/src/views/user/extend_datasource/edit.vue +5 -4
- package/src/views/user/extend_datasource/list.vue +3 -3
- package/src/views/user/fieldTranslation/editDialog.vue +2 -2
- package/src/views/user/fieldTranslation/list.vue +4 -3
- package/src/views/user/field_values_invisible/edit.vue +85 -83
- package/src/views/user/field_values_invisible/list.vue +32 -21
- package/src/views/user/file_type/edit.vue +3 -3
- package/src/views/user/file_type/list.vue +7 -4
- package/src/views/user/file_type/userEdit.vue +188 -188
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +168 -165
- package/src/views/user/file_view_area/list.vue +3 -3
- package/src/views/user/file_view_ins/list.vue +55 -36
- package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
- package/src/views/user/form/form_ins_list/edit.vue +421 -421
- package/src/views/user/form/form_template/dialog.vue +24 -17
- package/src/views/user/form/form_template/edit.vue +7 -4
- package/src/views/user/form/form_template/itemEdit.vue +3 -3
- package/src/views/user/form/form_template/itemList.vue +3 -3
- package/src/views/user/form/form_template/list.vue +5 -4
- package/src/views/user/form/form_template_field/dialog.vue +11 -8
- package/src/views/user/form/form_type/dialog.vue +134 -127
- package/src/views/user/form/form_type/edit.vue +4 -4
- package/src/views/user/form/form_type/editDialog.vue +10 -9
- package/src/views/user/form/form_type/list.vue +128 -118
- package/src/views/user/form/report_requestaccess/dialog.vue +106 -99
- package/src/views/user/form/report_requestaccess/edit.vue +272 -234
- package/src/views/user/form/report_requestaccess/list.vue +29 -18
- package/src/views/user/form/vform/designer.vue +164 -164
- package/src/views/user/form/vform/formFieldMapping.js +151 -169
- package/src/views/user/form/vform/out_render.vue +3 -2
- package/src/views/user/form/vform/render.vue +2 -2
- package/src/views/user/form/view/edit.vue +7 -7
- package/src/views/user/form/view/list.vue +2 -2
- package/src/views/user/home/distributor.vue +374 -118
- package/src/views/user/home/index.vue +1 -1
- package/src/views/user/language_setting/edit.vue +167 -166
- package/src/views/user/language_setting/list.vue +3 -3
- package/src/views/user/ledger_library/list.vue +2 -2
- package/src/views/user/ledger_library/private_list.vue +3 -3
- package/src/views/user/login/auth-redirect.vue +1 -1
- package/src/views/user/login/index.vue +1 -1
- package/src/views/user/login/indexMixin.js +4 -1
- package/src/views/user/menu/list.vue +3 -3
- package/src/views/user/mobile_menu/list.vue +2 -2
- package/src/views/user/notify_message/dialog.vue +8 -6
- package/src/views/user/notify_message/list.vue +4 -3
- package/src/views/user/notify_template/edit.vue +185 -185
- package/src/views/user/notify_template/list.vue +4 -4
- package/src/views/user/oplog/edit.vue +108 -103
- package/src/views/user/oplog/list.vue +3 -3
- package/src/views/user/outLink/form_view.vue +144 -143
- package/src/views/user/outLink/index.vue +7 -5
- package/src/views/user/outLink/view.vue +119 -117
- package/src/views/user/position/dialog.vue +145 -138
- package/src/views/user/position/edit.vue +4 -4
- package/src/views/user/position/list.vue +170 -160
- package/src/views/user/project_tag/dialog.vue +5 -5
- package/src/views/user/project_tag/edit.vue +3 -3
- package/src/views/user/project_tag/list.vue +3 -3
- package/src/views/user/push_setting/edit.vue +7 -4
- package/src/views/user/push_setting/list.vue +44 -34
- package/src/views/user/redirect/index.vue +4 -4
- package/src/views/user/role/dialog.vue +10 -7
- package/src/views/user/role/edit.vue +427 -427
- package/src/views/user/role/list.vue +125 -114
- package/src/views/user/sale_org/dialog.vue +3 -3
- package/src/views/user/sale_org/list.vue +11 -11
- package/src/views/user/sale_org/moveDialog.vue +2 -2
- package/src/views/user/sale_org_net/list.vue +9 -9
- package/src/views/user/system_notice/edit.vue +184 -184
- package/src/views/user/system_notice/list.vue +156 -145
- package/src/views/user/system_parameter/edit.vue +140 -137
- package/src/views/user/system_parameter/list.vue +131 -120
- package/src/views/user/user/dialog.vue +31 -24
- package/src/views/user/user/edit.vue +1021 -1019
- package/src/views/user/user/form_edit.vue +481 -483
- package/src/views/user/user/form_list.vue +5 -5
- package/src/views/user/user/info.vue +271 -256
- package/src/views/user/user/infoContent.vue +12 -11
- package/src/views/user/user/infoEdit.vue +111 -92
- package/src/views/user/user/inner_list.vue +1 -1
- package/src/views/user/user/list.vue +55 -50
- package/src/views/user/user/list2.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +3 -3
- package/src/views/user/user/out_list.vue +1 -1
- package/src/views/user/wf/formCustDialog/list.vue +13 -15
- package/src/views/user/wf/iframe/index.vue +12 -12
- package/src/views/user/wf/iframe/index2.vue +2 -2
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +8 -6
- package/src/views/user/wf/wf_diy_attribute/edit.vue +5 -5
- package/src/views/user/wf/wf_manage/list.vue +5 -4
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
- package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
- package/src/views/user/wf/wf_obj_config/edit.vue +7 -4
- package/src/views/user/wf/wf_obj_config/edit_form.vue +70 -63
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list_form.vue +22 -22
- package/src/views/user/wf/wf_param/edit.vue +4 -4
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +8 -5
- package/src/views/user/wf/wf_work_calendar/date.js +10 -10
- package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<x-tabs ref="xTabs" v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :currentFormType="currentFormType"
|
|
6
6
|
:parent-target="_self" @reload="$reloadHandle"></editView>
|
|
7
7
|
</el-tab-pane>
|
|
8
|
-
<el-tab-pane label="列表" name="second">
|
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
9
9
|
<div class="tree-box fl">
|
|
10
10
|
<div class="tit"><b>表单分类</b></div>
|
|
11
11
|
<div class="tree-btns" style="margin-top: 10px;">
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</template>
|
|
61
61
|
<template #buttonRight>
|
|
62
62
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
63
|
-
plain
|
|
63
|
+
plain>{{$t1('重置')}}
|
|
64
64
|
</vxe-button>
|
|
65
65
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
66
66
|
</vxe-button>
|
|
@@ -489,8 +489,8 @@ export default {
|
|
|
489
489
|
},
|
|
490
490
|
jsonExport() {
|
|
491
491
|
this.$jsonExport({
|
|
492
|
+
targetRef: "table-m1",
|
|
492
493
|
url: USER_PREFIX + "/form_develop/exportSzTaMb",
|
|
493
|
-
data: this.getSearchParam(),
|
|
494
494
|
abcEnabled: true
|
|
495
495
|
})
|
|
496
496
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<div class="clearfix screen-btns">
|
|
28
28
|
<div class="fr">
|
|
29
29
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
-
plain
|
|
30
|
+
plain>{{$t1('重置')}}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
33
33
|
</vxe-button>
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
74
|
<span slot="footer" class="dialog-footer">
|
|
75
|
-
<span class="fl tips" v-if="!selectMulti"
|
|
75
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
76
76
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
77
77
|
<i class="el-icon-close el-icon"></i>
|
|
78
|
-
取 消
|
|
78
|
+
{{ $t1('取 消') }}
|
|
79
79
|
</el-button>
|
|
80
80
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
81
81
|
<i class="el-icon-check el-icon"></i>
|
|
82
|
-
确 定
|
|
82
|
+
{{ $t1('确 定') }}
|
|
83
83
|
</el-button>
|
|
84
84
|
</span>
|
|
85
85
|
</el-dialog>
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
<div class="fixed-bottom-btns">
|
|
40
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
41
|
-
|
|
40
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{$t1('取 消')}}
|
|
41
|
+
</el-button>
|
|
42
|
+
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check">{{$t1('确 定')}}</el-button>
|
|
42
43
|
</div>
|
|
43
44
|
<h5SearchDialog v-if="popStatus" :visiable.sync="popStatus" @searchEvent="confirmSearchDialog"
|
|
44
45
|
@resetEvent="resetSearchDialog">
|
|
@@ -43,8 +43,9 @@
|
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
<div class="fixed-bottom-btns">
|
|
46
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
47
|
-
|
|
46
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{$t1('取 消')}}
|
|
47
|
+
</el-button>
|
|
48
|
+
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check">{{$t1('确 定')}}</el-button>
|
|
48
49
|
</div>
|
|
49
50
|
<h5SearchDialog v-if="popStatus" :visiable.sync="popStatus" @searchEvent="confirmSearchDialog"
|
|
50
51
|
@resetEvent="resetSearchDialog">
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}输出模板
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 输出模板
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData"
|
|
12
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
13
|
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
199
199
|
exportTemplate: {enabled: true, etType: null},
|
|
200
200
|
showCodeEditor: false,
|
|
201
201
|
showHiprintDesignDialog: false,
|
|
202
|
-
printTypes:[2,3,6,7,8,9]
|
|
202
|
+
printTypes: [2, 3, 6, 7, 8, 9]
|
|
203
203
|
};
|
|
204
204
|
},
|
|
205
205
|
computed: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView
|
|
6
6
|
v-if="showEdit"
|
|
7
7
|
visible-key="showEdit"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@reload="$reloadHandle"
|
|
11
11
|
></editView>
|
|
12
12
|
</el-tab-pane>
|
|
13
|
-
<el-tab-pane label="列表" name="second">
|
|
13
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
14
14
|
<div class="grid-height">
|
|
15
15
|
<vxe-grid
|
|
16
16
|
ref="table-m1"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
class="button-sty"
|
|
27
27
|
icon="el-icon-plus"
|
|
28
28
|
@click="openEditDialog"
|
|
29
|
-
|
|
29
|
+
>新增
|
|
30
30
|
</vxe-button>
|
|
31
31
|
<base-table-export
|
|
32
32
|
:option="{ title: '输出模板导出', targetRef: 'table-m1' }"
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
type="text"
|
|
42
42
|
status="primary"
|
|
43
43
|
plain
|
|
44
|
-
|
|
44
|
+
>{{$t1('重置')}}
|
|
45
45
|
</vxe-button>
|
|
46
46
|
<vxe-button
|
|
47
47
|
status="warning"
|
|
48
48
|
icon="el-icon-search"
|
|
49
49
|
class="button-sty"
|
|
50
50
|
@click="searchEvent"
|
|
51
|
-
|
|
51
|
+
>搜索
|
|
52
52
|
</vxe-button>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -129,7 +129,7 @@ import editView from "./edit.vue";
|
|
|
129
129
|
|
|
130
130
|
export default {
|
|
131
131
|
name: "export_template:list",
|
|
132
|
-
components: {
|
|
132
|
+
components: {editView},
|
|
133
133
|
data() {
|
|
134
134
|
return {
|
|
135
135
|
activeName: "second",
|
|
@@ -178,7 +178,7 @@ export default {
|
|
|
178
178
|
return this.formData;
|
|
179
179
|
},
|
|
180
180
|
columns: [
|
|
181
|
-
{
|
|
181
|
+
{type: "checkbox", width: 48, resizable: false, fixed: "left"},
|
|
182
182
|
{
|
|
183
183
|
title: "输出模板编码",
|
|
184
184
|
field: "etCode",
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
195
195
|
field: "etType",
|
|
196
196
|
width: 250,
|
|
197
197
|
slots: {
|
|
198
|
-
default: ({
|
|
198
|
+
default: ({row}) => {
|
|
199
199
|
return etTypeMap[row.etType] || "";
|
|
200
200
|
},
|
|
201
201
|
},
|
|
@@ -205,7 +205,7 @@ export default {
|
|
|
205
205
|
title: "是否启用",
|
|
206
206
|
width: 150,
|
|
207
207
|
slots: {
|
|
208
|
-
default: ({
|
|
208
|
+
default: ({row}) => {
|
|
209
209
|
if (row.enabled) {
|
|
210
210
|
return [<div class="txt-status">启用</div>];
|
|
211
211
|
} else {
|
|
@@ -229,14 +229,14 @@ export default {
|
|
|
229
229
|
field: "createDate",
|
|
230
230
|
width: 150,
|
|
231
231
|
},
|
|
232
|
-
{
|
|
232
|
+
{title: "更新时间", field: "modifyDate", width: 150},
|
|
233
233
|
{
|
|
234
234
|
width: 47,
|
|
235
235
|
fixed: "right",
|
|
236
236
|
title: "",
|
|
237
237
|
sortable: false,
|
|
238
238
|
slots: {
|
|
239
|
-
default: ({
|
|
239
|
+
default: ({row}) => {
|
|
240
240
|
return [
|
|
241
241
|
<div>
|
|
242
242
|
<a
|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
253
253
|
placement="top"
|
|
254
254
|
popper-class="tooltip-skin"
|
|
255
255
|
>
|
|
256
|
-
<i class="el-icon-edit"
|
|
256
|
+
<i class="el-icon-edit"/>
|
|
257
257
|
</el-tooltip>
|
|
258
258
|
</a>
|
|
259
259
|
</div>,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}访问统计
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} 访问统计
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right"
|
|
10
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
|
|
11
11
|
</el-button>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
|
6
6
|
@reload="$reloadHandle"></editView>
|
|
7
7
|
</el-tab-pane>
|
|
8
|
-
<el-tab-pane label="列表" name="second">
|
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
9
9
|
<div class="tree-box fl">
|
|
10
10
|
<div class="tit"><b>操作类型</b></div>
|
|
11
11
|
<el-tree
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
@click="showAdvancedSearch = true">高级筛选
|
|
43
43
|
</vxe-button>
|
|
44
44
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
45
|
-
plain
|
|
45
|
+
plain>{{$t1('重置')}}
|
|
46
46
|
</vxe-button>
|
|
47
47
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
48
48
|
</vxe-button>
|
|
@@ -122,7 +122,7 @@ import statistics_list from "./statistics_list.vue";
|
|
|
122
122
|
|
|
123
123
|
export default {
|
|
124
124
|
name: 'access_log:list',
|
|
125
|
-
components: {editView,statistics_list},
|
|
125
|
+
components: {editView, statistics_list},
|
|
126
126
|
data() {
|
|
127
127
|
return {
|
|
128
128
|
activeName: 'second',
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
143
143
|
wfContentOption: {},
|
|
144
144
|
showAdvancedSearch: false,
|
|
145
145
|
advancedFormData: {},
|
|
146
|
-
showStatisticsList:false,
|
|
146
|
+
showStatisticsList: false,
|
|
147
147
|
logTypeMap: {
|
|
148
148
|
'login': '登录成功',
|
|
149
149
|
'loginFailed': '登录失败',
|
|
@@ -153,9 +153,9 @@ export default {
|
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
},
|
|
156
|
-
watch:{
|
|
157
|
-
activeName(val){
|
|
158
|
-
if(this.showStatisticsList===false && val==="third"){
|
|
156
|
+
watch: {
|
|
157
|
+
activeName(val) {
|
|
158
|
+
if (this.showStatisticsList === false && val === "third") {
|
|
159
159
|
this.showStatisticsList = true;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="tree-box fl"
|
|
3
|
+
<div class="tree-box fl">
|
|
4
4
|
<div class="tit"><b>操作类型</b></div>
|
|
5
5
|
<el-tree
|
|
6
6
|
:props="defaultProps"
|
|
@@ -29,11 +29,14 @@
|
|
|
29
29
|
<template>
|
|
30
30
|
<block v-for="(item,index) in accessLogs" :key="index">
|
|
31
31
|
<template v-if="item.flag!=='total'">
|
|
32
|
-
<div class="item"><span class="date-txt">{{ item.logDate }}</span> 共有 <span
|
|
32
|
+
<div class="item"><span class="date-txt">{{ item.logDate }}</span> 共有 <span
|
|
33
|
+
class="f-red">{{ item.numbers }}</span> 人登录
|
|
34
|
+
</div>
|
|
33
35
|
</template>
|
|
34
36
|
<template v-else>
|
|
35
37
|
<div class="last">
|
|
36
|
-
合计:<span class="d">{{ item.startDate }}</span> 至 <span class="d">{{ item.endDate }}</span> 共有
|
|
38
|
+
合计:<span class="d">{{ item.startDate }}</span> 至 <span class="d">{{ item.endDate }}</span> 共有
|
|
39
|
+
<span class="f-red">{{ item.numbers }}</span> 人登录
|
|
37
40
|
</div>
|
|
38
41
|
</template>
|
|
39
42
|
</block>
|
|
@@ -76,17 +79,17 @@
|
|
|
76
79
|
:picker-options="$baseEndPickerOptions(formData.startDate)"
|
|
77
80
|
></el-date-picker>
|
|
78
81
|
<el-button style="margin-left: 15px;" icon="el-icon-date" class="button-sty"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
@click="checkDateButton(7)"
|
|
83
|
+
type="success"
|
|
84
|
+
>近7天
|
|
82
85
|
</el-button>
|
|
83
86
|
<el-button icon="el-icon-date" class="button-sty" @click="checkDateButton(30)"
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
type="success"
|
|
88
|
+
>近30天
|
|
86
89
|
</el-button>
|
|
87
90
|
<el-button icon="el-icon-date" class="button-sty" @click="checkDateButton(90)"
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
type="success"
|
|
92
|
+
>近90天
|
|
90
93
|
</el-button>
|
|
91
94
|
</template>
|
|
92
95
|
</vxe-form-item>
|
|
@@ -280,5 +283,7 @@ export default {
|
|
|
280
283
|
};
|
|
281
284
|
</script>
|
|
282
285
|
<style scoped>
|
|
283
|
-
|
|
286
|
+
::v-deep body .tab-box > .el-tabs__content .grid-height {
|
|
287
|
+
height: calc(100vh - 91px);
|
|
288
|
+
}
|
|
284
289
|
</style>
|
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? '查看' : '新增' }}API请求定义
|
|
7
|
+
{{ dataId ? $t1('查看') : $t1('新增') }} API请求定义
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
|
-
<el-button type="warning" class="button-sty" icon="el-icon-copy-document" @click="copy" v-if="!!dataId"
|
|
11
|
-
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-
|
|
10
|
+
<el-button type="warning" class="button-sty" icon="el-icon-copy-document" @click="copy" v-if="!!dataId">复制
|
|
11
|
+
</el-button>
|
|
12
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
13
|
+
{{ $t1('重置') }}
|
|
14
|
+
</el-button>
|
|
15
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
16
|
</div>
|
|
14
17
|
</div>
|
|
15
18
|
<div class="d-cont">
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
|
4
|
-
<el-tab-pane label="常规" name="first">
|
|
5
|
-
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :copyId.sync="copyId"
|
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
|
+
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :copyId.sync="copyId"
|
|
6
|
+
:parent-target="_self"
|
|
6
7
|
@reload="$reloadHandle"></editView>
|
|
7
8
|
</el-tab-pane>
|
|
8
|
-
<el-tab-pane label="列表" name="second">
|
|
9
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
|
9
10
|
<div class="grid-height">
|
|
10
11
|
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
11
12
|
@custom="$vxeTableUtil.customHandle">
|
|
@@ -14,11 +15,12 @@
|
|
|
14
15
|
<div class="fl">
|
|
15
16
|
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">新增
|
|
16
17
|
</vxe-button>
|
|
17
|
-
<base-table-export :option="{ title: 'API请求定义导出', targetRef: 'table-m1'}"
|
|
18
|
+
<base-table-export :option="{ title: 'API请求定义导出', targetRef: 'table-m1'}"
|
|
19
|
+
:parent-target="_self"/>
|
|
18
20
|
</div>
|
|
19
21
|
<div class="fr">
|
|
20
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
21
|
-
plain
|
|
23
|
+
plain>{{$t1('重置')}}
|
|
22
24
|
</vxe-button>
|
|
23
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
24
26
|
</vxe-button>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<div class="clearfix screen-btns">
|
|
126
126
|
<div class="fr">
|
|
127
127
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
128
|
-
plain
|
|
128
|
+
plain>{{$t1('重置')}}
|
|
129
129
|
</vxe-button>
|
|
130
130
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
131
131
|
</vxe-button>
|
|
@@ -170,14 +170,14 @@
|
|
|
170
170
|
</div>
|
|
171
171
|
</div>
|
|
172
172
|
<span slot="footer" class="dialog-footer">
|
|
173
|
-
<span class="fl tips" v-if="!selectMulti"
|
|
173
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
174
174
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
175
175
|
<i class="el-icon-close el-icon"></i>
|
|
176
|
-
取 消
|
|
176
|
+
{{ $t1('取 消') }}
|
|
177
177
|
</el-button>
|
|
178
178
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
179
179
|
<i class="el-icon-check el-icon"></i>
|
|
180
|
-
确 定
|
|
180
|
+
{{ $t1('确 定') }}
|
|
181
181
|
</el-button>
|
|
182
182
|
</span>
|
|
183
183
|
</el-dialog>
|