super-pages 0.0.6-up → 0.0.8-up

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 (54) hide show
  1. package/lib/super-pages.js +1 -1
  2. package/lib/super-pages.umd.cjs +1 -1
  3. package/package.json +12 -2
  4. package/index.html +0 -13
  5. package/packages/index.js +0 -30
  6. package/packages/super-page/index.js +0 -9
  7. package/packages/super-page/src/button-group.vue +0 -294
  8. package/packages/super-page/src/chart-page.vue +0 -215
  9. package/packages/super-page/src/chart-query-page.vue +0 -163
  10. package/packages/super-page/src/common-form-page.vue +0 -594
  11. package/packages/super-page/src/export-form-report-dialog.vue +0 -145
  12. package/packages/super-page/src/form-head.vue +0 -74
  13. package/packages/super-page/src/form-page.vue +0 -107
  14. package/packages/super-page/src/group-tag.vue +0 -21
  15. package/packages/super-page/src/list-page.vue +0 -1453
  16. package/packages/super-page/src/list-toolbar-dynamic-source.vue +0 -89
  17. package/packages/super-page/src/list-toolbar-page.vue +0 -377
  18. package/packages/super-page/src/my-button-base.vue +0 -438
  19. package/packages/super-page/src/my-button.vue +0 -196
  20. package/packages/super-page/src/page-custom-component.vue +0 -56
  21. package/packages/super-page/src/remove-signer-dialog.vue +0 -103
  22. package/packages/super-page/src/sub-tab-page.vue +0 -79
  23. package/packages/super-page/src/super-page-component.vue +0 -86
  24. package/packages/super-page/src/super-page.vue +0 -162
  25. package/packages/super-page/src/tab-page.vue +0 -154
  26. package/packages/super-page/src/task-informition-dialog.vue +0 -82
  27. package/packages/super-page/src/util/ListButtonEvent.js +0 -896
  28. package/packages/super-page/src/util/api.js +0 -37
  29. package/packages/super-page/src/util/callEvents.js +0 -62
  30. package/packages/super-page/src/util/chartButtonEvent.js +0 -60
  31. package/packages/super-page/src/util/common-util.js +0 -102
  32. package/packages/super-page/src/util/commonButtonEvent.js +0 -70
  33. package/packages/super-page/src/util/eventBus.js +0 -8
  34. package/packages/super-page/src/util/formButtonEvent.js +0 -509
  35. package/packages/super-page/src/util/store.js +0 -3
  36. package/packages/super-page/src/util/super-page.js +0 -29
  37. package/packages/super-page/src/util/util.js +0 -1491
  38. package/packages/super-page/src/util/workflowButtonEvent.js +0 -1729
  39. package/packages/super-page/src/widget-col-page.vue +0 -339
  40. package/packages/super-page/src/widget-page.vue +0 -703
  41. package/packages/super-page/src/widget-sub-tab-pane-page.vue +0 -115
  42. package/packages/super-page/src/widget-tab-pane-page.vue +0 -135
  43. package/packages/super-page/src/workflow-button-group.vue +0 -561
  44. package/packages/super-page/src/workflow-form-page.vue +0 -1310
  45. package/packages/super-page-dialog/index.js +0 -9
  46. package/packages/super-page-dialog/src/super-page-dialog.vue +0 -200
  47. package/packages/utils/gogocodeTransfer.js +0 -59
  48. package/public/vite.svg +0 -1
  49. package/src/i18n/i18n.js +0 -16
  50. package/src/i18n/langs/cn.js +0 -65
  51. package/src/i18n/langs/en.js +0 -68
  52. package/src/styles/index.scss +0 -4
  53. package/src/utils/common-util.js +0 -9
  54. package/vite.config.js +0 -36
@@ -1,594 +0,0 @@
1
- <template>
2
- <div>
3
- <template v-if="isShowForm">
4
- <button-group
5
- v-if="
6
- isShowBuuton &&
7
- buttoGroups &&
8
- refreshButton &&
9
- colSetting.options.buttonGroup.length > 0
10
- "
11
- :button-groups="buttoGroups"
12
- :permission-prefix="permissionPrefix"
13
- :table-name="tableName"
14
- :button-area-custom-component-arr="
15
- colSetting.options.buttonAreaCustomComponentArr
16
- "
17
- :class="
18
- formButtonPosition === 'topLeft'
19
- ? 'button-at-top'
20
- : 'button-at-bottom'
21
- "
22
- position="form"
23
- :form-button-position="formButtonPosition"
24
- :page-code="pageCode"
25
- :get-form-data="saveFormData"
26
- :form-data-fun="getFormData"
27
- @refresh="refreshForm"
28
- @click="clickCommonFormButton"
29
- @prohibi-edit="fnProhibitToEdit"
30
- @refreshFrom="clickRefreshFrom"
31
- />
32
- <form-head
33
- v-if="formTitle || formNo || formNoLabel"
34
- :form-button-position="formButtonPosition"
35
- :form-title="formTitle"
36
- :form-no="formNo"
37
- :form-no-label="formNoLabel"
38
- />
39
-
40
- <template v-if="formViewId">
41
- <!--自定义系统默认新建、修改表单数据时-->
42
-
43
- <super-form
44
- v-if="isInitDscFormData"
45
- ref="superForm"
46
- :form-view-id="formViewId"
47
- :path-query="pathQuery"
48
- :is-page-info="
49
- isPreview ? isPreview : pageDevMode ? pageDevMode : false
50
- "
51
- :tab-code="tabCode"
52
- :form-button-position="formButtonPosition"
53
- :value="formData ? formData : {}"
54
- :options="formOptions"
55
- @update-value="updateSetValues"
56
- @shou-button="reviewButton"
57
- @change-grid-rows-per-page="changeSubTablePageSize"
58
- />
59
- <!--根据urlForView查看表单数据时-->
60
- <super-form
61
- v-else
62
- ref="superForm"
63
- :form-view-id="formViewId"
64
- :path-query="pathQuery"
65
- :is-page-info="
66
- isPreview ? isPreview : pageDevMode ? pageDevMode : false
67
- "
68
- :tab-code="tabCode"
69
- :form-button-position="formButtonPosition"
70
- :options="formOptions"
71
- @update-value="updateSetValues"
72
- @shou-button="reviewButton"
73
- @change-grid-rows-per-page="changeSubTablePageSize"
74
- />
75
- </template>
76
- <template v-else>
77
- <super-form
78
- ref="superForm"
79
- :form-view-code="formViewCode"
80
- :form-view-version="formViewVersion"
81
- :is-page-info="
82
- isPreview ? isPreview : pageDevMode ? pageDevMode : false
83
- "
84
- :tab-code="tabCode"
85
- :form-button-position="formButtonPosition"
86
- :value="formData ? formData : {}"
87
- :options="formOptions"
88
- @update-value="updateSetValues"
89
- @shou-button="reviewButton"
90
- @change-grid-rows-per-page="changeSubTablePageSize"
91
- />
92
- </template>
93
- </template>
94
- <super-page-dialog
95
- v-if="isShowPageDialog"
96
- :preview="isPreview"
97
- :dev-mode="pageDevMode"
98
- :jump-page-setting="jumpPageSetting"
99
- @update-value="updateValues"
100
- @close="closeInPage"
101
- />
102
- </div>
103
- </template>
104
-
105
- <script>
106
- import Util from './util/util'
107
- import * as Vue from 'vue'
108
- import ButtonGroup from './button-group'
109
- import formHead from './form-head'
110
- import buttonEvents from './util/formButtonEvent'
111
- import callEvents from './util/callEvents'
112
- import apis from './util/api'
113
- import { getStoreInfo, setStoreInfo } from './util/common-util'
114
- import eventBus from './util/eventBus'
115
- import {
116
- getSystemBackendUrl,
117
- isPromise,
118
- } from 'imatrix-ui/src/utils/common-util'
119
- export default {
120
- name: 'CommonFormPage',
121
- components: {
122
- ButtonGroup,
123
- formHead,
124
- },
125
- props: {
126
- // 表单布局配置
127
- colSetting: {
128
- type: Object,
129
- default: null,
130
- },
131
- // 表单页面修改记录时记录id
132
- dataId: {
133
- type: Number,
134
- default: null,
135
- },
136
- // 页面编码
137
- pageCode: {
138
- type: String,
139
- default: null,
140
- },
141
- // 页签编码
142
- tabCode: {
143
- type: String,
144
- default: null,
145
- },
146
- },
147
- data() {
148
- // 实体类名,首字母小写
149
- const entityName = this.colSetting.baseSetting.modelDataTableEntityName
150
- const beanName = this.colSetting.baseSetting.beanName
151
- const system = getStoreInfo(this.pageCode, '_systemInfo')
152
- const isSqlQuery = getStoreInfo(this.pageCode, '_pageIsDsc')
153
- const pageCode = getStoreInfo(this.pageCode, '_pageCode')
154
- const pathQuery = getStoreInfo(this.pageCode, '_pathQuery')
155
- let isPreview = getStoreInfo(this.pageCode, '_pagePreview')
156
- if (isPreview === undefined) {
157
- isPreview = false
158
- }
159
- let pageDevMode = getStoreInfo(this.pageCode, '_pageDevMode')
160
- if (pageDevMode === null || pageDevMode === undefined) {
161
- pageDevMode = false
162
- }
163
- let permissionPrefix
164
- if (system) {
165
- permissionPrefix =
166
- system.code +
167
- '.' +
168
- pageCode +
169
- '.' +
170
- this.colSetting.baseSetting.componentCode
171
- }
172
- let buttoGroups = this.colSetting.options.buttonGroup
173
- if (!buttoGroups) {
174
- buttoGroups = []
175
- }
176
- // buttoGroups.push(this.getBackButton())
177
- let formNoRuleCode = ''
178
- if (this.colSetting.options && this.colSetting.options.formNoRuleCode) {
179
- formNoRuleCode = this.colSetting.options.formNoRuleCode
180
- }
181
- let isBatchProcessing = false
182
- if (this.colSetting.options && this.colSetting.options.isBatchProcessing) {
183
- isBatchProcessing = this.colSetting.options.isBatchProcessing
184
- }
185
- const pageHeight = getStoreInfo(this.pageCode, '_pageHeight')
186
- const formOptions = {
187
- isSql: isSqlQuery,
188
- pageCode: this.pageCode,
189
- pageHeight: pageHeight,
190
- }
191
- const isView = this.isViewDetail()
192
- if (isView) {
193
- // 查看详情页面中控制所有字段禁止编辑
194
- formOptions.fieldPermissions = [{ name: 'all_fields', canEdit: false }]
195
- }
196
- formOptions.devMode = pageDevMode
197
- let formViewVersion = null
198
- if (this.colSetting.baseSetting.modelVersion) {
199
- formViewVersion = parseInt(this.colSetting.baseSetting.modelVersion)
200
- }
201
- const formViewCode = this.colSetting.baseSetting.modelCode
202
- // 表单事件集合
203
- let formEvents = []
204
- const pageEvents = getStoreInfo(this.pageCode, '_pageEvents')
205
- if (pageEvents) {
206
- formEvents = pageEvents.formEvents
207
- }
208
- formOptions.events = this.packageFormEvents(formViewCode)
209
- let formButtonPosition = getStoreInfo(
210
- getStoreInfo(this.pageCode, '_pageCode'),
211
- '_formButtonPosition'
212
- )
213
- if (!formButtonPosition) {
214
- formButtonPosition = 'topLeft'
215
- }
216
- return {
217
- formViewCode,
218
- formViewVersion,
219
- tableName: this.colSetting.baseSetting.modelDataTableCode,
220
- entityName: entityName,
221
- beanName,
222
- formTitle: this.colSetting.baseSetting.formTitle, // 表单标题
223
- formOptions,
224
- urlForView: this.colSetting.options.urlForView, // 查看表单url
225
- formData: null, // 表单数据
226
- isShowForm: false, // 是否显示表单
227
- formViewId: null, // 表单id
228
- isInitDscFormData: false, // 是否是自定义系统数据
229
- permissionPrefix,
230
- system,
231
- buttoGroups,
232
- isSqlQuery,
233
- formNoRuleCode, // 表单编号规则定义的编号
234
- judgeHeavyList: this.colSetting.options.judgeHeavyList, // 判重组合字段配置
235
- notIdInitializationList: this.colSetting.options.notIdInitializationList, // 无id或taskId时初始化配置
236
- formNo: null, // 根据表单编码规则生成的表单编码
237
- formNoLabel: this.colSetting.baseSetting.formNoLabel, // 表单编号名称
238
- isPreview, // 是否是预览页面
239
- additionalParamMap: null, // 解析完的附加参数
240
- dataTypeMap: null, // 数据类型map集合,key为字段名,value为字段类型,优化保存速度
241
- formEvents,
242
- pathQuery,
243
- pageDevMode,
244
- refreshButton: true,
245
- ids: null,
246
- isBatchProcessing, // 是否是批量处理
247
- isShowPageDialog: false, // 是否显示弹框页面
248
- jumpPageSetting: null, // 弹框页面的设置信息
249
- customEvents: pageEvents ? pageEvents.customEvents : null,
250
- isShowBuuton: true,
251
- formButtonPosition,
252
- pageType: 'form', // 页面类型
253
- subTablePageInfo: {}, // 表单子表每页显示多少条件记录
254
- }
255
- },
256
- watch: {
257
- jumpPageSetting: {
258
- deep: true,
259
- handler(jumpPageSetting) {
260
- if (jumpPageSetting && jumpPageSetting !== null) {
261
- const that = this
262
- eventBus.$on(
263
- jumpPageSetting.pageCode + '-close-dialog',
264
- (pageCode, successOperation, popEntity, popPageCode) => {
265
- if (pageCode === jumpPageSetting.pageCode) {
266
- that.closeInPageEvent(
267
- popEntity,
268
- popPageCode,
269
- successOperation,
270
- that
271
- )
272
- }
273
-
274
- // 关闭事件
275
- eventBus.$off(pageCode + '-close-dialog')
276
- }
277
- )
278
- }
279
- },
280
- },
281
- },
282
- created() {
283
- // 获得获取表单内容url
284
- this.getRealUrlForView()
285
-
286
- const additionalParamMap = getStoreInfo(this.pageCode, 'additionalParamMap')
287
- if (additionalParamMap) {
288
- this.additionalParamMap = additionalParamMap
289
- this.formOptions.additionalParamMap = additionalParamMap
290
- // console.log('common-form-page已获取到附加参数', additionalParamMap)
291
- }
292
- if (this.pathQuery && this.pathQuery.ids && this.pathQuery.ids !== '') {
293
- if (typeof this.pathQuery.ids === 'string') {
294
- this.ids = this.pathQuery.ids.split(',')
295
- } else if (typeof this.pathQuery.ids === 'object') {
296
- this.ids = this.pathQuery.ids
297
- }
298
- }
299
- // 初始化自定义系统表单数据
300
- this.initDscFormData()
301
- const that = this
302
- eventBus.$on(
303
- this.pageCode + '-close-component-page-dialog',
304
- (jumpInfo, popEntity, popPageCode) => {
305
- console.log(
306
- 'closeFormPageDialog------',
307
- jumpInfo,
308
- popEntity,
309
- popPageCode
310
- )
311
- that.closeFormPageDialog(jumpInfo, that, popEntity, popPageCode)
312
- }
313
- )
314
- // 关闭弹框事件回调使用
315
- eventBus.$on(this.pageCode + '_close-dialog-get-entity', () => {
316
- eventBus.$emit(that.pageCode + '_close-super-dialog', that.formData)
317
- })
318
-
319
- // // TODO:刷新指定页签的表单数据。暂时没有该需求,后面有这个需求再实现
320
- // eventBus.$on(that.pageCode + '-refresh-tab', (tabCode, entity) => {
321
- // if (that.$refs.superForm && tabCode !== undefined && tabCode === that.tabCode && entity) {
322
- // that.$refs.superForm.refresh(entity)
323
- // }
324
- // })
325
- },
326
- beforeUnmount() {
327
- eventBus.$off(this.pageCode + '-close-form-page-dialog')
328
- eventBus.$off(this.pageCode + '_close-dialog-get-entity')
329
- eventBus.$off(this.pageCode + '-close-component-page-dialog')
330
- // eventBus.$off(this.pageCode + '-refresh-tab')
331
- },
332
- methods: {
333
- ...Util,
334
- ...buttonEvents,
335
- ...callEvents,
336
- ...apis,
337
- updateSetValues(soureModel, sourceTableName, targetRowIndex) {
338
- this.$emit('update-value', soureModel, sourceTableName, targetRowIndex)
339
- },
340
- clickCommonFormButton(button) {
341
- console.log('---clickCommonFormButton', button)
342
- if (this.isPreview) {
343
- return
344
- }
345
- if (button) {
346
- if (button.code === 'downloadTemplate') {
347
- this.downloadTemplate(this.system, button, this.tableName)
348
- return
349
- }
350
- // 是否启用必填验证
351
- let isEnableRequired = true
352
- if (typeof button.isRequired !== 'undefined') {
353
- isEnableRequired = button.isRequired
354
- }
355
- if (
356
- typeof button.isRequired === 'undefined' &&
357
- (button.code === 'back' || button.code === 'exportForm')
358
- ) {
359
- // 返回、导出报告按钮不验证表单
360
- isEnableRequired = false
361
- }
362
- this.saveFormData(isEnableRequired).then(async (model) => {
363
- let beforeClickResult = this.callBeforeClickButton(
364
- this.formEvents,
365
- this.formViewCode + '__' + button.code,
366
- {
367
- params: this.additionalParamMap,
368
- additionalParamMap: this.additionalParamMap,
369
- entity: model,
370
- button: button,
371
- formNoRuleCode: this.formNoRuleCode,
372
- subTablePageInfo: this.subTablePageInfo,
373
- }
374
- )
375
- console.log('点击前事件返回结果-------', beforeClickResult)
376
- if (isPromise(beforeClickResult)) {
377
- await beforeClickResult.then((result) => {
378
- console.log('点击前事件返回结果--Promise--resolve---', result)
379
- beforeClickResult = result
380
- })
381
- }
382
- if (!beforeClickResult) {
383
- // 返回值为false,不继续执行按钮操作
384
- return
385
- }
386
- if (isPromise(beforeClickResult)) {
387
- beforeClickResult.then((result) => {
388
- if (result) {
389
- this.clickCommonFormButtonSuccess(button, model)
390
- }
391
- })
392
- } else {
393
- this.clickCommonFormButtonSuccess(button, model)
394
- }
395
- })
396
- }
397
- },
398
- clickCommonFormButtonSuccess(button, model) {
399
- // 是否可执行
400
- this.canExecute(
401
- button.executableData,
402
- model,
403
- this.isSqlQuery,
404
- this.tableName,
405
- this.additionalParamMap
406
- ).then((result) => {
407
- if (result.canExecute === true) {
408
- // 表示可执行条件返回结果为true
409
- const entities = result.entities
410
- if (entities && entities.length > 0) {
411
- model = entities[0]
412
- }
413
- let jsContent = false
414
- if (button && typeof button.jsContent !== 'undefined') {
415
- jsContent = button.jsContent
416
- }
417
- const needDeleteFileUuidS = this.getNeedDeleteFileUuidS()
418
- this.clickFormButton(
419
- button,
420
- this.system,
421
- this.formViewCode,
422
- this.formViewVersion,
423
- this.tableName,
424
- model,
425
- this.entityName,
426
- jsContent,
427
- this.formNoRuleCode,
428
- this.ids,
429
- this.isBatchProcessing,
430
- needDeleteFileUuidS,
431
- this.additionalParamMap,
432
- this.beanName
433
- )
434
- }
435
- })
436
- },
437
- // 获取需要删除的附件
438
- getNeedDeleteFileUuidS() {
439
- if (this.$refs.superForm) {
440
- return this.$refs.superForm.getNeedDeleteFileUuid()
441
- }
442
- },
443
- // 获得获取表单内容url
444
- getRealUrlForView() {
445
- if (this.urlForView) {
446
- this.formOptions.urlForView = this.getRealRestApiPath(
447
- this.urlForView.url,
448
- this.system
449
- )
450
- }
451
- },
452
- // 初始化自定义系统表单数据
453
- initDscFormData() {
454
- if (
455
- (!this.system || this.system.standard === false) &&
456
- (!this.urlForView || !this.urlForView.url)
457
- ) {
458
- // 表示自定义系统,并且没有配置路径
459
- // 表示是普通表单
460
- this.getDscFormData()
461
- } else {
462
- // 获得最高版本表单id
463
- this.getHighestFormViewId()
464
- }
465
- },
466
- // 保存表单内容并获得表单内容
467
- saveFormData(isEnableRequired) {
468
- const that = this
469
- return new Promise((resolve, reject) => {
470
- if (that.$refs.superForm) {
471
- that.$refs.superForm.getModels(isEnableRequired).then((model) => {
472
- // console.log('表单数据=', model)
473
- // 移除验证失败字段名,否则会造成后台保存失败
474
- if (Object.keys(model).indexOf('validateErrorField') >= 0) {
475
- delete model.validateErrorField
476
- }
477
- resolve(model)
478
- })
479
- } else {
480
- resolve()
481
- }
482
- })
483
- },
484
- // 修改时获得自定义表单数据
485
- getDscFormData() {
486
- const backendUrl = getSystemBackendUrl(this.system.backendUrl)
487
- console.log('this.ids ', this.ids)
488
- const urlForView = backendUrl + '/dsc/commons/gets'
489
- const param = {
490
- formViewCode: this.formViewCode,
491
- tableName: this.tableName,
492
- formNoRuleCode: this.formNoRuleCode,
493
- id: this.dataId,
494
- systemCode: this.system.code,
495
- functionCode: this.permissionPrefix + '.get',
496
- }
497
- if (!param.id && sessionStorage.getItem(this.$route.query._t_) && sessionStorage.getItem(this.$route.query._t_ + '_id')) {
498
- param.id = sessionStorage.getItem(this.$route.query._t_ + '_id')
499
- }
500
- if (this.ids) {
501
- param.ids = this.ids
502
- }
503
- if (this.notIdInitializationList) {
504
- param.noIdAndTaskIdInitSetting = JSON.stringify(
505
- this.notIdInitializationList
506
- )
507
- }
508
- if (this.additionalParamMap) {
509
- param.additionalParamMap = JSON.parse(
510
- JSON.stringify(this.additionalParamMap)
511
- )
512
- }
513
- if (this.entityName) {
514
- param.entityName = this.entityName
515
- }
516
- if (this.beanName) {
517
- param.beanName = this.beanName
518
- }
519
- if (this.pathQuery && this.pathQuery.taskId) {
520
- param.taskId = this.pathQuery.taskId
521
- }
522
- if (urlForView) {
523
- this.isShowForm = false
524
- this.$http.post(urlForView, param).then((formParam) => {
525
- if (formParam) {
526
- this.formData = formParam.entity
527
- // 获得表单编码规则解析结果
528
- this.formNo = formParam.formNo
529
- setStoreInfo(this.pageCode, '_formData', this.formData)
530
- this.formViewId = formParam.formViewId
531
- if (this.dataId) {
532
- // 是否是新建表单
533
- setStoreInfo(this.pageCode, '_isCreateformData', false)
534
- } else {
535
- setStoreInfo(this.pageCode, '_isCreateformData', true)
536
- }
537
- this.dataTypeMap = formParam.dataTypeMap
538
- }
539
-
540
- this.isShowForm = true
541
- this.isInitDscFormData = true
542
- })
543
- }
544
- },
545
- // 新建时获得最高版本表单
546
- getHighestFormViewId() {
547
- const url =
548
- window.$vueApp.config.globalProperties.baseAPI +
549
- '/component/super-pages/forms/' +
550
- this.formViewCode
551
- this.isShowForm = false
552
- this.$http.get(url).then((formViewId) => {
553
- this.formViewId = formViewId
554
- this.isShowForm = true
555
- })
556
- },
557
- getFormData() {
558
- if (this.$refs.superForm) {
559
- return this.$refs.superForm.getFormData()
560
- }
561
- },
562
- fnProhibitToEdit(entity) {
563
- console.log('this.$refs.superForm', this.$refs.superForm)
564
- if (this.$refs.superForm) {
565
- return this.$refs.superForm.fnProhibitToEdit(entity)
566
- }
567
- },
568
- refresMainTableFields(entity) {
569
- console.log('this.$refs.superForm', this.$refs.superForm)
570
- if (this.$refs.superForm) {
571
- this.reviewButton(entity)
572
- return this.$refs.superForm.refresMainTableFields(entity)
573
- }
574
- },
575
- clickRefreshFrom(entity) {
576
- let dataId
577
- if (entity.id) {
578
- dataId = entity.id
579
- } else if (entity.ID) {
580
- dataId = entity.ID
581
- }
582
- if (dataId) {
583
- this.getDscFormData()
584
- } else {
585
- this.refreshForm(entity)
586
- }
587
- },
588
- closePageDialog() {
589
- eventBus.$emit(this.pageCode + '_close-super-dialog')
590
- },
591
- },
592
- emits: [, 'update-value'],
593
- }
594
- </script>