super-page-designer 2.3.17-sit1-design1 → 2.3.17-sit2-design1

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.
@@ -13,15 +13,15 @@ import "../../../../../../stores/statistics-table-store.js";
13
13
  import "../../../../utils/eventBus.js";
14
14
  import U from "../../common/common-function-code.vue.js";
15
15
  import y from "../../chart/statistical-table/component/table-showcondition.vue.js";
16
- const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, E = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
16
+ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, E = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
17
17
  const j2 = e2, O = a(["base", "appearance", "querySetting", "editSetting", "columnSetting", "paging", "dataOrigin", "linkage", "attrSize"]);
18
18
  function P(e3) {
19
19
  j2.configure.props.base.showOperationCondition = e3.data;
20
20
  }
21
- function B(e3) {
21
+ function T(e3) {
22
22
  j2.configure.props.base.showAddBtnCondition = e3.data;
23
23
  }
24
- function L(e3) {
24
+ function B(e3) {
25
25
  j2.configure.props.base.showDeleteBtnCondition = e3.data;
26
26
  }
27
27
  return j2.configure.verification || (j2.configure.verification = {}), void 0 !== j2.configure.props.base.isDragColumn && null !== j2.configure.props.base.isDragColumn || (j2.configure.props.base.isDragColumn = true), l(() => j2.configure.props.base.selection, (e3) => {
@@ -50,8 +50,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
50
50
  }), null != e4 && j2.configure.items.splice(e4, 1);
51
51
  }
52
52
  }), (a2, l2) => {
53
- const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), T = t("el-radio"), H = t("el-radio-group"), q = t("el-collapse-item"), I = t("el-switch"), R = t("el-checkbox"), F = t("el-checkbox-group"), M = t("el-collapse"), N = t("el-form");
54
- return u(), o(N, { "label-width": "80px", size: "small" }, { default: s(() => [i(M, { modelValue: O.value, "onUpdate:modelValue": l2[43] || (l2[43] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: s(() => [(u(true), n(r, null, p(m(_)(), (e3) => (u(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "default" }, { default: s(() => l2[44] || (l2[44] = [f("普通")])), _: 1 }), i(T, { value: "hidden" }, { default: s(() => l2[45] || (l2[45] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: s((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: s(() => [(u(true), n(r, null, p(e2.configure.modelFields, (e3, a4) => (u(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (u(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[53] || (l2[53] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[54] || (l2[54] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[55] || (l2[55] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": B }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "default" }, { default: s(() => l2[56] || (l2[56] = [f("默认")])), _: 1 }), i(T, { value: "covered" }, { default: s(() => l2[57] || (l2[57] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "left" }, { default: s(() => l2[60] || (l2[60] = [f("居左")])), _: 1 }), i(T, { value: "center" }, { default: s(() => l2[61] || (l2[61] = [f("居中")])), _: 1 }), i(T, { value: "right" }, { default: s(() => l2[62] || (l2[62] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "left" }, { default: s(() => l2[63] || (l2[63] = [f("居左")])), _: 1 }), i(T, { value: "center" }, { default: s(() => l2[64] || (l2[64] = [f("居中")])), _: 1 }), i(T, { value: "right" }, { default: s(() => l2[65] || (l2[65] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "文本溢出", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.textOverflow, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.textOverflow = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "hidden" }, { default: s(() => l2[66] || (l2[66] = [f("隐藏")])), _: 1 }), i(T, { value: "newline" }, { default: s(() => l2[67] || (l2[67] = [f("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[82] || (l2[82] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[83] || (l2[83] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[84] || (l2[84] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[85] || (l2[85] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "no" }, { default: s(() => l2[86] || (l2[86] = [f("不合计")])), _: 1 }), i(T, { value: "current" }, { default: s(() => l2[87] || (l2[87] = [f("当前页")])), _: 1 }), i(T, { value: "all" }, { default: s(() => l2[88] || (l2[88] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: s(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: s(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[89] || (l2[89] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[90] || (l2[90] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: s(() => [i(F, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.layout = a3) }, { default: s(() => [i(R, { label: "总条数", value: "total" }), i(R, { label: "每页大小选项列表", value: "sizes" }), i(R, { label: "上一页", value: "prev" }), i(R, { label: "跳转页码", value: "pager" }), i(R, { label: "下一页", value: "next" }), i(R, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true, isHeightOffset: "" }, null, 8, ["size"]), i(q, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", E, [e2.pageDesign.props.activeWorkflow ? g("", true) : (u(), o(V2, { key: 0, class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [i(R, { modelValue: e2.configure.verification.notEmpty, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.verification.notEmpty = a3), label: "子表不能为空" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
53
+ const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), L = t("el-radio"), H = t("el-radio-group"), q = t("el-collapse-item"), I = t("el-switch"), R = t("el-checkbox"), F = t("el-checkbox-group"), M = t("el-collapse"), N = t("el-form");
54
+ return u(), o(N, { "label-width": "80px", size: "small" }, { default: s(() => [i(M, { modelValue: O.value, "onUpdate:modelValue": l2[44] || (l2[44] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: s(() => [(u(true), n(r, null, p(m(_)(), (e3) => (u(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "default" }, { default: s(() => l2[45] || (l2[45] = [f("普通")])), _: 1 }), i(L, { value: "hidden" }, { default: s(() => l2[46] || (l2[46] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: s((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: s(() => [(u(true), n(r, null, p(e2.configure.modelFields, (e3, a4) => (u(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[47] || (l2[47] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[48] || (l2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[49] || (l2[49] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[50] || (l2[50] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[51] || (l2[51] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[52] || (l2[52] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (u(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[53] || (l2[53] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[54] || (l2[54] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[55] || (l2[55] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[56] || (l2[56] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": B }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "default" }, { default: s(() => l2[57] || (l2[57] = [f("默认")])), _: 1 }), i(L, { value: "covered" }, { default: s(() => l2[58] || (l2[58] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[59] || (l2[59] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[60] || (l2[60] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "left" }, { default: s(() => l2[61] || (l2[61] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: s(() => l2[62] || (l2[62] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: s(() => l2[63] || (l2[63] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "left" }, { default: s(() => l2[64] || (l2[64] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: s(() => l2[65] || (l2[65] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: s(() => l2[66] || (l2[66] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "文本溢出", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.textOverflow, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.textOverflow = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "hidden" }, { default: s(() => l2[67] || (l2[67] = [f("隐藏")])), _: 1 }), i(L, { value: "newline" }, { default: s(() => l2[68] || (l2[68] = [f("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[69] || (l2[69] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[70] || (l2[70] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[71] || (l2[71] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[72] || (l2[72] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[73] || (l2[73] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[74] || (l2[74] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[75] || (l2[75] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[76] || (l2[76] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[77] || (l2[77] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[78] || (l2[78] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[79] || (l2[79] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[80] || (l2[80] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[81] || (l2[81] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[82] || (l2[82] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[83] || (l2[83] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[84] || (l2[84] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[85] || (l2[85] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[86] || (l2[86] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: s(() => [i(L, { value: "no" }, { default: s(() => l2[87] || (l2[87] = [f("不合计")])), _: 1 }), i(L, { value: "current" }, { default: s(() => l2[88] || (l2[88] = [f("当前页")])), _: 1 }), i(L, { value: "all" }, { default: s(() => l2[89] || (l2[89] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: s(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: s(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), e2.pageDesign.pageType && "form" === e2.pageDesign.pageType ? (u(), o(V2, { key: 0, label: "所有行默认编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.allEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.allEditable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", E, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", S, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: s(() => [i(L, { value: true }, { default: s(() => l2[90] || (l2[90] = [f("是")])), _: 1 }), i(L, { value: false }, { default: s(() => l2[91] || (l2[91] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: s(() => [i(F, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.layout = a3) }, { default: s(() => [i(R, { label: "总条数", value: "total" }), i(R, { label: "每页大小选项列表", value: "sizes" }), i(R, { label: "上一页", value: "prev" }), i(R, { label: "跳转页码", value: "pager" }), i(R, { label: "下一页", value: "next" }), i(R, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true, isHeightOffset: "" }, null, 8, ["size"]), i(q, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", z, [e2.pageDesign.props.activeWorkflow ? g("", true) : (u(), o(V2, { key: 0, class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [i(R, { modelValue: e2.configure.verification.notEmpty, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.verification.notEmpty = a3), label: "子表不能为空" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
55
55
  };
56
56
  } });
57
57
  export {
@@ -1,41 +1,44 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as u, createElementVNode as r, createVNode as d, withDirectives as n, withCtx as p, createTextVNode as i, toDisplayString as s, vShow as m, unref as T } from "vue";
2
- import { Plus as c, Delete as f } from "@element-plus/icons";
3
- import b from "../../common/common-variable-bind.vue.js";
2
+ import { Plus as c, Delete as b } from "@element-plus/icons";
3
+ import f from "../../common/common-variable-bind.vue.js";
4
4
  import { getUuidv4 as v } from "../../../../utils/common-util.js";
5
5
  import { usePageContextStore as y } from "../../../../../../stores/page-store.js";
6
- import { getModelOptionsByFields as w, getTableConfigByTableUuid as g } from "../../../../utils/page-table-util.js";
7
- const h = { class: "dialog-footer" }, V = e({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row", "context", "fixed"] }, tableConfigure: { type: Object, default: () => {
8
- } } }, setup(e2, { expose: V2 }) {
9
- const _ = y(), E = e2, N = l([]);
10
- let O;
11
- E.list && (N.value = E.list);
12
- const U = _.pageContext, L = U ? U.pageType : null;
13
- !L || "form" !== L && "list" !== L || (O = U.modelFields);
14
- const k = l(null);
15
- O && O.length > 0 && (k.value = w(O));
6
+ import { getModelOptionsByFields as w, queryTableFields as g, getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
7
+ const V = { class: "dialog-footer" }, N = e({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row", "context", "fixed"] }, tableConfigure: { type: Object, default: () => {
8
+ } }, tableName: { type: String, default: null } }, setup(e2, { expose: N2 }) {
9
+ const _ = y(), E = e2, O = l([]);
10
+ let U;
11
+ E.list && (O.value = E.list);
12
+ const L = _.pageContext, k = L ? L.pageType : null;
13
+ !k || "form" !== k && "list" !== k || (U = L.modelFields);
16
14
  const C = l(null);
17
- function I(e3) {
18
- e3 && (C.value = w(e3.modelFields));
15
+ U && U.length > 0 && (C.value = w(U));
16
+ const I = l(null);
17
+ function B(e3) {
18
+ E.tableName ? g(null, null, E.tableName).then((e4) => {
19
+ I.value = w(e4), R.value = e4;
20
+ }).catch((e4) => {
21
+ }) : e3 && (I.value = w(e3.modelFields));
19
22
  }
20
- I(E.tableConfigure);
21
- const B = l(false), A = l({});
22
- function G() {
23
+ B(E.tableConfigure);
24
+ const A = l(false), G = l({});
25
+ function j() {
23
26
  var _a;
24
- I(g(U, null, E.tableConfigure)), R((_a = E.tableConfigure) == null ? void 0 : _a.modelFields), B.value = true;
27
+ B(h(L, null, E.tableConfigure)), W((_a = E.tableConfigure) == null ? void 0 : _a.modelFields), A.value = true;
25
28
  }
26
- function j() {
27
- N.value && N.value.length > 0 && N.value.splice(N.value.length - 1, 1);
29
+ function x() {
30
+ O.value && O.value.length > 0 && O.value.splice(O.value.length - 1, 1);
28
31
  }
29
- function x(e3) {
30
- A.value = e3;
32
+ function F(e3) {
33
+ G.value = e3;
31
34
  }
32
- function F() {
33
- N.value.push({ uuid: v(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" });
35
+ function M() {
36
+ O.value.push({ uuid: v(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" });
34
37
  }
35
- function M(e3) {
38
+ function S(e3) {
36
39
  let l2 = -1;
37
40
  const a2 = E.list.length;
38
- for (let t2 = 0; t2 < a2; t2++) if (N.value[t2].uuid == e3.uuid) {
41
+ for (let t2 = 0; t2 < a2; t2++) if (O.value[t2].uuid == e3.uuid) {
39
42
  l2 = t2;
40
43
  break;
41
44
  }
@@ -54,31 +57,31 @@ const h = { class: "dialog-footer" }, V = e({ __name: "condition", props: { list
54
57
  const e4 = _.getModelField(l3);
55
58
  a3 = e4 ? e4.dataType : null;
56
59
  } else if (l3.startsWith("row.")) {
57
- const e4 = l3.substring(l3.indexOf(".") + 1), t2 = S.value.filter((l4) => l4.name === e4 || l4.dbColumnName === e4);
60
+ const e4 = l3.substring(l3.indexOf(".") + 1), t2 = R.value.filter((l4) => l4.name === e4 || l4.dbColumnName === e4);
58
61
  a3 = t2 && t2.length > 0 ? t2[0].dataType : "TEXT";
59
62
  }
60
63
  }
61
64
  l2.dataType = a3;
62
65
  }
63
66
  }
64
- const S = l([]);
65
- function R(e3) {
66
- S.value = e3 || [];
67
+ const R = l([]);
68
+ function W(e3) {
69
+ R.value = e3 || [];
67
70
  }
68
- return V2({ changeTableFields: R }), (l2, v2) => {
69
- const y2 = a("el-button"), w2 = a("el-text"), g2 = a("el-row"), V3 = a("Top"), _2 = a("el-icon"), E2 = a("Bottom"), O2 = a("el-table-column"), U2 = a("el-option"), L2 = a("el-select"), I2 = a("el-table"), A2 = a("el-dialog");
70
- return o(), t(u, null, [r("div", null, [d(y2, { type: "primary", onClick: v2[0] || (v2[0] = (e3) => G()) }, { default: p(() => [i(s(e2.buttonText), 1)]), _: 1 }), n(d(w2, { type: "success" }, { default: p(() => v2[4] || (v2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, e2.list && e2.list.length > 0]])]), d(A2, { "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": v2[3] || (v2[3] = (e3) => B.value = e3), title: e2.title, width: "840" }, { footer: p(() => [r("div", h, [d(y2, { type: "default", onClick: v2[1] || (v2[1] = (e3) => B.value = false) }, { default: p(() => v2[7] || (v2[7] = [i("取消")])), _: 1 }), d(y2, { type: "primary", onClick: v2[2] || (v2[2] = (e3) => B.value = false) }, { default: p(() => v2[8] || (v2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(y2, { icon: T(c), plain: "", type: "primary", onClick: F }, { default: p(() => v2[5] || (v2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(y2, { icon: T(f), plain: "", type: "primary", onClick: j }, { default: p(() => v2[6] || (v2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(I2, { border: "", "highlight-current-row": "", onCurrentChange: x, data: N.value, style: { width: "100%" } }, { default: p(() => [d(O2, { width: "36" }, { default: p((e3) => [d(_2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
71
- let l4 = M(e4);
71
+ return N2({ changeTableFields: W }), (l2, v2) => {
72
+ const y2 = a("el-button"), w2 = a("el-text"), g2 = a("el-row"), h2 = a("Top"), N3 = a("el-icon"), _2 = a("Bottom"), E2 = a("el-table-column"), U2 = a("el-option"), L2 = a("el-select"), k2 = a("el-table"), B2 = a("el-dialog");
73
+ return o(), t(u, null, [r("div", null, [d(y2, { type: "primary", onClick: v2[0] || (v2[0] = (e3) => j()) }, { default: p(() => [i(s(e2.buttonText), 1)]), _: 1 }), n(d(w2, { type: "success" }, { default: p(() => v2[4] || (v2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, e2.list && e2.list.length > 0]])]), d(B2, { "append-to-body": "", modelValue: A.value, "onUpdate:modelValue": v2[3] || (v2[3] = (e3) => A.value = e3), title: e2.title, width: "840" }, { footer: p(() => [r("div", V, [d(y2, { type: "default", onClick: v2[1] || (v2[1] = (e3) => A.value = false) }, { default: p(() => v2[7] || (v2[7] = [i("取消")])), _: 1 }), d(y2, { type: "primary", onClick: v2[2] || (v2[2] = (e3) => A.value = false) }, { default: p(() => v2[8] || (v2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(y2, { icon: T(c), plain: "", type: "primary", onClick: M }, { default: p(() => v2[5] || (v2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(y2, { icon: T(b), plain: "", type: "primary", onClick: x }, { default: p(() => v2[6] || (v2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(k2, { border: "", "highlight-current-row": "", onCurrentChange: F, data: O.value, style: { width: "100%" } }, { default: p(() => [d(E2, { width: "36" }, { default: p((e3) => [d(N3, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
74
+ let l4 = S(e4);
72
75
  if (l4 < 1) return;
73
- const a2 = N.value;
76
+ const a2 = O.value;
74
77
  [a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
75
- }(e3.row) }, { default: p(() => [d(V3)]), _: 2 }, 1032, ["onClick"]), d(_2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
76
- let l4 = M(e4);
77
- const a2 = N.value;
78
+ }(e3.row) }, { default: p(() => [d(h2)]), _: 2 }, 1032, ["onClick"]), d(N3, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
79
+ let l4 = S(e4);
80
+ const a2 = O.value;
78
81
  -1 != l4 && a2.length != l4 + 1 && ([a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]]);
79
- }(e3.row) }, { default: p(() => [d(E2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(O2, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: "(", value: "(" }), d(U2, { label: "((", value: "((" }), d(U2, { label: "(((", value: "(((" }), d(U2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [d(b, { modelValue: l3.row.propName, dataModelOptions: k.value, objModelOptions: C.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => D(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [d(L2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(U2, { label: "大于", value: "GT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "小于", value: "LT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "晚于", value: "GT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "早于", value: "LT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "等于", value: "EQ" }), n(d(U2, { label: "不大于", value: "LET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不小于", value: "GET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不晚于", value: "LET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "不早于", value: "GET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "不等于", value: "NET" }), n(d(U2, { label: "包含", value: "CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), n(d(U2, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), d(U2, { label: "等于Null", value: "IS_NULL" }), d(U2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [d(b, { modelValue: e3.row.propValue, "onUpdate:modelValue": (l3) => D(l3, e3.row, "propValue") }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: ")", value: ")" }), d(U2, { label: "))", value: "))" }), d(U2, { label: ")))", value: ")))" }), d(U2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "或者", value: "or" }), d(U2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "variableIsNull", label: "变量为空时", width: "130" }, { default: p((e3) => [d(L2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "Null", value: "null" }), d(U2, { label: "忽略(1=1)", value: "ignore" }), d(U2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
82
+ }(e3.row) }, { default: p(() => [d(_2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(E2, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: "(", value: "(" }), d(U2, { label: "((", value: "((" }), d(U2, { label: "(((", value: "(((" }), d(U2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [d(f, { modelValue: l3.row.propName, dataModelOptions: C.value, objModelOptions: I.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => D(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [d(L2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(U2, { label: "大于", value: "GT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "小于", value: "LT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "晚于", value: "GT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "早于", value: "LT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "等于", value: "EQ" }), n(d(U2, { label: "不大于", value: "LET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不小于", value: "GET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不晚于", value: "LET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "不早于", value: "GET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "不等于", value: "NET" }), n(d(U2, { label: "包含", value: "CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), n(d(U2, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), d(U2, { label: "等于Null", value: "IS_NULL" }), d(U2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [d(f, { modelValue: e3.row.propValue, "onUpdate:modelValue": (l3) => D(l3, e3.row, "propValue") }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: ")", value: ")" }), d(U2, { label: "))", value: "))" }), d(U2, { label: ")))", value: ")))" }), d(U2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "或者", value: "or" }), d(U2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(E2, { prop: "variableIsNull", label: "变量为空时", width: "130" }, { default: p((e3) => [d(L2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "Null", value: "null" }), d(U2, { label: "忽略(1=1)", value: "ignore" }), d(U2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
80
83
  };
81
84
  } });
82
85
  export {
83
- V as default
86
+ N as default
84
87
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./data-origin.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(o, [["__scopeId", "data-v-307b2416"]]);
4
+ const t = r(o, [["__scopeId", "data-v-f7769648"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -80,7 +80,7 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, U = ["onClick"], x = e({ __
80
80
  const T2 = t("el-radio"), F2 = t("el-radio-group"), k2 = t("el-form-item"), x3 = t("el-radio-button"), D2 = t("el-switch"), X2 = t("el-option"), ee = t("el-select"), ae = t("el-button"), le = t("el-input"), te = t("el-collapse-item");
81
81
  return i(), o(te, { title: "数据源", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", N, [u(k2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3), onChange: E }, { default: n(() => [u(T2, { value: "none" }, { default: n(() => l2[13] || (l2[13] = [p("无")])), _: 1 }), u(T2, { value: "static" }, { default: n(() => l2[14] || (l2[14] = [p("静态数据")])), _: 1 }), u(T2, { value: "optionGroup" }, { default: n(() => l2[15] || (l2[15] = [p("选项组")])), _: 1 }), u(T2, { value: "dynamicData" }, { default: n(() => l2[16] || (l2[16] = [p("动态数据源")])), _: 1 }), u(T2, { value: "dataTable" }, { default: n(() => l2[17] || (l2[17] = [p("数据表/视图")])), _: 1 }), u(T2, { value: "service" }, { default: n(() => l2[18] || (l2[18] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(u(k2, { label: "可搜索", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.filterType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.filterType = a3), class: "ml-4" }, { default: n(() => [u(x3, { value: "normal" }, { default: n(() => l2[19] || (l2[19] = [p("普通")])), _: 1 }), d(u(x3, { value: "remote" }, { default: n(() => l2[20] || (l2[20] = [p("远程")])), _: 1 }, 512), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]]), u(x3, { value: "none" }, { default: n(() => l2[21] || (l2[21] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "select" == e2.configure.name]]), e2.isTable ? (i(), o(k2, { key: 0, label: "value-label自动转换", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.valueLabelSwitch, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.valueLabelSwitch = a3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.optionValueSetType && "static" !== e2.configure.props.dataOrigin.optionValueSetType ? s("", true) : (i(), o(V, { key: 1, style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: m(L), type: "select", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin"])), d(u(k2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": R, loading: $.value }, { default: n(() => [(i(true), g(f, null, b(I.value, (e3) => (i(), o(X2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[c, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), "dynamicData" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 2, label: "动态数据源", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.dynamicDataSourceCode, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.dynamicDataSourceCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: z.value, onChange: J }, { default: n(() => [(i(true), g(f, null, b(B.value, (e3) => (i(), o(X2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : s("", true), d(u(k2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [u(le, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, clearable: "", readonly: "true" }, { append: n(() => [u(ae, { type: "default", icon: m(C), onClick: H, size: "small" }, null, 8, ["icon"]), u(ae, { type: "default", icon: m(h), onClick: K, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.tableValueField, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableValueField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(X2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.tableLableField, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.dataOrigin.tableLableField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(X2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: n(() => [u(ae, { type: "primary", onClick: Y }, { default: n(() => l2[22] || (l2[22] = [p("添加")])), _: 1 }), u(ae, { type: "default", onClick: Z }, { default: n(() => l2[23] || (l2[23] = [p("删除")])), _: 1 }), (i(true), g(f, null, b(m(L).sortFields, (e3, a3) => (i(), g("div", { key: a3, onClick: (e4) => function(e5) {
82
82
  G.value = e5;
83
- }(a3), style: { "margin-top": "6px" }, class: y(G.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [u(ee, { modelValue: e3.name, "onUpdate:modelValue": (a4) => e3.name = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e4, a4) => (i(), o(X2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), u(ee, { modelValue: e3.type, "onUpdate:modelValue": (a4) => e3.type = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [u(X2, { label: "升序", value: "asc" }), u(X2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, U))), 128))]), _: 1 })) : s("", true), d(u(k2, { label: "显示数量", class: "amb-design-attr-item" }, { default: n(() => [u(le, { modelValue: e2.configure.props.dataOrigin.displayQuantity, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dataOrigin.displayQuantity = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [u(v, { title: "过滤条件", list: e2.configure.props.dataOrigin.filterList, ref_key: "conditionRef", ref: A }, null, 8, ["list"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [u(w, { pageDesign: m(j), rowObj: m(L).service, onlyService: "", "onUpdate:modelValue": l2[9] || (l2[9] = (e3, a3, l3) => function(e4, a4, l4) {
83
+ }(a3), style: { "margin-top": "6px" }, class: y(G.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [u(ee, { modelValue: e3.name, "onUpdate:modelValue": (a4) => e3.name = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e4, a4) => (i(), o(X2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), u(ee, { modelValue: e3.type, "onUpdate:modelValue": (a4) => e3.type = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [u(X2, { label: "升序", value: "asc" }), u(X2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, U))), 128))]), _: 1 })) : s("", true), d(u(k2, { label: "显示数量", class: "amb-design-attr-item" }, { default: n(() => [u(le, { modelValue: e2.configure.props.dataOrigin.displayQuantity, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dataOrigin.displayQuantity = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [u(v, { title: "过滤条件", list: e2.configure.props.dataOrigin.filterList, tableName: e2.configure.props.dataOrigin.tableName, ref_key: "conditionRef", ref: A }, null, 8, ["list", "tableName"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [u(w, { pageDesign: m(j), rowObj: m(L).service, onlyService: "", "onUpdate:modelValue": l2[9] || (l2[9] = (e3, a3, l3) => function(e4, a4, l4) {
84
84
  L.service.simpleCode = a4, L.service.name = l4;
85
85
  }(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[c, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "数据集字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceDataSetField, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => m(L).serviceDataSetField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceValueField, "onUpdate:modelValue": l2[11] || (l2[11] = (e3) => m(L).serviceValueField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceLabelField, "onUpdate:modelValue": l2[12] || (l2[12] = (e3) => m(L).serviceLabelField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(S, { ref: "dataOriginServiceInRef", dataOrigin: m(L) }, null, 8, ["dataOrigin"]), [[c, "service" == e2.configure.props.dataOrigin.optionValueSetType]]), d(u(O, { ref_key: "dataOriginAutosetRef", ref: P, dataOrigin: m(L), isTable: e2.isTable }, null, 8, ["dataOrigin", "isTable"]), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), u(_, { ref_key: "selectTableDialog", ref: q, onSelectTable: M, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
86
86
  };
@@ -1,31 +1,31 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as r, createElementVNode as s, withDirectives as n, createElementBlock as m, Fragment as p, renderList as d, unref as f, createTextVNode as c, vShow as g } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as r, createElementVNode as s, withDirectives as n, createElementBlock as p, Fragment as d, renderList as m, unref as f, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
- import v from "../../common/common-attr-size.vue.js";
5
- import _ from "../common/pre-suffix.vue.js";
6
- import h from "../../common/common-variable-bind.vue.js";
4
+ import _ from "../../common/common-attr-size.vue.js";
5
+ import h from "../common/pre-suffix.vue.js";
6
+ import v from "../../common/common-variable-bind.vue.js";
7
7
  import y from "../common/data-format.vue.js";
8
- import x from "../../common/common-function-code.vue.js";
9
- import S from "../../common/common-i18n-key-input.vue.js";
10
- const k = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "label-attr-base", props: { configure: Object, pageDesign: { type: Object, default: () => {
11
- } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: w2 }) {
12
- const j = e2;
13
- j.configure.props || (j.configure.props = {}), j.configure.props.preSuffix || (j.configure.props.preSuffix = {});
14
- const U = l(j.configure.name), T = w2, z = l(["base"]), W = l(false);
15
- function O(e3, l2) {
16
- j.configure.props.base.prop = e3, l2 && (j.configure.props.base.title = l2);
8
+ import w from "../../common/common-function-code.vue.js";
9
+ import x from "../../common/common-i18n-key-input.vue.js";
10
+ const k = { style: { padding: "8px 0px 0px 0px" } }, S = e({ __name: "label-attr-base", props: { configure: Object, pageDesign: { type: Object, default: () => {
11
+ } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: S2 }) {
12
+ const T = e2;
13
+ T.configure.props || (T.configure.props = {}), T.configure.props.preSuffix || (T.configure.props.preSuffix = {});
14
+ const U = l(T.configure.name), j = S2, z = l(["base"]), W = l(false);
15
+ function A(e3, l2) {
16
+ T.configure.props.base.prop = e3, l2 && (T.configure.props.base.title = l2);
17
17
  }
18
- function A(e3) {
19
- V(j.configure, e3, T);
18
+ function O(e3) {
19
+ V(T.configure, e3, j);
20
20
  }
21
21
  function C(e3) {
22
- j.configure.props.base.defaultValue = e3;
22
+ T.configure.props.base.defaultValue = e3;
23
23
  }
24
- return j.configure.isTable && (W.value = true), (l2, V2) => {
25
- const w3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), D = a("el-input"), q = a("el-radio"), B = a("el-radio-group"), E = a("el-input-number"), F = a("el-collapse-item"), G = a("el-collapse"), H = a("el-form");
26
- return u(), o(H, { "label-width": "80px", size: "small" }, { default: t(() => [i(G, { modelValue: z.value, "onUpdate:modelValue": V2[7] || (V2[7] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", k, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: U.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => U.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), m(p, null, d(f(b)(), (e3) => (u(), o(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? r("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? r("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(x, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), i(T2, { label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(q, { value: true }, { default: t(() => V2[8] || (V2[8] = [c("显示")])), _: 1 }), i(q, { value: false }, { default: t(() => V2[9] || (V2[9] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.tittleShow ? (u(), o(T2, { key: 2, label: "是否是标题", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.props.base.whetherTittle, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.whetherTittle = l3), class: "ml-4" }, { default: t(() => [i(q, { value: true }, { default: t(() => V2[10] || (V2[10] = [c("")])), _: 1 }), i(q, { value: false }, { default: t(() => V2[11] || (V2[11] = [c("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), n(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(S, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(q, { value: "block" }, { default: t(() => V2[12] || (V2[12] = [c("换行")])), _: 1 }), i(q, { value: "inline" }, { default: t(() => V2[13] || (V2[13] = [c("不换行")])), _: 1 }), i(q, { value: "omit" }, { default: t(() => V2[14] || (V2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]])])]), _: 1 }), (u(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), (u(), o(_, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), W.value ? r("", true) : (u(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
24
+ return T.configure.isTable && (W.value = true), (l2, V2) => {
25
+ const S3 = a("el-option"), T2 = a("el-select"), j2 = a("el-form-item"), D = a("el-input"), N = a("el-radio"), q = a("el-radio-group"), B = a("el-input-number"), E = a("el-radio-button"), F = a("el-collapse-item"), G = a("el-collapse"), H = a("el-form");
26
+ return u(), o(H, { "label-width": "80px", size: "small" }, { default: t(() => [i(G, { modelValue: z.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", k, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: U.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => U.value = e3), onChange: O, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, m(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? r("", true) : (u(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? r("", true) : (u(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(w, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), i(j2, { label: "组件标题", class: "amb-design-attr-item" }, { default: t(() => [i(q, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(N, { value: true }, { default: t(() => V2[10] || (V2[10] = [c("显示")])), _: 1 }), i(N, { value: false }, { default: t(() => V2[11] || (V2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(q, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(N, { value: "block" }, { default: t(() => V2[12] || (V2[12] = [c("换行")])), _: 1 }), i(N, { value: "inline" }, { default: t(() => V2[13] || (V2[13] = [c("不换行")])), _: 1 }), i(N, { value: "omit" }, { default: t(() => V2[14] || (V2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), e2.configure.props.base.tittleShow ? (u(), o(j2, { key: 2, label: "是否是表单标题", class: "amb-design-attr-item" }, { default: t(() => [i(q, { modelValue: e2.configure.props.base.whetherTittle, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.whetherTittle = l3), class: "ml-4" }, { default: t(() => [i(N, { value: true }, { default: t(() => V2[15] || (V2[15] = [c("是")])), _: 1 }), i(N, { value: false }, { default: t(() => V2[16] || (V2[16] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), e2.configure.props.base.whetherTittle ? r("", true) : (u(), o(j2, { key: 3, label: "类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: e2.configure.props.base.showType, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.showType = l3), class: "ml-4", clearable: "", placeholder: "请选择" }, { default: t(() => [i(S3, { label: "表单编号", value: "formNo" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), e2.configure.props.base.showType && !e2.configure.props.base.whetherTittle ? (u(), o(j2, { key: 4, label: "对齐方式", class: "amb-design-attr-item" }, { default: t(() => [i(q, { modelValue: e2.configure.props.base.contentAlign, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.contentAlign = l3) }, { default: t(() => [i(E, { value: "flex-start" }, { default: t(() => V2[17] || (V2[17] = [c("")])), _: 1 }), i(E, { value: "center" }, { default: t(() => V2[18] || (V2[18] = [c("")])), _: 1 }), i(E, { value: "flex-end" }, { default: t(() => V2[19] || (V2[19] = [c("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), (u(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), (u(), o(h, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), W.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
27
27
  };
28
28
  } });
29
29
  export {
30
- w as default
30
+ S as default
31
31
  };
@@ -1,4 +1,7 @@
1
1
  import e from "./label-design.vue2.js";
2
+ /* empty css */
3
+ import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = o(e, [["__scopeId", "data-v-abc299d9"]]);
2
5
  export {
3
- e as default
6
+ r as default
4
7
  };
@@ -1,28 +1,28 @@
1
- import { defineComponent as e, ref as u, watch as t, resolveComponent as l, createBlock as a, openBlock as o, normalizeStyle as i, normalizeClass as n, withCtx as r, createElementVNode as s, createElementBlock as p, createCommentVNode as c, createTextVNode as f, unref as v, toDisplayString as y } from "vue";
2
- import { caculateDetailComponentStyle as d, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
1
+ import { defineComponent as e, ref as t, watch as l, resolveComponent as u, createElementBlock as a, createBlock as i, openBlock as n, normalizeStyle as o, normalizeClass as r, createElementVNode as s, toDisplayString as p, withCtx as c, createCommentVNode as f, createTextVNode as v, unref as y } from "vue";
2
+ import { caculateDetailComponentStyle as m, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
3
3
  import { SuperIcon as T } from "agilebuilder-ui";
4
- const g = { style: { display: "flex", width: "100%", "justify-content": "space-between" } }, x = ["title"], I = e({ __name: "label-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
- const I2 = e2;
6
- I2.configure.runtime || (I2.configure.runtime = {});
7
- const b = u({}), h = u(""), V = u({}), _ = u({}), w = u({});
8
- return t(I2.configure.style, () => {
9
- d(I2.configure, b, h, V), I2.configure.runtime.style = b.value, I2.configure.runtime.class = h.value, I2.configure.runtime.headerStyle = V.value;
10
- }, { immediate: true }), t(I2.configure.props, () => {
11
- m(I2.configure, _, w), function() {
12
- let e3 = I2.configure.props ? I2.configure.props : {};
13
- const u2 = e3.base ? e3.base : {}, t2 = e3.dataOrigin ? e3.dataOrigin : {}, l2 = {};
14
- u2.labelText && (l2.labelText = u2.labelText), u2.whetherTittle && (l2.whetherTittle = u2.whetherTittle);
4
+ const g = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, x = { style: { display: "flex", width: "100%", "justify-content": "space-between" } }, h = ["title"], w = { key: 2, style: { display: "flex", "justify-content": "space-between" } }, I = { style: { overflow: "hidden", "white-space": "nowrap" } }, b = { key: 0 }, V = e({ __name: "label-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
+ const V2 = e2;
6
+ V2.configure.runtime || (V2.configure.runtime = {});
7
+ const S = t({}), _ = t(""), k = t({}), F = t({}), j = t({});
8
+ return l(V2.configure.style, () => {
9
+ m(V2.configure, S, _, k), V2.configure.runtime.style = S.value, V2.configure.runtime.class = _.value, V2.configure.runtime.headerStyle = k.value;
10
+ }, { immediate: true }), l(V2.configure.props, () => {
11
+ d(V2.configure, F, j), function() {
12
+ let e3 = V2.configure.props ? V2.configure.props : {};
13
+ const t2 = e3.base ? e3.base : {}, l2 = e3.dataOrigin ? e3.dataOrigin : {}, u2 = {};
14
+ t2.labelText && (u2.labelText = t2.labelText), t2.whetherTittle ? u2.whetherTittle = t2.whetherTittle : (u2.whetherTittle = false, u2.showType = t2.showType, u2.contentAlign = t2.contentAlign);
15
15
  const a2 = e3.preSuffix ? e3.preSuffix : {};
16
- (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (l2.preIconType = a2.preIconType, l2.preIconValue = a2.preIconValue, l2.preText = a2.preText, l2.sufIconType = a2.sufIconType, l2.sufIconValue = a2.sufIconValue, l2.sufText = a2.sufText, l2.iconPosition = a2.position);
17
- const o2 = t2.optionValueSetType;
18
- let i2 = false;
19
- o2 && (_.value.formatType = o2, "static" != o2 && "optionGroup" != o2 && "dynamicData" != o2 && "dataTable" != o2 || (i2 = true), _.value.hasOptions = i2, _.value.decimalDigit = t2.decimalDigit, _.value.thousandsSeparator = t2.thousandsSeparator, _.value.symbol = t2.symbol, _.value.dateFormat = t2.dateFormat, _.value.timeFormat = t2.timeFormat, _.value.formatFunc = t2.formatFunc), Object.assign(_.value, l2);
20
- }(), I2.configure.runtime.props = _.value, I2.configure.runtime.titleExceedStyle = w.value;
21
- }, { immediate: true }), (e3, u2) => {
22
- const t2 = l("el-form-item");
23
- return o(), a(t2, { required: !!_.value.required, class: n(h.value), "label-width": _.value.labelWidth, style: i(b.value) }, { label: r(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: i({ ...V.value, ...w.value }) }, y(_.value.title), 5)) : c("", true)]), default: r(() => [s("div", g, [s("span", { style: { overflow: "hidden" }, title: _.value.value }, [_.value.preIconValue || _.value.preText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }), style: i(e3.appendStyle) }, [_.value.preIconType && _.value.preIconValue ? (o(), a(v(T), { key: 0, iconType: _.value.preIconType, iconValue: _.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), f(" " + y(_.value.preText), 1)], 6)) : c("", true), f("  " + y(_.value.value), 1)], 8, x), _.value.sufIconValue || _.value.sufText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }) }, [_.value.sufIconType && _.value.sufIconValue ? (o(), a(v(T), { key: 0, style: {}, iconType: _.value.sufIconType, iconValue: _.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), s("span", null, " " + y(_.value.sufText), 1)], 2)) : c("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
16
+ (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (u2.preIconType = a2.preIconType, u2.preIconValue = a2.preIconValue, u2.preText = a2.preText, u2.sufIconType = a2.sufIconType, u2.sufIconValue = a2.sufIconValue, u2.sufText = a2.sufText, u2.iconPosition = a2.position);
17
+ const i2 = l2.optionValueSetType;
18
+ let n2 = false;
19
+ i2 && (F.value.formatType = i2, "static" != i2 && "optionGroup" != i2 && "dynamicData" != i2 && "dataTable" != i2 || (n2 = true), F.value.hasOptions = n2, F.value.decimalDigit = l2.decimalDigit, F.value.thousandsSeparator = l2.thousandsSeparator, F.value.symbol = l2.symbol, F.value.dateFormat = l2.dateFormat, F.value.timeFormat = l2.timeFormat, F.value.formatFunc = l2.formatFunc), Object.assign(F.value, u2);
20
+ }(), V2.configure.runtime.props = F.value, V2.configure.runtime.titleExceedStyle = j.value;
21
+ }, { immediate: true }), (e3, t2) => {
22
+ const l2 = u("el-form-item");
23
+ return F.value.whetherTittle ? (n(), a("div", { key: 0, ref: "titleRef", class: r(e3.runtimeClass), style: o(e3.runtimeStyle) }, [s("div", g, p(F.value.title), 1)], 6)) : F.value.tittleShow ? (n(), i(l2, { key: 1, required: !!F.value.required, class: r([_.value, F.value.contentAlign ? "form-item-align-" + F.value.contentAlign : "formNo" === F.value.showType ? "form-item-align-right" : ""]), "label-width": F.value.labelWidth, style: o(S.value) }, { label: c(() => [F.value.tittleShow ? (n(), a("div", { key: 0, style: o({ ...k.value, ...j.value }) }, p(F.value.title), 5)) : f("", true)]), default: c(() => [s("div", x, [s("span", { style: { overflow: "hidden" }, title: F.value.value }, [F.value.preIconValue || F.value.preText ? (n(), a("span", { key: 0, class: r({ "el-input__suffix": "outer" != F.value.iconPosition, "el-input-group__append": "outer" == F.value.iconPosition }), style: o(e3.appendStyle) }, [F.value.preIconType && F.value.preIconValue ? (n(), i(y(T), { key: 0, iconType: F.value.preIconType, iconValue: F.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : f("", true), v(" " + p(F.value.preText), 1)], 6)) : f("", true), v("  " + p(F.value.value) + " " + p("formNo" === F.value.showType ? "(表单编号xxxx)" : ""), 1)], 8, h), F.value.sufIconValue || F.value.sufText ? (n(), a("span", { key: 0, class: r({ "el-input__suffix": "outer" != F.value.iconPosition, "el-input-group__append": "outer" == F.value.iconPosition }) }, [F.value.sufIconType && F.value.sufIconValue ? (n(), i(y(T), { key: 0, style: {}, iconType: F.value.sufIconType, iconValue: F.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : f("", true), s("span", null, " " + p(F.value.sufText), 1)], 2)) : f("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (n(), a("span", w, [s("span", I, p(F.value.prefixIcon) + " " + p(), 1), F.value.suffixTxt ? (n(), a("span", b, p(F.value.suffixTxt), 1)) : f("", true)]));
24
24
  };
25
25
  } });
26
26
  export {
27
- I as default
27
+ V as default
28
28
  };
@@ -1,4 +1,4 @@
1
- const e = { "window.": [{ label: "window.$PageUtil", type: "property", info: "页面工具方法" }, { label: "window.$message", type: "property", info: "提示信息" }, { label: "window.$http", type: "property", info: "接口调用" }], "window.$http.": [{ label: "window.$http.get(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.post(url,{}).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.delete(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.put(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.patch(url).then(result => {\n\n})", type: "function", info: "" }], "window.$message.": [{ label: "window.$message.info()", type: "function", info: "提示消息" }, { label: "window.$message.success()", type: "function", info: "成功消息" }, { label: "window.$message.warning()", type: "function", info: "警告消息" }, { label: "window.$message.error()", type: "function", info: "错误消息" }], "window.$PageUtil.": [{ label: "window.$PageUtil.standardEvents", type: "function", info: "标准事件" }, { label: 'window.$PageUtil.getCustomFunc(params.pageContext, "xxxx")', type: "function", info: "获取自定义方法" }, { label: 'window.$PageUtil.getComponentRefByProp(params.pageContext, "xxxx")', type: "function", info: "根据属性获取组件引用对象" }, { label: 'window.$PageUtil.getComponentRefByCode(params.pageContext, "12c216ce9d424259974a56436c5af4cc")', type: "function", info: "根据组件唯一编码获取组件引用对象" }, { label: "window.$PageUtil.getEntity(params.pageContext)", type: "function", info: "获得实体" }, { label: 'window.$PageUtil.getEntityValue(params.pageContext, "xxxx")', type: "function", info: "获得实体属性值" }, { label: "window.$PageUtil.getPageData(params.pageContext)", type: "function", info: "获得页面变量" }, { label: 'window.$PageUtil.getPageDataValue(params.pageContext,"xxxx")', type: "function", info: "获得页面变量属性值" }, { label: "window.$PageUtil.getAdditionalParams(params.pageContext)", type: "function", info: "获得附加参数对象" }, { label: 'window.$PageUtil.getAdditionalParamValue(params.pageContext,"xxxx")', type: "function", info: "获得某附加参数值" }, { label: "window.$PageUtil.getFormViewData(params.pageContext)", type: "function", info: "获得表单数据查看信息" }, { label: "window.$PageUtil.getFormData(params.pageContext,id)", type: "function", info: "重新请求获得表单数据" }, { label: 'window.$PageUtil.setEntityDataValue(params.pageContext, {"name":"xxx",age:1})', type: "function", info: "设置Data值" }, { label: 'window.$PageUtil.setEntityPageValue(params.pageContext, {"name":"xxx",age:1})', type: "function", info: "设置页面变量值" }, { label: 'window.$PageUtil.setEntityValueByType(params.pageContext,"page",{"name":"xxx",age:1})', type: "function", info: "根据类型设置值" }, { label: 'window.$PageUtil.showElement(params.pageContext,["NAME","AGE"])', type: "function", info: "显示页面中的某个组件元素" }, { label: 'window.$PageUtil.hideElement(params.pageContext,["NAME","AGE"])', type: "function", info: "隐藏页面中的某个组件元素" }, { label: 'window.$PageUtil.enableElement(params.pageContext,["NAME","AGE"])', type: "function", info: "设置组件元素可用状态" }, { label: 'window.$PageUtil.disableElement(params.pageContext,["NAME","AGE"])', type: "function", info: "禁用页面中的某个组件元素" }, { label: "window.$PageUtil.disabledAllFields(params.pageContext)", type: "function", info: "禁用所有字段" }, { label: "window.$PageUtil.dynamicControlFormEdit(params.pageContext,[])", type: "function", info: "表单编辑权限动态控制" }, { label: "window.$PageUtil.dynamicControlTableEdit(params.pageContext,[],tableCode?)", type: "function", info: "控制表格编辑权限" }, { label: "window.$PageUtil.openPage(params.pageContext,openParam)", type: "function", info: "打开页面" }, { label: "window.$PageUtil.refreshPage(params.pageContext,id)", type: "function", info: "刷新页面" }, { label: "window.$PageUtil.refreshSubTableHandle(params.pageContext,tableCode)", type: "function", info: "刷新表单中子表内容" }, { label: "window.$PageUtil.refreshChildData(params.pageContextt, tableCode, data)", type: "function", info: "更新子表集合" }, { label: "window.$PageUtil.isMobile()", type: "function", info: "是否是移动端" }, { label: "window.$PageUtil.getServerConfigValue(key)", type: "function", info: "根据key获得配置信息" }, { label: "window.$PageUtil.getBackendUrl(params.pageContext)", type: "function", info: "获得当前系统后端访问路径" }, { label: "window.$PageUtil.getPlateBackendUrl()", type: "function", info: "获得平台后端访问路径" }], "logicContext.": [{ label: "logicContext.page", type: "property", info: "页面变量" }, { label: "logicContext.logic", type: "property", info: "页面逻辑" }, { label: "logicContext.task", type: "property", info: "任务变量" }, { label: "logicContext.context", type: "property", info: "上下文变量" }, { label: "logicContext.system", type: "property", info: "系统变量" }, { label: "logicContext.data", type: "property", info: "数据模型变量" }] };
1
+ const e = { de: [{ label: "debugger", type: "property" }], "params.": [{ label: "params.pageContext", type: "property", info: "页面工具上下文" }, { label: "params.configureObj", type: "property", info: "组件配置信息" }], "params.pageContext.": [{ label: "params.pageContext.entity.data", type: "property", info: "" }, { label: "params.pageContext.entity.context", type: "property", info: "" }, { label: "params.pageContext.entity.page", type: "property", info: "" }, { label: "params.pageContext.entity.request", type: "property", info: "" }, { label: "params.pageContext.entity.system", type: "property", info: "" }, { label: "params.pageContext.entity.task", type: "property", info: "" }], "window.": [{ label: "window.$PageUtil", type: "property", info: "页面工具方法" }, { label: "window.$message", type: "property", info: "提示信息" }, { label: "window.$http", type: "property", info: "接口调用" }], "window.$http.": [{ label: "window.$http.get(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.post(url,{}).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.delete(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.put(url).then(result => {\n\n})", type: "function", info: "" }, { label: "window.$http.patch(url).then(result => {\n\n})", type: "function", info: "" }], "window.$message.": [{ label: "window.$message.info()", type: "function", info: "提示消息" }, { label: "window.$message.success()", type: "function", info: "成功消息" }, { label: "window.$message.warning()", type: "function", info: "警告消息" }, { label: "window.$message.error()", type: "function", info: "错误消息" }], "window.$PageUtil.": [{ label: "window.$PageUtil.standardEvents", type: "function", info: "标准事件" }, { label: 'window.$PageUtil.getCustomFunc(params.pageContext, "xxxx")', type: "function", info: "获取自定义方法" }, { label: 'window.$PageUtil.getComponentRefByProp(params.pageContext, "xxxx")', type: "function", info: "根据属性获取组件引用对象" }, { label: 'window.$PageUtil.getComponentRefByCode(params.pageContext, "12c216ce9d424259974a56436c5af4cc")', type: "function", info: "根据组件唯一编码获取组件引用对象" }, { label: "window.$PageUtil.getEntity(params.pageContext)", type: "function", info: "获得实体" }, { label: 'window.$PageUtil.getEntityValue(params.pageContext, "xxxx")', type: "function", info: "获得实体属性值" }, { label: "window.$PageUtil.getPageData(params.pageContext)", type: "function", info: "获得页面变量" }, { label: 'window.$PageUtil.getPageDataValue(params.pageContext,"xxxx")', type: "function", info: "获得页面变量属性值" }, { label: "window.$PageUtil.getAdditionalParams(params.pageContext)", type: "function", info: "获得附加参数对象" }, { label: 'window.$PageUtil.getAdditionalParamValue(params.pageContext,"xxxx")', type: "function", info: "获得某附加参数值" }, { label: "window.$PageUtil.getFormViewData(params.pageContext)", type: "function", info: "获得表单数据查看信息" }, { label: "window.$PageUtil.getFormData(params.pageContext,id)", type: "function", info: "重新请求获得表单数据" }, { label: 'window.$PageUtil.setEntityDataValue(params.pageContext, {"name":"xxx",age:1})', type: "function", info: "设置Data值" }, { label: 'window.$PageUtil.setEntityPageValue(params.pageContext, {"name":"xxx",age:1})', type: "function", info: "设置页面变量值" }, { label: 'window.$PageUtil.setEntityValueByType(params.pageContext,"page",{"name":"xxx",age:1})', type: "function", info: "根据类型设置值" }, { label: 'window.$PageUtil.showElement(params.pageContext,["NAME","AGE"])', type: "function", info: "显示页面中的某个组件元素" }, { label: 'window.$PageUtil.hideElement(params.pageContext,["NAME","AGE"])', type: "function", info: "隐藏页面中的某个组件元素" }, { label: 'window.$PageUtil.enableElement(params.pageContext,["NAME","AGE"])', type: "function", info: "设置组件元素可用状态" }, { label: 'window.$PageUtil.disableElement(params.pageContext,["NAME","AGE"])', type: "function", info: "禁用页面中的某个组件元素" }, { label: "window.$PageUtil.disabledAllFields(params.pageContext)", type: "function", info: "禁用所有字段" }, { label: "window.$PageUtil.dynamicControlFormEdit(params.pageContext,[])", type: "function", info: "表单编辑权限动态控制" }, { label: "window.$PageUtil.dynamicControlTableEdit(params.pageContext,[],tableCode?)", type: "function", info: "控制表格编辑权限" }, { label: "window.$PageUtil.openPage(params.pageContext,openParam)", type: "function", info: "打开页面" }, { label: "window.$PageUtil.refreshPage(params.pageContext,id)", type: "function", info: "刷新页面" }, { label: "window.$PageUtil.refreshSubTableHandle(params.pageContext,tableCode)", type: "function", info: "刷新表单中子表内容" }, { label: "window.$PageUtil.refreshChildData(params.pageContextt, tableCode, data)", type: "function", info: "更新子表集合" }, { label: "window.$PageUtil.isMobile()", type: "function", info: "是否是移动端" }, { label: "window.$PageUtil.getServerConfigValue(key)", type: "function", info: "根据key获得配置信息" }, { label: "window.$PageUtil.getBackendUrl(params.pageContext)", type: "function", info: "获得当前系统后端访问路径" }, { label: "window.$PageUtil.getPlateBackendUrl()", type: "function", info: "获得平台后端访问路径" }], "logicContext.": [{ label: "logicContext.page", type: "property", info: "页面变量" }, { label: "logicContext.logic", type: "property", info: "页面逻辑" }, { label: "logicContext.task", type: "property", info: "任务变量" }, { label: "logicContext.context", type: "property", info: "上下文变量" }, { label: "logicContext.system", type: "property", info: "系统变量" }, { label: "logicContext.data", type: "property", info: "数据模型变量" }] };
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./config.vue3.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-c8908117"]]);
4
+ const r = e(o, [["__scopeId", "data-v-f39498c6"]]);
5
5
  export {
6
6
  r as default
7
7
  };