cloud-web-corejs 1.0.258 → 1.0.259

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 (248) hide show
  1. package/package.json +32 -25
  2. package/src/components/VabUpload/fileLibraryDialog.vue +296 -0
  3. package/src/components/VabUpload/index.js +22 -2
  4. package/src/components/VabUpload/index.vue +242 -231
  5. package/src/components/VabUpload/mixins/fileLibraryDialog.js +1112 -0
  6. package/src/components/VabUpload/mixins.js +1971 -1829
  7. package/src/components/VabUpload/privateProfileDialog.vue +2 -2
  8. package/src/components/baseArea/index.vue +1628 -0
  9. package/src/components/baseInputExport/mixins.js +48 -31
  10. package/src/components/baseInputNumber/index.vue +9 -9
  11. package/src/components/baseTabs/index.vue +16 -8
  12. package/src/components/code-editor/async.js +29 -0
  13. package/src/components/code-editor/index.vue +93 -4
  14. package/src/components/errorMsg/index.js +10 -9
  15. package/src/components/errorMsg/mixins.js +25 -23
  16. package/src/components/excelExport/exportFieldDialog.vue +40 -18
  17. package/src/components/excelExport/index.js +62 -3
  18. package/src/components/excelExport/index.vue +2 -1
  19. package/src/components/excelExport/mixins.js +496 -340
  20. package/src/components/excelImport/index.js +69 -7
  21. package/src/components/excelImport/mixins.js +841 -9
  22. package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
  23. package/src/components/fileLibrary/fileHistoryDialog.vue +1 -1
  24. package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -298
  25. package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
  26. package/src/components/fileLibrary/filterDialog.vue +1 -1
  27. package/src/components/fileLibrary/index.vue +1109 -1110
  28. package/src/components/fileLibrary/mixins/indexMixins.js +10 -0
  29. package/src/components/fileLibrary/propertiesDialog.vue +190 -190
  30. package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
  31. package/src/components/formOplog/mixins.js +85 -80
  32. package/src/components/hiprint/view/design/index.vue +7 -2
  33. package/src/components/jsonImport/exportUtil.js +106 -0
  34. package/src/components/jsonImport/index.js +75 -50
  35. package/src/components/jsonImport/mixins.js +350 -348
  36. package/src/components/langImport/mixins.js +502 -500
  37. package/src/components/micro-view-host/contract.js +66 -0
  38. package/src/components/micro-view-host/index.vue +148 -0
  39. package/src/components/mobile/file/index.vue +10 -0
  40. package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +51 -47
  41. package/src/components/obsUpload/index.vue +234 -231
  42. package/src/components/obsUpload/mixins.js +1542 -1476
  43. package/src/components/onlineTalk/talkUserDialog.vue +1 -1
  44. package/src/components/table/CellSlot.vue +12 -10
  45. package/src/components/table/config.js +74 -1
  46. package/src/components/table/index.js +1208 -1
  47. package/src/components/table/tableFormMixin.js +285 -1
  48. package/src/components/table/util/index.js +38 -40
  49. package/src/components/table/vxeFilter/index.js +153 -2
  50. package/src/components/table/vxeFilter/mixin.js +305 -3
  51. package/src/components/tempStorage/tempStorageDialog.vue +1 -1
  52. package/src/components/vb-tabs/x-tabs.vue +10 -5
  53. package/src/components/wf/addTaskUserdialog.vue +1 -1
  54. package/src/components/wf/mixins/setCandidateDialog.js +217 -217
  55. package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
  56. package/src/components/wf/wf.js +2224 -2203
  57. package/src/components/wf/wfUtil.js +2 -1
  58. 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" +173 -0
  59. package/src/components/xform/form-designer/designer.js +1 -0
  60. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +110 -1
  61. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +282 -1
  62. package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -0
  63. package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +119 -0
  64. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +14 -0
  65. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +18 -73
  66. package/src/components/xform/form-designer/form-widget/field-widget/mixins/autocomplete-mixin.js +451 -0
  67. package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +157 -0
  68. package/src/components/xform/form-designer/form-widget/field-widget/mixins/utc-transform-mixin.js +75 -0
  69. package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +112 -0
  70. package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +149 -0
  71. package/src/components/xform/form-designer/form-widget/indexMixin.js +179 -1
  72. package/src/components/xform/form-designer/indexMixin.js +823 -1
  73. package/src/components/xform/form-designer/refMixinDesign.js +27 -1
  74. package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +241 -0
  75. package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +601 -0
  76. package/src/components/xform/form-designer/setting-panel/form-setting.vue +6 -0
  77. package/src/components/xform/form-designer/setting-panel/index.vue +314 -309
  78. package/src/components/xform/form-designer/setting-panel/indexMixin.js +324 -1
  79. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +8 -7
  80. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +8 -7
  81. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +344 -0
  82. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +2 -2
  83. package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +25 -0
  84. package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaMinLevel-editor.vue +50 -0
  85. package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +20 -0
  86. package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +199 -0
  87. package/src/components/xform/form-designer/setting-panel/property-editor/field-baseAttachment/baseAttachment-fileTypes-editor.vue +23 -0
  88. package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/showAllLevels-editor.vue +21 -0
  89. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
  90. package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +55 -0
  91. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/vabUpload-fileTypes-editor.vue +23 -0
  92. package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesEditorMixin.js +116 -0
  93. package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesSelect.vue +176 -0
  94. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +3 -3
  95. package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +19 -0
  96. package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +186 -0
  97. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +566 -1
  98. package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
  99. package/src/components/xform/form-render/compareDelList.vue +83 -0
  100. package/src/components/xform/form-render/compareView.vue +76 -0
  101. package/src/components/xform/form-render/container-item/containerItemMixin.js +378 -1
  102. package/src/components/xform/form-render/container-item/data-table-mixin.js +35 -0
  103. package/src/components/xform/form-render/container-item/detail-item.vue +41 -0
  104. package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +285 -0
  105. package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +416 -0
  106. package/src/components/xform/form-render/container-item/list-h5-item.vue +12 -0
  107. package/src/components/xform/form-render/dynamicDialogRender.js +195 -1
  108. package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
  109. package/src/components/xform/form-render/formDynamicFieldMixin.js +131 -0
  110. package/src/components/xform/form-render/refMixin.js +29 -1
  111. package/src/components/xform/mixins/scriptHttp.js +172 -1
  112. package/src/components/xform/utils/dynamicSchemaUtil.js +361 -0
  113. package/src/components/xform/utils/tableCellValidateUtil.js +148 -0
  114. package/src/components/xform/utils/textMaskUtil.js +179 -0
  115. package/src/components/xform/utils/treeTableUtil.js +1265 -0
  116. package/src/components/xform/utils/util.js +1 -0
  117. package/src/components/xform/utils/validators.js +133 -1
  118. package/src/directive/LimitNumber/index.js +143 -124
  119. package/src/microRouter/index.js +447 -0
  120. package/src/mixins/tableTree/index.js +77 -14
  121. package/src/permission.js +132 -107
  122. package/src/public-path.js +38 -0
  123. package/src/router/index.js +3 -3
  124. package/src/store/modules/micro.js +57 -0
  125. package/src/store/modules/permission.js +535 -371
  126. package/src/store/modules/tagsView.js +38 -21
  127. package/src/store/modules/user.js +409 -370
  128. package/src/utils/aes.js +9 -3
  129. package/src/utils/auth.js +1 -1
  130. package/src/utils/componentDialog.js +162 -40
  131. package/src/utils/global.js +35 -34
  132. package/src/utils/index.js +579 -579
  133. package/src/utils/keepAlive.js +8 -4
  134. package/src/utils/lazyPlugin.js +66 -0
  135. package/src/utils/menuAdapter.js +277 -0
  136. package/src/utils/repeatOpen.js +48 -0
  137. package/src/utils/request.js +417 -395
  138. package/src/utils/resolveViewComponent.js +203 -0
  139. package/src/utils/vab.js +14 -3
  140. package/src/utils/validate.js +104 -106
  141. package/src/views/bd/setting/bd_attach_setting/dialog.vue +1 -1
  142. package/src/views/bd/setting/bd_attach_setting/list.vue +1 -1
  143. package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
  144. package/src/views/bd/setting/bd_company_env/list.vue +1 -1
  145. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +488 -489
  146. package/src/views/bd/setting/form_import_log/list.vue +1 -1
  147. package/src/views/bd/setting/form_script/dialog.vue +1 -1
  148. package/src/views/bd/setting/form_script/form_list.vue +174 -166
  149. package/src/views/bd/setting/form_script/list.vue +1 -1
  150. package/src/views/bd/setting/form_script/list1.vue +1 -1
  151. package/src/views/bd/setting/form_script/mixins/form_list.js +330 -322
  152. package/src/views/bd/setting/form_template/dialog.vue +1 -1
  153. package/src/views/bd/setting/form_template/formDesignerDialog.vue +172 -171
  154. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +1 -1
  155. package/src/views/bd/setting/form_template/itemList.vue +1 -1
  156. package/src/views/bd/setting/form_template/list.vue +3 -3
  157. package/src/views/bd/setting/form_template/mixins/edit.js +3 -3
  158. package/src/views/bd/setting/form_template/mixins/list.js +3 -3
  159. package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
  160. package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
  161. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
  162. package/src/views/bd/setting/form_template/wf_list.vue +3 -3
  163. package/src/views/bd/setting/logic_param/edit.vue +20 -20
  164. package/src/views/bd/setting/logic_param/list.vue +1 -1
  165. package/src/views/bd/setting/menu_kind/dialog.vue +1 -1
  166. package/src/views/bd/setting/menu_kind/list.vue +1 -1
  167. package/src/views/bd/setting/push_data/list.vue +1 -1
  168. package/src/views/bd/setting/push_data_h/list.vue +1 -1
  169. package/src/views/bd/setting/request_async_setting/list.vue +1 -1
  170. package/src/views/bd/setting/request_setting/list.vue +1 -1
  171. package/src/views/bd/setting/table_model/dialog.vue +1 -1
  172. package/src/views/bd/setting/table_model/list.vue +1 -1
  173. package/src/views/bd/setting/table_model/zdDialog.vue +1 -1
  174. package/src/views/user/access_log/list.vue +1 -1
  175. package/src/views/user/access_log/list2.vue +1 -1
  176. package/src/views/user/api_request/list.vue +1 -1
  177. package/src/views/user/area/dialog.vue +1 -1
  178. package/src/views/user/area/list.vue +1 -1
  179. package/src/views/user/bill_setting/list.vue +1 -1
  180. package/src/views/user/bill_setting/userDialog.vue +1 -1
  181. package/src/views/user/code_rules/list.vue +1 -1
  182. package/src/views/user/commMenu/index.vue +2 -2
  183. package/src/views/user/common_attribute/list.vue +2 -2
  184. package/src/views/user/common_script/list.vue +1 -1
  185. package/src/views/user/company_info/dialog.vue +1 -1
  186. package/src/views/user/country/dialog.vue +1 -1
  187. package/src/views/user/country/list.vue +1 -1
  188. package/src/views/user/data_type_setting/dialog.vue +1 -1
  189. package/src/views/user/extend_datasource/dialog.vue +4 -1
  190. package/src/views/user/extend_datasource/edit.vue +2 -1
  191. package/src/views/user/extend_datasource/list.vue +4 -1
  192. package/src/views/user/fieldTranslation/list.vue +1 -1
  193. package/src/views/user/field_values_invisible/list.vue +1 -1
  194. package/src/views/user/file_type/list.vue +1 -1
  195. package/src/views/user/file_view_area/list.vue +1 -1
  196. package/src/views/user/file_view_ins/list.vue +22 -1
  197. package/src/views/user/form/view/list.vue +64 -1
  198. package/src/views/user/groups/dialog.vue +1 -1
  199. package/src/views/user/groups/list.vue +1 -1
  200. package/src/views/user/home/default.vue +2 -2
  201. package/src/views/user/home/default2.vue +1158 -1148
  202. package/src/views/user/home/index.vue +3 -10
  203. package/src/views/user/lang_tag/dialog.vue +1 -1
  204. package/src/views/user/lang_tag/list.vue +1 -1
  205. package/src/views/user/language_setting/list.vue +1 -1
  206. package/src/views/user/login/default.vue +0 -8
  207. package/src/views/user/login/indexMixin.js +547 -556
  208. package/src/views/user/menu/list.vue +25 -2
  209. package/src/views/user/menuFallback/index.vue +123 -0
  210. package/src/views/user/mobile_menu/list.vue +1 -1
  211. package/src/views/user/notify_message/dialog.vue +22 -1
  212. package/src/views/user/notify_message/list.vue +1 -1
  213. package/src/views/user/notify_template/list.vue +1 -1
  214. package/src/views/user/notify_template/list2.vue +1 -1
  215. package/src/views/user/oplog/list.vue +1 -1
  216. package/src/views/user/outLink/form_view.vue +5 -14
  217. package/src/views/user/outLink/index.vue +6 -1
  218. package/src/views/user/outLink/view.vue +5 -13
  219. package/src/views/user/position/dialog.vue +1 -1
  220. package/src/views/user/position/list.vue +1 -1
  221. package/src/views/user/project_tag/dialog.vue +1 -1
  222. package/src/views/user/project_tag/list.vue +1 -1
  223. package/src/views/user/push_setting/list.vue +1 -1
  224. package/src/views/user/request_setting/list.vue +1 -1
  225. package/src/views/user/role/dialog.vue +1 -1
  226. package/src/views/user/role/list.vue +1 -1
  227. package/src/views/user/sale_org/dialog.vue +1 -1
  228. package/src/views/user/sale_org/list.vue +1 -1
  229. package/src/views/user/system_notice/list.vue +1 -1
  230. package/src/views/user/system_parameter/list.vue +1 -1
  231. package/src/views/user/user/dialog.vue +1 -1
  232. package/src/views/user/user/edit.vue +306 -159
  233. package/src/views/user/user/form_dialog.vue +1 -1
  234. package/src/views/user/user/form_list.vue +1 -1
  235. package/src/views/user/user/list.vue +2 -2
  236. package/src/views/user/user_log_classify/list.vue +1 -1
  237. package/src/views/user/wf/iframe/index.vue +6 -1
  238. package/src/views/user/wf/iframe/index2.vue +6 -1
  239. package/src/views/user/wf/wfReport/index.vue +12 -6
  240. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -2
  241. package/src/views/user/wf/wf_manage/list.vue +97 -24
  242. package/src/views/user/wf/wf_manage/list2.vue +875 -0
  243. package/src/views/user/wf/wf_manage/wfContentDialog.vue +23 -1
  244. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  245. package/src/views/user/wf/wf_obj_config/list.vue +1 -1
  246. package/src/views/user/wf/wf_obj_config/list_form.vue +1 -1
  247. package/src/views/user/wf/wf_transfer_setting/list.vue +1 -1
  248. package/src/views/user/workbench_menu/list.vue +1 -1
@@ -1,491 +1,490 @@
1
- <template>
2
- <div>
3
- <el-dialog
4
- :title="$t1(title)"
5
- :append-to-body="true"
6
- :modal-append-to-body="true"
7
- :close-on-click-modal="falseValue"
8
- :visible.sync="showDialog"
9
- :modal="falseValue"
10
- custom-class="dialog-style list-dialog dialog-checkbox nopd0"
11
- width="1200px"
12
- @close="dialogClose"
13
- v-el-drag-dialog
14
- v-el-dialog-center
15
- :fullscreen="true"
16
- >
17
- <div
18
- id="containt"
19
- style="height: calc(100vh - 58px); overflow: hidden"
20
- >
21
- <el-tabs ref="xTabs" v-model="activeName" class="tab-box">
22
- <el-tab-pane :label="$t1('详情')" name="first">
23
- <component
24
- :is="editContent"
25
- v-if="showEdit"
26
- visible-key="showEdit"
27
- :hData="hData"
28
- :parent-target="_self"
29
- @reload="$reloadHandle"
30
- @openDesignDialog="openDesingerDialogByChild"
31
- @reverCallback="reverCallback"
32
- ></component>
33
- </el-tab-pane>
34
- <el-tab-pane :label="$t1('列表')" name="second">
35
- <div class="grid-height">
36
- <vxe-grid
37
- ref="table-m1"
38
- v-bind="vxeOption"
39
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
40
- @custom="$vxeTableUtil.customHandle"
41
- >
42
- <template #form>
43
- <div class="clearfix screen-btns">
44
- <div class="fl">
45
- <el-button
46
- type="primary"
47
- icon="el-icon-compare"
48
- class="button-sty"
49
- @click="compare"
50
- >
51
- {{ $t1("对比") }}
52
- </el-button>
53
- </div>
54
- <div class="fr">
55
- <vxe-button
56
- icon="el-icon-brush"
57
- class="button-sty"
58
- @click="resetEvent"
59
- type="text"
60
- status="primary"
61
- plain
62
- >{{ $t1("重置") }}
63
- </vxe-button>
64
- <vxe-button
65
- status="warning"
66
- icon="el-icon-search"
67
- class="button-sty"
68
- @click="searchEvent"
69
- >
70
- {{ $t1("搜索") }}
71
- </vxe-button>
72
- </div>
73
- </div>
74
- <vxe-form
75
- class="screen-box"
76
- title-width="92px"
77
- title-align="right"
78
- :data="formData"
79
- @submit="searchEvent"
80
- @reset="resetEvent"
81
- >
82
- <vxe-form-item :title="$t1('版本号') + ':'">
83
- <template v-slot>
84
- <base-input-number v-model="formData.version" />
85
- </template>
86
- </vxe-form-item>
87
- <vxe-form-item :title="$t1('操作日志') + ':'">
88
- <template v-slot>
89
- <el-input v-model="formData.remark" clearable />
90
- </template>
91
- </vxe-form-item>
92
- <vxe-form-item :title="$t1('创建人') + ':'">
93
- <template v-slot>
94
- <el-input
95
- v-model="formData.createBy"
96
- size="small"
97
- clearable
98
- />
99
- </template>
100
- </vxe-form-item>
101
- <vxe-form-item :title="$t1('更新人') + ':'">
102
- <template v-slot>
103
- <el-input
104
- v-model="formData.modifyBy"
105
- size="small"
106
- clearable
107
- />
108
- </template>
109
- </vxe-form-item>
110
- <vxe-form-item title="创建时间:">
111
- <template v-slot>
112
- <el-date-picker
113
- v-model="formData.startCreateDate"
114
- type="datetime"
115
- placeholder=""
116
- size="small"
117
- clearable
118
- value-format="yyyy-MM-dd HH:mm:ss"
119
- :picker-options="$baseStartPickerOptions(formData.endCreateDate)"
120
- ></el-date-picker>
121
- <span>-</span>
122
- <el-date-picker
123
- v-model="formData.endCreateDate"
124
- type="datetime"
125
- placeholder=""
126
- size="small"
127
- clearable
128
- value-format="yyyy-MM-dd HH:mm:ss"
129
- default-time="23:59:59"
130
- :picker-options="
131
- $baseEndPickerOptions(formData.startCreateDate)
132
- "
133
- ></el-date-picker>
134
- </template>
135
- </vxe-form-item>
136
- <vxe-form-item title="更新时间:">
137
- <template v-slot>
138
- <el-date-picker
139
- v-model="formData.startModifyDate"
140
- type="datetime"
141
- placeholder=""
142
- size="small"
143
- clearable
144
- value-format="yyyy-MM-dd HH:mm:ss"
145
- :picker-options="$baseStartPickerOptions(formData.endModifyDate)"
146
- ></el-date-picker>
147
- <span>-</span>
148
- <el-date-picker
149
- v-model="formData.endModifyDate"
150
- type="datetime"
151
- placeholder=""
152
- size="small"
153
- clearable
154
- value-format="yyyy-MM-dd HH:mm:ss"
155
- default-time="23:59:59"
156
- :picker-options="
157
- $baseEndPickerOptions(formData.startModifyDate)
158
- "
159
- ></el-date-picker>
160
- </template>
161
- </vxe-form-item>
162
- </vxe-form>
163
- </template>
164
- </vxe-grid>
165
- </div>
166
- </el-tab-pane>
167
- </el-tabs>
168
- </div>
169
- <formDesignerDialog
170
- ref="formDesignerDialog"
171
- v-if="showDesingerDialog"
172
- :visiable.sync="showDesingerDialog"
173
- :formName="formName"
174
- :formCode="formCode"
175
- @reflushTemplateList="reflushTemplateList"
176
- :readonly="designerReadonly"
177
- :showFormScript="false"
178
- :historyFlag="true"
179
- :jsonFlag="true"
180
- :formTemplate="currentFormTemplate"
181
- ></formDesignerDialog>
182
- </el-dialog>
183
- <compareDialog
184
- ref="compareDialog"
185
- :objType="objType"
186
- :objCode="objCode"
187
- :relationCode="relationCode"
188
- :preRow="preRow"
189
- :curRow="curRow"
190
- v-if="showCompareDialog"
191
- :visiable.sync="showCompareDialog"
192
- @reverCallback="reverCallback"
193
- ></compareDialog>
194
- </div>
195
- </template>
196
-
197
- <script>
198
- import { selectDialogMixins } from "@base/mixins/selectDialog";
199
-
200
- export default {
201
- name: "ftHistoryDialog",
202
- props: ["visiable", "objType", "objCode", "relationCode"],
203
- mixins: [selectDialogMixins],
204
- components: {
205
- formDesignerDialog: () =>
206
- import("@base/views/bd/setting/form_template/formDesignerDialog.vue"),
207
- compareDialog: () =>
208
- import("@base/views/bd/setting/formVersion/compareDialog.vue"),
209
- FormTemplateEdit: () =>
210
- import("@base/views/bd/setting/form_template/edit.vue"),
211
- FormScriptEdit: () => import("@base/views/bd/setting/form_script/edit.vue"),
212
- FormScriptEdit1: () =>
213
- import("@base/views/bd/setting/form_script/edit1.vue"),
214
- SzTaMbEdit: () => import("@base/views/bd/setting/table_model/edit.vue"),
215
- },
216
- created() {
217
- this.initSetting();
218
- this.initTitle();
219
- },
220
- mounted() {
221
- this.initTableM1();
222
- },
223
- data() {
224
- return {
225
- showEdit: false,
226
- showDialog: true,
227
- falseValue: false,
228
- selectMulti: true,
229
- formData: {},
230
- vxeOption: {},
231
- showSaleOrgDialog: false,
232
- activeName: "second",
233
-
234
- editContent: null,
235
- hData: null,
236
-
237
- formCode: null,
238
- formName: null,
239
- currentFormTemplate: null,
240
- isFullscreen: false,
241
- designerReadonly: false,
242
- showDesingerDialog: false,
243
-
244
- showFormScriptList: false,
245
- formDesTabs: "first",
246
- title: "历史列表",
247
-
248
- showCompareDialog: false,
249
- preRow: null,
250
- curRow: null,
251
- };
252
- },
253
- watch: {
254
- formDesTabs(val) {
255
- if (this.showFormScriptList == false && val == "second") {
256
- this.showFormScriptList = true;
257
- }
258
- },
259
- },
260
- methods: {
261
- getCompareData(row1, row2, callback) {
262
- Promise.all([
263
- this.getFormVersion(row1.id),
264
- this.getFormVersion(row2.id),
265
- ]).then((res) => {
266
- let compareHData1 = res[0].objx;
267
- let compareHData2 = res[1].objx;
268
- callback && callback(compareHData1, compareHData2);
269
- });
270
- },
271
- getFormVersion(id) {
272
- return this.$http({
273
- url: USER_PREFIX + "/formVersion/get",
274
- method: "post",
275
- data: {
276
- id: id,
277
- },
278
- });
279
- },
280
- compare() {
281
- let rows = this.$refs["table-m1"].getCheckboxRecords(true);
282
- if (rows.length != 2) {
283
- this.$message.error("请选择两个版本进行对比");
284
- return;
285
- }
286
-
287
- let row1 = rows[0];
288
- let row2 = rows[1];
289
- let preRow = row1.version > row2.version ? row2 : row1;
290
- let curRow = row1.version > row2.version ? row1 : row2;
291
- this.getCompareData(preRow, curRow, (compareHData1, compareHData2) => {
292
- this.preRow = compareHData1;
293
- this.curRow = compareHData2;
294
- this.showCompareDialog = true;
295
- });
296
- },
297
- initTitle() {
298
- let titleMap = {
299
- FormTemplate: "表单模板历史版本",
300
- FormScript: "逻辑脚本历史版本",
301
- SzTaMb: "数据表历史版本",
302
- };
303
- this.title = titleMap[this.objType];
304
- },
305
- initTableM1() {
306
- let that = this;
307
- let objNameTitleMap = {
308
- FormTemplate: "模板名称",
309
- FormScript: "脚本名称",
310
- SzTaMb: "数据表名称",
311
- };
312
- let objNameTitle = objNameTitleMap[this.objType];
313
- let objCodeTitleMap = {
314
- FormTemplate: "模板编码",
315
- FormScript: "脚本编码",
316
- SzTaMb: "数据表编码",
317
- };
318
- let objCodeTitle = objCodeTitleMap[this.objType];
319
-
320
- let tableOption = {
321
- vue: that,
322
- tableRef: "table-m1",
323
- tableName: "bd_formVersion_dialog-m1",
324
- path: USER_PREFIX + "/formVersion/listPage",
325
- param: () => {
326
- return {
327
- ...this.formData,
328
- objType: this.objType,
329
- objCode: this.objCode,
330
- relationCode: this.relationCode,
331
- };
332
- },
333
- columns: [
334
- { type: "checkbox", width: 48, resizable: false, fixed: "left" },
335
- {
336
- title: this.$t1(objNameTitle),
337
- field: "objName",
338
- width: 150,
339
- fixed: "left",
340
- },
341
- {
342
- title: this.$t1(objCodeTitle),
343
- field: "objCode",
344
- width: 150,
345
- },
346
- {
347
- title: this.$t1("版本号"),
348
- field: "version",
349
- width: 150,
350
- },
351
- {
352
- title: this.$t1("操作日志"),
353
- field: "remark",
354
- width: 150,
355
- },
356
- {
357
- title: this.$t1("创建人"),
358
- field: "_createBy",
359
- width: 150,
360
- },
361
- {
362
- title: this.$t1("创建时间"),
363
- field: "createDate",
364
- width: 150,
365
- },
366
- {
367
- title: this.$t1("更新人"),
368
- field: "_modifyBy",
369
- width: 150,
370
- },
371
- {
372
- title: this.$t1("更新时间"),
373
- field: "modifyDate",
374
- width: 150,
375
- },
376
- {
377
- width: 90,
378
- fixed: "right",
379
- title: "",
380
- sortable: false,
381
- slots: {
382
- default: ({ row }) => {
383
- return [
384
- <div>
385
- <a
386
- href="javascript:void(0);"
387
- class="a-link"
388
- onclick={() => {
389
- this.openEditView(row);
390
- }}
391
- >
392
- <el-tooltip
393
- enterable={false}
394
- effect="dark"
395
- content="查看"
396
- placement="top"
397
- popper-class="tooltip-skin"
398
- >
399
- <i class="el-icon-edit" />
400
- </el-tooltip>
401
- </a>
402
- </div>,
403
- ];
404
- },
405
- },
406
- },
407
- ],
408
- };
409
- this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
410
- that.vxeOption = opts;
411
- });
412
- },
413
- openEditView(row) {
414
- this.$http({
415
- url: USER_PREFIX + "/formVersion/get",
416
- method: "post",
417
- data: {
418
- id: row.id,
419
- },
420
- success: (res) => {
421
- let objx = res.objx;
422
- let hData = JSON.parse(objx.content);
423
- this.hData = hData;
424
- let map = {
425
- FormTemplate: "FormTemplateEdit",
426
- FormScript: "FormScriptEdit",
427
- SzTaMb: "SzTaMbEdit",
428
- };
429
- let scriptTypeMap = {
430
- 0: "FormScriptEdit",
431
- 1: "FormScriptEdit1",
432
- };
433
- if (row.objType === "FormScript") {
434
- this.editContent = scriptTypeMap[hData.scriptType];
435
- } else {
436
- this.editContent = map[row.objType];
437
- }
438
- this.activeName = "first";
439
- this.$openEditView("showEdit");
440
- },
441
- });
442
- },
443
- rever(row) {},
444
- openDesingerDialog(row, callback, readonly = false) {
445
- this.formCode = row.formCode;
446
- this.formName = row.formName + " - " + row.version;
447
- this.currentFormTemplate = row;
448
- this.isFullscreen = false;
449
-
450
- this.designerReadonly = readonly;
451
- this.showDesingerDialog = true;
452
- this.designerSaveCallback = callback ?? null;
453
- },
454
- openDesingerDialogByChild({ row, readonly, callback }) {
455
- this.openDesingerDialog(row, callback, readonly);
456
- },
457
- reflushTemplateList() {
458
- this.searchEvent();
459
- this.designerSaveCallback && this.designerSaveCallback();
460
- },
461
- handleFullscreen() {
462
- let isFullscreen = this.isFullscreen;
463
- if (!isFullscreen) {
464
- indexUtil.addClass(document.body, "hideMenu");
465
- } else {
466
- indexUtil.removeClass(document.body, "hideMenu");
467
- }
468
- this.isFullscreen = !isFullscreen;
469
- },
470
- handleFormDesignClose() {
471
- this.formDesTabs = "first";
472
- this.showFormScriptList = false;
473
- },
474
- reverCallback() {
475
- this.$emit("reverCallback");
476
- this.dialogClose();
477
- },
478
- },
479
- };
480
- </script>
1
+ <template>
2
+ <div>
3
+ <el-dialog
4
+ :title="$t1(title)"
5
+ :append-to-body="true"
6
+ :modal-append-to-body="true"
7
+ :close-on-click-modal="falseValue"
8
+ :visible.sync="showDialog"
9
+ :modal="falseValue"
10
+ custom-class="dialog-style list-dialog dialog-checkbox nopd0"
11
+ width="1200px"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ :fullscreen="true"
16
+ >
17
+ <div
18
+ id="containt"
19
+ style="height: calc(100vh - 58px); overflow: hidden"
20
+ >
21
+ <el-tabs ref="xTabs" v-model="activeName" class="tab-box">
22
+ <el-tab-pane :label="$t1('详情')" name="first">
23
+ <component
24
+ :is="editContent"
25
+ v-if="showEdit"
26
+ visible-key="showEdit"
27
+ :hData="hData"
28
+ :parent-target="_self"
29
+ @reload="$reloadHandle"
30
+ @openDesignDialog="openDesingerDialogByChild"
31
+ @reverCallback="reverCallback"
32
+ ></component>
33
+ </el-tab-pane>
34
+ <el-tab-pane :label="$t1('列表')" name="second">
35
+ <div class="grid-height">
36
+ <vxe-grid
37
+ ref="table-m1"
38
+ v-bind="vxeOption"
39
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
40
+ @custom="$vxeTableUtil.customHandle"
41
+ >
42
+ <template #form>
43
+ <div class="clearfix screen-btns">
44
+ <div class="fl">
45
+ <el-button
46
+ type="primary"
47
+ icon="el-icon-compare"
48
+ class="button-sty"
49
+ @click="compare"
50
+ >
51
+ {{ $t1("对比") }}
52
+ </el-button>
53
+ </div>
54
+ <div class="fr">
55
+ <vxe-button
56
+ icon="el-icon-brush"
57
+ class="button-sty"
58
+ @click="resetEvent"
59
+ type="text"
60
+ status="primary"
61
+ plain
62
+ >{{ $t1("刷新") }}
63
+ </vxe-button>
64
+ <vxe-button
65
+ status="warning"
66
+ icon="el-icon-search"
67
+ class="button-sty"
68
+ @click="searchEvent"
69
+ >
70
+ {{ $t1("搜索") }}
71
+ </vxe-button>
72
+ </div>
73
+ </div>
74
+ <vxe-form
75
+ class="screen-box"
76
+ title-width="92px"
77
+ title-align="right"
78
+ :data="formData"
79
+ @submit="searchEvent"
80
+ @reset="resetEvent"
81
+ >
82
+ <vxe-form-item :title="$t1('版本号') + ':'">
83
+ <template v-slot>
84
+ <base-input-number v-model="formData.version" />
85
+ </template>
86
+ </vxe-form-item>
87
+ <vxe-form-item :title="$t1('操作日志') + ':'">
88
+ <template v-slot>
89
+ <el-input v-model="formData.remark" clearable />
90
+ </template>
91
+ </vxe-form-item>
92
+ <vxe-form-item :title="$t1('创建人') + ':'">
93
+ <template v-slot>
94
+ <el-input
95
+ v-model="formData.createBy"
96
+ size="small"
97
+ clearable
98
+ />
99
+ </template>
100
+ </vxe-form-item>
101
+ <vxe-form-item :title="$t1('更新人') + ':'">
102
+ <template v-slot>
103
+ <el-input
104
+ v-model="formData.modifyBy"
105
+ size="small"
106
+ clearable
107
+ />
108
+ </template>
109
+ </vxe-form-item>
110
+ <vxe-form-item title="创建时间:">
111
+ <template v-slot>
112
+ <el-date-picker
113
+ v-model="formData.startCreateDate"
114
+ type="datetime"
115
+ placeholder=""
116
+ size="small"
117
+ clearable
118
+ value-format="yyyy-MM-dd HH:mm:ss"
119
+ :picker-options="$baseStartPickerOptions(formData.endCreateDate)"
120
+ ></el-date-picker>
121
+ <span>-</span>
122
+ <el-date-picker
123
+ v-model="formData.endCreateDate"
124
+ type="datetime"
125
+ placeholder=""
126
+ size="small"
127
+ clearable
128
+ value-format="yyyy-MM-dd HH:mm:ss"
129
+ default-time="23:59:59"
130
+ :picker-options="
131
+ $baseEndPickerOptions(formData.startCreateDate)
132
+ "
133
+ ></el-date-picker>
134
+ </template>
135
+ </vxe-form-item>
136
+ <vxe-form-item title="更新时间:">
137
+ <template v-slot>
138
+ <el-date-picker
139
+ v-model="formData.startModifyDate"
140
+ type="datetime"
141
+ placeholder=""
142
+ size="small"
143
+ clearable
144
+ value-format="yyyy-MM-dd HH:mm:ss"
145
+ :picker-options="$baseStartPickerOptions(formData.endModifyDate)"
146
+ ></el-date-picker>
147
+ <span>-</span>
148
+ <el-date-picker
149
+ v-model="formData.endModifyDate"
150
+ type="datetime"
151
+ placeholder=""
152
+ size="small"
153
+ clearable
154
+ value-format="yyyy-MM-dd HH:mm:ss"
155
+ default-time="23:59:59"
156
+ :picker-options="
157
+ $baseEndPickerOptions(formData.startModifyDate)
158
+ "
159
+ ></el-date-picker>
160
+ </template>
161
+ </vxe-form-item>
162
+ </vxe-form>
163
+ </template>
164
+ </vxe-grid>
165
+ </div>
166
+ </el-tab-pane>
167
+ </el-tabs>
168
+ </div>
169
+ <formDesignerDialog
170
+ ref="formDesignerDialog"
171
+ v-if="showDesingerDialog"
172
+ :visiable.sync="showDesingerDialog"
173
+ :formName="formName"
174
+ :formCode="formCode"
175
+ @reflushTemplateList="reflushTemplateList"
176
+ :readonly="designerReadonly"
177
+ :showFormScript="false"
178
+ :historyFlag="true"
179
+ :jsonFlag="true"
180
+ :formTemplate="currentFormTemplate"
181
+ ></formDesignerDialog>
182
+ </el-dialog>
183
+ <compareDialog
184
+ ref="compareDialog"
185
+ :objType="objType"
186
+ :objCode="objCode"
187
+ :relationCode="relationCode"
188
+ :preRow="preRow"
189
+ :curRow="curRow"
190
+ v-if="showCompareDialog"
191
+ :visiable.sync="showCompareDialog"
192
+ @reverCallback="reverCallback"
193
+ ></compareDialog>
194
+ </div>
195
+ </template>
196
+
197
+ <script>
198
+ import { selectDialogMixins } from "@base/mixins/selectDialog";
199
+
200
+ export default {
201
+ name: "ftHistoryDialog",
202
+ props: ["visiable", "objType", "objCode", "relationCode"],
203
+ mixins: [selectDialogMixins],
204
+ components: {
205
+ formDesignerDialog: () =>
206
+ import("@base/views/bd/setting/form_template/formDesignerDialog.vue"),
207
+ compareDialog: () =>
208
+ import("@base/views/bd/setting/formVersion/compareDialog.vue"),
209
+ FormTemplateEdit: () =>
210
+ import("@base/views/bd/setting/form_template/edit.vue"),
211
+ FormScriptEdit: () => import("@base/views/bd/setting/form_script/edit.vue"),
212
+ FormScriptEdit1: () =>
213
+ import("@base/views/bd/setting/form_script/edit1.vue"),
214
+ SzTaMbEdit: () => import("@base/views/bd/setting/table_model/edit.vue"),
215
+ },
216
+ created() {
217
+ this.initSetting();
218
+ this.initTitle();
219
+ },
220
+ mounted() {
221
+ this.initTableM1();
222
+ },
223
+ data() {
224
+ return {
225
+ showEdit: false,
226
+ showDialog: true,
227
+ falseValue: false,
228
+ selectMulti: true,
229
+ formData: {},
230
+ vxeOption: {},
231
+ showSaleOrgDialog: false,
232
+ activeName: "second",
233
+
234
+ editContent: null,
235
+ hData: null,
236
+
237
+ formCode: null,
238
+ formName: null,
239
+ currentFormTemplate: null,
240
+ isFullscreen: false,
241
+ designerReadonly: false,
242
+ showDesingerDialog: false,
243
+
244
+ showFormScriptList: false,
245
+ formDesTabs: "first",
246
+ title: "历史列表",
247
+
248
+ showCompareDialog: false,
249
+ preRow: null,
250
+ curRow: null,
251
+ };
252
+ },
253
+ watch: {
254
+ formDesTabs(val) {
255
+ if (this.showFormScriptList == false && val == "second") {
256
+ this.showFormScriptList = true;
257
+ }
258
+ },
259
+ },
260
+ methods: {
261
+ getCompareData(row1, row2, callback) {
262
+ Promise.all([
263
+ this.getFormVersion(row1.id),
264
+ this.getFormVersion(row2.id),
265
+ ]).then((res) => {
266
+ let compareHData1 = res[0].objx;
267
+ let compareHData2 = res[1].objx;
268
+ callback && callback(compareHData1, compareHData2);
269
+ });
270
+ },
271
+ getFormVersion(id) {
272
+ return this.$http({
273
+ url: USER_PREFIX + "/formVersion/get",
274
+ method: "post",
275
+ data: {
276
+ id: id,
277
+ },
278
+ });
279
+ },
280
+ compare() {
281
+ let rows = this.$refs["table-m1"].getCheckboxRecords(true);
282
+ if (rows.length != 2) {
283
+ this.$message.error("请选择两个版本进行对比");
284
+ return;
285
+ }
286
+
287
+ let row1 = rows[0];
288
+ let row2 = rows[1];
289
+ let preRow = row1.version > row2.version ? row2 : row1;
290
+ let curRow = row1.version > row2.version ? row1 : row2;
291
+ this.getCompareData(preRow, curRow, (compareHData1, compareHData2) => {
292
+ this.preRow = compareHData1;
293
+ this.curRow = compareHData2;
294
+ this.showCompareDialog = true;
295
+ });
296
+ },
297
+ initTitle() {
298
+ let titleMap = {
299
+ FormTemplate: "表单模板历史版本",
300
+ FormScript: "逻辑脚本历史版本",
301
+ SzTaMb: "数据表历史版本",
302
+ };
303
+ this.title = titleMap[this.objType];
304
+ },
305
+ initTableM1() {
306
+ let that = this;
307
+ let objNameTitleMap = {
308
+ FormTemplate: "模板名称",
309
+ FormScript: "脚本名称",
310
+ SzTaMb: "数据表名称",
311
+ };
312
+ let objNameTitle = objNameTitleMap[this.objType];
313
+ let objCodeTitleMap = {
314
+ FormTemplate: "模板编码",
315
+ FormScript: "脚本编码",
316
+ SzTaMb: "数据表编码",
317
+ };
318
+ let objCodeTitle = objCodeTitleMap[this.objType];
319
+
320
+ let tableOption = {
321
+ vue: that,
322
+ tableRef: "table-m1",
323
+ tableName: "bd_formVersion_dialog-m1",
324
+ path: USER_PREFIX + "/formVersion/listPage",
325
+ param: () => {
326
+ return {
327
+ ...this.formData,
328
+ objType: this.objType,
329
+ objCode: this.objCode,
330
+ relationCode: this.relationCode,
331
+ };
332
+ },
333
+ columns: [
334
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
335
+ {
336
+ title: this.$t1(objNameTitle),
337
+ field: "objName",
338
+ width: 150,
339
+ fixed: "left",
340
+ },
341
+ {
342
+ title: this.$t1(objCodeTitle),
343
+ field: "objCode",
344
+ width: 150,
345
+ },
346
+ {
347
+ title: this.$t1("版本号"),
348
+ field: "version",
349
+ width: 150,
350
+ },
351
+ {
352
+ title: this.$t1("操作日志"),
353
+ field: "remark",
354
+ width: 150,
355
+ },
356
+ {
357
+ title: this.$t1("创建人"),
358
+ field: "_createBy",
359
+ width: 150,
360
+ },
361
+ {
362
+ title: this.$t1("创建时间"),
363
+ field: "createDate",
364
+ width: 150,
365
+ },
366
+ {
367
+ title: this.$t1("更新人"),
368
+ field: "_modifyBy",
369
+ width: 150,
370
+ },
371
+ {
372
+ title: this.$t1("更新时间"),
373
+ field: "modifyDate",
374
+ width: 150,
375
+ },
376
+ {
377
+ width: 90,
378
+ fixed: "right",
379
+ title: "",
380
+ sortable: false,
381
+ slots: {
382
+ default: ({ row }) => {
383
+ return [
384
+ <div>
385
+ <a
386
+ href="javascript:void(0);"
387
+ class="a-link"
388
+ onclick={() => {
389
+ this.openEditView(row);
390
+ }}
391
+ >
392
+ <el-tooltip
393
+ enterable={false}
394
+ effect="dark"
395
+ content="查看"
396
+ placement="top"
397
+ popper-class="tooltip-skin"
398
+ >
399
+ <i class="el-icon-edit" />
400
+ </el-tooltip>
401
+ </a>
402
+ </div>,
403
+ ];
404
+ },
405
+ },
406
+ },
407
+ ],
408
+ };
409
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
410
+ that.vxeOption = opts;
411
+ });
412
+ },
413
+ openEditView(row) {
414
+ this.$http({
415
+ url: USER_PREFIX + "/formVersion/get",
416
+ method: "post",
417
+ data: {
418
+ id: row.id,
419
+ },
420
+ success: (res) => {
421
+ let objx = res.objx;
422
+ let hData = JSON.parse(objx.content);
423
+ this.hData = hData;
424
+ let map = {
425
+ FormTemplate: "FormTemplateEdit",
426
+ FormScript: "FormScriptEdit",
427
+ SzTaMb: "SzTaMbEdit",
428
+ };
429
+ let scriptTypeMap = {
430
+ 0: "FormScriptEdit",
431
+ 1: "FormScriptEdit1",
432
+ };
433
+ if (row.objType === "FormScript") {
434
+ this.editContent = scriptTypeMap[hData.scriptType];
435
+ } else {
436
+ this.editContent = map[row.objType];
437
+ }
438
+ this.activeName = "first";
439
+ this.$openEditView("showEdit");
440
+ },
441
+ });
442
+ },
443
+ rever(row) {},
444
+ openDesingerDialog(row, callback, readonly = false) {
445
+ this.formCode = row.formCode;
446
+ this.formName = row.formName + " - " + row.version;
447
+ this.currentFormTemplate = row;
448
+ this.isFullscreen = false;
449
+
450
+ this.designerReadonly = readonly;
451
+ this.showDesingerDialog = true;
452
+ this.designerSaveCallback = callback ?? null;
453
+ },
454
+ openDesingerDialogByChild({ row, readonly, callback }) {
455
+ this.openDesingerDialog(row, callback, readonly);
456
+ },
457
+ reflushTemplateList() {
458
+ this.searchEvent();
459
+ this.designerSaveCallback && this.designerSaveCallback();
460
+ },
461
+ handleFullscreen() {
462
+ let isFullscreen = this.isFullscreen;
463
+ if (!isFullscreen) {
464
+ indexUtil.addClass(document.body, "hideMenu");
465
+ } else {
466
+ indexUtil.removeClass(document.body, "hideMenu");
467
+ }
468
+ this.isFullscreen = !isFullscreen;
469
+ },
470
+ handleFormDesignClose() {
471
+ this.formDesTabs = "first";
472
+ this.showFormScriptList = false;
473
+ },
474
+ reverCallback() {
475
+ this.$emit("reverCallback");
476
+ this.dialogClose();
477
+ },
478
+ },
479
+ };
480
+ </script>
481
481
  <style scoped lang="scss">
482
- .grid-height {
483
- height: calc(100vh - 106px) !important;
484
- }
485
- ::v-deep .detail-wrap{
486
- margin:-8px -10px 0;
487
- .d-cont {
488
- height: calc(100vh - 148px) !important;
482
+ .designer-drawer{
483
+ left:0;top:50px;
489
484
  }
490
- }
491
- </style>
485
+ ::v-deep .dialog-style.list-dialog{
486
+ .designer-drawer .el-drawer__body .designer-box{
487
+ height:100%
488
+ }
489
+ }
490
+ </style>