cloud-web-corejs-haier 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/index.js +48 -1
  3. package/src/components/VabUpload/mixins.js +1821 -1
  4. package/src/components/VabUpload/privateProfileDialogMixins.js +1063 -1
  5. package/src/components/advancedSearchDialog/mixins.js +28 -1
  6. package/src/components/baseAlert/index.js +44 -1
  7. package/src/components/baseAlert/index.vue +53 -53
  8. package/src/components/baseAlert/mixins.js +61 -1
  9. package/src/components/baseAttachment/install.js +21 -5
  10. package/src/components/baseAttachment/mixins.js +309 -1
  11. package/src/components/baseInputBatch/mixins.js +58 -1
  12. package/src/components/baseInputExport/mixins.js +391 -1
  13. package/src/components/baseTabs/mixins.js +166 -1
  14. package/src/components/cnPrint/index.js +44 -1
  15. package/src/components/cnPrint/mixins.js +189 -1
  16. package/src/components/code-editor/index.vue +51 -136
  17. package/src/components/confirmDialog/index.js +41 -1
  18. package/src/components/confirmDialog/mixins.js +31 -1
  19. package/src/components/errorMsg/index.js +44 -1
  20. package/src/components/errorMsg/index.vue +3 -3
  21. package/src/components/errorMsg/mixins.js +96 -1
  22. package/src/components/excelExport/index.js +43 -1
  23. package/src/components/excelExport/mixins.js +964 -1
  24. package/src/components/excelImport/index.js +74 -13
  25. package/src/components/excelImport/mixins.js +774 -1
  26. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  27. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  28. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  29. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +202 -350
  30. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +26 -33
  31. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  32. package/src/components/fileLibrary/mixins/indexMixins.js +106 -250
  33. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +4 -64
  34. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +4 -3
  35. package/src/components/formOplog/mixins.js +77 -1
  36. package/src/components/hiprint/view/design/mixins.js +611 -1
  37. package/src/components/jdPrint/index.js +44 -1
  38. package/src/components/jdPrint/mixins.js +208 -1
  39. package/src/components/jsonImport/index.js +187 -17
  40. package/src/components/jsonImport/mixins.js +332 -1
  41. package/src/components/langImport/index.js +80 -1
  42. package/src/components/langImport/mixins.js +484 -1
  43. package/src/components/langTag/mixins/addButton.js +51 -5
  44. package/src/components/langTag/mixins/deleteButton.js +55 -5
  45. package/src/components/langTag/mixins/view.js +47 -5
  46. package/src/components/obsUpload/index.js +34 -1
  47. package/src/components/obsUpload/mixins.js +1469 -1
  48. package/src/components/onlineTalk/index.vue +5 -327
  49. package/src/components/onlineTalk/mixins.js +852 -1
  50. package/src/components/oplogTable/mixins.js +83 -4
  51. package/src/components/pddPrint/index.js +44 -1
  52. package/src/components/pddPrint/mixins.js +252 -1
  53. package/src/components/projectTag/mixins/addButton.js +52 -1
  54. package/src/components/projectTag/mixins/deleteButton.js +52 -1
  55. package/src/components/projectTag/mixins/view.js +43 -1
  56. package/src/components/scriptDescription/mixins.js +30 -1
  57. package/src/components/scriptTest/mixins.js +90 -1
  58. package/src/components/statusTag/mixins.js +66 -1
  59. package/src/components/table/CellSlot.vue +2 -29
  60. package/src/components/table/config.js +74 -1
  61. package/src/components/table/index.js +1 -1
  62. package/src/components/table/tableFormMixin.js +1 -1
  63. package/src/components/table/util/index.js +2 -2
  64. package/src/components/table/vxeFilter/index.js +153 -1
  65. package/src/components/table/vxeFilter/mixin.js +1 -4
  66. package/src/components/vipPrint/index.js +44 -1
  67. package/src/components/vipPrint/mixins.js +268 -1
  68. package/src/components/xform/form-designer/designer.js +1 -1
  69. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -1
  70. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -1
  71. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  73. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
  74. package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
  75. package/src/components/xform/form-designer/indexMixin.js +1 -1
  76. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  77. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
  78. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  79. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  80. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  81. package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
  82. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  83. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  84. package/src/components/xform/form-render/dynamicDialogRender.js +195 -1
  85. package/src/components/xform/form-render/indexMixin.js +2 -3501
  86. package/src/components/xform/form-render/refMixin.js +3 -3
  87. package/src/components/xform/mixins/defaultHandle.js +340 -2
  88. package/src/components/xform/mixins/scriptHttp.js +172 -1
  89. package/src/components/xform/utils/formHttp.js +162 -0
  90. package/src/components/xform/utils/format.js +12 -6
  91. package/src/components/xform/utils/util.js +1464 -1
  92. package/src/components/xform/utils/validators.js +134 -1
  93. package/src/components/xhsPrint/index.js +44 -1
  94. package/src/components/xhsPrint/mixins.js +269 -1
  95. package/src/directive/LimitNumber/index.js +125 -1
  96. package/src/directive/el-dialog-center/index.js +34 -1
  97. package/src/directive/el-drag-dialog/drag.js +86 -1
  98. package/src/directive/el-readonly/index.js +15 -1
  99. package/src/directive/permission/hasPermi.js +34 -1
  100. package/src/index.js +2 -2
  101. package/src/router/modules/customer.js +3 -16
  102. package/src/store/config/index.js +1 -1
  103. package/src/store/modules/permission.js +40 -41
  104. package/src/store/modules/settings.js +1 -1
  105. package/src/store/modules/tagsView.js +11 -1
  106. package/src/store/modules/user.js +23 -1
  107. package/src/utils/aes.js +1 -1
  108. package/src/utils/auth.js +1 -1
  109. package/src/utils/global.js +362 -1
  110. package/src/utils/index.js +579 -1
  111. package/src/utils/keepAlive.js +181 -1
  112. package/src/utils/pddLog.js +17 -28
  113. package/src/utils/request.js +1 -1
  114. package/src/utils/vab.js +1 -1
  115. package/src/utils/validate.js +106 -1
  116. package/src/utils/wf.js +749 -4
  117. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +84 -1
  118. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +113 -1
  119. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
  120. package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
  121. package/src/views/bd/setting/form_script/mixins/form_list.js +283 -1
  122. package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
  123. package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
  124. package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
  125. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
  126. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
  127. package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
  128. package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
  129. package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
  130. package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
  131. package/src/views/bd/setting/form_template/mixins/wf_list.js +423 -1
  132. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
  133. package/src/views/bd/setting/logic_param/mixins/edit.js +91 -1
  134. package/src/views/bd/setting/logic_param/mixins/list.js +368 -1
  135. package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
  136. package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
  137. package/src/views/bd/setting/request_setting/edit.vue +300 -300
  138. package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
  139. package/src/views/bd/setting/table_model/mixins/zdDialog.js +108 -1
  140. package/src/views/bd/setting/utils/index.js +60 -1
  141. package/src/views/user/api_request/list.vue +203 -203
  142. package/src/views/user/bill_setting/list.vue +345 -345
  143. package/src/views/user/code_rules/list.vue +204 -204
  144. package/src/views/user/common_attribute/list.vue +378 -378
  145. package/src/views/user/common_script/list.vue +341 -341
  146. package/src/views/user/country/list.vue +197 -197
  147. package/src/views/user/extend_datasource/list.vue +224 -224
  148. package/src/views/user/fieldTranslation/list.vue +473 -473
  149. package/src/views/user/field_values_invisible/list.vue +207 -207
  150. package/src/views/user/file_type/list.vue +271 -271
  151. package/src/views/user/file_view_area/list.vue +331 -331
  152. package/src/views/user/form/form_template/itemList.vue +221 -221
  153. package/src/views/user/form/form_template/list.vue +512 -512
  154. package/src/views/user/form/form_type/list.vue +142 -142
  155. package/src/views/user/form/report_requestaccess/list.vue +198 -198
  156. package/src/views/user/groups/list.vue +158 -158
  157. package/src/views/user/lang_tag/list.vue +170 -170
  158. package/src/views/user/language_setting/list.vue +208 -208
  159. package/src/views/user/menu/list.vue +575 -575
  160. package/src/views/user/notify_template/list.vue +192 -192
  161. package/src/views/user/notify_template/list2.vue +190 -190
  162. package/src/views/user/position/list.vue +188 -188
  163. package/src/views/user/project_tag/list.vue +175 -175
  164. package/src/views/user/push_setting/list.vue +236 -236
  165. package/src/views/user/request_setting/list.vue +248 -248
  166. package/src/views/user/role/list.vue +182 -182
  167. package/src/views/user/system_notice/list.vue +203 -203
  168. package/src/views/user/system_parameter/list.vue +141 -141
  169. package/src/views/user/user/form_list.vue +245 -245
  170. package/src/views/user/user_log_classify/list.vue +197 -197
  171. package/src/views/user/wf/wf_obj_config/list.vue +753 -753
  172. package/src/views/user/wf/wf_obj_config/list_form.vue +373 -373
  173. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +0 -11028
  174. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +0 -200
  175. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +0 -1639
  176. package/src/components/xform/form-render/indexMixin copy.js +0 -3462
@@ -0,0 +1,411 @@
1
+ import tableForm from "@base/components/table/tableForm.vue";
2
+ import editView from "@base/views/bd/setting/form_template/edit.vue";
3
+ import itemList from "@base/views/bd/setting/form_template/itemList.vue";
4
+ import formScriptList from "@base/views/bd/setting/form_script/form_list.vue";
5
+ import indexUtil from "@base/utils";
6
+ import {getBdFlag} from "@base/api/user";
7
+ import designer from "@base/views/user/form/vform/designer.vue";
8
+ import {getJsxBtnList, getJsxStatus} from "@base/views/bd/setting/utils/index";
9
+
10
+ let modules = {};
11
+ modules = {
12
+ name: 'bd_form_template:list',
13
+ components: {
14
+
15
+ tableForm,
16
+ editView,
17
+ itemList,
18
+ formScriptList,
19
+ designer
20
+ },
21
+ data() {
22
+ return {
23
+ isFullscreen: false,
24
+ formDesTabs: 'first',
25
+ activeName: 'second',
26
+ dataId: 0,
27
+ showEdit: false,
28
+ vxeOption: {},
29
+ formData: {},
30
+ showDesingerDialog: false,
31
+ formCode: null,
32
+ formName: null,
33
+ templateId: null,
34
+ currentFormTemplate: null,
35
+
36
+ showItemEdit: false,
37
+ showParamEdit: false,
38
+ vxeOption1: {},
39
+ editId: '',
40
+ itemEditId: '',
41
+ pRow: null,
42
+ currentRow: {},
43
+ serviceId: null,
44
+ itemServiceId: null,
45
+
46
+ showWfDialog: false,
47
+ wfUrl: '',
48
+ ph: '',
49
+ dialogActiveName: 'first',
50
+ showFunctionScriptList: false,
51
+ showUserDialog: false,
52
+ wfAssignData: [],
53
+ wfAssignCallback: null,
54
+ wfAssignMulti: true,
55
+
56
+ showPositionDialog: false,
57
+ wfAssignPositionData: [],
58
+ wfAssignPositionCallback: null,
59
+
60
+ showFormTemplateDialog: false,
61
+ wfAssignFormTemplateCallback: null,
62
+
63
+ showScriptDescriptionDialog: false,
64
+ showWfDiyAttributeEdit: false,
65
+
66
+ showFtHistoryDialog: false,
67
+ operateFtHistory: null,
68
+
69
+ defaultProps: {
70
+ label: 'name', //这里是树结构中需显示的数据(即接口返回的需展示在页面上的参数)
71
+ children: [],
72
+ isLeaf: 'leaf'
73
+ },
74
+ showItemView: false,
75
+
76
+ currentFormType: {},
77
+ editFormTypeId: null,
78
+ showFormTypeDialog: false,
79
+ showFormScriptList: false,
80
+ addProjectTagOption: {
81
+ url: USER_PREFIX + `/formTemplate/saveTag`,
82
+ tableDatas: () => {
83
+ return this.$refs["table-m1"].getCheckboxRecords(true);
84
+ },
85
+ reqData: (tagDatas, tableDatas) => {
86
+ let sids = tableDatas.map(item => item.sid);
87
+ let tagCodes = tagDatas.map(item => item.tagCode);
88
+ let reqData = {
89
+ tagCodes,
90
+ sids
91
+ };
92
+ return reqData;
93
+ },
94
+ callback: () => {
95
+ this.searchEvent()
96
+ }
97
+ },
98
+ deleteProjectTagOption: {
99
+ url: USER_PREFIX + `/formTemplate/deleteTag`,
100
+ tableDatas: () => {
101
+ return this.$refs["table-m1"].getCheckboxRecords(true);
102
+ },
103
+ reqData: (tagDatas, tableDatas) => {
104
+ let sids = tableDatas.map(item => item.sid);
105
+ let tagCodes = tagDatas.map(item => item.tagCode);
106
+ let reqData = {
107
+ tagCodes,
108
+ sids
109
+ };
110
+ return reqData;
111
+ },
112
+ callback: () => {
113
+ this.searchEvent()
114
+ }
115
+ },
116
+ showProjectTagDialog3: false,
117
+ checkTags: [],
118
+ isDev: true,
119
+ menuKindAuth: {},
120
+ showTree: false,
121
+
122
+ showWfObjConfigDialog: false,
123
+ formTemplate: null
124
+ };
125
+ },
126
+ computed: {
127
+ currentMenuKindId() {
128
+ return this.currentFormType?.id || null
129
+ },
130
+ currentMenuKindName() {
131
+ return this.currentFormType?.name || null
132
+ }
133
+ },
134
+ watch: {
135
+ formDesTabs(val) {
136
+ if (this.showFormScriptList == false && val == 'second') {
137
+ this.showFormScriptList = true;
138
+ }
139
+ }
140
+ },
141
+ mounted() {
142
+ this.getBdEnv();
143
+ this.initTableList();
144
+ this.initWfWinParam();
145
+ },
146
+ methods: {
147
+ searchEvent() {
148
+ this.$refs['table-m1'].commitProxy('reload');
149
+ },
150
+ resetEvent() {
151
+ this.formData = {};
152
+ this.checkTags = [];
153
+ this.$refs['table-m1'].commitProxy('reload');
154
+ },
155
+ openEditDialog(row) {
156
+ let formCode = row?.formCode || null;
157
+ /*this.dataId = !id || typeof id == 'object' ? 0 : id;
158
+ this.activeName = 'first';
159
+ this.showItemEdit = false;
160
+ this.$openEditView('showEdit');*/
161
+ if (!formCode) {
162
+ this.dataId = formCode;
163
+ this.activeName = 'first';
164
+ this.$openEditView('showEdit');
165
+ } else {
166
+ this.$refs.xTabs.openEditTab(row);
167
+ }
168
+
169
+ },
170
+ openDesingerDialog(row, callback) {
171
+ this.formCode = row.formCode;
172
+ this.formName = row.formName;
173
+ this.currentFormTemplate = row;
174
+ this.isFullscreen = false;
175
+ this.showDesingerDialog = true;
176
+ this.designerSaveCallback = callback ?? null;
177
+ },
178
+ openDesingerDialogByChild({row, callback}) {
179
+ this.openDesingerDialog(row, callback)
180
+ },
181
+ reflushTemplateList() {
182
+ this.searchEvent();
183
+ this.designerSaveCallback && this.designerSaveCallback();
184
+ },
185
+ handleFullscreen() {
186
+ let isFullscreen = this.isFullscreen;
187
+ if (!isFullscreen) {
188
+ indexUtil.addClass(document.body, "hideMenu");
189
+ } else {
190
+ indexUtil.removeClass(document.body, "hideMenu");
191
+ }
192
+ this.isFullscreen = !isFullscreen;
193
+ },
194
+ openFtHistoryDialog(row) {
195
+ this.operateFtHistory = row;
196
+ this.showFtHistoryDialog = true;
197
+ },
198
+ confirmFtHistoryDialog(row) {
199
+ this.searchEvent();
200
+ },
201
+ closeFormDesignwinEvent(done) {
202
+ this.$baseConfirm(this.$t1('请确认"已保存"报表模板,是否继续关闭?')).then(() => {
203
+ indexUtil.removeClass(document.body, "hideMenu");
204
+ done && done();
205
+ });
206
+ },
207
+ getSearchParam() {
208
+ let tagCodes = null;
209
+ if (this.checkTags.length) {
210
+ tagCodes = this.checkTags.map(item => item.tagCode);
211
+ }
212
+ let currentFormType = this.currentFormType || {}
213
+ return {
214
+ ...this.formData,
215
+ tagCodes,
216
+ menuKindCode: currentFormType.menuKindCode || null,
217
+ history: false
218
+ };
219
+ },
220
+ initTableList() {
221
+ let that = this;
222
+ let tableOption = {
223
+ vue: this,
224
+ tableRef: 'table-m1',
225
+ tableName: 'bd_form_template_list-m2',
226
+ path: USER_PREFIX + '/formTemplate/listPageWf',
227
+ param: () => {
228
+ return this.getSearchParam();
229
+ },
230
+ columns: [
231
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
232
+ {
233
+ title: this.$t1('模板名称'),
234
+ field: 'formName',
235
+ width: 250,
236
+ fixed: 'left'
237
+ },
238
+ {
239
+ title: this.$t1('模板编码'),
240
+ field: 'formCode',
241
+ width: 250
242
+ },
243
+ {field: 'serviceName', title: this.$t1('服务名'), width: 150},
244
+ {
245
+ title: this.$t1('更新时间'),
246
+ field: 'modifyDate',
247
+ width: 150
248
+ },
249
+ {
250
+ title: this.$t1('创建时间'),
251
+ field: 'createDate',
252
+ width: 150
253
+ },
254
+ {
255
+ width: 120,
256
+ fixed: 'right',
257
+ title: '',
258
+ sortable: false,
259
+ slots: {
260
+ default: ({row}) => {
261
+ return getJsxBtnList([
262
+ {
263
+ iconName: "iconfont icon-liuchengguanli-shejiqi_liucheng",
264
+ content: this.$t1('流程单据维护'),
265
+ onclick: () => {
266
+ this.openWfObjConfigDialog(row);
267
+ }
268
+ }
269
+ ]);
270
+ }
271
+ }
272
+ }
273
+ ],
274
+ searchColumns: [
275
+ {title: this.$t1('模板名称'), field: "formName", type: "input", common: true},
276
+ {title: this.$t1('模板编码'), field: "formCode", type: "input", common: true}
277
+ ],
278
+ config: {
279
+
280
+ },
281
+ };
282
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
283
+ this.vxeOption = opts;
284
+ this.showTree = true;
285
+ });
286
+ },
287
+ chooseCellM1(row) {
288
+ this.currentRow = row;
289
+ this.showItemView = true;
290
+ },
291
+ openWfDesignDialog(actModelId) {
292
+ //wfType 0:单据流程,1:场景流程
293
+ let serviceId = this.currentRow.serviceName;
294
+ this.wfUrl = WEB_PREFIX + '/activiti-explorer/modeler.html?wfType=0&serviceId=' + serviceId + '&modelId=' + actModelId;
295
+ this.dialogActiveName = 'first';
296
+ this.showWfDialog = true;
297
+ },
298
+ closeDesignwinEvent(done) {
299
+ this.$baseConfirm(this.$t1('请确认"已保存"流程模板,是否继续关闭?')).then(() => {
300
+ this.showWfDialog = false;
301
+ // this.showDesingerDialog = false;
302
+ });
303
+ },
304
+ initWfWinParam() {
305
+ this.initCloseWfDesignWin();
306
+ this.initWinUserDialog();
307
+ this.initWinPositionDialog();
308
+ this.initSysParamForWf();
309
+ this.initWinFormTemplateDialog();
310
+ this.initWinScriptDescriptionDialog();
311
+ },
312
+ initCloseWfDesignWin() {
313
+ window.closeWfDesignWin = () => {
314
+ this.showWfDialog = false;
315
+ };
316
+ },
317
+ initWinUserDialog() {
318
+ window.openAssignUserDialog = opts => {
319
+ this.wfAssignMulti = opts.multi;
320
+ this.wfAssignData = opts.data || [];
321
+ this.wfAssignCallback = opts.callback;
322
+ this.showUserDialog = true;
323
+ };
324
+ },
325
+ confirmUser(rows) {
326
+ this.wfAssignCallback(rows);
327
+ },
328
+ initWinPositionDialog() {
329
+ window.openAssignPositionDialog = opts => {
330
+ this.wfAssignPositionData = opts.data || [];
331
+ this.wfAssignPositionCallback = opts.callback;
332
+ this.showPositionDialog = true;
333
+ };
334
+ },
335
+ initSysParamForWf() {
336
+ let webPrefix = WEB_PREFIX;
337
+ let baseApi = process.env.VUE_APP_BASE_API;
338
+ window.sysParamForWf = {
339
+ webPrefix,
340
+ baseApi
341
+ }
342
+ },
343
+ confirmPosition(rows) {
344
+ this.wfAssignPositionCallback(rows);
345
+ },
346
+ initWinFormTemplateDialog() {
347
+ window.openAssignFormTemplateDialog = opts => {
348
+ this.wfAssignFormTemplateCallback = opts.callback;
349
+ this.showFormTemplateDialog = true;
350
+ };
351
+ },
352
+ confirmFormTemplate(rows) {
353
+ this.wfAssignFormTemplateCallback(rows);
354
+ },
355
+ initWinScriptDescriptionDialog() {
356
+ window.openScriptDescriptionDialog = opts => {
357
+ this.showScriptDescriptionDialog = true;
358
+ };
359
+ },
360
+ handleFormDesignClose() {
361
+ this.formDesTabs = 'first';
362
+ this.showFormScriptList = false;
363
+ },
364
+ openProjectTagDialog3() {
365
+ this.showProjectTagDialog3 = true;
366
+ },
367
+ confirmProjectTagDialog3(rows) {
368
+ this.checkTags = rows;
369
+ },
370
+ getTabNames() {
371
+ return this.checkTags.map(item => item.tagName).join(",");
372
+ },
373
+ jsonImport() {
374
+ this.$jsonImport({
375
+ saveUrl: USER_PREFIX + '/form_develop/importFormTemplate',
376
+ showResult: true,
377
+ resultColumns: [
378
+ {title: this.$t1('模板名称'), field: "formName", type: "input", common: true},
379
+ {title: this.$t1('模板编码'), field: "formCode", type: "input", common: true},
380
+ ],
381
+ callback: () => {
382
+ this.searchEvent();
383
+ }
384
+ });
385
+ },
386
+ jsonExport() {
387
+ this.$jsonExport({
388
+ targetRef: "table-m1",
389
+ url: USER_PREFIX + "/form_develop/exportFormTemplate",
390
+ abcEnabled: true,
391
+ editAuth: this.currentFormType.editAuth,
392
+ selectTypeAuth: this.currentFormType.selectTypeAuth
393
+ })
394
+ },
395
+ getBdEnv() {
396
+ getBdFlag({
397
+ success: res => {
398
+ this.isDev = res.objx == 1
399
+ }
400
+ });
401
+ },
402
+ openWfObjConfigDialog(row) {
403
+ this.formTemplate = row;
404
+ this.showWfObjConfigDialog = true;
405
+
406
+ },
407
+ confirmWfObjConfigDialog() {
408
+ }
409
+ }
410
+ };
411
+ export default modules
@@ -1,3 +1,28 @@
1
- let modules = {};
2
- (function(_0x3ec2ef,_0x4d18e5){function _0x3e243c(_0x45282c,_0x425c5c,_0x415762,_0x114280,_0x440cbb){return _0x1697(_0x45282c-0x50,_0x114280);}var _0x505adf=_0x3ec2ef();function _0x43b6ce(_0x4640a6,_0x4d25e9,_0x371b30,_0x246f57,_0x2a3d9d){return _0x1697(_0x371b30-0xd9,_0x246f57);}function _0x222d2e(_0x6c545c,_0x4e0b57,_0x55c331,_0x47058c,_0x553129){return _0x3ac7(_0x6c545c- -0x2af,_0x55c331);}function _0x388ef8(_0x1a06ec,_0x462fd6,_0x2558f6,_0x1d9bda,_0x4545cb){return _0x1697(_0x2558f6- -0x148,_0x1a06ec);}function _0x174b66(_0x4e288b,_0x142987,_0x146cf2,_0x58e5d7,_0x522a0a){return _0x1697(_0x4e288b-0xe3,_0x522a0a);}function _0x5cc65b(_0x45dd05,_0x25e1fb,_0x461922,_0x58bc66,_0x18e358){return _0x3ac7(_0x58bc66- -0x329,_0x45dd05);}function _0x5e4569(_0x4b0888,_0x1c11f1,_0x3de3ab,_0x57c87b,_0x2dec2f){return _0x3ac7(_0x57c87b-0x1d7,_0x4b0888);}function _0x5c6751(_0x17d258,_0x3d0546,_0x3c73af,_0x1d72f5,_0x47abd3){return _0x1697(_0x3c73af-0x105,_0x17d258);}function _0x4d9b8b(_0x243833,_0x7abc47,_0x2db350,_0x2074ba,_0x38a5fd){return _0x3ac7(_0x7abc47-0x77,_0x243833);}do{try{var _0x46a0f0=-parseInt(_0x43b6ce(0xde,0xe9,0xe7,"\u007a\u0061\u0077\u0039",0xdb))/0x1+-parseInt(_0x5c6751("HW[t".split("").reverse().join(""),0x125,0x122,0x115,0x112))/0x2*(parseInt(_0x222d2e(-0x2a5,-0x2b3,-0x299,-0x2a0,-0x2af))/0x3)+-parseInt(_0x222d2e(-0x2a0,-0x29d,-0x2a2,-0x2a2,-0x2a1))/0x4*(parseInt(_0x3e243c(0x66,0x5b,0x62,"\u007a\u0061\u0076\u0042",0x63))/0x5)+-parseInt(_0x5c6751("Y4$%".split("").reverse().join(""),0x11e,0x125,0x12a,0x128))/0x6*(parseInt(_0x3e243c(0x64,0x61,0x6e,"\u004c\u0029\u0069\u0053",0x5a))/0x7)+-parseInt(_0x174b66(0xf4,0xf8,0x104,0xff,"yXe@".split("").reverse().join("")))/0x8+parseInt(_0x3e243c(0x60,0x5a,0x51,"\u004c\u0029\u0069\u0053",0x61))/0x9*(parseInt(_0x222d2e(-0x28e,-0x282,-0x293,-0x297,-0x289))/0xa)+parseInt(_0x5cc65b(-0x313,-0x323,-0x335,-0x323,-0x311))/0xb;if(_0x46a0f0===_0x4d18e5){break;}else{_0x505adf["\u0070\u0075\u0073\u0068"](_0x505adf['shift']());}}catch(_0x33a8bb){_0x505adf["\u0070\u0075\u0073\u0068"](_0x505adf['shift']());}}while(!![]);})(_0x40eb,0x79fb8);function _0x5a3d72(_0x8042db,_0x16705d,_0x4684d4,_0x59f3d1,_0x3804c6){return _0x1697(_0x59f3d1- -0x226,_0x8042db);}function _0x1697(_0x2cb81d,_0x40ebc6){var _0x3ac75e=_0x40eb();_0x1697=function(_0x331537,_0x264fc6){_0x331537=_0x331537-0x0;var _0x5950ee=_0x3ac75e[_0x331537];if(_0x1697["\u004b\u006a\u004b\u0050\u0047\u006d"]===undefined){var _0x2bff96=function(_0x376813){var _0x2d805d="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";var _0x423af7='';var _0xe91c39='';for(var _0x3489ec=0x0,_0x2d8b9b,_0x2dd0ba,_0x5dd59a=0x0;_0x2dd0ba=_0x376813['charAt'](_0x5dd59a++);~_0x2dd0ba&&(_0x2d8b9b=_0x3489ec%0x4?_0x2d8b9b*0x40+_0x2dd0ba:_0x2dd0ba,_0x3489ec++%0x4)?_0x423af7+=String['fromCharCode'](0xff&_0x2d8b9b>>(-0x2*_0x3489ec&0x6)):0x0){_0x2dd0ba=_0x2d805d["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2dd0ba);}for(var _0x8009e2=0x0,_0xaf375b=_0x423af7['length'];_0x8009e2<_0xaf375b;_0x8009e2++){_0xe91c39+="\u0025"+("\u0030\u0030"+_0x423af7['charCodeAt'](_0x8009e2)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0xe91c39);};var _0x8bd94=function(_0x5cf8f6,_0x22b34d){var _0x253c51=[],_0x4a352a=0x0,_0x224e3c,_0x276dbd='';_0x5cf8f6=_0x2bff96(_0x5cf8f6);var _0x305f08;for(_0x305f08=0x0;_0x305f08<0x100;_0x305f08++){_0x253c51[_0x305f08]=_0x305f08;}for(_0x305f08=0x0;_0x305f08<0x100;_0x305f08++){_0x4a352a=(_0x4a352a+_0x253c51[_0x305f08]+_0x22b34d["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x305f08%_0x22b34d["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x224e3c=_0x253c51[_0x305f08];_0x253c51[_0x305f08]=_0x253c51[_0x4a352a];_0x253c51[_0x4a352a]=_0x224e3c;}_0x305f08=0x0;_0x4a352a=0x0;for(var _0x32e6a1=0x0;_0x32e6a1<_0x5cf8f6['length'];_0x32e6a1++){_0x305f08=(_0x305f08+0x1)%0x100;_0x4a352a=(_0x4a352a+_0x253c51[_0x305f08])%0x100;_0x224e3c=_0x253c51[_0x305f08];_0x253c51[_0x305f08]=_0x253c51[_0x4a352a];_0x253c51[_0x4a352a]=_0x224e3c;_0x276dbd+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x5cf8f6['charCodeAt'](_0x32e6a1)^_0x253c51[(_0x253c51[_0x305f08]+_0x253c51[_0x4a352a])%0x100]);}return _0x276dbd;};_0x1697["\u0067\u0072\u0052\u0069\u0078\u006a"]=_0x8bd94;_0x2cb81d=arguments;_0x1697["\u004b\u006a\u004b\u0050\u0047\u006d"]=!![];}var _0x2cdabb=_0x3ac75e[0x0];var _0x154c9d=_0x331537+_0x2cdabb;var _0x1697f6=_0x2cb81d[_0x154c9d];if(!_0x1697f6){if(_0x1697['NIjhNR']===undefined){_0x1697["\u004e\u0049\u006a\u0068\u004e\u0052"]=!![];}_0x5950ee=_0x1697['grRixj'](_0x5950ee,_0x264fc6);_0x2cb81d[_0x154c9d]=_0x5950ee;}else{_0x5950ee=_0x1697f6;}return _0x5950ee;};return _0x1697(_0x2cb81d,_0x40ebc6);}function aEyKhC(_0x64af5f,_0x1a3cde){if(!![]!=![])return;aEyKhC=function(_0xbf943c,_0x4308b1){_0xbf943c=_0xbf943c-(0x973c9^0x973c9);var _0x4a7fcb=_0x5e50e6[_0xbf943c];return _0x4a7fcb;};return aEyKhC(_0x64af5f,_0x1a3cde);}aEyKhC();function _0x40eb(){var _0x42a646=["\u0057\u0034\u0033\u0064\u004d\u006d\u006b\u006a\u0057\u0052\u0047\u0054\u0077\u0048\u0066\u0063\u0042\u0053\u006f\u006e","C2BSfwAev2CVX2y".split("").reverse().join(""),"\u006e\u0064\u0079\u0059\u006d\u0074\u0061\u0057\u006d\u0065\u006a\u0033\u0042\u0078\u0044\u007a\u0072\u0047","\u0057\u004f\u004e\u0063\u0048\u0038\u006f\u0078\u0057\u0037\u007a\u0079\u0062\u0073\u0050\u0064\u0042\u006d\u006f\u0074\u0070\u0067\u004b","G0vT1wslbJmYudo".split("").reverse().join(""),"acWKgGc/sRcFQWQS5WboCn".split("").reverse().join(""),"qTcF2UdJ6W6mQWM17Wbe5Wj1dr".split("").reverse().join(""),"\u0061\u0067\u0076\u0070\u0057\u0034\u005a\u0063\u004a\u0049\u005a\u0064\u0056\u0043\u006b\u0078\u0064\u0049\u0034\u0037\u0076\u0038\u006b\u0049\u0076\u0058\u0034","\u0057\u0052\u0079\u0038\u0066\u0076\u0076\u0051\u0071\u0031\u0079\u0046","S6W+kmcdC2Qc7uMdBQWK45WioSn".split("").reverse().join(""),"\u0057\u0035\u0072\u0036\u0068\u0053\u006f\u0039\u0076\u006d\u006f\u0053\u0064\u0030\u0056\u0063\u0056\u0073\u005a\u0063\u0052\u0073\u0052\u0063\u004d\u0043\u006b\u0036\u0079\u0047","\u0057\u0034\u0061\u0049\u0042\u0043\u006b\u005a\u0057\u0050\u0064\u0064\u0053\u0043\u006b\u0075\u0057\u004f\u0047","iPLdSTQW".split("").reverse().join(""),"\u0057\u004f\u0054\u0062\u006b\u0043\u006b\u0071\u0071\u0074\u006c\u0063\u004b\u0043\u006b\u0078\u0057\u004f\u0048\u0065\u0042\u0061","artKJQcFPW".split("").reverse().join(""),"\u0057\u0052\u004f\u0034\u0075\u0047\u0075\u006d\u0066\u004a\u0030\u0054\u0057\u0052\u0044\u0071\u0057\u0052\u0052\u0063\u0054\u0064\u0065","\u0065\u0038\u006f\u0034\u0057\u0052\u0037\u0063\u0051\u0053\u006b\u002b\u0057\u004f\u0068\u0064\u004b\u0058\u006a\u0058\u0057\u0035\u0079\u0071\u0057\u0052\u0070\u0064\u0053\u0057","\u0079\u0032\u0039\u0055\u007a\u004d\u004c\u0059\u0042\u0071","\u0057\u004f\u0048\u0050\u0065\u006d\u006f\u0073\u0069\u006d\u006f\u006a\u0072\u0038\u006b\u0038","SusJT0z".split("").reverse().join(""),"\u0057\u0037\u0037\u0064\u0049\u004e\u0064\u0063\u0053\u004e\u0033\u0063\u004b\u0063\u0072\u0062","\u0077\u004e\u0043\u0050\u0072\u0043\u006b\u006a\u0062\u0068\u0034","fDes6nKuWGto".split("").reverse().join(""),"\u006a\u0067\u0076\u0054\u0041\u0078\u0071","coCOdhdLdR5WkiRWeoCKcB5WWPho".split("").reverse().join(""),"\u0063\u0057\u0054\u0045\u0057\u0051\u0078\u0063\u004c\u0038\u006f\u0034\u0057\u004f\u0056\u0063\u004b\u0071","\u0044\u004b\u0066\u0063\u007a\u0067\u0038","GByrewezKn".split("").reverse().join(""),"8sIcJ6WzomCDkSpLkmv".split("").reverse().join(""),"\u006b\u0048\u0042\u0064\u0055\u0043\u006f\u0076\u0057\u0036\u002f\u0063\u004e\u0043\u006f\u0066\u0057\u0034\u0065\u002b\u0057\u0035\u004e\u0064\u004c\u0053\u006b\u0077","eKww52A".split("").reverse().join(""),"\u0072\u0076\u007a\u0073\u0072\u0032\u0079","KuEvnwutndmXaJm3qZm".split("").reverse().join(""),"Wp9oSJclRWzzHSdJ5W".split("").reverse().join(""),"\u006e\u005a\u0043\u0058\u006f\u0074\u0065\u0032\u0077\u004d\u0031\u0054\u0045\u0075\u0044\u004d","\u0043\u0032\u0048\u0056\u0044\u0030\u0072\u0050\u0079\u0077\u0058\u0056\u007a\u0057","Ur1yxL3v5qtmWuJm".split("").reverse().join("")];_0x40eb=function(){return _0x42a646;};return _0x40eb();}function _0x3ac7(_0x2cb81d,_0x40ebc6){var _0x3ac75e=_0x40eb();_0x3ac7=function(_0x331537,_0x264fc6){_0x331537=_0x331537-0x0;var _0x5950ee=_0x3ac75e[_0x331537];if(_0x3ac7["\u007a\u0058\u0067\u004f\u0048\u0046"]===undefined){var _0x2bff96=function(_0x8bd94){var _0x376813="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";var _0x2d805d='';var _0x423af7='';for(var _0xe91c39=0x0,_0x3489ec,_0x2d8b9b,_0x2dd0ba=0x0;_0x2d8b9b=_0x8bd94["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x2dd0ba++);~_0x2d8b9b&&(_0x3489ec=_0xe91c39%0x4?_0x3489ec*0x40+_0x2d8b9b:_0x2d8b9b,_0xe91c39++%0x4)?_0x2d805d+=String['fromCharCode'](0xff&_0x3489ec>>(-0x2*_0xe91c39&0x6)):0x0){_0x2d8b9b=_0x376813["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x2d8b9b);}for(var _0x5dd59a=0x0,_0x8009e2=_0x2d805d["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x5dd59a<_0x8009e2;_0x5dd59a++){_0x423af7+="\u0025"+("00".split("").reverse().join("")+_0x2d805d["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x5dd59a)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x423af7);};_0x3ac7['sdjJQC']=_0x2bff96;_0x2cb81d=arguments;_0x3ac7["\u007a\u0058\u0067\u004f\u0048\u0046"]=!![];}var _0x2cdabb=_0x3ac75e[0x0];var _0x154c9d=_0x331537+_0x2cdabb;var _0x1697f6=_0x2cb81d[_0x154c9d];if(!_0x1697f6){_0x5950ee=_0x3ac7['sdjJQC'](_0x5950ee);_0x2cb81d[_0x154c9d]=_0x5950ee;}else{_0x5950ee=_0x1697f6;}return _0x5950ee;};return _0x3ac7(_0x2cb81d,_0x40ebc6);}function BuWxyl(_0xaf375b,_0x5cf8f6){if(!![]!=![])return;BuWxyl=function(_0x22b34d,_0x253c51){_0x22b34d=_0x22b34d-(0x973c9^0x973c9);var _0x4a352a=_0x5e50e6[_0x22b34d];return _0x4a352a;};return BuWxyl(_0xaf375b,_0x5cf8f6);}BuWxyl();modules={'name':_0x5a3d72("nV@t".split("").reverse().join(""),-0x210,-0x1fd,-0x20b,-0x21d),'data'(){return{"\u0073\u0068\u006f\u0077\u0044\u0069\u0061\u006c\u006f\u0067":!![],'formData':{'logContent':null}};},"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0063\u006c\u006f\u0073\u0065\u0044\u0069\u0061\u006c\u006f\u0067"(){function _0x2260cf(_0x42ccd2,_0x23af5b,_0x4edfb0,_0x3811e1,_0x17567a){return _0x1697(_0x17567a- -0x142,_0x23af5b);}this["\u0024\u0065\u006d\u0069\u0074"](_0x2260cf(-0x138,"eA&G".split("").reverse().join(""),-0x129,-0x13e,-0x12d),![]);this['showDialog']=![];},'confirmDialog'(){function _0x1db00c(_0x58024e,_0x48294d,_0x1b5f0f,_0x3af477,_0x35d032){return _0x3ac7(_0x1b5f0f-0x249,_0x35d032);}var _0x831af={"\u006b\u006e\u0056\u005a\u0041":_0x1db00c(0x24c,0x257,0x249,0x254,0x247),'EVRGf':_0xacb795(-0x2b6,-0x2cc,-0x2ca,-0x2b6,-0x2c4)};function _0xacb795(_0x471ff3,_0x23294f,_0x4626fc,_0x9e9bb1,_0x44848c){return _0x3ac7(_0x44848c- -0x2e0,_0x471ff3);}this['$refs']["\u0065\u0064\u0069\u0074\u0046\u006f\u0072\u006d"]['$baseValidate'](_0xa5fa9f=>{function _0x40f81b(_0x407b3a,_0x589a99,_0xf7fa4b,_0x2b49ea,_0x13858e){return _0x3ac7(_0x13858e- -0x3ca,_0x589a99);}function _0xd928f7(_0x39ac60,_0x3a2897,_0x117de3,_0x3b2014,_0x1e0c2e){return _0x1697(_0x1e0c2e- -0x276,_0x3a2897);}if(_0x831af['knVZA']===_0x40f81b(-0x3a2,-0x3a6,-0x3be,-0x3b5,-0x3ac)){this["\u0024\u0065\u006d\u0069\u0074"](_0xd928f7(-0x271,"\u0048\u0033\u0044\u0038",-0x268,-0x268,-0x264),![]);this["\u0073\u0068\u006f\u0077\u0044\u0069\u0061\u006c\u006f\u0067"]=![];}else{if(_0xa5fa9f){this["\u0063\u006c\u006f\u0073\u0065\u0044\u0069\u0061\u006c\u006f\u0067"]();this["\u0024\u0065\u006d\u0069\u0074"](_0x831af["\u0045\u0056\u0052\u0047\u0066"],this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]);}}});}}};
3
- export default modules
1
+ let modules = {};
2
+ modules = {
3
+ name: "preformDialog",
4
+ data() {
5
+ return {
6
+ showDialog: true,
7
+ formData: {
8
+ logContent: null
9
+ }
10
+ }
11
+ },
12
+ methods: {
13
+ closeDialog() {
14
+ this.$emit("update:visiable", false);
15
+ this.showDialog = false;
16
+ },
17
+ confirmDialog() {
18
+ this.$refs.editForm.$baseValidate(valid => {
19
+ if (valid) {
20
+ this.closeDialog();
21
+ this.$emit("confirm", this.formData);
22
+ }
23
+ });
24
+
25
+ }
26
+ }
27
+ }
28
+ export default modules