@ajaxjs/ui 1.6.4 → 1.6.6
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.
- package/dist/ajaxjs-ui.cjs.js +3 -3
- package/dist/ajaxjs-ui.es.js +126 -128
- package/dist/ajaxjs-ui.umd.js +3 -3
- package/dist/types/components/configurable-widget/form/list.vue.d.ts +0 -11
- package/dist/types/index.d.ts +300 -2
- package/dist/types/pages/system/ArticleEdit.vue.d.ts +0 -9
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/ajaxjs-ui.es.js
CHANGED
|
@@ -13433,18 +13433,18 @@ const DataDict = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_rende
|
|
|
13433
13433
|
del(s) {
|
|
13434
13434
|
if (confirm("确定删除?")) {
|
|
13435
13435
|
let i = "http://localhost:8301/scheduled/remove/" + s;
|
|
13436
|
-
|
|
13436
|
+
xhr_fetch.post(i, {}, (c) => {
|
|
13437
13437
|
c && c.status == 1 && (alert("删除成功"), location.reload());
|
|
13438
13438
|
});
|
|
13439
13439
|
}
|
|
13440
13440
|
},
|
|
13441
13441
|
pause(s) {
|
|
13442
|
-
|
|
13442
|
+
xhr_fetch.post("http://localhost:8301/scheduled/pause/" + s, {}, (i) => {
|
|
13443
13443
|
i && i.status == 1 && (alert("暂停成功"), location.reload());
|
|
13444
13444
|
});
|
|
13445
13445
|
},
|
|
13446
13446
|
resume(s) {
|
|
13447
|
-
|
|
13447
|
+
xhr_fetch.post("http://localhost:8301/scheduled/resume/" + s, {}, (i) => {
|
|
13448
13448
|
i && i.status == 1 && (alert("恢复成功"), location.reload());
|
|
13449
13449
|
});
|
|
13450
13450
|
}
|
|
@@ -13662,7 +13662,7 @@ function _sfc_render$j(s, i, c, t, p, C) {
|
|
|
13662
13662
|
}, 8, ["model", "rules"])
|
|
13663
13663
|
]);
|
|
13664
13664
|
}
|
|
13665
|
-
const ArticleEdit = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
13665
|
+
const ArticleEdit = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-d890a0b4"]]), _sfc_main$i = {
|
|
13666
13666
|
components: {
|
|
13667
13667
|
ListLoader
|
|
13668
13668
|
}
|
|
@@ -19494,7 +19494,7 @@ const ConfigTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_re
|
|
|
19494
19494
|
* 获取单个数据
|
|
19495
19495
|
*/
|
|
19496
19496
|
getDataBase(s) {
|
|
19497
|
-
|
|
19497
|
+
xhr_fetch.get(`${window.config.dsApiRoot}/common_api/ds_widget_config/${this.id}?allow=1`, (i) => {
|
|
19498
19498
|
let c = i.data;
|
|
19499
19499
|
c ? (this.name = c.name, this.datasourceId = c.datasourceId || 0, this.datasourceName = c.datasourceName || 0, this.tableName = c.tableName || 0, this.cfg = c.config, s && s(c), this.$refs.LivePerview.cfg = this.cfg) : this.$Message.warning("获取配置失败");
|
|
19500
19500
|
});
|
|
@@ -19513,9 +19513,9 @@ const ConfigTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_re
|
|
|
19513
19513
|
config: JSON.stringify(s, null, 1),
|
|
19514
19514
|
type: this.widgetType
|
|
19515
19515
|
};
|
|
19516
|
-
this.id ? (i.id = this.id,
|
|
19516
|
+
this.id ? (i.id = this.id, xhr_fetch.put(`${window.config.dsApiRoot}/common_api/ds_widget_config`, i, (c) => {
|
|
19517
19517
|
c.status ? this.$Message.success("修改成功") : this.$Message.warning(c.message);
|
|
19518
|
-
})) :
|
|
19518
|
+
})) : xhr_fetch.post(`${window.config.dsApiRoot}/common_api/ds_widget_config`, i, (c) => {
|
|
19519
19519
|
c.status ? (this.$Message.success("创建成功"), setTimeout(() => this.id = c.data.newlyId, 800)) : this.$Message.warning(c.message);
|
|
19520
19520
|
});
|
|
19521
19521
|
},
|
|
@@ -20068,6 +20068,107 @@ function _sfc_render$6(s, i, c, t, p, C) {
|
|
|
20068
20068
|
}, 512);
|
|
20069
20069
|
}
|
|
20070
20070
|
const ListInfo = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-133b4ba5"]]), _sfc_main$5 = defineComponent({
|
|
20071
|
+
setup() {
|
|
20072
|
+
return { previewloader: ref(null) };
|
|
20073
|
+
},
|
|
20074
|
+
components: { FastiViewTable, FormLoader },
|
|
20075
|
+
data() {
|
|
20076
|
+
return {
|
|
20077
|
+
perview: { isShow: !1, title: "", data: {} },
|
|
20078
|
+
list: {
|
|
20079
|
+
columns: [
|
|
20080
|
+
List.id,
|
|
20081
|
+
{
|
|
20082
|
+
title: "列表名称",
|
|
20083
|
+
key: "name",
|
|
20084
|
+
minWidth: 130,
|
|
20085
|
+
ellipsis: !0,
|
|
20086
|
+
tooltip: !0
|
|
20087
|
+
},
|
|
20088
|
+
{
|
|
20089
|
+
title: "关联数据库",
|
|
20090
|
+
render(s, i) {
|
|
20091
|
+
return i.row.datasourceName ? s("span", i.row.datasourceName + "/" + i.row.tableName) : s("span", i.row.tableName);
|
|
20092
|
+
},
|
|
20093
|
+
width: 280,
|
|
20094
|
+
ellipsis: !0
|
|
20095
|
+
},
|
|
20096
|
+
{
|
|
20097
|
+
title: "修改日期",
|
|
20098
|
+
width: 160,
|
|
20099
|
+
align: "center",
|
|
20100
|
+
render(s, i) {
|
|
20101
|
+
return s("div", date_format.dateFormat(i.row.updateDate, "yyyy-MM-dd hh:mm"));
|
|
20102
|
+
}
|
|
20103
|
+
},
|
|
20104
|
+
List.createDate,
|
|
20105
|
+
List.status,
|
|
20106
|
+
{ title: "操作", slot: "action", align: "center", width: 260 }
|
|
20107
|
+
]
|
|
20108
|
+
}
|
|
20109
|
+
};
|
|
20110
|
+
},
|
|
20111
|
+
methods: {
|
|
20112
|
+
getApiUrl() {
|
|
20113
|
+
return window.config.dsApiRoot + "/common_api/ds_widget_config/page_no?q_type=FORM";
|
|
20114
|
+
},
|
|
20115
|
+
/**
|
|
20116
|
+
* 预览
|
|
20117
|
+
*/
|
|
20118
|
+
openDemo(s) {
|
|
20119
|
+
this.previewloader.formId = s.id, this.previewloader.load(), this.perview.isShow = !0;
|
|
20120
|
+
},
|
|
20121
|
+
/**
|
|
20122
|
+
* 进入详情页
|
|
20123
|
+
*/
|
|
20124
|
+
onCreate() {
|
|
20125
|
+
this.$router.push({ path: "form-info" });
|
|
20126
|
+
},
|
|
20127
|
+
/**
|
|
20128
|
+
* 编辑
|
|
20129
|
+
*/
|
|
20130
|
+
onEdit(s) {
|
|
20131
|
+
this.$router.push({ path: "form-info", query: { id: s } });
|
|
20132
|
+
}
|
|
20133
|
+
}
|
|
20134
|
+
}), _hoisted_1$4 = ["onClick"];
|
|
20135
|
+
function _sfc_render$5(s, i, c, t, p, C) {
|
|
20136
|
+
const u = resolveComponent("Divider"), m = resolveComponent("FastiViewTable"), v = resolveComponent("FormLoader"), y = resolveComponent("Modal");
|
|
20137
|
+
return openBlock(), createElementBlock("div", null, [
|
|
20138
|
+
createVNode(m, {
|
|
20139
|
+
"widget-name": "表单定义",
|
|
20140
|
+
"list-api-url": s.getApiUrl(),
|
|
20141
|
+
"columns-def": s.list.columns
|
|
20142
|
+
}, {
|
|
20143
|
+
list_action: withCtx((k) => [
|
|
20144
|
+
createElementVNode("a", {
|
|
20145
|
+
onClick: (x) => s.openDemo(k.item)
|
|
20146
|
+
}, "预览", 8, _hoisted_1$4),
|
|
20147
|
+
createVNode(u, { type: "vertical" })
|
|
20148
|
+
]),
|
|
20149
|
+
_: 1
|
|
20150
|
+
}, 8, ["list-api-url", "columns-def"]),
|
|
20151
|
+
createVNode(y, {
|
|
20152
|
+
modelValue: s.perview.isShow,
|
|
20153
|
+
"onUpdate:modelValue": i[0] || (i[0] = (k) => s.perview.isShow = k),
|
|
20154
|
+
title: "预览",
|
|
20155
|
+
width: "1200",
|
|
20156
|
+
"ok-text": "关闭",
|
|
20157
|
+
"cancel-text": ""
|
|
20158
|
+
}, {
|
|
20159
|
+
default: withCtx(() => [
|
|
20160
|
+
createVNode(v, {
|
|
20161
|
+
ref: "previewloader",
|
|
20162
|
+
foo: "",
|
|
20163
|
+
"is-Show-Info-Btn": !0,
|
|
20164
|
+
isShowInfoBtn: !0
|
|
20165
|
+
}, null, 512)
|
|
20166
|
+
]),
|
|
20167
|
+
_: 1
|
|
20168
|
+
}, 8, ["modelValue"])
|
|
20169
|
+
]);
|
|
20170
|
+
}
|
|
20171
|
+
const FormMgr = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]), _sfc_main$4 = defineComponent({
|
|
20071
20172
|
name: "compIcons",
|
|
20072
20173
|
props: {
|
|
20073
20174
|
data: { type: String, default: "" },
|
|
@@ -20104,10 +20205,10 @@ const ListInfo = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_rende
|
|
|
20104
20205
|
this.modal = !1, this.iconName = "";
|
|
20105
20206
|
}
|
|
20106
20207
|
}
|
|
20107
|
-
}), _hoisted_1$
|
|
20108
|
-
function _sfc_render$
|
|
20208
|
+
}), _hoisted_1$3 = { class: "icons" }, _hoisted_2$3 = { class: "icon-list" }, _hoisted_3$3 = ["onClick"], _hoisted_4$3 = { style: { "font-size": "18px" } }, _hoisted_5$3 = { slot: "footer" };
|
|
20209
|
+
function _sfc_render$4(s, i, c, t, p, C) {
|
|
20109
20210
|
const u = resolveComponent("Icon"), m = resolveComponent("Input"), v = resolveComponent("Col"), y = resolveComponent("Row"), k = resolveComponent("Button"), x = resolveComponent("Modal");
|
|
20110
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20211
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
20111
20212
|
createVNode(m, {
|
|
20112
20213
|
modelValue: s.value,
|
|
20113
20214
|
"onUpdate:modelValue": i[1] || (i[1] = (V) => s.value = V),
|
|
@@ -20181,7 +20282,7 @@ function _sfc_render$5(s, i, c, t, p, C) {
|
|
|
20181
20282
|
}, 8, ["modelValue", "onOnCancel"])
|
|
20182
20283
|
]);
|
|
20183
20284
|
}
|
|
20184
|
-
const IconSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20285
|
+
const IconSelector = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-564b2b1a"]]), _sfc_main$3 = {
|
|
20185
20286
|
data() {
|
|
20186
20287
|
return {
|
|
20187
20288
|
type: 2,
|
|
@@ -20211,8 +20312,8 @@ const IconSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_r
|
|
|
20211
20312
|
this.staticData.candidateData.splice(s, 1);
|
|
20212
20313
|
}
|
|
20213
20314
|
}
|
|
20214
|
-
}, _hoisted_1$
|
|
20215
|
-
function _sfc_render$
|
|
20315
|
+
}, _hoisted_1$2 = { class: "id" }, _hoisted_2$2 = ["onUpdate:modelValue"], _hoisted_3$2 = { class: "name" }, _hoisted_4$2 = ["onUpdate:modelValue"], _hoisted_5$2 = { class: "isChecked" }, _hoisted_6$1 = ["onClick"];
|
|
20316
|
+
function _sfc_render$3(s, i, c, t, p, C) {
|
|
20216
20317
|
const u = resolveComponent("Tooltip"), m = resolveComponent("Button"), v = resolveComponent("Radio"), y = resolveComponent("RadioGroup");
|
|
20217
20318
|
return openBlock(), createElementBlock("div", null, [
|
|
20218
20319
|
createVNode(y, {
|
|
@@ -20283,7 +20384,7 @@ function _sfc_render$4(s, i, c, t, p, C) {
|
|
|
20283
20384
|
])
|
|
20284
20385
|
], -1)),
|
|
20285
20386
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(p.staticData.candidateData, (k, x) => (openBlock(), createElementBlock("li", { key: x }, [
|
|
20286
|
-
createElementVNode("div", _hoisted_1$
|
|
20387
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
20287
20388
|
withDirectives(createElementVNode("input", {
|
|
20288
20389
|
"onUpdate:modelValue": (V) => k.value = V
|
|
20289
20390
|
}, null, 8, _hoisted_2$2), [
|
|
@@ -20315,7 +20416,7 @@ function _sfc_render$4(s, i, c, t, p, C) {
|
|
|
20315
20416
|
], 2)
|
|
20316
20417
|
]);
|
|
20317
20418
|
}
|
|
20318
|
-
const CandidateData = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20419
|
+
const CandidateData = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-3e903f24"]]), _sfc_main$2 = {
|
|
20319
20420
|
components: { IconSelector, CandidateData },
|
|
20320
20421
|
props: {
|
|
20321
20422
|
row: {
|
|
@@ -20367,7 +20468,7 @@ const CandidateData = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_
|
|
|
20367
20468
|
}
|
|
20368
20469
|
}
|
|
20369
20470
|
};
|
|
20370
|
-
function _sfc_render$
|
|
20471
|
+
function _sfc_render$2(s, i, c, t, p, C) {
|
|
20371
20472
|
const u = resolveComponent("i-Switch"), m = resolveComponent("Tooltip"), v = resolveComponent("FormItem"), y = resolveComponent("Col"), k = resolveComponent("Row"), x = resolveComponent("Input"), V = resolveComponent("IconSelector"), B = resolveComponent("Switch"), D = resolveComponent("CandidateData"), O = resolveComponent("Form");
|
|
20372
20473
|
return openBlock(), createBlock(O, {
|
|
20373
20474
|
"label-width": 100,
|
|
@@ -20771,13 +20872,13 @@ function _sfc_render$3(s, i, c, t, p, C) {
|
|
|
20771
20872
|
_: 1
|
|
20772
20873
|
});
|
|
20773
20874
|
}
|
|
20774
|
-
const MoreAttrib = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20875
|
+
const MoreAttrib = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-82b37fd7"]]), _sfc_main$1 = {
|
|
20775
20876
|
props: {
|
|
20776
20877
|
cfg: Object,
|
|
20777
20878
|
apiRoot: { type: String, required: !0 }
|
|
20778
20879
|
// API 选择器需要这个属性
|
|
20779
20880
|
}
|
|
20780
|
-
}, _hoisted_1$
|
|
20881
|
+
}, _hoisted_1$1 = {
|
|
20781
20882
|
align: "center",
|
|
20782
20883
|
width: "90%",
|
|
20783
20884
|
class: "aj-table"
|
|
@@ -20785,7 +20886,7 @@ const MoreAttrib = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_ren
|
|
|
20785
20886
|
align: "center",
|
|
20786
20887
|
style: { width: "130px" }
|
|
20787
20888
|
}, _hoisted_4$1 = { class: "checkbox_holder" }, _hoisted_5$1 = { class: "checkbox_holder" }, _hoisted_6 = { class: "checkbox_holder" };
|
|
20788
|
-
function _sfc_render$
|
|
20889
|
+
function _sfc_render$1(s, i, c, t, p, C) {
|
|
20789
20890
|
const u = resolveComponent("FormItem"), m = resolveComponent("Col"), v = resolveComponent("Input"), y = resolveComponent("Row"), k = resolveComponent("Form"), x = resolveComponent("TabPane"), V = resolveComponent("Checkbox"), B = resolveComponent("Tabs");
|
|
20790
20891
|
return openBlock(), createBlock(B, {
|
|
20791
20892
|
style: { "min-height": "600px" },
|
|
@@ -20883,7 +20984,7 @@ function _sfc_render$2(s, i, c, t, p, C) {
|
|
|
20883
20984
|
default: withCtx(() => [
|
|
20884
20985
|
i[5] || (i[5] = createElementVNode("p", { align: "center" }, "控制字段在不同状态下是否显示,打勾表示隐藏。", -1)),
|
|
20885
20986
|
i[6] || (i[6] = createElementVNode("br", null, null, -1)),
|
|
20886
|
-
createElementVNode("table", _hoisted_1$
|
|
20987
|
+
createElementVNode("table", _hoisted_1$1, [
|
|
20887
20988
|
i[4] || (i[4] = createElementVNode("thead", null, [
|
|
20888
20989
|
createElementVNode("tr", null, [
|
|
20889
20990
|
createElementVNode("th"),
|
|
@@ -20920,7 +21021,7 @@ function _sfc_render$2(s, i, c, t, p, C) {
|
|
|
20920
21021
|
_: 1
|
|
20921
21022
|
});
|
|
20922
21023
|
}
|
|
20923
|
-
const ConfigPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21024
|
+
const ConfigPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]), _sfc_main = {
|
|
20924
21025
|
components: { ConfigTable, MoreAttrib, FormLoader, FastiViewTable, ConfigPanel },
|
|
20925
21026
|
mixins: [InfoMixins],
|
|
20926
21027
|
data() {
|
|
@@ -21112,8 +21213,8 @@ function findNode(s, i) {
|
|
|
21112
21213
|
return i.length == 0 ? p : findNode(s[t], i);
|
|
21113
21214
|
}
|
|
21114
21215
|
}
|
|
21115
|
-
const _hoisted_1
|
|
21116
|
-
function _sfc_render
|
|
21216
|
+
const _hoisted_1 = { class: "input-width" }, _hoisted_2 = { class: "input-width" }, _hoisted_3 = { class: "input-width" }, _hoisted_4 = { class: "number-width" }, _hoisted_5 = { class: "checkbox-width" };
|
|
21217
|
+
function _sfc_render(s, i, c, t, p, C) {
|
|
21117
21218
|
const u = resolveComponent("Input"), m = resolveComponent("Option"), v = resolveComponent("OptionGroup"), y = resolveComponent("Select"), k = resolveComponent("Checkbox"), x = resolveComponent("FormLoader"), V = resolveComponent("ConfigPanel"), B = resolveComponent("MoreAttrib"), D = resolveComponent("Modal"), O = resolveComponent("ConfigTable");
|
|
21118
21219
|
return openBlock(), createBlock(O, {
|
|
21119
21220
|
ref: "configTable",
|
|
@@ -21168,7 +21269,7 @@ function _sfc_render$1(s, i, c, t, p, C) {
|
|
|
21168
21269
|
}, "验证提示", 2)
|
|
21169
21270
|
]),
|
|
21170
21271
|
"table-fields": withCtx((T) => [
|
|
21171
|
-
createElementVNode("div", _hoisted_1
|
|
21272
|
+
createElementVNode("div", _hoisted_1, [
|
|
21172
21273
|
createVNode(u, {
|
|
21173
21274
|
type: "text",
|
|
21174
21275
|
size: "small",
|
|
@@ -21656,112 +21757,9 @@ function _sfc_render$1(s, i, c, t, p, C) {
|
|
|
21656
21757
|
_: 1
|
|
21657
21758
|
}, 512);
|
|
21658
21759
|
}
|
|
21659
|
-
const FormInfo = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
21660
|
-
setup() {
|
|
21661
|
-
return { previewloader: ref(null) };
|
|
21662
|
-
},
|
|
21663
|
-
components: { FastiViewTable, FormLoader },
|
|
21664
|
-
data() {
|
|
21665
|
-
return {
|
|
21666
|
-
perview: { isShow: !1, title: "", data: {} },
|
|
21667
|
-
list: {
|
|
21668
|
-
columns: [
|
|
21669
|
-
List.id,
|
|
21670
|
-
{
|
|
21671
|
-
title: "列表名称",
|
|
21672
|
-
key: "name",
|
|
21673
|
-
minWidth: 130,
|
|
21674
|
-
ellipsis: !0,
|
|
21675
|
-
tooltip: !0
|
|
21676
|
-
},
|
|
21677
|
-
{
|
|
21678
|
-
title: "关联数据库",
|
|
21679
|
-
render(s, i) {
|
|
21680
|
-
return i.row.datasourceName ? s("span", i.row.datasourceName + "/" + i.row.tableName) : s("span", i.row.tableName);
|
|
21681
|
-
},
|
|
21682
|
-
width: 280,
|
|
21683
|
-
ellipsis: !0
|
|
21684
|
-
},
|
|
21685
|
-
{
|
|
21686
|
-
title: "修改日期",
|
|
21687
|
-
width: 160,
|
|
21688
|
-
align: "center",
|
|
21689
|
-
render(s, i) {
|
|
21690
|
-
return s("div", date_format.dateFormat(i.row.updateDate, "yyyy-MM-dd hh:mm"));
|
|
21691
|
-
}
|
|
21692
|
-
},
|
|
21693
|
-
List.createDate,
|
|
21694
|
-
List.status,
|
|
21695
|
-
{ title: "操作", slot: "action", align: "center", width: 260 }
|
|
21696
|
-
]
|
|
21697
|
-
}
|
|
21698
|
-
};
|
|
21699
|
-
},
|
|
21700
|
-
methods: {
|
|
21701
|
-
getApiUrl() {
|
|
21702
|
-
return window.config.dsApiRoot + "/common_api/ds_widget_config/page_no?q_type=FORM";
|
|
21703
|
-
},
|
|
21704
|
-
/**
|
|
21705
|
-
* 预览
|
|
21706
|
-
*/
|
|
21707
|
-
openDemo(s) {
|
|
21708
|
-
this.previewloader.formId = s.id, this.previewloader.load(), this.perview.isShow = !0;
|
|
21709
|
-
},
|
|
21710
|
-
/**
|
|
21711
|
-
* 进入详情页
|
|
21712
|
-
*/
|
|
21713
|
-
onCreate() {
|
|
21714
|
-
this.$router.push({ path: "form-info" });
|
|
21715
|
-
},
|
|
21716
|
-
/**
|
|
21717
|
-
* 编辑
|
|
21718
|
-
*/
|
|
21719
|
-
onEdit(s) {
|
|
21720
|
-
this.$router.push({ path: "form-info", query: { id: s } });
|
|
21721
|
-
}
|
|
21722
|
-
}
|
|
21723
|
-
}), _hoisted_1 = ["onClick"];
|
|
21724
|
-
function _sfc_render(s, i, c, t, p, C) {
|
|
21725
|
-
const u = resolveComponent("Divider"), m = resolveComponent("FastiViewTable"), v = resolveComponent("FormLoader"), y = resolveComponent("Modal");
|
|
21726
|
-
return openBlock(), createElementBlock("div", null, [
|
|
21727
|
-
createVNode(m, {
|
|
21728
|
-
"widget-name": "表单定义",
|
|
21729
|
-
"list-api-url": s.getApiUrl(),
|
|
21730
|
-
"columns-def": s.list.columns
|
|
21731
|
-
}, {
|
|
21732
|
-
list_action: withCtx((k) => [
|
|
21733
|
-
createElementVNode("a", {
|
|
21734
|
-
onClick: (x) => s.openDemo(k.item)
|
|
21735
|
-
}, "预览", 8, _hoisted_1),
|
|
21736
|
-
createVNode(u, { type: "vertical" })
|
|
21737
|
-
]),
|
|
21738
|
-
_: 1
|
|
21739
|
-
}, 8, ["list-api-url", "columns-def"]),
|
|
21740
|
-
createVNode(y, {
|
|
21741
|
-
modelValue: s.perview.isShow,
|
|
21742
|
-
"onUpdate:modelValue": i[0] || (i[0] = (k) => s.perview.isShow = k),
|
|
21743
|
-
title: "预览",
|
|
21744
|
-
width: "1200",
|
|
21745
|
-
"ok-text": "关闭",
|
|
21746
|
-
"cancel-text": ""
|
|
21747
|
-
}, {
|
|
21748
|
-
default: withCtx(() => [
|
|
21749
|
-
createVNode(v, {
|
|
21750
|
-
ref: "previewloader",
|
|
21751
|
-
foo: "",
|
|
21752
|
-
"is-Show-Info-Btn": !0,
|
|
21753
|
-
isShowInfoBtn: !0
|
|
21754
|
-
}, null, 512)
|
|
21755
|
-
]),
|
|
21756
|
-
_: 1
|
|
21757
|
-
}, 8, ["modelValue"])
|
|
21758
|
-
]);
|
|
21759
|
-
}
|
|
21760
|
-
const list = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]), admin = { HomePage, Login }, system = { Article, DataDict, Schedule }, shop = { Transaction }, IAM = { App, LoginLog, Tenant, Token, User }, ConfigWdiget = { ListMgr, ListInfo, FormInfo };
|
|
21760
|
+
const FormInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d2273c52"]]), admin = { HomePage, Login }, system = { Article, DataDict, Schedule, ArticleEdit }, shop = { Transaction }, IAM = { App, LoginLog, Tenant, Token, User }, ConfigWdiget = { ListMgr, ListInfo, FormMgr, FormInfo };
|
|
21761
21761
|
export {
|
|
21762
|
-
ArticleEdit,
|
|
21763
21762
|
ConfigWdiget,
|
|
21764
|
-
list as ConfigWdigetFormMgr,
|
|
21765
21763
|
HtmlEditor,
|
|
21766
21764
|
IAM,
|
|
21767
21765
|
MyButton,
|