cloud-web-corejs 1.0.54-dev.786 → 1.0.54-dev.788
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/VabUpload/index.vue +1 -1
- package/src/components/baseInputExport/mixins.js +13 -2
- package/src/components/code-editor/async.js +29 -0
- package/src/components/code-editor/index.vue +65 -6
- package/src/components/excelImport/index.js +69 -7
- package/src/components/excelImport/mixins.js +841 -9
- package/src/components/fileLibrary/fileHistoryDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
- package/src/components/fileLibrary/filterDialog.vue +1 -1
- package/src/components/formDialog/README.md +324 -241
- package/src/components/formDialog/actionButtons.js +90 -0
- package/src/components/formDialog/index.js +48 -35
- package/src/components/formDialog/index.vue +802 -724
- package/src/components/formDrawer/drawer.vue +719 -0
- package/src/components/formDrawer/index.js +50 -0
- package/src/components/onlineTalk/talkUserDialog.vue +1 -1
- package/src/components/table/index.js +4 -0
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/wf/addTaskUserdialog.vue +1 -1
- package/src/components/xform/docs/2026-08 /345/210/227/350/241/250/345/257/274/345/207/272/350/204/261/346/225/217/345/210/227/345/211/224/351/231/244/350/220/275/345/234/260/346/226/207/346/241/243.md" +165 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +115 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +102 -5
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +18 -73
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +241 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +116 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +6 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1480 -1460
- package/src/components/xform/form-render/container-item/detail-item.vue +11 -2
- package/src/components/xform/form-render/container-item/list-h5-item.vue +12 -0
- package/src/components/xform/form-render/indexMixin.js +5 -0
- package/src/components/xform/utils/textMaskUtil.js +186 -0
- package/src/index.js +505 -472
- package/src/store/config/index.js +224 -0
- package/src/store/modules/tagsView.js +4 -2
- package/src/utils/lazyPlugin.js +66 -0
- package/src/views/bd/project/branch/bd_branch/edit.vue +145 -0
- package/src/views/bd/project/branch/bd_branch/list.vue +72 -0
- package/src/views/bd/project/branch/bd_branch/menuKindDialog.vue +106 -0
- package/src/views/bd/project/branch/bd_branch/mixins/edit.js +189 -0
- package/src/views/bd/project/branch/bd_branch/mixins/list.js +124 -0
- package/src/views/bd/project/branch/bd_branch/mixins/menuKindDialog.js +85 -0
- package/src/views/bd/project/branch/form_script/list.vue +22 -0
- package/src/views/bd/project/branch/form_template/list.vue +21 -0
- package/src/views/bd/project/branch/menu_kind/list.vue +21 -0
- package/src/views/bd/project/common/form_script/list.vue +16 -0
- package/src/views/bd/project/common/form_template/list.vue +15 -0
- package/src/views/bd/project/common/menu_kind/list.vue +15 -0
- package/src/views/bd/project/core/branchContext.js +100 -0
- package/src/views/bd/project/core/branchPage.js +78 -0
- package/src/views/bd/project/core/branchPageWrap.vue +216 -0
- package/src/views/bd/project/core/branchScope.js +44 -0
- package/src/views/bd/project/core/branchSelect.vue +106 -0
- package/src/views/bd/project/core/httpBranchPatch.js +58 -0
- package/src/views/bd/project/datatable/menu_kind/list.vue +15 -0
- package/src/views/bd/project/datatable/table_model/list.vue +15 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/list.vue +1 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
- package/src/views/bd/setting/bd_company_env/list.vue +1 -1
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +1 -1
- package/src/views/bd/setting/form_import_log/list.vue +1 -1
- package/src/views/bd/setting/form_script/dialog.vue +1 -1
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +1 -1
- package/src/views/bd/setting/form_template/dialog.vue +1 -1
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +1 -0
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
- package/src/views/bd/setting/form_template/itemList.vue +1 -1
- package/src/views/bd/setting/form_template/list.vue +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list.js +3 -3
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
- package/src/views/bd/setting/form_template/wf_list.vue +3 -3
- package/src/views/bd/setting/logic_param/list.vue +1 -1
- package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +1 -1
- package/src/views/bd/setting/push_data/list.vue +1 -1
- package/src/views/bd/setting/push_data_h/list.vue +1 -1
- package/src/views/bd/setting/request_async_setting/list.vue +1 -1
- package/src/views/bd/setting/request_setting/list.vue +1 -1
- package/src/views/bd/setting/table_model/dialog.vue +1 -1
- package/src/views/bd/setting/table_model/list.vue +1 -1
- package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
- package/src/views/support/export_template/list.vue +1 -1
- package/src/views/user/access_log/list.vue +1 -1
- package/src/views/user/access_log/list2.vue +1 -1
- package/src/views/user/api_request/list.vue +1 -1
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area/list.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/bill_setting/userDialog.vue +1 -1
- package/src/views/user/code_rules/list.vue +1 -1
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +1 -1
- package/src/views/user/country/dialog.vue +1 -1
- package/src/views/user/country/list.vue +1 -1
- package/src/views/user/data_type_setting/dialog.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -1
- package/src/views/user/extend_datasource/list.vue +1 -1
- package/src/views/user/fieldTranslation/list.vue +1 -1
- package/src/views/user/field_values_invisible/list.vue +1 -1
- package/src/views/user/file_type/list.vue +1 -1
- package/src/views/user/file_view_area/list.vue +1 -1
- package/src/views/user/form/form_template/dialog.vue +1 -1
- package/src/views/user/form/form_template/itemList.vue +1 -1
- package/src/views/user/form/form_template/list.vue +1 -1
- package/src/views/user/form/form_template_field/dialog.vue +1 -1
- package/src/views/user/form/form_type/dialog.vue +1 -1
- package/src/views/user/form/form_type/list.vue +1 -1
- package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
- package/src/views/user/form/report_requestaccess/list.vue +1 -1
- package/src/views/user/form/vform/designer.vue +51 -22
- package/src/views/user/groups/dialog.vue +1 -1
- package/src/views/user/groups/list.vue +1 -1
- package/src/views/user/lang_tag/dialog.vue +1 -1
- package/src/views/user/lang_tag/list.vue +1 -1
- package/src/views/user/language_setting/list.vue +1 -1
- package/src/views/user/menu/list.vue +1 -1
- package/src/views/user/mobile_menu/list.vue +1 -1
- package/src/views/user/notify_message/list.vue +1 -1
- package/src/views/user/notify_template/list.vue +1 -1
- package/src/views/user/notify_template/list2.vue +1 -1
- package/src/views/user/oplog/list.vue +1 -1
- package/src/views/user/position/dialog.vue +1 -1
- package/src/views/user/position/list.vue +1 -1
- package/src/views/user/project_tag/dialog.vue +1 -1
- package/src/views/user/project_tag/list.vue +1 -1
- package/src/views/user/push_setting/list.vue +1 -1
- package/src/views/user/request_setting/list.vue +1 -1
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +1 -1
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +1 -1
- package/src/views/user/system_notice/list.vue +1 -1
- package/src/views/user/system_parameter/list.vue +1 -1
- package/src/views/user/user/dialog.vue +1 -1
- package/src/views/user/user/form_dialog.vue +1 -1
- package/src/views/user/user/form_list.vue +1 -1
- package/src/views/user/user/list.vue +2 -2
- package/src/views/user/user_log_classify/list.vue +1 -1
- package/src/views/user/wf/wfReport/index.vue +2 -2
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
- package/src/views/user/wf/wf_manage/list.vue +2 -2
- package/src/views/user/wf/wf_manage/list2.vue +2 -2
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list_form.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +1 -1
- package/src/views/user/workbench_menu/list.vue +1 -1
|
@@ -153,13 +153,13 @@ modules = {
|
|
|
153
153
|
this.$refs['table-m1'].commitProxy('reload');
|
|
154
154
|
},
|
|
155
155
|
openEditDialog(row) {
|
|
156
|
-
let
|
|
156
|
+
let dataId = row?.id || 0;
|
|
157
157
|
/*this.dataId = !id || typeof id === 'object' ? 0 : id;
|
|
158
158
|
this.activeName = 'first';
|
|
159
159
|
this.showItemEdit = false;
|
|
160
160
|
this.$openEditView('showEdit');*/
|
|
161
|
-
if (!
|
|
162
|
-
this.dataId =
|
|
161
|
+
if (!dataId) {
|
|
162
|
+
this.dataId = dataId;
|
|
163
163
|
this.activeName = 'first';
|
|
164
164
|
this.$openEditView('showEdit');
|
|
165
165
|
} else {
|
|
@@ -156,13 +156,13 @@ modules = {
|
|
|
156
156
|
this.$refs['table-m1'].commitProxy('reload');
|
|
157
157
|
},
|
|
158
158
|
openEditDialog(row) {
|
|
159
|
-
let
|
|
159
|
+
let dataId = row?.id || 0;
|
|
160
160
|
/*this.dataId = !id || typeof id === 'object' ? 0 : id;
|
|
161
161
|
this.activeName = 'first';
|
|
162
162
|
this.showItemEdit = false;
|
|
163
163
|
this.$openEditView('showEdit');*/
|
|
164
|
-
if (!
|
|
165
|
-
this.dataId =
|
|
164
|
+
if (!dataId) {
|
|
165
|
+
this.dataId = dataId;
|
|
166
166
|
this.activeName = 'first';
|
|
167
167
|
this.$openEditView('showEdit');
|
|
168
168
|
} else {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="containt">
|
|
3
|
-
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="
|
|
3
|
+
<x-tabs ref="xTabs" v-model="activeName" class="tab-box" paneKeyName="id">
|
|
4
4
|
<el-tab-pane :label="$t1('常规')" name="first">
|
|
5
5
|
<editView
|
|
6
6
|
v-if="showEdit"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
type="text"
|
|
46
46
|
status="primary"
|
|
47
47
|
plain
|
|
48
|
-
>{{ $t1("
|
|
48
|
+
>{{ $t1("刷新") }}
|
|
49
49
|
</vxe-button>
|
|
50
50
|
<vxe-button
|
|
51
51
|
status="warning"
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<el-tab-pane
|
|
110
110
|
:key="tab.data.id"
|
|
111
111
|
:label.sync="tab.data.formName"
|
|
112
|
-
:name="tab.data.
|
|
112
|
+
:name="tab.data.id + ''"
|
|
113
113
|
:closable="true"
|
|
114
114
|
>
|
|
115
115
|
<editView
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
<div class="fr">
|
|
12
12
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
13
|
-
plain>{{ $t1('
|
|
13
|
+
plain>{{ $t1('刷新') }}
|
|
14
14
|
</vxe-button>
|
|
15
15
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
16
16
|
{{ $t1('搜索') }}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
<div class="fr">
|
|
12
12
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
13
|
-
plain>{{ $t1('
|
|
13
|
+
plain>{{ $t1('刷新') }}
|
|
14
14
|
</vxe-button>
|
|
15
15
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
16
16
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
33
|
$t1('搜索')
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
33
|
$t1('搜索')
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
@click="showAdvancedSearch = true">{{ $t1('高级筛选') }}
|
|
43
43
|
</vxe-button>
|
|
44
44
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
45
|
-
plain>{{ $t1('
|
|
45
|
+
plain>{{ $t1('刷新') }}
|
|
46
46
|
</vxe-button>
|
|
47
47
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
48
48
|
{{ $t1('搜索') }}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div class="fr">
|
|
23
23
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
24
|
-
plain>{{ $t1('
|
|
24
|
+
plain>{{ $t1('刷新') }}
|
|
25
25
|
</vxe-button>
|
|
26
26
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
27
27
|
{{ $t1('搜索') }}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
</div>
|
|
54
54
|
<div class="fr">
|
|
55
55
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
56
|
-
plain>{{ $t1('
|
|
56
|
+
plain>{{ $t1('刷新') }}
|
|
57
57
|
</vxe-button>
|
|
58
58
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
59
59
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
33
|
$t1('搜索')
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<div class="fr">
|
|
22
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
23
|
-
plain>{{ $t1('
|
|
23
|
+
plain>{{ $t1('刷新') }}
|
|
24
24
|
</vxe-button>
|
|
25
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
26
|
{{ $t1('搜索') }}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<div class="fr">
|
|
30
30
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
31
|
-
plain>{{ $t1('
|
|
31
|
+
plain>{{ $t1('刷新') }}
|
|
32
32
|
</vxe-button>
|
|
33
33
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
34
34
|
{{ $t1('搜索') }}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
</div>
|
|
54
54
|
<div class="fr">
|
|
55
55
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
56
|
-
plain>{{ $t1('
|
|
56
|
+
plain>{{ $t1('刷新') }}
|
|
57
57
|
</vxe-button>
|
|
58
58
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
59
59
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
33
|
$t1('搜索')
|
|
@@ -19,7 +19,7 @@
|
|
|
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"
|
|
22
|
-
plain>{{ $t1('
|
|
22
|
+
plain>{{ $t1('刷新') }}
|
|
23
23
|
</vxe-button>
|
|
24
24
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
25
25
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
<div class="fr">
|
|
26
26
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
27
|
-
plain>{{ $t1('
|
|
27
|
+
plain>{{ $t1('刷新') }}
|
|
28
28
|
</vxe-button>
|
|
29
29
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
30
30
|
{{ $t1('搜索') }}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</template>
|
|
52
52
|
<template #buttonRight>
|
|
53
53
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
54
|
-
plain>{{ $t1('
|
|
54
|
+
plain>{{ $t1('刷新') }}
|
|
55
55
|
</vxe-button>
|
|
56
56
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
57
57
|
{{ $t1('搜索') }}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<div class="fr">
|
|
22
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
23
|
-
plain>{{ $t1('
|
|
23
|
+
plain>{{ $t1('刷新') }}
|
|
24
24
|
</vxe-button>
|
|
25
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
26
|
{{ $t1('搜索') }}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</div>
|
|
32
32
|
<div class="fr">
|
|
33
33
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
34
|
-
plain>{{ $t1('
|
|
34
|
+
plain>{{ $t1('刷新') }}
|
|
35
35
|
</vxe-button>
|
|
36
36
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
37
37
|
{{ $t1('搜索') }}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<div class="fr">
|
|
30
30
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
31
|
-
plain>{{ $t1('
|
|
31
|
+
plain>{{ $t1('刷新') }}
|
|
32
32
|
</vxe-button>
|
|
33
33
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
34
34
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div class="fr">
|
|
23
23
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
24
|
-
plain>{{$t1('
|
|
24
|
+
plain>{{$t1('刷新')}}
|
|
25
25
|
</vxe-button>
|
|
26
26
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{ $t1('搜索') }}
|
|
27
27
|
</vxe-button>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
</div>
|
|
54
54
|
<div class="fr">
|
|
55
55
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
56
|
-
plain>{{$t1('
|
|
56
|
+
plain>{{$t1('刷新')}}
|
|
57
57
|
</vxe-button>
|
|
58
58
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{ $t1('搜索') }}
|
|
59
59
|
</vxe-button>
|
|
@@ -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>{{$t1('
|
|
30
|
+
plain>{{$t1('刷新')}}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="fr">
|
|
20
20
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
21
|
-
plain>{{ $t1('
|
|
21
|
+
plain>{{ $t1('刷新') }}
|
|
22
22
|
</vxe-button>
|
|
23
23
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
24
24
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<div class="fr">
|
|
22
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
23
|
-
plain>{{ $t1('
|
|
23
|
+
plain>{{ $t1('刷新') }}
|
|
24
24
|
</vxe-button>
|
|
25
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
26
|
{{ $t1('搜索') }}
|
|
@@ -30,6 +30,7 @@ export default {
|
|
|
30
30
|
name: "vform-designer:edit",
|
|
31
31
|
props: {
|
|
32
32
|
formCode: String,
|
|
33
|
+
id: [String, Number],
|
|
33
34
|
readonly: Boolean,
|
|
34
35
|
formTemplate: Object,
|
|
35
36
|
widgetList: Array,
|
|
@@ -106,28 +107,56 @@ export default {
|
|
|
106
107
|
this.$refs.designer.setFormJson(this.reportTemplate.formViewContent);
|
|
107
108
|
});
|
|
108
109
|
} else {
|
|
109
|
-
this
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
this
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
110
|
+
let id = this.id || this.formTemplate?.id;
|
|
111
|
+
if (id) {
|
|
112
|
+
this.$http({
|
|
113
|
+
aes: true,
|
|
114
|
+
url: USER_PREFIX + `/formTemplate/get`,
|
|
115
|
+
method: `post`,
|
|
116
|
+
data: {
|
|
117
|
+
id,
|
|
118
|
+
},
|
|
119
|
+
isLoading: true,
|
|
120
|
+
modalStrictly: true,
|
|
121
|
+
success: (res) => {
|
|
122
|
+
if (!res.objx) {
|
|
123
|
+
this.$baseAlert(this.$t1("获取报表模板失败"));
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
let reportTemplate = res.objx || {};
|
|
127
|
+
this.reportTemplate = reportTemplate;
|
|
128
|
+
this.showDesinger = true;
|
|
129
|
+
this.$nextTick(() => {
|
|
130
|
+
this.$refs.designer.setFormJson(reportTemplate.formViewContent);
|
|
131
|
+
});
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
} else if (this.formCode) {
|
|
135
|
+
this.$http({
|
|
136
|
+
aes: true,
|
|
137
|
+
url: USER_PREFIX + `/formTemplate/getByFormCode`,
|
|
138
|
+
method: `post`,
|
|
139
|
+
data: {
|
|
140
|
+
stringOne: this.formCode,
|
|
141
|
+
},
|
|
142
|
+
isLoading: true,
|
|
143
|
+
modalStrictly: true,
|
|
144
|
+
success: (res) => {
|
|
145
|
+
if (!res.objx) {
|
|
146
|
+
this.$baseAlert(this.$t1("获取报表模板失败"));
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
let reportTemplate = res.objx || {};
|
|
150
|
+
this.reportTemplate = reportTemplate;
|
|
151
|
+
this.showDesinger = true;
|
|
152
|
+
this.$nextTick(() => {
|
|
153
|
+
this.$refs.designer.setFormJson(reportTemplate.formViewContent);
|
|
154
|
+
});
|
|
155
|
+
},
|
|
156
|
+
});
|
|
157
|
+
} else {
|
|
158
|
+
this.$baseAlert(this.$t1("获取报表模板失败"));
|
|
159
|
+
}
|
|
131
160
|
}
|
|
132
161
|
},
|
|
133
162
|
loadFieldListData(res) {
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
33
33
|
{{ $t1('搜索') }}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div class="fr">
|
|
23
23
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
24
|
-
plain>{{ $t1('
|
|
24
|
+
plain>{{ $t1('刷新') }}
|
|
25
25
|
</vxe-button>
|
|
26
26
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
27
27
|
{{ $t1('搜索') }}
|
|
@@ -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>{{ $t1('
|
|
30
|
+
plain>{{ $t1('刷新') }}
|
|
31
31
|
</vxe-button>
|
|
32
32
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{
|
|
33
33
|
$t1('搜索')
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
<template #buttonRight>
|
|
22
22
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
23
|
-
plain>{{ $t1('
|
|
23
|
+
plain>{{ $t1('刷新') }}
|
|
24
24
|
</vxe-button>
|
|
25
25
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
26
26
|
{{ $t1('搜索') }}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
<div class="fr">
|
|
24
24
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
25
|
-
plain>{{ $t1('
|
|
25
|
+
plain>{{ $t1('刷新') }}
|
|
26
26
|
</vxe-button>
|
|
27
27
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
28
28
|
{{ $t1('搜索') }}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
<div class="fr">
|
|
19
19
|
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
20
|
-
plain>{{ $t1('
|
|
20
|
+
plain>{{ $t1('刷新') }}
|
|
21
21
|
</vxe-button>
|
|
22
22
|
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
|
23
23
|
{{ $t1('搜索') }}
|