cloud-web-corejs 1.0.27 → 1.0.29
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 +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/exportDialog.vue +1 -1
- package/src/components/jsonImport/index.vue +151 -202
- package/src/components/jsonImport/mixins.js +1 -309
- package/src/components/projectTag/addButton.vue +3 -50
- package/src/components/projectTag/deleteButton.vue +3 -50
- package/src/components/projectTag/mixins/addButton.js +5 -0
- package/src/components/projectTag/mixins/deleteButton.js +5 -0
- package/src/components/projectTag/mixins/view.js +5 -0
- package/src/components/projectTag/view.vue +33 -72
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/index.js +0 -2
- package/src/layout/components/Sidebar/default.vue +4 -6
- package/src/router/modules/system.js +1 -1
- package/src/store/config/index.js +3 -0
- package/src/store/getters.js +2 -0
- package/src/store/modules/permission.js +2 -2
- package/src/store/modules/user.js +2 -1
- package/src/utils/request.js +28 -29
- package/src/utils/vab.js +27 -27
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +4 -87
- package/src/views/bd/setting/bd_attach_setting/edit.vue +3 -92
- package/src/views/bd/setting/bd_attach_setting/list.vue +4 -214
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +89 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +96 -0
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +219 -0
- package/src/views/bd/setting/form_script/dialog.vue +3 -137
- package/src/views/bd/setting/form_script/edit.vue +3 -127
- package/src/views/bd/setting/form_script/edit1.vue +3 -142
- package/src/views/bd/setting/form_script/form_list.vue +4 -259
- package/src/views/bd/setting/form_script/list.vue +55 -223
- package/src/views/bd/setting/form_script/list1.vue +117 -444
- package/src/views/bd/setting/form_script/list2.vue +3 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +142 -0
- package/src/views/bd/setting/form_script/mixins/edit.js +134 -0
- package/src/views/bd/setting/form_script/mixins/edit1.js +149 -0
- package/src/views/bd/setting/form_script/mixins/form_list.js +264 -0
- package/src/views/bd/setting/form_script/mixins/list.js +176 -0
- package/src/views/bd/setting/form_script/mixins/list1.js +336 -0
- package/src/views/bd/setting/form_script/mixins/list2.js +14 -0
- package/src/views/bd/setting/form_template/dialog.vue +104 -212
- package/src/views/bd/setting/form_template/edit.vue +183 -329
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +46 -131
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +88 -175
- package/src/views/bd/setting/form_template/itemEdit.vue +174 -270
- package/src/views/bd/setting/form_template/itemList.vue +56 -300
- package/src/views/bd/setting/form_template/list.vue +211 -766
- package/src/views/bd/setting/form_template/mixins/dialog.js +114 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +155 -0
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +94 -0
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +95 -0
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +106 -0
- package/src/views/bd/setting/form_template/mixins/itemList.js +254 -0
- package/src/views/bd/setting/form_template/mixins/list.js +562 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -0
- package/src/views/bd/setting/form_template/preformDialog.vue +57 -77
- package/src/views/bd/setting/menu_kind/authDialog.vue +84 -308
- package/src/views/bd/setting/menu_kind/dialog.vue +89 -226
- package/src/views/bd/setting/menu_kind/list.vue +86 -262
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +232 -0
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +144 -0
- package/src/views/bd/setting/menu_kind/mixins/list.js +187 -0
- package/src/views/bd/setting/table_model/dialog.vue +95 -161
- package/src/views/bd/setting/table_model/edit.vue +5 -767
- package/src/views/bd/setting/table_model/list.vue +130 -491
- package/src/views/bd/setting/table_model/mixins/dialog.js +74 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +778 -0
- package/src/views/bd/setting/table_model/mixins/list.js +367 -0
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -0
- package/src/views/bd/setting/table_model/zdDialog.vue +95 -201
- package/src/views/support/export_template/edit.vue +40 -36
- package/src/views/support/export_template/list.vue +40 -52
- package/src/views/user/access_log/edit.vue +18 -17
- package/src/views/user/access_log/list.vue +27 -26
- package/src/views/user/access_log/statistics_list.vue +19 -17
- package/src/views/user/api_request/edit.vue +14 -11
- package/src/views/user/api_request/list.vue +13 -11
- package/src/views/user/area/dialog.vue +14 -27
- package/src/views/user/area_attribute/configDialog.vue +11 -13
- package/src/views/user/area_attribute/edit.vue +8 -6
- package/src/views/user/area_attribute/list.vue +1 -1
- package/src/views/user/attachment/uploadDialog.vue +1 -1
- package/src/views/user/bill_setting/button/previewButton.vue +2 -2
- package/src/views/user/bill_setting/compareView.vue +1 -1
- package/src/views/user/bill_setting/edit.vue +24 -17
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +1 -1
- package/src/views/user/bill_setting/itemViewDialog.vue +3 -66
- package/src/views/user/bill_setting/list.vue +28 -26
- package/src/views/user/bill_setting/mixins/wf.js +8 -8
- package/src/views/user/bill_setting/previewDialog.vue +1 -1
- package/src/views/user/bill_setting/render.vue +29 -29
- package/src/views/user/bill_setting/userDialog.vue +7 -5
- package/src/views/user/code_rules/edit.vue +21 -18
- package/src/views/user/code_rules/list.vue +27 -19
- package/src/views/user/commMenu/index.vue +3 -3
- package/src/views/user/common_attribute/edit.vue +7 -5
- package/src/views/user/common_attribute/itemEdit.vue +22 -22
- package/src/views/user/common_attribute/list.vue +25 -24
- package/src/views/user/common_script/edit.vue +12 -12
- package/src/views/user/common_script/list.vue +30 -32
- package/src/views/user/company_info/dialog.vue +9 -9
- package/src/views/user/company_info/edit.vue +11 -8
- package/src/views/user/country/dialog.vue +11 -9
- package/src/views/user/country/edit.vue +12 -9
- package/src/views/user/country/list.vue +12 -12
- package/src/views/user/data_type_setting/dialog.vue +10 -10
- package/src/views/user/data_type_setting/editDialog.vue +6 -6
- package/src/views/user/ea/eagroup/eaobj_list.vue +25 -25
- package/src/views/user/ea/eagroup/edit.vue +48 -42
- package/src/views/user/ea/eaobj/edit.vue +6 -5
- package/src/views/user/ea/eaobj/list.vue +9 -8
- package/src/views/user/extend_datasource/dialog.vue +19 -24
- package/src/views/user/extend_datasource/edit.vue +20 -16
- package/src/views/user/extend_datasource/list.vue +23 -24
- package/src/views/user/fieldTranslation/editDialog.vue +28 -28
- package/src/views/user/fieldTranslation/list.vue +59 -57
- package/src/views/user/field_values_invisible/edit.vue +15 -14
- package/src/views/user/field_values_invisible/list.vue +23 -22
- package/src/views/user/file_type/edit.vue +12 -21
- package/src/views/user/file_type/list.vue +21 -36
- package/src/views/user/file_type/userEdit.vue +14 -9
- package/src/views/user/file_view_area/edit.vue +3 -3
- package/src/views/user/file_view_area/itemEdit.vue +11 -9
- package/src/views/user/file_view_area/list.vue +17 -16
- package/src/views/user/file_view_ins/list.vue +29 -28
- package/src/views/user/file_view_ins/propertiesDialog.vue +15 -15
- package/src/views/user/form/form_template/edit.vue +1 -1
- package/src/views/user/form/form_template/itemEdit.vue +1 -1
- package/src/views/user/form/form_template/itemList.vue +2 -2
- package/src/views/user/form/form_template/list.vue +3 -3
- package/src/views/user/form/form_type/edit.vue +1 -1
- package/src/views/user/form/form_type/list.vue +1 -1
- package/src/views/user/form/report_requestaccess/edit.vue +1 -1
- package/src/views/user/form/report_requestaccess/list.vue +1 -1
- package/src/views/user/form/vform/designer.vue +2 -0
- package/src/views/user/form/vform/out_render.vue +1 -0
- package/src/views/user/form/vform/render.vue +1 -0
- package/src/views/user/form/view/list.vue +2 -1
- package/src/views/user/groups/dialog.vue +159 -0
- package/src/views/user/groups/edit.vue +131 -0
- package/src/views/user/groups/list.vue +167 -0
- package/src/views/user/home/index.vue +3 -3
- package/src/views/user/lang_tag/dialog.vue +185 -0
- package/src/views/user/lang_tag/edit.vue +138 -0
- package/src/views/user/lang_tag/list.vue +170 -0
- package/src/views/user/language_setting/edit.vue +11 -9
- package/src/views/user/language_setting/list.vue +20 -18
- package/src/views/user/login/default.vue +129 -0
- package/src/views/user/login/index.vue +3 -117
- package/src/views/user/menu/list.vue +39 -55
- package/src/views/user/mobile_menu/list.vue +18 -54
- package/src/views/user/notify_message/dialog.vue +1 -1
- package/src/views/user/notify_message/infoDialog.vue +1 -1
- package/src/views/user/notify_message/list.vue +24 -23
- package/src/views/user/notify_template/edit.vue +13 -11
- package/src/views/user/notify_template/list.vue +19 -16
- package/src/views/user/oplog/edit.vue +12 -12
- package/src/views/user/oplog/list.vue +20 -18
- package/src/views/user/position/dialog.vue +6 -6
- package/src/views/user/position/edit.vue +11 -8
- package/src/views/user/position/list.vue +11 -11
- package/src/views/user/project_tag/dialog.vue +11 -9
- package/src/views/user/project_tag/edit.vue +8 -6
- package/src/views/user/project_tag/list.vue +15 -12
- package/src/views/user/push_setting/edit.vue +20 -17
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +11 -11
- package/src/views/user/role/edit.vue +14 -12
- package/src/views/user/role/list.vue +14 -12
- package/src/views/user/sale_org/dialog.vue +12 -12
- package/src/views/user/sale_org/list.vue +43 -48
- package/src/views/user/system_notice/edit.vue +13 -11
- package/src/views/user/system_notice/infoDialog.vue +2 -2
- package/src/views/user/system_notice/list.vue +19 -17
- package/src/views/user/system_parameter/edit.vue +7 -6
- package/src/views/user/system_parameter/list.vue +12 -10
- package/src/views/user/user/edit.vue +1 -1
- package/src/views/user/user/form_edit.vue +50 -7
- package/src/views/user/user/form_list.vue +34 -132
- package/src/views/user/user/info.vue +20 -19
- package/src/views/user/user/infoEdit.vue +18 -18
- package/src/views/user/user/infoIframeDialog.vue +1 -1
- package/src/views/user/user/modifyPasswordDialog.vue +9 -9
- package/src/views/user/wf/iframe/dialog.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +11 -10
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +14 -13
- package/src/views/user/wf/wf_auto_submit_data/list.vue +43 -41
- package/src/views/user/wf/wf_diy_attribute/edit.vue +11 -8
- package/src/views/user/wf/wf_manage/list.vue +66 -61
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/dialog.vue +11 -11
- package/src/views/user/wf/wf_obj_config/edit.vue +12 -9
- package/src/views/user/wf/wf_obj_config/edit_form.vue +11 -9
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +31 -27
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +8 -6
- package/src/views/user/wf/wf_obj_config/list.vue +42 -41
- package/src/views/user/wf/wf_obj_config/list_form.vue +14 -12
- package/src/views/user/wf/wf_param/edit.vue +7 -5
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +9 -24
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -3
- package/src/views/user/home/distributor.vue +0 -849
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
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">
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
11
14
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
15
17
|
<baseTabs>
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
<table class="table-detail">
|
|
19
21
|
<tbody>
|
|
20
22
|
<tr>
|
|
21
|
-
<th><em class="f-red">*</em
|
|
23
|
+
<th><em class="f-red">*</em>{{ $t1('通知模板编码') }}</th>
|
|
22
24
|
<td>
|
|
23
25
|
<el-form-item prop="notifyType" :rules="[{ required: true, trigger: 'blur' }]">
|
|
24
26
|
<el-input type="text" autocomplete="off" v-model="notifyTemplate.notifyType" clearable/>
|
|
@@ -26,25 +28,25 @@
|
|
|
26
28
|
</td>
|
|
27
29
|
<th>
|
|
28
30
|
<em class="f-red">*</em>
|
|
29
|
-
通知模板名称
|
|
31
|
+
{{ $t1('通知模板名称') }}
|
|
30
32
|
</th>
|
|
31
33
|
<td>
|
|
32
34
|
<el-form-item prop="ntName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
33
35
|
<el-input type="text" autocomplete="off" v-model="notifyTemplate.ntName" clearable/>
|
|
34
36
|
</el-form-item>
|
|
35
37
|
</td>
|
|
36
|
-
<th
|
|
38
|
+
<th>{{ $t1('是否启用') }}</th>
|
|
37
39
|
<td>
|
|
38
40
|
<el-form-item prop="enabled" :rules="[{ required: false, trigger: 'blur' }]">
|
|
39
41
|
<el-radio-group v-model="notifyTemplate.enabled">
|
|
40
|
-
<el-radio :label="true"
|
|
41
|
-
<el-radio :label="false"
|
|
42
|
+
<el-radio :label="true">{{ $t1('启用') }}</el-radio>
|
|
43
|
+
<el-radio :label="false">{{ $t1('禁用') }}</el-radio>
|
|
42
44
|
</el-radio-group>
|
|
43
45
|
</el-form-item>
|
|
44
46
|
</td>
|
|
45
47
|
</tr>
|
|
46
48
|
<tr>
|
|
47
|
-
<th><em class="f-red">*</em
|
|
49
|
+
<th><em class="f-red">*</em>{{ $t1('通知内容') }}</th>
|
|
48
50
|
<td colspan="5">
|
|
49
51
|
<el-form-item prop="content" :rules="[{ required: true, trigger: 'blur' }]">
|
|
50
52
|
<el-input type="textarea" :rows="2" size="small"
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
</td>
|
|
55
57
|
</tr>
|
|
56
58
|
<tr>
|
|
57
|
-
<th
|
|
59
|
+
<th>{{ $t1('跳转内容') }}</th>
|
|
58
60
|
<td colspan="5">
|
|
59
61
|
<el-form-item prop="jumpContent" :rules="[{ required: false, trigger: 'blur' }]">
|
|
60
62
|
<el-input type="textarea" :rows="2" size="small"
|
|
@@ -72,7 +74,7 @@
|
|
|
72
74
|
</tr>
|
|
73
75
|
<tr>
|
|
74
76
|
<th>
|
|
75
|
-
脚本(获取通知人)
|
|
77
|
+
{{ $t1('脚本(获取通知人)') }}
|
|
76
78
|
<!-- <scriptDescriptionButton path="static/readme/PushSetting.txt"></scriptDescriptionButton>-->
|
|
77
79
|
<scriptTestButton :script.sync="notifyTemplate.script"></scriptTestButton>
|
|
78
80
|
</th>
|
|
@@ -12,35 +12,38 @@
|
|
|
12
12
|
<template #form>
|
|
13
13
|
<div class="clearfix screen-btns">
|
|
14
14
|
<div class="fl">
|
|
15
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
15
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
16
|
+
{{ $t1('新增') }}
|
|
16
17
|
</vxe-button>
|
|
17
|
-
<base-table-export :option="{ title: '通知模板导出', targetRef: 'table-m1'}"
|
|
18
|
+
<base-table-export :option="{ title: $t1('通知模板导出'), 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>{{$t1('重置')}}
|
|
23
|
+
plain>{{ $t1('重置') }}
|
|
22
24
|
</vxe-button>
|
|
23
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
25
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
|
+
{{ $t1('搜索') }}
|
|
24
27
|
</vxe-button>
|
|
25
28
|
</div>
|
|
26
29
|
</div>
|
|
27
30
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
28
31
|
@submit="searchEvent" @reset="searchEvent">
|
|
29
|
-
<vxe-form-item title="
|
|
32
|
+
<vxe-form-item :title="$t1('通知模板编码')+':'" field="ntCode">
|
|
30
33
|
<template v-slot>
|
|
31
34
|
<el-input v-model="formData.notifyType" size="small" clearable/>
|
|
32
35
|
</template>
|
|
33
36
|
</vxe-form-item>
|
|
34
|
-
<vxe-form-item title="
|
|
37
|
+
<vxe-form-item :title="$t1('通知模板名称')+':'" field="ntName">
|
|
35
38
|
<template v-slot>
|
|
36
39
|
<el-input v-model="formData.ntName" size="small" clearable/>
|
|
37
40
|
</template>
|
|
38
41
|
</vxe-form-item>
|
|
39
|
-
<vxe-form-item title="
|
|
42
|
+
<vxe-form-item :title="$t1('是否启用')+':'">
|
|
40
43
|
<template v-slot>
|
|
41
44
|
<el-select v-model="formData.enabled" clearable>
|
|
42
|
-
<el-option :value="true" label="启用"></el-option>
|
|
43
|
-
<el-option :value="false" label="禁用"></el-option>
|
|
45
|
+
<el-option :value="true" :label="$t1('启用')"></el-option>
|
|
46
|
+
<el-option :value="false" :label="$t1('禁用')"></el-option>
|
|
44
47
|
</el-select>
|
|
45
48
|
</template>
|
|
46
49
|
</vxe-form-item>
|
|
@@ -97,13 +100,13 @@ export default {
|
|
|
97
100
|
columns: [
|
|
98
101
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
99
102
|
{
|
|
100
|
-
title: '通知模板编码',
|
|
103
|
+
title: this.$t1('通知模板编码'),
|
|
101
104
|
field: 'notifyType',
|
|
102
105
|
width: 250,
|
|
103
106
|
fixed: 'left'
|
|
104
107
|
},
|
|
105
108
|
{
|
|
106
|
-
title: '通知模板名称',
|
|
109
|
+
title: this.$t1('通知模板名称'),
|
|
107
110
|
field: 'ntName',
|
|
108
111
|
width: 150
|
|
109
112
|
},
|
|
@@ -116,21 +119,21 @@ export default {
|
|
|
116
119
|
if (row.enabled) {
|
|
117
120
|
return [
|
|
118
121
|
<div class="txt-status">
|
|
119
|
-
<span
|
|
122
|
+
<span>{this.$t1('启用')}</span>
|
|
120
123
|
</div>
|
|
121
124
|
];
|
|
122
125
|
} else {
|
|
123
126
|
return [
|
|
124
127
|
<div class="txt-status disable">
|
|
125
|
-
<span
|
|
128
|
+
<span>{this.$t1('禁用')}</span>
|
|
126
129
|
</div>
|
|
127
130
|
];
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
133
|
}
|
|
131
134
|
},
|
|
132
|
-
{title: '通知内容', field: 'content', width: 150},
|
|
133
|
-
{title: '跳转内容', field: 'jumpContent', width: 150},
|
|
135
|
+
{title: this.$t1('通知内容'), field: 'content', width: 150},
|
|
136
|
+
{title: this.$t1('跳转内容'), field: 'jumpContent', width: 150},
|
|
134
137
|
{title: this.$t1('备注'), field: 'remark', width: 150},
|
|
135
138
|
{
|
|
136
139
|
title: this.$t1('创建时间'),
|
|
@@ -153,7 +156,7 @@ export default {
|
|
|
153
156
|
this.openEditDialog(row.id);
|
|
154
157
|
}}
|
|
155
158
|
>
|
|
156
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
159
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
157
160
|
popper-class="tooltip-skin">
|
|
158
161
|
<i class="el-icon-edit"/>
|
|
159
162
|
</el-tooltip>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
7
|
+
{{ dataId ? $t1('查看操作日志') : $t1('新增操作日志') }}
|
|
8
8
|
</div>
|
|
9
9
|
<div class="fr">
|
|
10
10
|
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
@@ -18,29 +18,29 @@
|
|
|
18
18
|
<table class="table-detail">
|
|
19
19
|
<tbody>
|
|
20
20
|
<tr>
|
|
21
|
-
<th
|
|
21
|
+
<th>{{ $t1('操作类型') }}</th>
|
|
22
22
|
<td>{{ oplog.typeName }}</td>
|
|
23
|
-
<th
|
|
23
|
+
<th>{{ $t1('访问IP') }}</th>
|
|
24
24
|
<td>{{ oplog.ip }}</td>
|
|
25
|
-
<th
|
|
25
|
+
<th>{{ $t1('操作对象') }}</th>
|
|
26
26
|
<td>{{ oplog.code }}</td>
|
|
27
|
-
<th
|
|
27
|
+
<th>{{ $t1('产生日志时间') }}</th>
|
|
28
28
|
<td>{{ oplog.operDate }}</td>
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
|
-
<th
|
|
31
|
+
<th>{{ $t1('冗余字段1') }}</th>
|
|
32
32
|
<td>{{ oplog.field1 }}</td>
|
|
33
|
-
<th
|
|
33
|
+
<th>{{ $t1('冗余字段2') }}</th>
|
|
34
34
|
<td>{{ oplog.field2 }}</td>
|
|
35
|
-
<th
|
|
35
|
+
<th>{{ $t1('冗余字段3') }}</th>
|
|
36
36
|
<td>{{ oplog.field3 }}</td>
|
|
37
|
-
<th
|
|
37
|
+
<th>{{ $t1('冗余字段4') }}</th>
|
|
38
38
|
<td>{{ oplog.field4 }}</td>
|
|
39
39
|
</tr>
|
|
40
40
|
<tr>
|
|
41
|
-
<th
|
|
41
|
+
<th>{{ $t1('冗余字段5') }}</th>
|
|
42
42
|
<td>{{ oplog.field5 }}</td>
|
|
43
|
-
<th
|
|
43
|
+
<th>{{ $t1('服务名') }}</th>
|
|
44
44
|
<td>{{ oplog.serverName }}</td>
|
|
45
45
|
<th>{{ $t1('创建人') }}</th>
|
|
46
46
|
<td>{{ oplog.createBy }}</td>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<td>{{ oplog.createDate }}</td>
|
|
49
49
|
</tr>
|
|
50
50
|
<tr>
|
|
51
|
-
<th
|
|
51
|
+
<th>{{ $t1('内容') }}</th>
|
|
52
52
|
<td colspan="7">{{ oplog.content }}</td>
|
|
53
53
|
</tr>
|
|
54
54
|
</tbody>
|
|
@@ -12,29 +12,31 @@
|
|
|
12
12
|
<template #form>
|
|
13
13
|
<div class="clearfix screen-btns">
|
|
14
14
|
<div class="fl">
|
|
15
|
-
<base-table-export :option="{ title: '操作日志导出', targetRef: 'table-m1'}"
|
|
15
|
+
<base-table-export :option="{ title: $t1('操作日志导出'), targetRef: 'table-m1'}"
|
|
16
|
+
:parent-target="_self"/>
|
|
16
17
|
</div>
|
|
17
18
|
<div class="fr">
|
|
18
19
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
19
|
-
plain>{{$t1('重置')}}
|
|
20
|
+
plain>{{ $t1('重置') }}
|
|
20
21
|
</vxe-button>
|
|
21
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
22
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
23
|
+
{{ $t1('搜索') }}
|
|
22
24
|
</vxe-button>
|
|
23
25
|
</div>
|
|
24
26
|
</div>
|
|
25
27
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
26
28
|
@submit="searchEvent" @reset="searchEvent">
|
|
27
|
-
<vxe-form-item title="
|
|
29
|
+
<vxe-form-item :title="$t1('操作对象')+':'" field="code">
|
|
28
30
|
<template v-slot>
|
|
29
31
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
30
32
|
</template>
|
|
31
33
|
</vxe-form-item>
|
|
32
|
-
<vxe-form-item title="
|
|
34
|
+
<vxe-form-item :title="$t1('操作内容')+':'" field="content">
|
|
33
35
|
<template v-slot>
|
|
34
36
|
<el-input v-model="formData.content" size="small" clearable/>
|
|
35
37
|
</template>
|
|
36
38
|
</vxe-form-item>
|
|
37
|
-
<vxe-form-item title="
|
|
39
|
+
<vxe-form-item :title="$t1('操作类型')+':'" field="type">
|
|
38
40
|
<template v-slot>
|
|
39
41
|
<el-select v-model="formData.type" clearable>
|
|
40
42
|
<el-option v-for="(dict,index) in typeDicts" :key="index" :value="dict.sn"
|
|
@@ -111,21 +113,21 @@ export default {
|
|
|
111
113
|
columns: [
|
|
112
114
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
113
115
|
{
|
|
114
|
-
title: '操作类型',
|
|
116
|
+
title: this.$t1('操作类型'),
|
|
115
117
|
field: 'typeName',
|
|
116
118
|
width: 150,
|
|
117
119
|
fixed: 'left'
|
|
118
120
|
},
|
|
119
|
-
{field: 'ip', title: '访问IP', width: 150},
|
|
120
|
-
{field: 'content', title: '操作内容', width: 250},
|
|
121
|
-
{field: 'code', title: '操作对象', width: 150},
|
|
122
|
-
{field: 'operDate', title: '产生日志时间', width: 150},
|
|
123
|
-
{field: 'serverName', title: '服务名', width: 250},
|
|
124
|
-
{field: 'field1', title: '冗余字段1', width: 150},
|
|
125
|
-
{field: 'field2', title: '冗余字段2', width: 150},
|
|
126
|
-
{field: 'field3', title: '冗余字段3', width: 150},
|
|
127
|
-
{field: 'field4', title: '冗余字段4', width: 150},
|
|
128
|
-
{field: 'field5', title: '冗余字段5', width: 150},
|
|
121
|
+
{field: 'ip', title: this.$t1('访问IP'), width: 150},
|
|
122
|
+
{field: 'content', title: this.$t1('操作内容'), width: 250},
|
|
123
|
+
{field: 'code', title: this.$t1('操作对象'), width: 150},
|
|
124
|
+
{field: 'operDate', title: this.$t1('产生日志时间'), width: 150},
|
|
125
|
+
{field: 'serverName', title: this.$t1('服务名'), width: 250},
|
|
126
|
+
{field: 'field1', title: this.$t1('冗余字段1'), width: 150},
|
|
127
|
+
{field: 'field2', title: this.$t1('冗余字段2'), width: 150},
|
|
128
|
+
{field: 'field3', title: this.$t1('冗余字段3'), width: 150},
|
|
129
|
+
{field: 'field4', title: this.$t1('冗余字段4'), width: 150},
|
|
130
|
+
{field: 'field5', title: this.$t1('冗余字段5'), width: 150},
|
|
129
131
|
{field: 'createBy', title: this.$t1('创建人'), width: 150},
|
|
130
132
|
{field: 'modifyBy', title: this.$t1('更新人'), width: 150},
|
|
131
133
|
{field: 'modifyDate', title: this.$t1('更新时间'), width: 150},
|
|
@@ -145,7 +147,7 @@ export default {
|
|
|
145
147
|
this.openEditDialog(row.id);
|
|
146
148
|
}}
|
|
147
149
|
>
|
|
148
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
150
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
149
151
|
popper-class="tooltip-skin">
|
|
150
152
|
<i class="el-icon-edit"/>
|
|
151
153
|
</el-tooltip>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dialog
|
|
3
|
-
title="岗位列表"
|
|
3
|
+
:title="$t1('岗位列表')"
|
|
4
4
|
:append-to-body="true"
|
|
5
5
|
:modal-append-to-body="true"
|
|
6
6
|
:close-on-click-modal="falseValue"
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
|
38
38
|
@reset="resetEvent">
|
|
39
|
-
<vxe-form-item title="
|
|
39
|
+
<vxe-form-item :title="$t1('岗位名称')+':'" field="name">
|
|
40
40
|
<template v-slot>
|
|
41
41
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
42
42
|
</template>
|
|
43
43
|
</vxe-form-item>
|
|
44
|
-
<vxe-form-item title="
|
|
44
|
+
<vxe-form-item :title="$t1('岗位编码')+':'" field="code">
|
|
45
45
|
<template v-slot>
|
|
46
46
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
47
47
|
</template>
|
|
@@ -120,17 +120,17 @@ export default {
|
|
|
120
120
|
columns: [
|
|
121
121
|
{type: 'checkbox', fixed: 'left', width: 48, resizable: false},
|
|
122
122
|
{
|
|
123
|
-
title: '岗位名称',
|
|
123
|
+
title: this.$t1('岗位名称'),
|
|
124
124
|
field: 'name',
|
|
125
125
|
width: 250,
|
|
126
126
|
fixed: 'left'
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
field: 'code',
|
|
130
|
-
title: '岗位编码',
|
|
130
|
+
title: this.$t1('岗位编码'),
|
|
131
131
|
width: 250
|
|
132
132
|
},
|
|
133
|
-
{title: '所属组织', field: 'companyName', width: 150},
|
|
133
|
+
{title: this.$t1('所属组织'), field: 'companyName', width: 150},
|
|
134
134
|
{
|
|
135
135
|
field: 'createDate',
|
|
136
136
|
title: this.$t1('创建时间'),
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
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">
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
11
14
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
15
17
|
<div class="d-cont">
|
|
@@ -20,7 +22,7 @@
|
|
|
20
22
|
<tr>
|
|
21
23
|
<th>
|
|
22
24
|
<em class="f-red">*</em>
|
|
23
|
-
岗位名称
|
|
25
|
+
{{ $t1('岗位名称') }}
|
|
24
26
|
</th>
|
|
25
27
|
<td>
|
|
26
28
|
<el-form-item prop="name" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
</td>
|
|
30
32
|
<th>
|
|
31
33
|
<em class="f-red">*</em>
|
|
32
|
-
岗位编码
|
|
34
|
+
{{ $t1('岗位编码') }}
|
|
33
35
|
</th>
|
|
34
36
|
<td>
|
|
35
37
|
<template v-if="dataId">
|
|
@@ -39,15 +41,16 @@
|
|
|
39
41
|
<el-input type="text" autocomplete="off" v-model="position.code" clearable/>
|
|
40
42
|
</el-form-item>
|
|
41
43
|
</td>
|
|
42
|
-
<th
|
|
44
|
+
<th>{{ $t1('设置') }}</th>
|
|
43
45
|
<td>
|
|
44
|
-
<el-checkbox label="是否启用" v-model="position.enabled"></el-checkbox>
|
|
46
|
+
<el-checkbox :label="$t1('是否启用')" v-model="position.enabled"></el-checkbox>
|
|
45
47
|
</td>
|
|
46
48
|
</tr>
|
|
47
49
|
<tr>
|
|
48
50
|
<th>{{ $t1('备注') }}</th>
|
|
49
51
|
<td colspan="5">
|
|
50
|
-
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
52
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
53
|
+
v-model="position.memo"
|
|
51
54
|
clearable></el-input>
|
|
52
55
|
</td>
|
|
53
56
|
</tr>
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
<template #form>
|
|
13
13
|
<div class="clearfix screen-btns">
|
|
14
14
|
<div class="fl">
|
|
15
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
|
|
15
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
|
16
|
+
{{ $t1('新增') }}
|
|
16
17
|
</vxe-button>
|
|
17
|
-
<base-table-export :option="{ title: '岗位导出', targetRef: 'table-m1'}" :parent-target="_self"/>
|
|
18
|
-
<!-- <vxe-button status="primary" class="button-sty" icon="el-icon-download" @click="importExcel">导入</vxe-button> -->
|
|
18
|
+
<base-table-export :option="{ title: $t1('岗位导出'), targetRef: 'table-m1'}" :parent-target="_self"/>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="fr">
|
|
21
21
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
|
30
30
|
@submit="searchEvent" @reset="searchEvent">
|
|
31
|
-
<vxe-form-item title="
|
|
31
|
+
<vxe-form-item :title="$t1('岗位名称')+':'" field="name">
|
|
32
32
|
<template v-slot>
|
|
33
33
|
<el-input v-model="formData.name" size="small" clearable/>
|
|
34
34
|
</template>
|
|
35
35
|
</vxe-form-item>
|
|
36
|
-
<vxe-form-item title="
|
|
36
|
+
<vxe-form-item :title="$t1('岗位编码')+':'" field="code">
|
|
37
37
|
<template v-slot>
|
|
38
38
|
<el-input v-model="formData.code" size="small" clearable/>
|
|
39
39
|
</template>
|
|
@@ -91,17 +91,17 @@ export default {
|
|
|
91
91
|
columns: [
|
|
92
92
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
|
93
93
|
{
|
|
94
|
-
title: '岗位名称',
|
|
94
|
+
title: this.$t1('岗位名称'),
|
|
95
95
|
field: 'name',
|
|
96
96
|
width: 150,
|
|
97
97
|
fixed: 'left'
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
field: 'code',
|
|
101
|
-
title: '岗位编码',
|
|
101
|
+
title: this.$t1('岗位编码'),
|
|
102
102
|
width: 250
|
|
103
103
|
},
|
|
104
|
-
{title: '所属组织', field: 'companyName', width: 150},
|
|
104
|
+
{title: this.$t1('所属组织'), field: 'companyName', width: 150},
|
|
105
105
|
{
|
|
106
106
|
field: 'enabled',
|
|
107
107
|
title: this.$t1('是否启用'),
|
|
@@ -111,13 +111,13 @@ export default {
|
|
|
111
111
|
if (row.enabled) {
|
|
112
112
|
return [
|
|
113
113
|
<div class="txt-status">
|
|
114
|
-
<span
|
|
114
|
+
<span>{this.$t1('启用')}</span>
|
|
115
115
|
</div>
|
|
116
116
|
];
|
|
117
117
|
} else {
|
|
118
118
|
return [
|
|
119
119
|
<div class="txt-status disable">
|
|
120
|
-
<span
|
|
120
|
+
<span>{this.$t1('禁用')}</span>
|
|
121
121
|
</div>
|
|
122
122
|
];
|
|
123
123
|
}
|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
155
155
|
this.openEditDialog(row.id);
|
|
156
156
|
}}
|
|
157
157
|
>
|
|
158
|
-
<el-tooltip enterable={false} effect="dark" content={
|
|
158
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
|
159
159
|
popper-class="tooltip-skin">
|
|
160
160
|
<i class="el-icon-edit"/>
|
|
161
161
|
</el-tooltip>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dialog
|
|
3
|
-
title="项目标签列表"
|
|
3
|
+
:title="$t1('项目标签列表')"
|
|
4
4
|
:append-to-body="true"
|
|
5
5
|
:modal-append-to-body="true"
|
|
6
6
|
:close-on-click-modal="falseValue"
|
|
@@ -27,25 +27,27 @@
|
|
|
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>{{$t1('重置')}}
|
|
30
|
+
plain>{{ $t1('重置') }}
|
|
31
31
|
</vxe-button>
|
|
32
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent"
|
|
32
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
|
+
$t1('搜索')
|
|
34
|
+
}}
|
|
33
35
|
</vxe-button>
|
|
34
36
|
</div>
|
|
35
37
|
</div>
|
|
36
38
|
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
|
37
39
|
@reset="resetEvent">
|
|
38
|
-
<vxe-form-item title="
|
|
40
|
+
<vxe-form-item :title="$t1('标签名称')+':'" field="tagName">
|
|
39
41
|
<template v-slot>
|
|
40
42
|
<el-input v-model="formData.tagName" size="small" clearable/>
|
|
41
43
|
</template>
|
|
42
44
|
</vxe-form-item>
|
|
43
|
-
<vxe-form-item title="
|
|
45
|
+
<vxe-form-item :title="$t1('标签编码')+':'" field="tagCode">
|
|
44
46
|
<template v-slot>
|
|
45
47
|
<el-input v-model="formData.tagCode" size="small" clearable/>
|
|
46
48
|
</template>
|
|
47
49
|
</vxe-form-item>
|
|
48
|
-
<vxe-form-item title="
|
|
50
|
+
<vxe-form-item :title="$t1('标签说明')+':'" field="tagRemark">
|
|
49
51
|
<template v-slot>
|
|
50
52
|
<el-input v-model="formData.tagRemark" size="small" clearable/>
|
|
51
53
|
</template>
|
|
@@ -127,18 +129,18 @@ export default {
|
|
|
127
129
|
columns: [
|
|
128
130
|
{type: 'checkbox', fixed: 'left', width: 48, resizable: false},
|
|
129
131
|
{
|
|
130
|
-
title: '标签名称',
|
|
132
|
+
title: this.$t1('标签名称'),
|
|
131
133
|
field: 'tagName',
|
|
132
134
|
width: 150,
|
|
133
135
|
fixed: 'left'
|
|
134
136
|
},
|
|
135
137
|
{
|
|
136
|
-
title: '标签编码',
|
|
138
|
+
title: this.$t1('标签编码'),
|
|
137
139
|
field: 'tagCode',
|
|
138
140
|
width: 150
|
|
139
141
|
},
|
|
140
142
|
{
|
|
141
|
-
title: '标签说明',
|
|
143
|
+
title: this.$t1('标签说明'),
|
|
142
144
|
field: 'tagRemark',
|
|
143
145
|
width: 250
|
|
144
146
|
},
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
<div class="d-header clearfix">
|
|
5
5
|
<div class="fl">
|
|
6
6
|
<i class="el-icon-info"/>
|
|
7
|
-
{{ dataId ? $t1('
|
|
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">
|
|
11
|
+
{{ $t1('重置') }}
|
|
12
|
+
</el-button>
|
|
13
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
|
11
14
|
</el-button>
|
|
12
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
15
17
|
<div class="d-cont">
|
|
@@ -20,7 +22,7 @@
|
|
|
20
22
|
<tr>
|
|
21
23
|
<th>
|
|
22
24
|
<em class="f-red">*</em>
|
|
23
|
-
标签名称
|
|
25
|
+
{{ $t1('标签名称') }}
|
|
24
26
|
</th>
|
|
25
27
|
<td>
|
|
26
28
|
<el-form-item prop="tagName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
@@ -28,14 +30,14 @@
|
|
|
28
30
|
</el-form-item>
|
|
29
31
|
</td>
|
|
30
32
|
<th>
|
|
31
|
-
标签编码
|
|
33
|
+
{{ $t1('标签编码') }}
|
|
32
34
|
</th>
|
|
33
35
|
<td>
|
|
34
36
|
{{ projectTag.tagCode }}
|
|
35
37
|
</td>
|
|
36
38
|
</tr>
|
|
37
39
|
<tr>
|
|
38
|
-
<th
|
|
40
|
+
<th>{{ $t1('标签说明') }}</th>
|
|
39
41
|
<td colspan="5">
|
|
40
42
|
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
41
43
|
v-model="projectTag.tagRemark"
|