@fecp/designer 5.4.77 → 5.4.78

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 (41) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/packages/dialog/index.vue2.mjs +1 -1
  3. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  4. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  5. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +8 -17
  6. package/es/designer/src/packages/form/property/contract.vue.mjs +13 -22
  7. package/es/designer/src/packages/form/property/document.vue.mjs +11 -20
  8. package/es/designer/src/packages/form/property/subForm.vue.mjs +16 -25
  9. package/es/designer/src/packages/form/property/subTable.vue.mjs +17 -26
  10. package/es/designer/src/packages/form/property/subTitleH2.vue.mjs +5 -14
  11. package/es/designer/src/packages/form/property/widgets.vue.mjs +83 -92
  12. package/es/designer/src/packages/table/property/widgets.vue.mjs +25 -34
  13. package/es/designer.css +88 -88
  14. package/es/packages/vue/index.mjs +2 -0
  15. package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +7 -4
  16. package/es/packages/vue/src/components/details/header/Header.vue.mjs +7 -4
  17. package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +11 -6
  18. package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +7 -4
  19. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +18 -2
  20. package/es/packages/vue/src/directive/auth.mjs +29 -0
  21. package/lib/designer/package.json.js +1 -1
  22. package/lib/designer/src/packages/dialog/index.vue2.js +1 -1
  23. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  24. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  25. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +8 -17
  26. package/lib/designer/src/packages/form/property/contract.vue.js +13 -22
  27. package/lib/designer/src/packages/form/property/document.vue.js +11 -20
  28. package/lib/designer/src/packages/form/property/subForm.vue.js +16 -25
  29. package/lib/designer/src/packages/form/property/subTable.vue.js +17 -26
  30. package/lib/designer/src/packages/form/property/subTitleH2.vue.js +5 -14
  31. package/lib/designer/src/packages/form/property/widgets.vue.js +83 -92
  32. package/lib/designer/src/packages/table/property/widgets.vue.js +25 -34
  33. package/lib/designer.css +88 -88
  34. package/lib/packages/vue/index.js +2 -0
  35. package/lib/packages/vue/src/components/details/footer/Footer.vue.js +6 -3
  36. package/lib/packages/vue/src/components/details/header/Header.vue.js +6 -3
  37. package/lib/packages/vue/src/components/table/CustomButtons.vue.js +10 -5
  38. package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +6 -3
  39. package/lib/packages/vue/src/components/table/TableColumn.vue.js +18 -2
  40. package/lib/packages/vue/src/directive/auth.js +29 -0
  41. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import "../../../../../node_modules/element-plus/es/index.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { computed, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, withCtx, unref, toDisplayString, Fragment, renderList, createTextVNode } from "vue";
4
+ import { computed, resolveDirective, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, withCtx, unref, toDisplayString, Fragment, renderList, withDirectives, createTextVNode } from "vue";
5
5
  import "../../../../../node_modules/vxe-table/es/components.mjs";
6
6
  import { ArrowLeftBold as arrow_left_bold_default, Search as search_default, Edit as edit_default, Delete as delete_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
7
7
  import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
@@ -109,6 +109,7 @@ const _sfc_main = {
109
109
  return (_ctx, _cache) => {
110
110
  const _component_el_icon = ElIcon;
111
111
  const _component_el_button = ElButton;
112
+ const _directive_fec_auth = resolveDirective("fec-auth");
112
113
  return openBlock(), createElementBlock("div", _hoisted_1, [
113
114
  __props.localConfig.showReturn ? (openBlock(), createElementBlock("div", {
114
115
  key: 0,
@@ -130,7 +131,7 @@ const _sfc_main = {
130
131
  }, {
131
132
  buttons: withCtx(() => [
132
133
  leftButtons.value.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(leftButtons.value, (btn) => {
133
- return openBlock(), createBlock(_component_el_button, {
134
+ return withDirectives((openBlock(), createBlock(_component_el_button, {
134
135
  key: btn.id,
135
136
  type: getBtnType(btn),
136
137
  icon: getBtnIcon(btn.btnType),
@@ -140,12 +141,14 @@ const _sfc_main = {
140
141
  createTextVNode(toDisplayString(btn.label), 1)
141
142
  ]),
142
143
  _: 2
143
- }, 1032, ["type", "icon", "onClick"]);
144
+ }, 1032, ["type", "icon", "onClick"])), [
145
+ [_directive_fec_auth, btn.permission]
146
+ ]);
144
147
  }), 128)) : createCommentVNode("", true)
145
148
  ]),
146
149
  tools: withCtx(() => [
147
150
  rightButtons.value.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(rightButtons.value, (btn) => {
148
- return openBlock(), createBlock(_component_el_button, {
151
+ return withDirectives((openBlock(), createBlock(_component_el_button, {
149
152
  key: btn.id,
150
153
  type: getBtnType(btn),
151
154
  icon: getBtnIcon(btn.btnType),
@@ -155,7 +158,9 @@ const _sfc_main = {
155
158
  createTextVNode(toDisplayString(btn.label), 1)
156
159
  ]),
157
160
  _: 2
158
- }, 1032, ["type", "icon", "onClick"]);
161
+ }, 1032, ["type", "icon", "onClick"])), [
162
+ [_directive_fec_auth, btn.permission]
163
+ ]);
159
164
  }), 128)) : createCommentVNode("", true)
160
165
  ]),
161
166
  _: 1
@@ -164,7 +169,7 @@ const _sfc_main = {
164
169
  };
165
170
  }
166
171
  };
167
- const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e370363e"]]);
172
+ const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7610c2d4"]]);
168
173
  export {
169
174
  CustomButtons as default
170
175
  };
@@ -15,7 +15,7 @@ import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  import "../../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
18
- import { computed, ref, watch, createElementBlock, openBlock, createElementVNode, createVNode, createCommentVNode, withCtx, unref, toDisplayString, Fragment, renderList, createBlock, createSlots, createTextVNode, withDirectives, normalizeStyle, resolveDynamicComponent, mergeProps, vShow } from "vue";
18
+ import { computed, ref, watch, resolveDirective, createElementBlock, openBlock, createElementVNode, createVNode, createCommentVNode, withCtx, unref, toDisplayString, Fragment, renderList, createBlock, createSlots, createTextVNode, withDirectives, normalizeStyle, resolveDynamicComponent, mergeProps, vShow } from "vue";
19
19
  import { ArrowLeftBold as arrow_left_bold_default, Search as search_default, Edit as edit_default, Delete as delete_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
20
20
  import "../../../../../node_modules/vxe-table/es/components.mjs";
21
21
  import { Text } from "../forms/text/index.mjs";
@@ -265,6 +265,7 @@ const _sfc_main = {
265
265
  const _component_el_form_item = ElFormItem;
266
266
  const _component_el_form = ElForm;
267
267
  const _component_el_collapse_transition = ElCollapseTransition;
268
+ const _directive_fec_auth = resolveDirective("fec-auth");
268
269
  return openBlock(), createElementBlock("div", _hoisted_1, [
269
270
  createElementVNode("div", _hoisted_2, [
270
271
  __props.localConfig.showReturn ? (openBlock(), createElementBlock("div", _hoisted_3, [
@@ -327,7 +328,7 @@ const _sfc_main = {
327
328
  }, {
328
329
  tools: withCtx(() => [
329
330
  !__props.isSubTable && rightButtons.value.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(rightButtons.value, (btn) => {
330
- return openBlock(), createBlock(_component_el_button, {
331
+ return withDirectives((openBlock(), createBlock(_component_el_button, {
331
332
  key: btn.id,
332
333
  type: getBtnType(btn),
333
334
  icon: getBtnIcon(btn.btnType),
@@ -337,7 +338,9 @@ const _sfc_main = {
337
338
  createTextVNode(toDisplayString(btn.label), 1)
338
339
  ]),
339
340
  _: 2
340
- }, 1032, ["type", "icon", "onClick"]);
341
+ }, 1032, ["type", "icon", "onClick"])), [
342
+ [_directive_fec_auth, btn.permission]
343
+ ]);
341
344
  }), 128)) : createCommentVNode("", true)
342
345
  ]),
343
346
  _: 1
@@ -450,7 +453,7 @@ const _sfc_main = {
450
453
  };
451
454
  }
452
455
  };
453
- const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e93f2602"]]);
456
+ const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d11a831a"]]);
454
457
  export {
455
458
  DynamicQuery as default
456
459
  };
@@ -262,8 +262,24 @@ const _sfc_main = {
262
262
  if (!item.showCondition) return true;
263
263
  return checkFilterMatch(item.showCondition, row, props.fieldsData);
264
264
  });
265
- return btnList;
265
+ return btnList.filter((item) => {
266
+ return hasPerm(item.permission);
267
+ });
266
268
  };
269
+ function hasPerm(permission) {
270
+ if (permission === true || permission === void 0 || permission === "") {
271
+ return true;
272
+ }
273
+ let btnFlag = false;
274
+ const myBtns = window.$store.getters.funcAuthList;
275
+ for (let i in myBtns) {
276
+ if (myBtns[i] == permission) {
277
+ btnFlag = true;
278
+ break;
279
+ }
280
+ }
281
+ return btnFlag;
282
+ }
267
283
  const shouldShowOptColumn = computed(() => {
268
284
  if (!props.isOptBtns || !props.optBtns.length) return false;
269
285
  if (!props.tableData || props.tableData.length === 0) return true;
@@ -429,7 +445,7 @@ const _sfc_main = {
429
445
  };
430
446
  }
431
447
  };
432
- const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bee565c6"]]);
448
+ const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-77be03fc"]]);
433
449
  export {
434
450
  TableColumn as default
435
451
  };
@@ -0,0 +1,29 @@
1
+ const auth = {
2
+ mounted(el, binding, vnode, prevVnode) {
3
+ const permission = binding.value;
4
+ const btnFlag = auth.hasPerm(permission);
5
+ if (!btnFlag) {
6
+ el.parentNode.removeChild(el);
7
+ }
8
+ },
9
+ hasPerm(permission) {
10
+ if (permission === true || permission === void 0 || permission === "") {
11
+ return true;
12
+ }
13
+ let btnFlag = false;
14
+ const myBtns = window.$store.getters.funcAuthList;
15
+ for (let i in myBtns) {
16
+ if (myBtns[i] === permission) {
17
+ btnFlag = true;
18
+ break;
19
+ }
20
+ }
21
+ return btnFlag;
22
+ }
23
+ };
24
+ auth.install = function(Vue) {
25
+ Vue.directive("fec-auth", auth);
26
+ };
27
+ export {
28
+ auth as default
29
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.77";
3
+ const version = "5.4.78";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -984,5 +984,5 @@ const _sfc_main = {
984
984
  };
985
985
  }
986
986
  };
987
- const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-90bb67fd"]]);
987
+ const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-24bfc32a"]]);
988
988
  exports.default = DialogDialog;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index.vue.js");
3
+ const index = require("./index.vue2.js");
4
4
  const vue = require("vue");
5
5
  function useDialogDialog() {
6
6
  const dialogDialogVisible = vue.ref(false);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index.vue.js");
3
+ const index = require("./index.vue2.js");
4
4
  const vue = require("vue");
5
5
  function useDialogGlobalDialog() {
6
6
  const dialogGlobalDialogVisible = vue.ref(false);
@@ -57,7 +57,7 @@ const _sfc_main = {
57
57
  return vue.openBlock(), vue.createBlock(_component_el_collapse, {
58
58
  class: "setting",
59
59
  modelValue: vue.unref(activeName),
60
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
60
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
61
61
  }, {
62
62
  default: vue.withCtx(() => [
63
63
  vue.createVNode(_component_el_collapse_item, {
@@ -93,19 +93,19 @@ const _sfc_main = {
93
93
  }, {
94
94
  default: vue.withCtx(() => [
95
95
  vue.createVNode(_component_el_radio_button, { value: "none" }, {
96
- default: vue.withCtx(() => _cache[7] || (_cache[7] = [
96
+ default: vue.withCtx(() => _cache[6] || (_cache[6] = [
97
97
  vue.createTextVNode("无")
98
98
  ])),
99
99
  _: 1
100
100
  }),
101
101
  vue.createVNode(_component_el_radio_button, { value: "label" }, {
102
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
102
+ default: vue.withCtx(() => _cache[7] || (_cache[7] = [
103
103
  vue.createTextVNode("标题")
104
104
  ])),
105
105
  _: 1
106
106
  }),
107
107
  vue.createVNode(_component_el_radio_button, { value: "subLabel" }, {
108
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
108
+ default: vue.withCtx(() => _cache[8] || (_cache[8] = [
109
109
  vue.createTextVNode("子标题")
110
110
  ])),
111
111
  _: 1
@@ -133,20 +133,11 @@ const _sfc_main = {
133
133
  _: 1
134
134
  })) : vue.createCommentVNode("", true)
135
135
  ], 64)) : vue.createCommentVNode("", true),
136
- vue.createVNode(_component_el_form_item, { label: "权限标识" }, {
137
- default: vue.withCtx(() => [
138
- vue.createVNode(_component_el_input, {
139
- modelValue: vue.unref(currentItem).permission,
140
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentItem).permission = $event)
141
- }, null, 8, ["modelValue"])
142
- ]),
143
- _: 1
144
- }),
145
136
  vue.createVNode(_component_el_form_item, { label: "业务主键字段" }, {
146
137
  default: vue.withCtx(() => [
147
138
  vue.createVNode(ValueSelector.default, {
148
139
  modelValue: vue.unref(currentItem).traceNoFieldName,
149
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentItem).traceNoFieldName = $event),
140
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentItem).traceNoFieldName = $event),
150
141
  size: "default"
151
142
  }, null, 8, ["modelValue"])
152
143
  ]),
@@ -156,18 +147,18 @@ const _sfc_main = {
156
147
  default: vue.withCtx(() => [
157
148
  vue.createVNode(_component_el_radio_group, {
158
149
  modelValue: vue.unref(currentItem).appHisDefault,
159
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(currentItem).appHisDefault = $event),
150
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentItem).appHisDefault = $event),
160
151
  size: "small"
161
152
  }, {
162
153
  default: vue.withCtx(() => [
163
154
  vue.createVNode(_component_el_radio_button, { value: "timeLine" }, {
164
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
155
+ default: vue.withCtx(() => _cache[9] || (_cache[9] = [
165
156
  vue.createTextVNode("时间轴")
166
157
  ])),
167
158
  _: 1
168
159
  }),
169
160
  vue.createVNode(_component_el_radio_button, { value: "flowChart" }, {
170
- default: vue.withCtx(() => _cache[11] || (_cache[11] = [
161
+ default: vue.withCtx(() => _cache[10] || (_cache[10] = [
171
162
  vue.createTextVNode("流程图")
172
163
  ])),
173
164
  _: 1
@@ -56,7 +56,7 @@ const _sfc_main = {
56
56
  return vue.openBlock(), vue.createBlock(_component_el_collapse, {
57
57
  class: "setting",
58
58
  modelValue: activeName.value,
59
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => activeName.value = $event)
59
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => activeName.value = $event)
60
60
  }, {
61
61
  default: vue.withCtx(() => [
62
62
  vue.createVNode(_component_el_collapse_item, {
@@ -82,37 +82,28 @@ const _sfc_main = {
82
82
  ]),
83
83
  _: 1
84
84
  }),
85
- vue.createVNode(_component_el_form_item, { label: "权限标识" }, {
86
- default: vue.withCtx(() => [
87
- vue.createVNode(_component_el_input, {
88
- modelValue: currentItem.value.permission,
89
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => currentItem.value.permission = $event)
90
- }, null, 8, ["modelValue"])
91
- ]),
92
- _: 1
93
- }),
94
85
  vue.createVNode(_component_el_form_item, { label: "合同模式" }, {
95
86
  default: vue.withCtx(() => [
96
87
  vue.createVNode(_component_el_radio_group, {
97
88
  modelValue: currentItem.value.mode,
98
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => currentItem.value.mode = $event),
89
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => currentItem.value.mode = $event),
99
90
  size: "small"
100
91
  }, {
101
92
  default: vue.withCtx(() => [
102
93
  vue.createVNode(_component_el_radio_button, { value: "view" }, {
103
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
94
+ default: vue.withCtx(() => _cache[8] || (_cache[8] = [
104
95
  vue.createTextVNode("合同查看")
105
96
  ])),
106
97
  _: 1
107
98
  }),
108
99
  vue.createVNode(_component_el_radio_button, { value: "make" }, {
109
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
100
+ default: vue.withCtx(() => _cache[9] || (_cache[9] = [
110
101
  vue.createTextVNode("合同制作")
111
102
  ])),
112
103
  _: 1
113
104
  }),
114
105
  vue.createVNode(_component_el_radio_button, { value: "sign" }, {
115
- default: vue.withCtx(() => _cache[11] || (_cache[11] = [
106
+ default: vue.withCtx(() => _cache[10] || (_cache[10] = [
116
107
  vue.createTextVNode("合同签署")
117
108
  ])),
118
109
  _: 1
@@ -130,7 +121,7 @@ const _sfc_main = {
130
121
  default: vue.withCtx(() => [
131
122
  vue.createVNode(ValueSelector.default, {
132
123
  modelValue: currentItem.value.busNo,
133
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => currentItem.value.busNo = $event),
124
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => currentItem.value.busNo = $event),
134
125
  multiple: false,
135
126
  size: "default",
136
127
  placeholder: "选择业务主键"
@@ -145,7 +136,7 @@ const _sfc_main = {
145
136
  default: vue.withCtx(() => [
146
137
  vue.createVNode(ValueSelector.default, {
147
138
  modelValue: currentItem.value.contNo,
148
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => currentItem.value.contNo = $event),
139
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => currentItem.value.contNo = $event),
149
140
  multiple: false,
150
141
  size: "default",
151
142
  placeholder: "选择合同编号"
@@ -157,7 +148,7 @@ const _sfc_main = {
157
148
  default: vue.withCtx(() => [
158
149
  vue.createVNode(_component_el_select, {
159
150
  modelValue: currentItem.value.busSubject,
160
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => currentItem.value.busSubject = $event),
151
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => currentItem.value.busSubject = $event),
161
152
  placeholder: "选择业务场景",
162
153
  style: { "width": "100%" },
163
154
  clearable: ""
@@ -180,18 +171,18 @@ const _sfc_main = {
180
171
  default: vue.withCtx(() => [
181
172
  vue.createVNode(_component_el_radio_group, {
182
173
  modelValue: currentItem.value.genType,
183
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => currentItem.value.genType = $event),
174
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => currentItem.value.genType = $event),
184
175
  size: "small"
185
176
  }, {
186
177
  default: vue.withCtx(() => [
187
178
  vue.createVNode(_component_el_radio_button, { value: "1" }, {
188
- default: vue.withCtx(() => _cache[12] || (_cache[12] = [
179
+ default: vue.withCtx(() => _cache[11] || (_cache[11] = [
189
180
  vue.createTextVNode("系统生成")
190
181
  ])),
191
182
  _: 1
192
183
  }),
193
184
  vue.createVNode(_component_el_radio_button, { value: "2" }, {
194
- default: vue.withCtx(() => _cache[13] || (_cache[13] = [
185
+ default: vue.withCtx(() => _cache[12] || (_cache[12] = [
195
186
  vue.createTextVNode("手动选择")
196
187
  ])),
197
188
  _: 1
@@ -206,7 +197,7 @@ const _sfc_main = {
206
197
  default: vue.withCtx(() => [
207
198
  vue.createVNode(ParamsConfig.default, {
208
199
  modelValue: currentItem.value.params,
209
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currentItem.value.params = $event)
200
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => currentItem.value.params = $event)
210
201
  }, null, 8, ["modelValue"])
211
202
  ]),
212
203
  _: 1
@@ -223,5 +214,5 @@ const _sfc_main = {
223
214
  };
224
215
  }
225
216
  };
226
- const contract = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-482108da"]]);
217
+ const contract = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-80d84bee"]]);
227
218
  exports.default = contract;
@@ -54,7 +54,7 @@ const _sfc_main = {
54
54
  return vue.openBlock(), vue.createBlock(_component_el_collapse, {
55
55
  class: "setting",
56
56
  modelValue: activeName.value,
57
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => activeName.value = $event)
57
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => activeName.value = $event)
58
58
  }, {
59
59
  default: vue.withCtx(() => [
60
60
  vue.createVNode(_component_el_collapse_item, {
@@ -90,19 +90,19 @@ const _sfc_main = {
90
90
  }, {
91
91
  default: vue.withCtx(() => [
92
92
  vue.createVNode(_component_el_radio_button, { value: "none" }, {
93
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
93
+ default: vue.withCtx(() => _cache[9] || (_cache[9] = [
94
94
  vue.createTextVNode("无")
95
95
  ])),
96
96
  _: 1
97
97
  }),
98
98
  vue.createVNode(_component_el_radio_button, { value: "label" }, {
99
- default: vue.withCtx(() => _cache[11] || (_cache[11] = [
99
+ default: vue.withCtx(() => _cache[10] || (_cache[10] = [
100
100
  vue.createTextVNode("标题")
101
101
  ])),
102
102
  _: 1
103
103
  }),
104
104
  vue.createVNode(_component_el_radio_button, { value: "subLabel" }, {
105
- default: vue.withCtx(() => _cache[12] || (_cache[12] = [
105
+ default: vue.withCtx(() => _cache[11] || (_cache[11] = [
106
106
  vue.createTextVNode("子标题")
107
107
  ])),
108
108
  _: 1
@@ -130,22 +130,13 @@ const _sfc_main = {
130
130
  _: 1
131
131
  })) : vue.createCommentVNode("", true)
132
132
  ], 64)) : vue.createCommentVNode("", true),
133
- vue.createVNode(_component_el_form_item, { label: "权限标识" }, {
134
- default: vue.withCtx(() => [
135
- vue.createVNode(_component_el_input, {
136
- modelValue: currentItem.value.permission,
137
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => currentItem.value.permission = $event)
138
- }, null, 8, ["modelValue"])
139
- ]),
140
- _: 1
141
- }),
142
133
  vue.createVNode(_component_el_form_item, { label: "是否允许补传" }, {
143
134
  default: vue.withCtx(() => [
144
135
  vue.createVNode(_component_el_switch, {
145
136
  modelValue: currentItem.value.isSupplement,
146
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => currentItem.value.isSupplement = $event)
137
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => currentItem.value.isSupplement = $event)
147
138
  }, null, 8, ["modelValue"]),
148
- _cache[13] || (_cache[13] = vue.createElementVNode("div", { class: "form-item-hint" }, "只读情况下是否允许补传", -1))
139
+ _cache[12] || (_cache[12] = vue.createElementVNode("div", { class: "form-item-hint" }, "只读情况下是否允许补传", -1))
149
140
  ]),
150
141
  _: 1
151
142
  }),
@@ -153,7 +144,7 @@ const _sfc_main = {
153
144
  default: vue.withCtx(() => [
154
145
  vue.createVNode(_component_el_switch, {
155
146
  modelValue: currentItem.value.multiple,
156
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => currentItem.value.multiple = $event)
147
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => currentItem.value.multiple = $event)
157
148
  }, null, 8, ["modelValue"])
158
149
  ]),
159
150
  _: 1
@@ -162,7 +153,7 @@ const _sfc_main = {
162
153
  default: vue.withCtx(() => [
163
154
  vue.createVNode(_component_el_switch, {
164
155
  modelValue: currentItem.value.download,
165
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => currentItem.value.download = $event)
156
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => currentItem.value.download = $event)
166
157
  }, null, 8, ["modelValue"])
167
158
  ]),
168
159
  _: 1
@@ -171,7 +162,7 @@ const _sfc_main = {
171
162
  default: vue.withCtx(() => [
172
163
  vue.createVNode(FileTypeSelect.default, {
173
164
  modelValue: currentItem.value.acceptType,
174
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currentItem.value.acceptType = $event)
165
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => currentItem.value.acceptType = $event)
175
166
  }, null, 8, ["modelValue"])
176
167
  ]),
177
168
  _: 1
@@ -180,7 +171,7 @@ const _sfc_main = {
180
171
  default: vue.withCtx(() => [
181
172
  vue.createVNode(DocumentParam.default, {
182
173
  modelValue: currentItem.value.essentialParams,
183
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => currentItem.value.essentialParams = $event)
174
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currentItem.value.essentialParams = $event)
184
175
  }, null, 8, ["modelValue"])
185
176
  ]),
186
177
  _: 1
@@ -197,5 +188,5 @@ const _sfc_main = {
197
188
  };
198
189
  }
199
190
  };
200
- const document = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-d0160dcb"]]);
191
+ const document = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ca84a82c"]]);
201
192
  exports.default = document;
@@ -50,7 +50,7 @@ const _sfc_main = {
50
50
  return vue.openBlock(), vue.createBlock(_component_el_collapse, {
51
51
  class: "setting",
52
52
  modelValue: vue.unref(activeName),
53
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
53
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
54
54
  }, {
55
55
  default: vue.withCtx(() => [
56
56
  vue.createVNode(_component_el_collapse_item, {
@@ -87,19 +87,19 @@ const _sfc_main = {
87
87
  }, {
88
88
  default: vue.withCtx(() => [
89
89
  vue.createVNode(_component_el_radio_button, { value: "none" }, {
90
- default: vue.withCtx(() => _cache[13] || (_cache[13] = [
90
+ default: vue.withCtx(() => _cache[12] || (_cache[12] = [
91
91
  vue.createTextVNode("无")
92
92
  ])),
93
93
  _: 1
94
94
  }),
95
95
  vue.createVNode(_component_el_radio_button, { value: "label" }, {
96
- default: vue.withCtx(() => _cache[14] || (_cache[14] = [
96
+ default: vue.withCtx(() => _cache[13] || (_cache[13] = [
97
97
  vue.createTextVNode("标题")
98
98
  ])),
99
99
  _: 1
100
100
  }),
101
101
  vue.createVNode(_component_el_radio_button, { value: "subLabel" }, {
102
- default: vue.withCtx(() => _cache[15] || (_cache[15] = [
102
+ default: vue.withCtx(() => _cache[14] || (_cache[14] = [
103
103
  vue.createTextVNode("子标题")
104
104
  ])),
105
105
  _: 1
@@ -136,19 +136,19 @@ const _sfc_main = {
136
136
  }, {
137
137
  default: vue.withCtx(() => [
138
138
  vue.createVNode(_component_el_radio_button, { value: "all" }, {
139
- default: vue.withCtx(() => _cache[16] || (_cache[16] = [
139
+ default: vue.withCtx(() => _cache[15] || (_cache[15] = [
140
140
  vue.createTextVNode("始终显示")
141
141
  ])),
142
142
  _: 1
143
143
  }),
144
144
  vue.createVNode(_component_el_radio_button, { value: "edit" }, {
145
- default: vue.withCtx(() => _cache[17] || (_cache[17] = [
145
+ default: vue.withCtx(() => _cache[16] || (_cache[16] = [
146
146
  vue.createTextVNode("编辑时显示")
147
147
  ])),
148
148
  _: 1
149
149
  }),
150
150
  vue.createVNode(_component_el_radio_button, { value: "query" }, {
151
- default: vue.withCtx(() => _cache[18] || (_cache[18] = [
151
+ default: vue.withCtx(() => _cache[17] || (_cache[17] = [
152
152
  vue.createTextVNode("查看时显示")
153
153
  ])),
154
154
  _: 1
@@ -168,13 +168,13 @@ const _sfc_main = {
168
168
  }, {
169
169
  default: vue.withCtx(() => [
170
170
  vue.createVNode(_component_el_radio_button, { value: "main" }, {
171
- default: vue.withCtx(() => _cache[19] || (_cache[19] = [
171
+ default: vue.withCtx(() => _cache[18] || (_cache[18] = [
172
172
  vue.createTextVNode("主页面获取")
173
173
  ])),
174
174
  _: 1
175
175
  }),
176
176
  vue.createVNode(_component_el_radio_button, { value: "self" }, {
177
- default: vue.withCtx(() => _cache[20] || (_cache[20] = [
177
+ default: vue.withCtx(() => _cache[19] || (_cache[19] = [
178
178
  vue.createTextVNode("子表单自加载")
179
179
  ])),
180
180
  _: 1
@@ -197,31 +197,22 @@ const _sfc_main = {
197
197
  ]),
198
198
  _: 1
199
199
  })) : vue.createCommentVNode("", true),
200
- vue.createVNode(_component_el_form_item, { label: "权限标识" }, {
201
- default: vue.withCtx(() => [
202
- vue.createVNode(_component_el_input, {
203
- modelValue: vue.unref(currentItem).permission,
204
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentItem).permission = $event)
205
- }, null, 8, ["modelValue"])
206
- ]),
207
- _: 1
208
- }),
209
200
  vue.createVNode(_component_el_form_item, { label: "表单来源" }, {
210
201
  default: vue.withCtx(() => [
211
202
  vue.createVNode(_component_el_radio_group, {
212
203
  modelValue: vue.unref(currentItem).formSource,
213
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentItem).formSource = $event),
204
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentItem).formSource = $event),
214
205
  size: "small"
215
206
  }, {
216
207
  default: vue.withCtx(() => [
217
208
  vue.createVNode(_component_el_radio_button, { value: "select" }, {
218
- default: vue.withCtx(() => _cache[21] || (_cache[21] = [
209
+ default: vue.withCtx(() => _cache[20] || (_cache[20] = [
219
210
  vue.createTextVNode("选择表单")
220
211
  ])),
221
212
  _: 1
222
213
  }),
223
214
  vue.createVNode(_component_el_radio_button, { value: "dynamic" }, {
224
- default: vue.withCtx(() => _cache[22] || (_cache[22] = [
215
+ default: vue.withCtx(() => _cache[21] || (_cache[21] = [
225
216
  vue.createTextVNode("动态表单")
226
217
  ])),
227
218
  _: 1
@@ -239,11 +230,11 @@ const _sfc_main = {
239
230
  default: vue.withCtx(() => [
240
231
  vue.createVNode(TemplateSelector.default, {
241
232
  modelValue: vue.unref(currentItem).subFormName,
242
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(currentItem).subFormName = $event),
233
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentItem).subFormName = $event),
243
234
  templateKey: vue.unref(currentItem).subFormKey,
244
- "onUpdate:templateKey": _cache[9] || (_cache[9] = ($event) => vue.unref(currentItem).subFormKey = $event),
235
+ "onUpdate:templateKey": _cache[8] || (_cache[8] = ($event) => vue.unref(currentItem).subFormKey = $event),
245
236
  templateId: vue.unref(currentItem).subFormId,
246
- "onUpdate:templateId": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).subFormId = $event),
237
+ "onUpdate:templateId": _cache[9] || (_cache[9] = ($event) => vue.unref(currentItem).subFormId = $event),
247
238
  templateType: "form"
248
239
  }, null, 8, ["modelValue", "templateKey", "templateId"])
249
240
  ]),
@@ -255,7 +246,7 @@ const _sfc_main = {
255
246
  default: vue.withCtx(() => [
256
247
  vue.createVNode(ValueSelector.default, {
257
248
  modelValue: vue.unref(currentItem).dynamicSubFormKey,
258
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(currentItem).dynamicSubFormKey = $event),
249
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).dynamicSubFormKey = $event),
259
250
  size: "default"
260
251
  }, null, 8, ["modelValue"])
261
252
  ]),