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.
Files changed (158) hide show
  1. package/package.json +2 -1
  2. package/src/components/VabUpload/index.vue +1 -1
  3. package/src/components/baseInputExport/mixins.js +13 -2
  4. package/src/components/code-editor/async.js +29 -0
  5. package/src/components/code-editor/index.vue +65 -6
  6. package/src/components/excelImport/index.js +69 -7
  7. package/src/components/excelImport/mixins.js +841 -9
  8. package/src/components/fileLibrary/fileHistoryDialog.vue +1 -1
  9. package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
  10. package/src/components/fileLibrary/filterDialog.vue +1 -1
  11. package/src/components/formDialog/README.md +324 -241
  12. package/src/components/formDialog/actionButtons.js +90 -0
  13. package/src/components/formDialog/index.js +48 -35
  14. package/src/components/formDialog/index.vue +802 -724
  15. package/src/components/formDrawer/drawer.vue +719 -0
  16. package/src/components/formDrawer/index.js +50 -0
  17. package/src/components/onlineTalk/talkUserDialog.vue +1 -1
  18. package/src/components/table/index.js +4 -0
  19. package/src/components/tempStorage/tempStorageDialog.vue +1 -1
  20. package/src/components/wf/addTaskUserdialog.vue +1 -1
  21. 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
  22. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +1 -1
  23. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +115 -4
  24. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +102 -5
  25. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +1 -1
  26. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +1 -1
  27. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +18 -73
  28. package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +3 -0
  29. package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +241 -0
  30. package/src/components/xform/form-designer/setting-panel/form-setting.vue +116 -0
  31. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +6 -0
  32. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
  33. package/src/components/xform/form-render/container-item/data-table-mixin.js +1480 -1460
  34. package/src/components/xform/form-render/container-item/detail-item.vue +11 -2
  35. package/src/components/xform/form-render/container-item/list-h5-item.vue +12 -0
  36. package/src/components/xform/form-render/indexMixin.js +5 -0
  37. package/src/components/xform/utils/textMaskUtil.js +186 -0
  38. package/src/index.js +505 -472
  39. package/src/store/config/index.js +224 -0
  40. package/src/store/modules/tagsView.js +4 -2
  41. package/src/utils/lazyPlugin.js +66 -0
  42. package/src/views/bd/project/branch/bd_branch/edit.vue +145 -0
  43. package/src/views/bd/project/branch/bd_branch/list.vue +72 -0
  44. package/src/views/bd/project/branch/bd_branch/menuKindDialog.vue +106 -0
  45. package/src/views/bd/project/branch/bd_branch/mixins/edit.js +189 -0
  46. package/src/views/bd/project/branch/bd_branch/mixins/list.js +124 -0
  47. package/src/views/bd/project/branch/bd_branch/mixins/menuKindDialog.js +85 -0
  48. package/src/views/bd/project/branch/form_script/list.vue +22 -0
  49. package/src/views/bd/project/branch/form_template/list.vue +21 -0
  50. package/src/views/bd/project/branch/menu_kind/list.vue +21 -0
  51. package/src/views/bd/project/common/form_script/list.vue +16 -0
  52. package/src/views/bd/project/common/form_template/list.vue +15 -0
  53. package/src/views/bd/project/common/menu_kind/list.vue +15 -0
  54. package/src/views/bd/project/core/branchContext.js +100 -0
  55. package/src/views/bd/project/core/branchPage.js +78 -0
  56. package/src/views/bd/project/core/branchPageWrap.vue +216 -0
  57. package/src/views/bd/project/core/branchScope.js +44 -0
  58. package/src/views/bd/project/core/branchSelect.vue +106 -0
  59. package/src/views/bd/project/core/httpBranchPatch.js +58 -0
  60. package/src/views/bd/project/datatable/menu_kind/list.vue +15 -0
  61. package/src/views/bd/project/datatable/table_model/list.vue +15 -0
  62. package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
  63. package/src/views/bd/setting/bd_attach_setting/list.vue +1 -1
  64. package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
  65. package/src/views/bd/setting/bd_company_env/list.vue +1 -1
  66. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +1 -1
  67. package/src/views/bd/setting/form_import_log/list.vue +1 -1
  68. package/src/views/bd/setting/form_script/dialog.vue +1 -1
  69. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  70. package/src/views/bd/setting/form_script/list.vue +1 -1
  71. package/src/views/bd/setting/form_script/list1.vue +1 -1
  72. package/src/views/bd/setting/form_template/dialog.vue +1 -1
  73. package/src/views/bd/setting/form_template/formDesignerDialog.vue +1 -0
  74. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
  75. package/src/views/bd/setting/form_template/itemList.vue +1 -1
  76. package/src/views/bd/setting/form_template/list.vue +3 -3
  77. package/src/views/bd/setting/form_template/mixins/edit.js +3 -3
  78. package/src/views/bd/setting/form_template/mixins/list.js +3 -3
  79. package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
  80. package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
  81. package/src/views/bd/setting/form_template/wf_list.vue +3 -3
  82. package/src/views/bd/setting/logic_param/list.vue +1 -1
  83. package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
  84. package/src/views/bd/setting/menu_kind/list.vue +1 -1
  85. package/src/views/bd/setting/push_data/list.vue +1 -1
  86. package/src/views/bd/setting/push_data_h/list.vue +1 -1
  87. package/src/views/bd/setting/request_async_setting/list.vue +1 -1
  88. package/src/views/bd/setting/request_setting/list.vue +1 -1
  89. package/src/views/bd/setting/table_model/dialog.vue +1 -1
  90. package/src/views/bd/setting/table_model/list.vue +1 -1
  91. package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
  92. package/src/views/support/export_template/list.vue +1 -1
  93. package/src/views/user/access_log/list.vue +1 -1
  94. package/src/views/user/access_log/list2.vue +1 -1
  95. package/src/views/user/api_request/list.vue +1 -1
  96. package/src/views/user/area/dialog.vue +1 -1
  97. package/src/views/user/area/list.vue +1 -1
  98. package/src/views/user/bill_setting/list.vue +1 -1
  99. package/src/views/user/bill_setting/userDialog.vue +1 -1
  100. package/src/views/user/code_rules/list.vue +1 -1
  101. package/src/views/user/common_attribute/list.vue +1 -1
  102. package/src/views/user/common_script/list.vue +1 -1
  103. package/src/views/user/company_info/dialog.vue +1 -1
  104. package/src/views/user/country/dialog.vue +1 -1
  105. package/src/views/user/country/list.vue +1 -1
  106. package/src/views/user/data_type_setting/dialog.vue +1 -1
  107. package/src/views/user/extend_datasource/dialog.vue +1 -1
  108. package/src/views/user/extend_datasource/list.vue +1 -1
  109. package/src/views/user/fieldTranslation/list.vue +1 -1
  110. package/src/views/user/field_values_invisible/list.vue +1 -1
  111. package/src/views/user/file_type/list.vue +1 -1
  112. package/src/views/user/file_view_area/list.vue +1 -1
  113. package/src/views/user/form/form_template/dialog.vue +1 -1
  114. package/src/views/user/form/form_template/itemList.vue +1 -1
  115. package/src/views/user/form/form_template/list.vue +1 -1
  116. package/src/views/user/form/form_template_field/dialog.vue +1 -1
  117. package/src/views/user/form/form_type/dialog.vue +1 -1
  118. package/src/views/user/form/form_type/list.vue +1 -1
  119. package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
  120. package/src/views/user/form/report_requestaccess/list.vue +1 -1
  121. package/src/views/user/form/vform/designer.vue +51 -22
  122. package/src/views/user/groups/dialog.vue +1 -1
  123. package/src/views/user/groups/list.vue +1 -1
  124. package/src/views/user/lang_tag/dialog.vue +1 -1
  125. package/src/views/user/lang_tag/list.vue +1 -1
  126. package/src/views/user/language_setting/list.vue +1 -1
  127. package/src/views/user/menu/list.vue +1 -1
  128. package/src/views/user/mobile_menu/list.vue +1 -1
  129. package/src/views/user/notify_message/list.vue +1 -1
  130. package/src/views/user/notify_template/list.vue +1 -1
  131. package/src/views/user/notify_template/list2.vue +1 -1
  132. package/src/views/user/oplog/list.vue +1 -1
  133. package/src/views/user/position/dialog.vue +1 -1
  134. package/src/views/user/position/list.vue +1 -1
  135. package/src/views/user/project_tag/dialog.vue +1 -1
  136. package/src/views/user/project_tag/list.vue +1 -1
  137. package/src/views/user/push_setting/list.vue +1 -1
  138. package/src/views/user/request_setting/list.vue +1 -1
  139. package/src/views/user/role/dialog.vue +1 -1
  140. package/src/views/user/role/list.vue +1 -1
  141. package/src/views/user/sale_org/dialog.vue +1 -1
  142. package/src/views/user/sale_org/list.vue +1 -1
  143. package/src/views/user/system_notice/list.vue +1 -1
  144. package/src/views/user/system_parameter/list.vue +1 -1
  145. package/src/views/user/user/dialog.vue +1 -1
  146. package/src/views/user/user/form_dialog.vue +1 -1
  147. package/src/views/user/user/form_list.vue +1 -1
  148. package/src/views/user/user/list.vue +2 -2
  149. package/src/views/user/user_log_classify/list.vue +1 -1
  150. package/src/views/user/wf/wfReport/index.vue +2 -2
  151. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
  152. package/src/views/user/wf/wf_manage/list.vue +2 -2
  153. package/src/views/user/wf/wf_manage/list2.vue +2 -2
  154. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  155. package/src/views/user/wf/wf_obj_config/list.vue +1 -1
  156. package/src/views/user/wf/wf_obj_config/list_form.vue +1 -1
  157. package/src/views/user/wf/wf_transfer_setting/list.vue +1 -1
  158. 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 formCode = row?.formCode || null;
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 (!formCode) {
162
- this.dataId = formCode;
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 formCode = row?.formCode || null;
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 (!formCode) {
165
- this.dataId = formCode;
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="formCode">
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.formCode"
112
+ :name="tab.data.id + ''"
113
113
  :closable="true"
114
114
  >
115
115
  <editView
@@ -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"
@@ -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('搜索') }}
@@ -41,7 +41,7 @@
41
41
  type="text"
42
42
  status="primary"
43
43
  plain
44
- >{{ $t1("重置") }}
44
+ >{{ $t1("刷新") }}
45
45
  </vxe-button>
46
46
  <vxe-button
47
47
  status="warning"
@@ -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('搜索') }}
@@ -40,7 +40,7 @@
40
40
  type="text"
41
41
  status="primary"
42
42
  plain
43
- >{{ $t1("重置") }}
43
+ >{{ $t1("刷新") }}
44
44
  </vxe-button>
45
45
  <vxe-button
46
46
  status="warning"
@@ -38,7 +38,7 @@
38
38
  type="text"
39
39
  status="primary"
40
40
  plain
41
- >{{ $t1("重置") }}
41
+ >{{ $t1("刷新") }}
42
42
  </vxe-button>
43
43
  <vxe-button
44
44
  status="warning"
@@ -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('搜索')
@@ -98,7 +98,7 @@
98
98
  type="text"
99
99
  status="primary"
100
100
  plain
101
- >{{ $t1("重置") }}
101
+ >{{ $t1("刷新") }}
102
102
  </vxe-button>
103
103
  <vxe-button
104
104
  status="warning"
@@ -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('搜索')
@@ -41,7 +41,7 @@
41
41
  type="text"
42
42
  status="primary"
43
43
  plain
44
- >{{ $t1('重置') }}
44
+ >{{ $t1('刷新') }}
45
45
  </vxe-button>
46
46
  <vxe-button
47
47
  status="warning"
@@ -62,7 +62,7 @@
62
62
  type="text"
63
63
  status="primary"
64
64
  plain
65
- >{{ $t1("重置") }}
65
+ >{{ $t1("刷新") }}
66
66
  </vxe-button>
67
67
  <vxe-button
68
68
  status="warning"
@@ -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('搜索') }}
@@ -168,7 +168,7 @@
168
168
  type="text"
169
169
  status="primary"
170
170
  plain
171
- >{{ $t1("重置") }}
171
+ >{{ $t1("刷新") }}
172
172
  </vxe-button>
173
173
  <vxe-button
174
174
  status="warning"
@@ -38,7 +38,7 @@
38
38
  type="text"
39
39
  status="primary"
40
40
  plain
41
- >{{ $t1("重置") }}
41
+ >{{ $t1("刷新") }}
42
42
  </vxe-button>
43
43
  <vxe-button
44
44
  status="warning"
@@ -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('搜索') }}
@@ -34,7 +34,7 @@
34
34
  type="text"
35
35
  status="primary"
36
36
  plain
37
- >{{ $t1("重置") }}
37
+ >{{ $t1("刷新") }}
38
38
  </vxe-button>
39
39
  <vxe-button
40
40
  status="warning"
@@ -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.$http({
110
- aes: true,
111
- url: USER_PREFIX + `/formTemplate/getByFormCode`,
112
- method: `post`,
113
- data: {
114
- stringOne: this.formCode,
115
- },
116
- isLoading: true,
117
- modalStrictly: true,
118
- success: (res) => {
119
- if (!res.objx) {
120
- this.$baseAlert(this.$t1("获取报表模板失败"));
121
- return;
122
- }
123
- let reportTemplate = res.objx || {};
124
- this.reportTemplate = reportTemplate;
125
- this.showDesinger = true;
126
- this.$nextTick(() => {
127
- this.$refs.designer.setFormJson(reportTemplate.formViewContent);
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('搜索') }}