@bytenew/bn-bus-ui 1.1.461 → 1.1.463
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/install.js +134 -0
- package/package.json +20 -4
- package/packages/BnAddress/index.vue +141 -0
- package/packages/BnAddressParse/index.vue +75 -0
- package/packages/BnAdvancedFilter/BnFilterView.vue +145 -0
- package/packages/BnAdvancedFilter/index.vue +345 -0
- package/packages/BnAdvancedFilter/util.js +171 -0
- package/packages/BnCascader/BnCascader.vue +543 -0
- package/packages/BnCascader/BnCascaderPanel.vue +1331 -0
- package/packages/BnCascader/cascaderDisplay.js +102 -0
- package/packages/BnCheck/BnCheck.vue +253 -0
- package/packages/BnColumnConfig/columnConfigDialog.vue +134 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTable.vue +143 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTableSearch.vue +314 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/index.vue +243 -0
- package/packages/BnColumnConfig/component/defaultSet/defaultSet.vue +114 -0
- package/packages/BnColumnConfig/component/defaultSet/stringDefault.vue +210 -0
- package/packages/BnColumnConfig/component/funcExprDialog/funcExprDialog.vue +126 -0
- package/packages/BnColumnConfig/component/packageFilter/index.vue +141 -0
- package/packages/BnColumnConfig/component/paraExplainSet/index.vue +156 -0
- package/packages/BnColumnConfig/component/setOption/setOption.vue +321 -0
- package/packages/BnColumnConfig/component/setRelationOption/ConditionList.vue +277 -0
- package/packages/BnColumnConfig/component/setRelationOption/LevelHeader.vue +144 -0
- package/packages/BnColumnConfig/component/setRelationOption/setRelationOption.vue +642 -0
- package/packages/BnColumnConfig/data.js +129 -0
- package/packages/BnColumnConfig/index.scss +23 -0
- package/packages/BnColumnConfig/index.vue +309 -0
- package/packages/BnCondVal/BnCondVal.vue +112 -0
- package/packages/BnCondVal/itemVal/dateRegVal.vue +39 -0
- package/packages/BnCondVal/itemVal/dateVal.vue +39 -0
- package/packages/BnCondVal/itemVal/numRegVal.vue +67 -0
- package/packages/BnCondVal/itemVal/numVal.vue +44 -0
- package/packages/BnCondVal/itemVal/relationVal.vue +73 -0
- package/packages/BnCondVal/itemVal/selectColumnVal.vue +58 -0
- package/packages/BnCondVal/itemVal/selectVal.vue +59 -0
- package/packages/BnCondVal/itemVal/stringVal.vue +156 -0
- package/packages/BnCondition/index.vue +551 -0
- package/packages/BnCondition/util.js +232 -0
- package/packages/BnDatePicker/BnDatePicker.vue +194 -0
- package/packages/BnDrop/BnDrop.vue +917 -0
- package/packages/BnEmptyTip/BnEmptyTip.vue +107 -0
- package/packages/BnExportOrder/BnExportOrder.vue +241 -0
- package/packages/BnExportOrder/validatorCode.vue +94 -0
- package/packages/BnFileView/BnFileView.vue +271 -0
- package/packages/BnFileView/FileDetail.vue +125 -0
- package/packages/BnFileView/videoPreview.vue +70 -0
- package/packages/BnFilterOption/BnFilterOption.vue +160 -0
- package/packages/BnFunExpr/BnFunExpr.vue +608 -0
- package/packages/BnImportOrder/BnImportOrder.vue +323 -0
- package/packages/BnImportTemplate/BnImportTemplate.vue +866 -0
- package/packages/BnImportTemplate/assets/merge_tip_img.png +0 -0
- package/packages/BnImportTemplate/assets/sheet_tip.png +0 -0
- package/packages/BnImportTemplate/assets/xls.png +0 -0
- package/packages/BnImportTemplate/components/ImportTemplateTrigger.vue +198 -0
- package/packages/BnImportTemplate/components/TemplateEditDialog.vue +340 -0
- package/packages/BnImportTemplate/components/TemplateFieldsConfig.vue +401 -0
- package/packages/BnImportTemplate/components/TemplateListDialog.vue +297 -0
- package/packages/BnInpNum/BnInpNum.vue +165 -0
- package/packages/BnMenus/BnMenus.vue +502 -0
- package/packages/BnMenus/MenuItem.vue +321 -0
- package/packages/BnOrderCard/BnOrderCard.vue +389 -0
- package/packages/BnOrderCard/orderRemark.vue +178 -0
- package/packages/BnOrderCard/util.js +94 -0
- package/packages/BnOrderDetail/BnOrderDetail.vue +338 -0
- package/packages/BnOrderDetail/filterLogByUser.vue +108 -0
- package/packages/BnOrderDetail/orderLogs.vue +53 -0
- package/packages/BnOrderDetail/showSubForm/index.vue +41 -0
- package/packages/BnOrderDetail/showSubForm/showChildTable.vue +61 -0
- package/packages/BnOrderDetail/showSubForm/showTimeLine.vue +131 -0
- package/packages/BnOrderDetail/showSubForm/tableCellCopy.vue +84 -0
- package/packages/BnOrderShare/index.vue +378 -0
- package/packages/BnOrderShare/shareUrlInp.vue +54 -0
- package/packages/BnRadio/BnRadio.vue +181 -0
- package/packages/BnRelation/BnRelation.vue +120 -0
- package/packages/BnSelect/BnSelect.vue +485 -0
- package/packages/BnSmartForm/BnBatchForm.vue +334 -0
- package/packages/BnSmartForm/BnBatchFormDialog.vue +423 -0
- package/packages/BnSmartForm/BnSmartElf/elfLog/index.vue +57 -0
- package/packages/BnSmartForm/BnSmartElf/index.vue +95 -0
- package/packages/BnSmartForm/BnSmartFormPsychic.js +629 -0
- package/packages/BnSmartForm/BnSmartFormUtil.js +524 -0
- package/packages/BnSmartForm/addressForm/index.vue +73 -0
- package/packages/BnSmartForm/checkboxForm/index.vue +99 -0
- package/packages/BnSmartForm/childrenForm/childFormFile.vue +237 -0
- package/packages/BnSmartForm/childrenForm/childrenFormBody.vue +260 -0
- package/packages/BnSmartForm/childrenForm/index.vue +110 -0
- package/packages/BnSmartForm/childrenForm/searchInventory.vue +115 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseAssocTable.vue +451 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseChildGood.vue +229 -0
- package/packages/BnSmartForm/chooseAssocTable/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/chooseChildOrder/chooseChildOrder.vue +158 -0
- package/packages/BnSmartForm/chooseIPaasData/chooseIPaasData.vue +307 -0
- package/packages/BnSmartForm/chooseIPaasData/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/choosePackage/choosePackage.vue +361 -0
- package/packages/BnSmartForm/dateDualForm/index.vue +37 -0
- package/packages/BnSmartForm/dateForm/index.vue +38 -0
- package/packages/BnSmartForm/fileForm/fileFormData.js +50 -0
- package/packages/BnSmartForm/fileForm/index.vue +240 -0
- package/packages/BnSmartForm/formItemFooter/formItemFooter.vue +38 -0
- package/packages/BnSmartForm/formItemTop/formItemTop.vue +42 -0
- package/packages/BnSmartForm/index.vue +1201 -0
- package/packages/BnSmartForm/numberForm/index.vue +63 -0
- package/packages/BnSmartForm/radioForm/index.vue +72 -0
- package/packages/BnSmartForm/receiveForm/index.vue +112 -0
- package/packages/BnSmartForm/relationForm/index.vue +82 -0
- package/packages/BnSmartForm/scoreForm/index.vue +39 -0
- package/packages/BnSmartForm/selectForm/index.vue +55 -0
- package/packages/BnSmartForm/showValForm/index.vue +42 -0
- package/packages/BnSmartForm/showValForm/showValFormTable.vue +104 -0
- package/packages/BnSmartForm/smartFormsCommon.scss +43 -0
- package/packages/BnSmartForm/stringForm/index.vue +170 -0
- package/packages/BnVirtPopover/index.vue +319 -0
- package/packages/BnWebLog/BnWebLog.vue +140 -0
- package/packages/BnWorkSettingDrop/advancedOptions.js +112 -0
- package/packages/BnWorkSettingDrop/benBenAIUtil.js +89 -0
- package/packages/BnWorkSettingDrop/index.vue +292 -0
- package/packages/font/iconfont.css +243 -0
- package/packages/font/iconfont.ttf +0 -0
- package/packages/font/iconfont.woff +0 -0
- package/packages/font/iconfont.woff2 +0 -0
- package/utils/addressParse-old.js +645 -0
- package/utils/addressParse.js +735 -0
- package/utils/config.js +68 -0
- package/utils/index.js +1171 -0
- package/dist/assocTableSearch-C14i_zJO.js +0 -349
- package/dist/assocTableSearch.css +0 -1
- package/dist/bn-bus-ui.es.js +0 -65
- package/dist/bn-bus-ui.umd.js +0 -49
- package/dist/chooseIPaasData-Cl_5qkFA.js +0 -391
- package/dist/chooseIPaasData.css +0 -1
- package/dist/defaultSet-I4xpf8a4.js +0 -297
- package/dist/defaultSet.css +0 -1
- package/dist/fileFormData-D_Q1vylE.js +0 -53
- package/dist/formItemFooter-CTA7rDtV.js +0 -108
- package/dist/formItemFooter.css +0 -1
- package/dist/funcExprDialog-Cm5BiRM3.js +0 -139
- package/dist/funcExprDialog.css +0 -1
- package/dist/index-B6b4uj8v.js +0 -51
- package/dist/index-BWdkDTbz.js +0 -109
- package/dist/index-BdZ1zOap.js +0 -89
- package/dist/index-BdzNjjMC.js +0 -64
- package/dist/index-BfpZqab2.js +0 -66
- package/dist/index-BmkiB4hr.js +0 -66
- package/dist/index-Br1sqCoo.js +0 -58
- package/dist/index-C9qrl-yc.js +0 -183
- package/dist/index-CXFJXCn5.js +0 -746
- package/dist/index-DF114jZq.js +0 -135
- package/dist/index-DFPfZ_Il.js +0 -178
- package/dist/index-DSEtu7TN.js +0 -44
- package/dist/index-Did0UUWV.js +0 -221
- package/dist/index-DrPj-tmI.js +0 -45
- package/dist/index-DzDf9s2W.js +0 -89
- package/dist/index-LnjudNEI.js +0 -118
- package/dist/index-ObCfCmDT.js +0 -45
- package/dist/index.css +0 -1
- package/dist/index2.css +0 -1
- package/dist/index3.css +0 -1
- package/dist/index4.css +0 -1
- package/dist/index5.css +0 -1
- package/dist/index6.css +0 -1
- package/dist/index7.css +0 -1
- package/dist/install-C-scqkds.js +0 -23103
- package/dist/install.css +0 -1
- package/dist/setOption-CSnWzOny.js +0 -329
- package/dist/setOption.css +0 -1
- package/dist/setRelationOption-CJcHdfaa.js +0 -5217
- package/dist/setRelationOption.css +0 -1
package/dist/index-BmkiB4hr.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { f as i, a as d } from "./formItemFooter-CTA7rDtV.js";
|
|
2
|
-
import { debounce as f } from "lodash";
|
|
3
|
-
import { resolveComponent as m, openBlock as p, createElementBlock as h, createVNode as u, createElementVNode as _ } from "vue";
|
|
4
|
-
import { _ as I } from "./install-C-scqkds.js";
|
|
5
|
-
const B = {
|
|
6
|
-
name: "numberForm",
|
|
7
|
-
components: { formItemTop: d, formItemFooter: i },
|
|
8
|
-
props: {
|
|
9
|
-
column: {
|
|
10
|
-
type: Object,
|
|
11
|
-
default: function() {
|
|
12
|
-
return {};
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
disabled: Boolean
|
|
16
|
-
},
|
|
17
|
-
methods: {
|
|
18
|
-
/**
|
|
19
|
-
* 输入框输入事件
|
|
20
|
-
* */
|
|
21
|
-
onInput(n) {
|
|
22
|
-
this.column.error = "", this.column.warning = "", n == this.column.value && (this.$emit("onInput", this.column), this.onChange());
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* 输入框Change事件
|
|
26
|
-
* */
|
|
27
|
-
onChange: f(function(n, e) {
|
|
28
|
-
this.$emit("onChange", this.column);
|
|
29
|
-
}, 500),
|
|
30
|
-
/**
|
|
31
|
-
* 输入框onFocus事件
|
|
32
|
-
* */
|
|
33
|
-
onFocus(n) {
|
|
34
|
-
this.$emit("focus", this.column);
|
|
35
|
-
},
|
|
36
|
-
/**
|
|
37
|
-
* 输入框失去焦点事件
|
|
38
|
-
* */
|
|
39
|
-
onBlur(n) {
|
|
40
|
-
this.$emit("blur", this.column);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, b = { class: "w-default-wrap" }, F = { class: "w-default-wrap" };
|
|
44
|
-
function v(n, e, o, w, x, t) {
|
|
45
|
-
var l;
|
|
46
|
-
const c = m("formItemTop"), r = m("BnInpNum"), s = m("formItemFooter");
|
|
47
|
-
return p(), h("div", b, [
|
|
48
|
-
u(c, { column: o.column }, null, 8, ["column"]),
|
|
49
|
-
_("div", F, [
|
|
50
|
-
u(r, {
|
|
51
|
-
modelValue: o.column.value,
|
|
52
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) => o.column.value = a),
|
|
53
|
-
disabled: o.disabled,
|
|
54
|
-
precision: (l = o.column.extraInfo) == null ? void 0 : l.valueType,
|
|
55
|
-
onInput: t.onInput,
|
|
56
|
-
onFocus: t.onFocus,
|
|
57
|
-
onBlur: t.onBlur
|
|
58
|
-
}, null, 8, ["modelValue", "disabled", "precision", "onInput", "onFocus", "onBlur"])
|
|
59
|
-
]),
|
|
60
|
-
u(s, { column: o.column }, null, 8, ["column"])
|
|
61
|
-
]);
|
|
62
|
-
}
|
|
63
|
-
const T = /* @__PURE__ */ I(B, [["render", v]]);
|
|
64
|
-
export {
|
|
65
|
-
T as default
|
|
66
|
-
};
|
package/dist/index-Br1sqCoo.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { a as f, f as h } from "./formItemFooter-CTA7rDtV.js";
|
|
2
|
-
import { resolveComponent as l, openBlock as o, createElementBlock as n, createVNode as m, createElementVNode as _, Fragment as p, renderList as k, createBlock as b, createCommentVNode as v } from "vue";
|
|
3
|
-
import { _ as x } from "./install-C-scqkds.js";
|
|
4
|
-
const F = {
|
|
5
|
-
name: "checkboxForm",
|
|
6
|
-
components: {
|
|
7
|
-
formItemFooter: h,
|
|
8
|
-
formItemTop: f
|
|
9
|
-
},
|
|
10
|
-
props: {
|
|
11
|
-
column: {
|
|
12
|
-
type: Object,
|
|
13
|
-
default: function() {
|
|
14
|
-
return {};
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
disabled: Boolean
|
|
18
|
-
},
|
|
19
|
-
methods: {
|
|
20
|
-
/**
|
|
21
|
-
* Change事件
|
|
22
|
-
* */
|
|
23
|
-
onChange(a, t) {
|
|
24
|
-
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column, "change");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, g = { class: "w-default-wrap checkboxForm" }, C = { class: "w-default-wrap checkboxForm-behavior clearFix" }, w = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "w-default-wrap checkboxForm-empty"
|
|
30
|
-
};
|
|
31
|
-
function I(a, t, e, y, B, r) {
|
|
32
|
-
const d = l("formItemTop"), u = l("BnCheck"), s = l("formItemFooter");
|
|
33
|
-
return o(), n("div", g, [
|
|
34
|
-
m(d, { column: e.column }, null, 8, ["column"]),
|
|
35
|
-
_("div", C, [
|
|
36
|
-
(o(!0), n(p, null, k(e.column.moduleDefinition, (c) => (o(), n("div", {
|
|
37
|
-
class: "checkboxForm-item",
|
|
38
|
-
key: c.id
|
|
39
|
-
}, [
|
|
40
|
-
(o(), b(u, {
|
|
41
|
-
key: c.code,
|
|
42
|
-
modelValue: e.column.value,
|
|
43
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.column.value = i),
|
|
44
|
-
"true-data": c,
|
|
45
|
-
disabled: e.disabled,
|
|
46
|
-
optionProps: { value: "code", label: "title" },
|
|
47
|
-
onChange: r.onChange
|
|
48
|
-
}, null, 8, ["modelValue", "true-data", "disabled", "onChange"]))
|
|
49
|
-
]))), 128)),
|
|
50
|
-
e.column.moduleDefinition.length == 0 ? (o(), n("div", w, " 无数据 ")) : v("", !0)
|
|
51
|
-
]),
|
|
52
|
-
m(s, { column: e.column }, null, 8, ["column"])
|
|
53
|
-
]);
|
|
54
|
-
}
|
|
55
|
-
const D = /* @__PURE__ */ x(F, [["render", I], ["__scopeId", "data-v-81241159"]]);
|
|
56
|
-
export {
|
|
57
|
-
D as default
|
|
58
|
-
};
|
package/dist/index-C9qrl-yc.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { debounce as F } from "lodash";
|
|
2
|
-
import { f as E, a as Q } from "./formItemFooter-CTA7rDtV.js";
|
|
3
|
-
import { resolveComponent as u, openBlock as r, createElementBlock as v, createVNode as i, createElementVNode as b, createBlock as d, withCtx as C, createTextVNode as U, toDisplayString as R, createCommentVNode as D } from "vue";
|
|
4
|
-
import { _ as N } from "./install-C-scqkds.js";
|
|
5
|
-
const T = {
|
|
6
|
-
name: "stringForm",
|
|
7
|
-
components: { formItemTop: Q, formItemFooter: E },
|
|
8
|
-
props: {
|
|
9
|
-
column: Object,
|
|
10
|
-
dataBack: Object,
|
|
11
|
-
extraInfo: Object,
|
|
12
|
-
disabled: Boolean,
|
|
13
|
-
postFunc: Function
|
|
14
|
-
},
|
|
15
|
-
data() {
|
|
16
|
-
return {
|
|
17
|
-
lastQueryValue: null,
|
|
18
|
-
lastQueryResults: []
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
computed: {
|
|
22
|
-
parsedDataExtra() {
|
|
23
|
-
var l, t;
|
|
24
|
-
const e = ((t = (l = this.column) == null ? void 0 : l.extraInfo) == null ? void 0 : t.dataExtra) || "";
|
|
25
|
-
if (!e) return null;
|
|
26
|
-
try {
|
|
27
|
-
return JSON.parse(e);
|
|
28
|
-
} catch {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
isUrlType() {
|
|
33
|
-
var e;
|
|
34
|
-
return !!((e = this.parsedDataExtra) != null && e.searchUrl);
|
|
35
|
-
},
|
|
36
|
-
dataExtraUrl() {
|
|
37
|
-
var e;
|
|
38
|
-
return ((e = this.parsedDataExtra) == null ? void 0 : e.searchUrl) || "";
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
/**
|
|
43
|
-
* 输入框输入事件
|
|
44
|
-
* */
|
|
45
|
-
onInput(e) {
|
|
46
|
-
this.column.error = "", this.column.warning = "", this.$emit("onInput", this.column), this.onChange(e);
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* 输入框Change事件
|
|
50
|
-
* @param {String} type 是否是其他事件类型
|
|
51
|
-
* */
|
|
52
|
-
onChange: F(function(e, l) {
|
|
53
|
-
this.column.value && this.checkValue(), this.$emit("onChange", this.column);
|
|
54
|
-
}, 500),
|
|
55
|
-
/**
|
|
56
|
-
* 输入框onFocus事件
|
|
57
|
-
* */
|
|
58
|
-
onFocus(e) {
|
|
59
|
-
this.$emit("focus", this.column);
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* 输入框失去焦点事件
|
|
63
|
-
* */
|
|
64
|
-
onBlur() {
|
|
65
|
-
this.$emit("blur", this.column);
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* 检查输入框的值,并判断是否需要调用检查数据唯一
|
|
69
|
-
*
|
|
70
|
-
* */
|
|
71
|
-
checkValue() {
|
|
72
|
-
try {
|
|
73
|
-
this.column.extraInfo.regular && (new RegExp(this.column.extraInfo.regular).test(this.column.value) || (this.column.error = this.column.extraInfo.paraExplain || "请输入符合要求的" + this.column.name));
|
|
74
|
-
} catch (e) {
|
|
75
|
-
console.log("stringForm.changeErr:" + e);
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
/**
|
|
79
|
-
* 远程搜索建议(聚焦时用当前值筛选,输入变更时用输入值筛选)
|
|
80
|
-
*/
|
|
81
|
-
querySearch(e, l) {
|
|
82
|
-
if (!e) {
|
|
83
|
-
this.lastQueryValue = null, this.lastQueryResults = [], l([]);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
if (this.lastQueryValue === e) {
|
|
87
|
-
l(this.lastQueryResults);
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const t = {
|
|
91
|
-
...this.column.postData || {},
|
|
92
|
-
column: this.column.columnCode,
|
|
93
|
-
keyword: e || "",
|
|
94
|
-
pageNo: 1,
|
|
95
|
-
pageSize: 50
|
|
96
|
-
}, m = this.dataExtraUrl;
|
|
97
|
-
this.postFunc(m, t).then((s) => {
|
|
98
|
-
var o;
|
|
99
|
-
if (!s.code && ((o = s.data) != null && o.results)) {
|
|
100
|
-
const c = s.data.results.map((n) => ({ value: n.value || n.label || "", ...n }));
|
|
101
|
-
this.lastQueryValue = e, this.lastQueryResults = c, l(c);
|
|
102
|
-
} else
|
|
103
|
-
this.lastQueryValue = e, this.lastQueryResults = [], l([]);
|
|
104
|
-
}).catch(() => {
|
|
105
|
-
this.lastQueryValue = e, this.lastQueryResults = [], l([]);
|
|
106
|
-
});
|
|
107
|
-
},
|
|
108
|
-
handleSelect(e) {
|
|
109
|
-
this.column.value = e.value, this.column.error = "", this.column.warning = "", this.$emit("onInput", this.column), this.$emit("onChange", this.column);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}, O = { class: "w-default-wrap" }, S = { class: "w-default-wrap" }, j = {
|
|
113
|
-
key: 3,
|
|
114
|
-
class: "w-margin-top6"
|
|
115
|
-
};
|
|
116
|
-
function z(e, l, t, m, s, o) {
|
|
117
|
-
var f, p, x, I, y, V, k, g;
|
|
118
|
-
const c = u("formItemTop"), n = u("el-autocomplete"), h = u("el-input"), B = u("el-button"), _ = u("formItemFooter");
|
|
119
|
-
return r(), v("div", O, [
|
|
120
|
-
i(c, {
|
|
121
|
-
column: t.column,
|
|
122
|
-
dataBack: t.dataBack
|
|
123
|
-
}, null, 8, ["column", "dataBack"]),
|
|
124
|
-
b("div", S, [
|
|
125
|
-
o.isUrlType ? (r(), d(n, {
|
|
126
|
-
key: 0,
|
|
127
|
-
modelValue: t.column.value,
|
|
128
|
-
"onUpdate:modelValue": l[0] || (l[0] = (a) => t.column.value = a),
|
|
129
|
-
"fetch-suggestions": o.querySearch,
|
|
130
|
-
clearable: "",
|
|
131
|
-
class: "w-50",
|
|
132
|
-
placeholder: ((p = (f = t.column) == null ? void 0 : f.extraInfo) == null ? void 0 : p.placeholder) || "",
|
|
133
|
-
onSelect: o.handleSelect
|
|
134
|
-
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect"])) : ((I = (x = t.column) == null ? void 0 : x.extraInfo) == null ? void 0 : I.dataExtra) == "textarea" ? (r(), d(h, {
|
|
135
|
-
key: 1,
|
|
136
|
-
modelValue: t.column.value,
|
|
137
|
-
"onUpdate:modelValue": l[1] || (l[1] = (a) => t.column.value = a),
|
|
138
|
-
onInput: o.onInput,
|
|
139
|
-
onFocus: o.onFocus,
|
|
140
|
-
onBlur: o.onBlur,
|
|
141
|
-
clearable: "",
|
|
142
|
-
"show-word-limit": "",
|
|
143
|
-
placeholder: ((V = (y = t.column) == null ? void 0 : y.extraInfo) == null ? void 0 : V.placeholder) || "",
|
|
144
|
-
type: "textarea",
|
|
145
|
-
rows: 4,
|
|
146
|
-
maxlength: 500
|
|
147
|
-
}, null, 8, ["modelValue", "onInput", "onFocus", "onBlur", "placeholder"])) : (r(), d(h, {
|
|
148
|
-
key: 2,
|
|
149
|
-
modelValue: t.column.value,
|
|
150
|
-
"onUpdate:modelValue": l[2] || (l[2] = (a) => t.column.value = a),
|
|
151
|
-
disabled: t.disabled,
|
|
152
|
-
placeholder: ((g = (k = t.column) == null ? void 0 : k.extraInfo) == null ? void 0 : g.placeholder) || "",
|
|
153
|
-
onInput: o.onInput,
|
|
154
|
-
onFocus: o.onFocus,
|
|
155
|
-
onBlur: o.onBlur,
|
|
156
|
-
clearable: "",
|
|
157
|
-
"show-word-limit": ""
|
|
158
|
-
}, null, 8, ["modelValue", "disabled", "placeholder", "onInput", "onFocus", "onBlur"])),
|
|
159
|
-
t.dataBack && t.dataBack.key == t.column.columnCode ? (r(), v("div", j, [
|
|
160
|
-
i(B, {
|
|
161
|
-
link: "",
|
|
162
|
-
type: "primary",
|
|
163
|
-
style: { "padding-left": "0" },
|
|
164
|
-
onClick: l[3] || (l[3] = (a) => e.$emit("operate", this.column, "choosePackage"))
|
|
165
|
-
}, {
|
|
166
|
-
default: C(() => [
|
|
167
|
-
U("选择" + R(t.column.name || ""), 1)
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
})
|
|
171
|
-
])) : D("", !0)
|
|
172
|
-
]),
|
|
173
|
-
i(_, {
|
|
174
|
-
column: t.column,
|
|
175
|
-
extraInfo: t.extraInfo,
|
|
176
|
-
onOperate: l[4] || (l[4] = (a, w) => e.$emit("operate", a, w))
|
|
177
|
-
}, null, 8, ["column", "extraInfo"])
|
|
178
|
-
]);
|
|
179
|
-
}
|
|
180
|
-
const H = /* @__PURE__ */ N(T, [["render", z]]);
|
|
181
|
-
export {
|
|
182
|
-
H as default
|
|
183
|
-
};
|