cloud-web-corejs 1.0.18 → 1.0.20
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/api/user.js +8 -0
- 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/components/xform/form-designer/indexMixin.js +2 -2
- package/src/layout/components/Sidebar/default.vue +15 -9
- package/src/layout/components/TagsView/index.vue +6 -6
- package/src/layout/components/notify_message/unreadDialog.vue +1 -1
- package/src/router/modules/customer.js +8 -8
- package/src/utils/aes.js +1 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +8 -8
- package/src/views/bd/setting/bd_attach_setting/edit.vue +11 -11
- package/src/views/bd/setting/bd_attach_setting/list.vue +7 -7
- package/src/views/bd/setting/form_script/dialog.vue +17 -15
- package/src/views/bd/setting/form_script/edit.vue +15 -13
- package/src/views/bd/setting/form_script/edit1.vue +12 -12
- package/src/views/bd/setting/form_script/form_list.vue +8 -8
- package/src/views/bd/setting/form_script/list.vue +9 -9
- package/src/views/bd/setting/form_script/list1.vue +9 -9
- package/src/views/bd/setting/form_script/list2.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +27 -20
- package/src/views/bd/setting/form_template/edit.vue +13 -13
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +8 -8
- package/src/views/bd/setting/form_template/itemEdit.vue +9 -9
- package/src/views/bd/setting/form_template/itemList.vue +8 -8
- package/src/views/bd/setting/form_template/list.vue +15 -15
- 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 +27 -27
- package/src/views/bd/setting/table_model/dialog.vue +5 -5
- package/src/views/bd/setting/table_model/edit.vue +1123 -1123
- package/src/views/bd/setting/table_model/list.vue +12 -12
- package/src/views/bd/setting/table_model/zdDialog.vue +5 -5
- package/src/views/mobile/user/area/dialog.vue +4 -3
- package/src/views/mobile/user/user/dialog.vue +4 -3
- package/src/views/support/export_template/edit.vue +12 -12
- package/src/views/support/export_template/list.vue +18 -18
- package/src/views/user/access_log/edit.vue +5 -5
- package/src/views/user/access_log/list.vue +11 -11
- package/src/views/user/access_log/statistics_list.vue +16 -11
- package/src/views/user/api_request/edit.vue +15 -12
- package/src/views/user/api_request/list.vue +12 -10
- package/src/views/user/area/dialog.vue +5 -5
- package/src/views/user/area_attribute/configDialog.vue +319 -319
- package/src/views/user/area_attribute/edit.vue +3 -3
- 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 +14 -13
- 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 +9 -8
- package/src/views/user/bill_setting/queryDialog.vue +3 -3
- package/src/views/user/bill_setting/render.vue +7 -7
- package/src/views/user/bill_setting/template2.json +44 -11
- package/src/views/user/bill_setting/userDialog.vue +5 -5
- package/src/views/user/code_rules/edit.vue +11 -11
- package/src/views/user/code_rules/list.vue +6 -6
- package/src/views/user/commMenu/index.vue +2 -2
- package/src/views/user/common_attribute/edit.vue +9 -9
- package/src/views/user/common_attribute/itemEdit.vue +11 -11
- package/src/views/user/common_attribute/list.vue +12 -12
- package/src/views/user/common_script/edit.vue +11 -10
- package/src/views/user/common_script/list.vue +17 -16
- package/src/views/user/company_info/dialog.vue +138 -131
- package/src/views/user/company_info/edit.vue +10 -10
- package/src/views/user/company_info/view.vue +1 -1
- package/src/views/user/country/dialog.vue +8 -8
- package/src/views/user/country/edit.vue +16 -15
- package/src/views/user/country/list.vue +172 -162
- package/src/views/user/data_type_setting/dialog.vue +11 -8
- package/src/views/user/data_type_setting/editDialog.vue +13 -12
- package/src/views/user/ea/eagroup/eaobj_list.vue +332 -311
- 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 +127 -119
- package/src/views/user/extend_datasource/edit.vue +13 -12
- package/src/views/user/extend_datasource/list.vue +7 -7
- package/src/views/user/fieldTranslation/editDialog.vue +6 -6
- package/src/views/user/fieldTranslation/list.vue +9 -8
- package/src/views/user/field_values_invisible/edit.vue +87 -85
- package/src/views/user/field_values_invisible/list.vue +36 -25
- package/src/views/user/file_type/edit.vue +11 -11
- package/src/views/user/file_type/list.vue +10 -7
- package/src/views/user/file_type/userEdit.vue +188 -188
- package/src/views/user/file_view_area/edit.vue +11 -11
- package/src/views/user/file_view_area/itemEdit.vue +168 -165
- package/src/views/user/file_view_area/list.vue +9 -9
- package/src/views/user/file_view_ins/list.vue +57 -38
- 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 +27 -20
- package/src/views/user/form/form_template/edit.vue +15 -12
- package/src/views/user/form/form_template/itemEdit.vue +9 -9
- package/src/views/user/form/form_template/itemList.vue +5 -5
- package/src/views/user/form/form_template/list.vue +9 -8
- 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 +10 -10
- package/src/views/user/form/form_type/editDialog.vue +11 -10
- package/src/views/user/form/form_type/list.vue +128 -118
- package/src/views/user/form/report_requestaccess/dialog.vue +108 -101
- package/src/views/user/form/report_requestaccess/edit.vue +274 -236
- package/src/views/user/form/report_requestaccess/list.vue +31 -20
- 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/default.vue +21 -21
- package/src/views/user/home/distributor.vue +375 -119
- 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 +7 -7
- 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 +19 -19
- package/src/views/user/mobile_menu/list.vue +17 -17
- package/src/views/user/notify_message/dialog.vue +8 -6
- package/src/views/user/notify_message/list.vue +5 -4
- package/src/views/user/notify_template/edit.vue +185 -185
- package/src/views/user/notify_template/list.vue +8 -8
- package/src/views/user/oplog/edit.vue +108 -103
- package/src/views/user/oplog/list.vue +8 -8
- 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 +12 -12
- package/src/views/user/position/list.vue +172 -162
- package/src/views/user/project_tag/dialog.vue +9 -9
- package/src/views/user/project_tag/edit.vue +10 -10
- package/src/views/user/project_tag/list.vue +7 -7
- package/src/views/user/push_setting/edit.vue +14 -11
- package/src/views/user/push_setting/list.vue +45 -36
- package/src/views/user/redirect/index.vue +4 -4
- package/src/views/user/role/dialog.vue +11 -8
- 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 +26 -26
- package/src/views/user/sale_org/moveDialog.vue +2 -2
- 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 +40 -47
- package/src/views/user/user/edit.vue +1021 -1019
- package/src/views/user/user/form_edit.vue +497 -483
- package/src/views/user/user/form_list.vue +16 -16
- 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 +113 -94
- 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 +6 -6
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +6 -6
- package/src/views/user/wf/wf_auto_submit_data/list.vue +10 -8
- package/src/views/user/wf/wf_diy_attribute/edit.vue +6 -6
- package/src/views/user/wf/wf_manage/list.vue +9 -8
- 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 +15 -12
- package/src/views/user/wf/wf_obj_config/edit_form.vue +72 -65
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +9 -9
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +9 -9
- package/src/views/user/wf/wf_obj_config/list.vue +12 -12
- package/src/views/user/wf/wf_obj_config/list_form.vue +24 -24
- package/src/views/user/wf/wf_param/edit.vue +5 -5
- 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 +9 -6
- package/src/views/user/wf/wf_work_calendar/date.js +10 -10
- package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
- package/src/views/user/sale_org_net/list.vue +0 -574
|
@@ -1,149 +1,156 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
2
|
+
<el-dialog
|
|
3
|
+
title="表单类型列表"
|
|
4
|
+
:append-to-body="true"
|
|
5
|
+
:modal-append-to-body="true"
|
|
6
|
+
:close-on-click-modal="falseValue"
|
|
7
|
+
:visible.sync="showDialog"
|
|
8
|
+
:modal="falseValue"
|
|
9
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_0"
|
|
10
|
+
width="1200px"
|
|
11
|
+
@close="dialogClose"
|
|
12
|
+
v-el-drag-dialog
|
|
13
|
+
v-el-dialog-center
|
|
14
|
+
>
|
|
15
|
+
<div class="cont" style="height:450px">
|
|
16
|
+
<vxe-grid
|
|
17
|
+
class="is-pointer"
|
|
18
|
+
ref="table-m1"
|
|
19
|
+
v-bind="vxeOption"
|
|
20
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
21
|
+
@custom="$vxeTableUtil.customHandle"
|
|
22
|
+
@checkbox-change="addDataTable"
|
|
23
|
+
@checkbox-all="checkAll"
|
|
24
|
+
@cell-dblclick="checkWithSubmit"
|
|
25
|
+
>
|
|
26
|
+
<template #form>
|
|
27
|
+
<div class="clearfix screen-btns">
|
|
28
|
+
<div class="fr">
|
|
29
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
30
|
+
plain>{{ $t1('重置') }}
|
|
31
|
+
</vxe-button>
|
|
32
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
|
+
{{ $t1('搜索') }}
|
|
34
|
+
</vxe-button>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
|
38
|
+
@reset="resetEvent">
|
|
39
|
+
<vxe-form-item title="表单类型名称:" field="formTypeName">
|
|
40
|
+
<template v-slot>
|
|
41
|
+
<el-input v-model="formData.formTypeName" size="small" clearable/>
|
|
42
|
+
</template>
|
|
43
|
+
</vxe-form-item>
|
|
44
|
+
<vxe-form-item title="表单类型编码:" field="formTypeCode">
|
|
45
|
+
<template v-slot>
|
|
46
|
+
<el-input v-model="formData.formTypeCode" size="small" clearable/>
|
|
47
|
+
</template>
|
|
48
|
+
</vxe-form-item>
|
|
49
|
+
</vxe-form>
|
|
50
|
+
</template>
|
|
51
|
+
</vxe-grid>
|
|
52
|
+
</div>
|
|
53
|
+
<label id="labBtn" class="transverse">
|
|
54
|
+
<div class="icon">
|
|
55
|
+
<i class="el-icon-more"></i>
|
|
56
|
+
<i class="el-icon-more"></i>
|
|
57
|
+
</div>
|
|
58
|
+
</label>
|
|
59
|
+
<div class="multipleChoice">
|
|
60
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
|
|
61
|
+
class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
|
|
62
|
+
<div class="list">
|
|
63
|
+
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
|
64
|
+
<p>{{ checkRow.formTypeName }}</p>
|
|
65
|
+
<a class="el-icon-close" @click="clearTable1Select(index)"></a>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
<span slot="footer" class="dialog-footer">
|
|
70
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
|
65
71
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
66
72
|
<i class="el-icon-close el-icon"></i>
|
|
67
|
-
取 消
|
|
73
|
+
{{ $t1('取 消') }}
|
|
68
74
|
</el-button>
|
|
69
75
|
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
|
70
76
|
<i class="el-icon-check el-icon"></i>
|
|
71
|
-
确 定
|
|
77
|
+
{{ $t1('确 定') }}
|
|
72
78
|
</el-button>
|
|
73
79
|
</span>
|
|
74
|
-
|
|
80
|
+
</el-dialog>
|
|
75
81
|
</template>
|
|
76
82
|
|
|
77
83
|
<script>
|
|
78
|
-
import {
|
|
84
|
+
import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
|
|
85
|
+
|
|
79
86
|
export default {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
87
|
+
name: 'form_typeDialog',
|
|
88
|
+
props: ['visiable', 'multi', 'rows', 'param'],
|
|
89
|
+
mixins: [selectDialogMixins],
|
|
90
|
+
created() {
|
|
91
|
+
this.initSetting();
|
|
92
|
+
},
|
|
93
|
+
mounted() {
|
|
94
|
+
this.initTableM1();
|
|
95
|
+
},
|
|
96
|
+
data() {
|
|
97
|
+
return {
|
|
98
|
+
showDialog: true,
|
|
99
|
+
falseValue: false,
|
|
100
|
+
selectMulti: true,
|
|
101
|
+
formData: {},
|
|
102
|
+
vxeOption: {}
|
|
103
|
+
};
|
|
104
|
+
},
|
|
105
|
+
methods: {
|
|
106
|
+
initTableM1() {
|
|
107
|
+
let that = this;
|
|
108
|
+
let url = USER_PREFIX + '/form_type/listPage';
|
|
109
|
+
let tableOption = {
|
|
110
|
+
vue: that,
|
|
111
|
+
tableRef: 'table-m1',
|
|
112
|
+
tableName: 'user_form_type_dialog-m1',
|
|
113
|
+
path: url,
|
|
114
|
+
param: () => {
|
|
115
|
+
return this.formData;
|
|
116
|
+
},
|
|
117
|
+
columns: [
|
|
118
|
+
{type: 'checkbox', fixed: 'left', width: 48, resizable: false},
|
|
119
|
+
{
|
|
113
120
|
title: '表单类型编码',
|
|
114
121
|
field: 'formTypeCode',
|
|
115
|
-
|
|
122
|
+
width: 150,
|
|
116
123
|
fixed: 'left'
|
|
117
|
-
|
|
124
|
+
},
|
|
118
125
|
{
|
|
119
126
|
title: '表单类型名称',
|
|
120
127
|
field: 'formTypeName',
|
|
121
128
|
width: 250
|
|
122
129
|
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
130
|
+
{
|
|
131
|
+
field: 'createDate',
|
|
132
|
+
title: this.$t1('创建时间'),
|
|
133
|
+
width: 150
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
width: 47,
|
|
137
|
+
fixed: 'right',
|
|
138
|
+
title: '',
|
|
139
|
+
sortable: false
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
config: {
|
|
143
|
+
checkboxConfig: {
|
|
144
|
+
checkStrictly: true,
|
|
145
|
+
showHeader: this.selectMulti,
|
|
146
|
+
trigger: 'row'
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
151
|
+
that.vxeOption = opts;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
148
155
|
};
|
|
149
156
|
</script>
|
|
@@ -4,17 +4,17 @@
|
|
|
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
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="d-cont">
|
|
16
16
|
<div class="d-item">
|
|
17
|
-
<div class="title first"><b
|
|
17
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
|
18
18
|
<table class="table-detail">
|
|
19
19
|
<tbody>
|
|
20
20
|
<tr>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
表单类型编码
|
|
23
23
|
</th>
|
|
24
24
|
<td>
|
|
25
|
-
{{formType.formTypeCode}}
|
|
25
|
+
{{ formType.formTypeCode }}
|
|
26
26
|
</td>
|
|
27
27
|
<th>
|
|
28
28
|
<em class="f-red">*</em>
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
|
|
37
37
|
</tr>
|
|
38
38
|
<tr>
|
|
39
|
-
<th
|
|
39
|
+
<th>{{ $t1('创建人') }}</th>
|
|
40
40
|
<td>{{ formType.createBy }}</td>
|
|
41
|
-
<th
|
|
41
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
42
42
|
<td>{{ formType.createDate }}</td>
|
|
43
|
-
<th
|
|
43
|
+
<th>{{ $t1('更新人') }}</th>
|
|
44
44
|
<td>{{ formType.modifyBy }}</td>
|
|
45
|
-
<th
|
|
45
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
46
46
|
<td>{{ formType.modifyDate }}</td>
|
|
47
47
|
</tr>
|
|
48
48
|
</tbody>
|
|
@@ -101,7 +101,7 @@ export default {
|
|
|
101
101
|
saveData() {
|
|
102
102
|
this.$refs.editForm.$baseValidate(valid => {
|
|
103
103
|
if (valid) {
|
|
104
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
104
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
105
105
|
var url = USER_PREFIX + (this.isEdit ? `/form_type/update` : `/form_type/save`);
|
|
106
106
|
this.$http({
|
|
107
107
|
url: url,
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
@close="close"
|
|
14
14
|
>
|
|
15
15
|
<div class="cont">
|
|
16
|
-
<el-form ref="editForm" :model="formType" label-width="110px" class="adSearchForm"
|
|
16
|
+
<el-form ref="editForm" :model="formType" label-width="110px" class="adSearchForm"
|
|
17
|
+
style="width: 362px;height: auto;">
|
|
17
18
|
<el-form-item label="表单类型编码">
|
|
18
|
-
<span>{{formType.formTypeCode}}</span>
|
|
19
|
+
<span>{{ formType.formTypeCode }}</span>
|
|
19
20
|
</el-form-item>
|
|
20
21
|
<el-form-item label="表单类型名称" :rules="[{ required: true, trigger: 'blur' }]">
|
|
21
22
|
<el-input v-model="formType.formTypeName" clearable class="all-width"/>
|
|
@@ -25,11 +26,11 @@
|
|
|
25
26
|
<span slot="footer" class="dialog-footer">
|
|
26
27
|
<el-button type="primary" plain class="button-sty" @click="showDialog=false">
|
|
27
28
|
<i class="el-icon-close el-icon"></i>
|
|
28
|
-
取 消
|
|
29
|
+
{{ $t1('取 消') }}
|
|
29
30
|
</el-button>
|
|
30
31
|
<el-button type="primary" @click="saveData" class="button-sty">
|
|
31
32
|
<i class="el-icon-check el-icon"></i>
|
|
32
|
-
确 定
|
|
33
|
+
{{ $t1('确 定') }}
|
|
33
34
|
</el-button>
|
|
34
35
|
</span>
|
|
35
36
|
</el-dialog>
|
|
@@ -46,7 +47,7 @@ export default {
|
|
|
46
47
|
tabIndex: 'first',
|
|
47
48
|
dataId: '',
|
|
48
49
|
formType: {},
|
|
49
|
-
showDialog:true
|
|
50
|
+
showDialog: true
|
|
50
51
|
};
|
|
51
52
|
},
|
|
52
53
|
created() {
|
|
@@ -78,7 +79,7 @@ export default {
|
|
|
78
79
|
saveData() {
|
|
79
80
|
this.$refs.editForm.$baseValidate(valid => {
|
|
80
81
|
if (valid) {
|
|
81
|
-
this.$baseConfirm('您确定要保存吗?').then(() => {
|
|
82
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
|
82
83
|
var url = USER_PREFIX + (this.isEdit ? `/form_type/update` : `/form_type/save`);
|
|
83
84
|
this.$http({
|
|
84
85
|
url: url,
|
|
@@ -92,9 +93,9 @@ export default {
|
|
|
92
93
|
duration: 500,
|
|
93
94
|
onClose: t => {
|
|
94
95
|
this.dataId = res.objx;
|
|
95
|
-
this.getData((row)=>{
|
|
96
|
+
this.getData((row) => {
|
|
96
97
|
this.close();
|
|
97
|
-
this.$emit('confirm',row)
|
|
98
|
+
this.$emit('confirm', row)
|
|
98
99
|
})
|
|
99
100
|
}
|
|
100
101
|
});
|
|
@@ -104,9 +105,9 @@ export default {
|
|
|
104
105
|
}
|
|
105
106
|
});
|
|
106
107
|
},
|
|
107
|
-
close(){
|
|
108
|
+
close() {
|
|
108
109
|
this.showDialog = false;
|
|
109
|
-
this.$emit('update:visiable',false)
|
|
110
|
+
this.$emit('update:visiable', false)
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
}
|