@bytenew/bn-bus-ui 1.1.428 → 1.1.429
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/README.md +637 -637
- package/common.scss +867 -867
- package/dist/{assocTableSearch-C6Z1zcuE.js → assocTableSearch-CelkET_M.js} +8 -8
- package/dist/assocTableSearch.css +1 -1
- package/dist/bn-bus-ui.es.js +14 -14
- package/dist/bn-bus-ui.umd.js +21 -21
- package/dist/{chooseIPaasData-DxEIlyqY.js → chooseIPaasData-CkmEEM_x.js} +21 -21
- package/dist/chooseIPaasData.css +1 -1
- package/dist/{defaultSet-DjhA56p4.js → defaultSet-Dp5xHrwz.js} +13 -13
- package/dist/defaultSet.css +1 -1
- package/dist/{formItemFooter-Cc-qX-9V.js → formItemFooter-CvqPZSA1.js} +10 -10
- package/dist/formItemFooter.css +1 -1
- package/dist/{funcExprDialog-BCbdTtRt.js → funcExprDialog-BbDXO78Q.js} +9 -9
- package/dist/funcExprDialog.css +1 -1
- package/dist/{index-DNyUp9p6.js → index-8aq7Z1-V.js} +4 -4
- package/dist/{index-DzbLpLO8.js → index-BEyLapEk.js} +25 -25
- package/dist/{index-DJ5XqPYe.js → index-BOzf52Ay.js} +4 -4
- package/dist/{index-DAPgq5su.js → index-BRGj2ORR.js} +4 -4
- package/dist/{index-BzRZswzj.js → index-BSAc5hEX.js} +4 -4
- package/dist/{index-BSHVNRnl.js → index-Bwsqjluz.js} +4 -4
- package/dist/{index-BeZELViQ.js → index-ByHxSecf.js} +5 -5
- package/dist/{index-OtIv-brW.js → index-C-YDtKRd.js} +3 -3
- package/dist/{index-CfdPKqTa.js → index-CcCndlcr.js} +6 -6
- package/dist/{index-CnfkznFj.js → index-CnwNlqcb.js} +7 -7
- package/dist/{index-BrqsGKG0.js → index-CyKUx5Gy.js} +6 -6
- package/dist/{index-C1rlNKxz.js → index-Di4RvFoT.js} +4 -4
- package/dist/{index-DQ6-E0J1.js → index-DkibHQBd.js} +4 -4
- package/dist/{index-EP55agje.js → index-Q_iMveSU.js} +8 -8
- package/dist/{index-5Hf3ZUwI.js → index-ScSQzs8N.js} +13 -13
- package/dist/{index-7Wr4pteC.js → index-WV7Azgtl.js} +7 -7
- package/dist/{index-Cy6539KA.js → index-zp9Pe_uN.js} +7 -7
- package/dist/index.css +1 -1
- package/dist/index2.css +1 -1
- package/dist/index3.css +1 -1
- package/dist/index4.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/index7.css +1 -1
- package/dist/{install-CkK75pNd.js → install-CoPiY8rR.js} +2074 -2081
- package/dist/install.css +1 -1
- package/dist/{setOption-lGuKhX4_.js → setOption-F0BTMrOv.js} +10 -10
- package/dist/setOption.css +1 -1
- package/dist/{setRelationOption-yS-2q1i7.js → setRelationOption-C2hqgF_0.js} +205 -205
- package/dist/setRelationOption.css +1 -1
- package/package.json +51 -51
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _,
|
|
3
|
-
import { withDirectives as k,
|
|
2
|
+
import { _, X as N, Z as E } from "./install-CoPiY8rR.js";
|
|
3
|
+
import { withDirectives as k, openBlock as u, createElementBlock as v, withModifiers as L, normalizeStyle as z, vShow as B, resolveComponent as d, resolveDirective as U, createBlock as C, withCtx as a, createVNode as r, createElementVNode as c, Fragment as D, renderList as P, createTextVNode as g, toDisplayString as x } from "vue";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "WorksheetCopy",
|
|
6
6
|
data() {
|
|
@@ -62,7 +62,7 @@ function H(s, e, n, o, t, l) {
|
|
|
62
62
|
[B, t.visiable || t.isMouseIn]
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
65
|
-
const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-
|
|
65
|
+
const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-684f7285"]]), j = {
|
|
66
66
|
name: "chooseIPaasData",
|
|
67
67
|
components: { tableCellCopy: O },
|
|
68
68
|
props: {
|
|
@@ -194,9 +194,9 @@ const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-e720d7be"]]
|
|
|
194
194
|
}, 200), this.show = !1;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
}, J = { class: "chooseIPaasData" }, R = { class: "chooseIPaasData-search w-margin-bottom10" }, q = { class: "w-flex-between w-margin-bottom10" }, K = { class: "w-flex-center" }, W = { class: "w-flex-center" },
|
|
198
|
-
function
|
|
199
|
-
const h = d("tableCellCopy"), I = d("BnAdvancedFilter"), m = d("el-button"), T = d("BnDrop"),
|
|
197
|
+
}, J = { class: "chooseIPaasData" }, R = { class: "chooseIPaasData-search w-margin-bottom10" }, q = { class: "w-flex-between w-margin-bottom10" }, K = { class: "w-flex-center" }, W = { class: "w-flex-center" }, X = { class: "w-flex-right w-flex-center" }, Z = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
198
|
+
function G(s, e, n, o, t, l) {
|
|
199
|
+
const h = d("tableCellCopy"), I = d("BnAdvancedFilter"), m = d("el-button"), T = d("BnDrop"), b = d("vxe-column"), M = d("vxe-table"), S = d("el-pagination"), y = d("el-popover"), F = d("el-dialog"), V = U("loading");
|
|
200
200
|
return u(), C(F, {
|
|
201
201
|
modelValue: t.show,
|
|
202
202
|
"onUpdate:modelValue": e[7] || (e[7] = (i) => t.show = i),
|
|
@@ -207,8 +207,8 @@ function X(s, e, n, o, t, l) {
|
|
|
207
207
|
style: { "margin-bottom": "0" }
|
|
208
208
|
}, {
|
|
209
209
|
footer: a(() => [
|
|
210
|
-
c("div",
|
|
211
|
-
c("span",
|
|
210
|
+
c("div", X, [
|
|
211
|
+
c("span", Z, "已选择(" + x(t.selectData.length) + "/" + x(t.orderList.length) + ")条", 1),
|
|
212
212
|
r(S, {
|
|
213
213
|
class: "w-margin-right8",
|
|
214
214
|
background: "",
|
|
@@ -224,7 +224,7 @@ function X(s, e, n, o, t, l) {
|
|
|
224
224
|
onClick: e[4] || (e[4] = (i) => t.show = !1)
|
|
225
225
|
}, {
|
|
226
226
|
default: a(() => [...e[11] || (e[11] = [
|
|
227
|
-
|
|
227
|
+
g("取消", -1)
|
|
228
228
|
])]),
|
|
229
229
|
_: 1
|
|
230
230
|
}),
|
|
@@ -240,7 +240,7 @@ function X(s, e, n, o, t, l) {
|
|
|
240
240
|
disabled: t.selectData.length == 0
|
|
241
241
|
}, {
|
|
242
242
|
default: a(() => [...e[12] || (e[12] = [
|
|
243
|
-
|
|
243
|
+
g("确认追加", -1)
|
|
244
244
|
])]),
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["disabled"])
|
|
@@ -262,7 +262,7 @@ function X(s, e, n, o, t, l) {
|
|
|
262
262
|
disabled: t.selectData.length == 0
|
|
263
263
|
}, {
|
|
264
264
|
default: a(() => [...e[14] || (e[14] = [
|
|
265
|
-
|
|
265
|
+
g("确认覆盖", -1)
|
|
266
266
|
])]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, ["disabled"])
|
|
@@ -284,12 +284,12 @@ function X(s, e, n, o, t, l) {
|
|
|
284
284
|
}, [
|
|
285
285
|
r(I, {
|
|
286
286
|
modelValue: t.searchPost.conditions[p],
|
|
287
|
-
"onUpdate:modelValue": (
|
|
287
|
+
"onUpdate:modelValue": (f) => t.searchPost.conditions[p] = f,
|
|
288
288
|
columnList: t.searchColumns,
|
|
289
|
-
onValueChange: e[0] || (e[0] = (
|
|
289
|
+
onValueChange: e[0] || (e[0] = (f) => l.search()),
|
|
290
290
|
allowSearchType: !1,
|
|
291
291
|
allowDel: "",
|
|
292
|
-
onDel: (
|
|
292
|
+
onDel: (f) => t.searchPost.conditions.splice(p, 1),
|
|
293
293
|
postFunc: n.postFunc,
|
|
294
294
|
pathUrl: i.pathUrl,
|
|
295
295
|
postData: i.postData
|
|
@@ -311,7 +311,7 @@ function X(s, e, n, o, t, l) {
|
|
|
311
311
|
link: ""
|
|
312
312
|
}, {
|
|
313
313
|
default: a(() => [...e[8] || (e[8] = [
|
|
314
|
-
|
|
314
|
+
g(" + 添加筛选条件", -1)
|
|
315
315
|
])]),
|
|
316
316
|
_: 1
|
|
317
317
|
})
|
|
@@ -325,7 +325,7 @@ function X(s, e, n, o, t, l) {
|
|
|
325
325
|
onClick: l.search
|
|
326
326
|
}, {
|
|
327
327
|
default: a(() => [...e[9] || (e[9] = [
|
|
328
|
-
|
|
328
|
+
g("筛选", -1)
|
|
329
329
|
])]),
|
|
330
330
|
_: 1
|
|
331
331
|
}, 8, ["onClick"])
|
|
@@ -355,12 +355,12 @@ function X(s, e, n, o, t, l) {
|
|
|
355
355
|
c("span", null, "暂无数据", -1)
|
|
356
356
|
])]),
|
|
357
357
|
default: a(() => [
|
|
358
|
-
r(
|
|
358
|
+
r(b, {
|
|
359
359
|
type: "checkbox",
|
|
360
360
|
width: "32",
|
|
361
361
|
fixed: "left"
|
|
362
362
|
}),
|
|
363
|
-
(u(!0), v(D, null, P(t.columnData.moduleDefinition, (i, p) => (u(), C(
|
|
363
|
+
(u(!0), v(D, null, P(t.columnData.moduleDefinition, (i, p) => (u(), C(b, {
|
|
364
364
|
visible: i.extraInfo.isAddable == 1,
|
|
365
365
|
title: i.name,
|
|
366
366
|
field: i.columnCode,
|
|
@@ -370,8 +370,8 @@ function X(s, e, n, o, t, l) {
|
|
|
370
370
|
"show-overflow": "title",
|
|
371
371
|
"show-footer-overflow": ""
|
|
372
372
|
}, {
|
|
373
|
-
default: a((
|
|
374
|
-
c("span", null,
|
|
373
|
+
default: a((f) => [
|
|
374
|
+
c("span", null, x(l.getTitle(i, f.row[i.columnCode])), 1)
|
|
375
375
|
]),
|
|
376
376
|
_: 2
|
|
377
377
|
}, 1032, ["visible", "title", "field"]))), 128))
|
|
@@ -385,7 +385,7 @@ function X(s, e, n, o, t, l) {
|
|
|
385
385
|
_: 1
|
|
386
386
|
}, 8, ["modelValue", "title"]);
|
|
387
387
|
}
|
|
388
|
-
const ee = /* @__PURE__ */ _(j, [["render",
|
|
388
|
+
const ee = /* @__PURE__ */ _(j, [["render", G], ["__scopeId", "data-v-1c870df6"]]);
|
|
389
389
|
export {
|
|
390
390
|
ee as default
|
|
391
391
|
};
|
package/dist/chooseIPaasData.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.worksheetCopy[data-v-
|
|
1
|
+
.worksheetCopy[data-v-684f7285]{position:fixed;width:34px;height:22px;line-height:22px;text-align:center;background-color:#3333334d;color:#fff;font-size:12px;z-index:999999}.worksheetCopy[data-v-684f7285]:hover{background-color:#65acff;cursor:pointer}.chooseIPaasData[data-v-1c870df6]{height:100%;overflow:hidden}.chooseIPaasData-search[data-v-1c870df6]{display:flex;flex-wrap:wrap;max-height:142px;overflow-y:auto;gap:10px 18px}.chooseIPaasData-search-item[data-v-1c870df6]{width:calc(33.33% - 18px);flex-grow:0}.chooseIPaasData-out[data-v-1c870df6] .vxe-table--header .vxe-header--row{background-color:#ecf5ff}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as f,
|
|
2
|
-
import { _ as V } from "./install-
|
|
1
|
+
import { resolveComponent as f, openBlock as r, createElementBlock as s, createVNode as i, withCtx as h, createElementVNode as _, createCommentVNode as c } from "vue";
|
|
2
|
+
import { _ as V } from "./install-CoPiY8rR.js";
|
|
3
3
|
import { cloneDeep as y } from "lodash";
|
|
4
4
|
const x = {
|
|
5
5
|
name: "defaultSet",
|
|
@@ -101,7 +101,7 @@ const x = {
|
|
|
101
101
|
}, D = { class: "w-default-wrap" };
|
|
102
102
|
function w(t, n, l, o, u, e) {
|
|
103
103
|
const d = f("el-tooltip"), m = f("BnDrop"), I = f("el-input");
|
|
104
|
-
return
|
|
104
|
+
return r(), s("div", D, [
|
|
105
105
|
i(I, {
|
|
106
106
|
modelValue: e.columnInfo.defaultInfo,
|
|
107
107
|
"onUpdate:modelValue": n[0] || (n[0] = (p) => e.columnInfo.defaultInfo = p),
|
|
@@ -140,7 +140,7 @@ function w(t, n, l, o, u, e) {
|
|
|
140
140
|
}, 8, ["modelValue", "onChange"])
|
|
141
141
|
]);
|
|
142
142
|
}
|
|
143
|
-
const T = /* @__PURE__ */ V(x, [["render", w], ["__scopeId", "data-v-
|
|
143
|
+
const T = /* @__PURE__ */ V(x, [["render", w], ["__scopeId", "data-v-ca300f0b"]]), k = {
|
|
144
144
|
name: "defaultSet",
|
|
145
145
|
components: { stringDefault: T },
|
|
146
146
|
props: {
|
|
@@ -239,8 +239,8 @@ const T = /* @__PURE__ */ V(x, [["render", w], ["__scopeId", "data-v-c847d7d8"]]
|
|
|
239
239
|
function j(t, n, l, o, u, e) {
|
|
240
240
|
var b;
|
|
241
241
|
const d = f("el-input"), m = f("stringDefault"), I = f("BnInpNum"), p = f("BnSelect"), C = f("BnRelation"), v = f("el-date-picker"), g = f("BnDatePicker");
|
|
242
|
-
return
|
|
243
|
-
e.columnInfo.behaviorType ? c("", !0) : (
|
|
242
|
+
return r(), s("div", A, [
|
|
243
|
+
e.columnInfo.behaviorType ? c("", !0) : (r(), s("div", S, [
|
|
244
244
|
i(d, {
|
|
245
245
|
modelValue: e.columnInfo.defaultInfo,
|
|
246
246
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -249,7 +249,7 @@ function j(t, n, l, o, u, e) {
|
|
|
249
249
|
disabled: l.disabled
|
|
250
250
|
}, null, 8, ["modelValue", "disabled"])
|
|
251
251
|
])),
|
|
252
|
-
e.columnInfo.behaviorType == 1 ? (
|
|
252
|
+
e.columnInfo.behaviorType == 1 ? (r(), s("div", B, [
|
|
253
253
|
i(m, {
|
|
254
254
|
modelValue: e.columnInfo,
|
|
255
255
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => e.columnInfo = a),
|
|
@@ -257,7 +257,7 @@ function j(t, n, l, o, u, e) {
|
|
|
257
257
|
columnList: l.columnList
|
|
258
258
|
}, null, 8, ["modelValue", "disabled", "columnList"])
|
|
259
259
|
])) : c("", !0),
|
|
260
|
-
e.columnInfo.behaviorType == 2 ? (
|
|
260
|
+
e.columnInfo.behaviorType == 2 ? (r(), s("div", R, [
|
|
261
261
|
i(I, {
|
|
262
262
|
modelValue: e.columnInfo.defaultInfo,
|
|
263
263
|
"onUpdate:modelValue": n[2] || (n[2] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -265,7 +265,7 @@ function j(t, n, l, o, u, e) {
|
|
|
265
265
|
precision: (b = e.columnInfo.extraInfo) == null ? void 0 : b.valueType
|
|
266
266
|
}, null, 8, ["modelValue", "disabled", "precision"])
|
|
267
267
|
])) : c("", !0),
|
|
268
|
-
[3, 4, 5].includes(e.columnInfo.behaviorType) ? (
|
|
268
|
+
[3, 4, 5].includes(e.columnInfo.behaviorType) ? (r(), s("div", U, [
|
|
269
269
|
i(p, {
|
|
270
270
|
modelValue: e.columnInfo.defaultInfo,
|
|
271
271
|
"onUpdate:modelValue": n[3] || (n[3] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -282,7 +282,7 @@ function j(t, n, l, o, u, e) {
|
|
|
282
282
|
filterable: ""
|
|
283
283
|
}, null, 8, ["modelValue", "options", "multiple", "disabled", "pathUrl", "postData", "postFunc"])
|
|
284
284
|
])) : c("", !0),
|
|
285
|
-
e.columnInfo.behaviorType == 6 || e.columnInfo.behaviorType == 20 ? (
|
|
285
|
+
e.columnInfo.behaviorType == 6 || e.columnInfo.behaviorType == 20 ? (r(), s("div", P, [
|
|
286
286
|
i(C, {
|
|
287
287
|
options: e.filteredOptions,
|
|
288
288
|
class: "w-default-wrap",
|
|
@@ -294,7 +294,7 @@ function j(t, n, l, o, u, e) {
|
|
|
294
294
|
disabled: l.disabled
|
|
295
295
|
}, null, 8, ["options", "modelValue", "multiple", "disabled"])
|
|
296
296
|
])) : c("", !0),
|
|
297
|
-
e.columnInfo.behaviorType == 7 ? (
|
|
297
|
+
e.columnInfo.behaviorType == 7 ? (r(), s("div", W, [
|
|
298
298
|
i(v, {
|
|
299
299
|
style: { width: "100%" },
|
|
300
300
|
disabled: l.disabled,
|
|
@@ -306,7 +306,7 @@ function j(t, n, l, o, u, e) {
|
|
|
306
306
|
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
307
307
|
}, null, 8, ["disabled", "modelValue"])
|
|
308
308
|
])) : c("", !0),
|
|
309
|
-
e.columnInfo.behaviorType == 8 ? (
|
|
309
|
+
e.columnInfo.behaviorType == 8 ? (r(), s("div", L, [
|
|
310
310
|
i(g, {
|
|
311
311
|
modelValue: e.columnInfo.defaultInfo,
|
|
312
312
|
"onUpdate:modelValue": n[6] || (n[6] = (a) => e.columnInfo.defaultInfo = a),
|
|
@@ -316,7 +316,7 @@ function j(t, n, l, o, u, e) {
|
|
|
316
316
|
])) : c("", !0)
|
|
317
317
|
]);
|
|
318
318
|
}
|
|
319
|
-
const Y = /* @__PURE__ */ V(k, [["render", j], ["__scopeId", "data-v-
|
|
319
|
+
const Y = /* @__PURE__ */ V(k, [["render", j], ["__scopeId", "data-v-148021af"]]);
|
|
320
320
|
export {
|
|
321
321
|
Y as default
|
|
322
322
|
};
|
package/dist/defaultSet.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.defaultSet[data-v-
|
|
1
|
+
.defaultSet[data-v-ca300f0b],.defaultSet[data-v-148021af]{position:relative;width:100%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as g,
|
|
2
|
-
import { _ as v } from "./install-
|
|
1
|
+
import { resolveComponent as g, openBlock as n, createElementBlock as r, normalizeClass as y, withDirectives as m, createElementVNode as o, vShow as u, createTextVNode as c, toDisplayString as i, createBlock as w, withCtx as s, createCommentVNode as a, Fragment as B, renderList as C } from "vue";
|
|
2
|
+
import { _ as v } from "./install-CoPiY8rR.js";
|
|
3
3
|
const F = {
|
|
4
4
|
name: "formItemTop",
|
|
5
5
|
props: {
|
|
@@ -14,10 +14,10 @@ function U(d, t, e, I, h, k) {
|
|
|
14
14
|
class: y(["w-default-wrap BnSmartForm-title", { "w-color-red": e.column.error }])
|
|
15
15
|
}, [
|
|
16
16
|
m(o("span", S, "*", 512), [
|
|
17
|
-
[
|
|
17
|
+
[u, e.column.extraInfo.valueEmptyCheck == 1]
|
|
18
18
|
]),
|
|
19
19
|
c(" " + i(e.column.name) + " ", 1),
|
|
20
|
-
e.column.extraInfo.searchKey == 2 ? (n(),
|
|
20
|
+
e.column.extraInfo.searchKey == 2 ? (n(), w(l, {
|
|
21
21
|
key: 0,
|
|
22
22
|
placement: "top-start",
|
|
23
23
|
width: 400,
|
|
@@ -32,7 +32,7 @@ function U(d, t, e, I, h, k) {
|
|
|
32
32
|
]),
|
|
33
33
|
_: 1
|
|
34
34
|
})) : a("", !0),
|
|
35
|
-
e.dataBack && e.dataBack.key == e.column.columnCode ? (n(),
|
|
35
|
+
e.dataBack && e.dataBack.key == e.column.columnCode ? (n(), w(l, {
|
|
36
36
|
key: 1,
|
|
37
37
|
placement: "top-start",
|
|
38
38
|
width: 400,
|
|
@@ -56,7 +56,7 @@ function U(d, t, e, I, h, k) {
|
|
|
56
56
|
})) : a("", !0)
|
|
57
57
|
], 2);
|
|
58
58
|
}
|
|
59
|
-
const R = /* @__PURE__ */ v(F, [["render", U], ["__scopeId", "data-v-
|
|
59
|
+
const R = /* @__PURE__ */ v(F, [["render", U], ["__scopeId", "data-v-2ae0a737"]]), E = {
|
|
60
60
|
name: "formItemFooter",
|
|
61
61
|
props: {
|
|
62
62
|
//组件对象
|
|
@@ -76,10 +76,10 @@ function T(d, t, e, I, h, k) {
|
|
|
76
76
|
return n(), r("div", j, [
|
|
77
77
|
o("div", O, [
|
|
78
78
|
m(o("span", { class: "w-font-min w-color-red" }, i(e.column.error), 513), [
|
|
79
|
-
[
|
|
79
|
+
[u, e.column.error]
|
|
80
80
|
]),
|
|
81
81
|
m(o("span", { class: "w-font-min w-color-orange" }, i(e.column.warning), 513), [
|
|
82
|
-
[
|
|
82
|
+
[u, e.column.warning && !e.column.error]
|
|
83
83
|
]),
|
|
84
84
|
e.extraInfo && e.extraInfo.isCheckRepeat && e.column.warning && e.column.warning.includes("相同") ? (n(), r("span", {
|
|
85
85
|
key: 0,
|
|
@@ -89,7 +89,7 @@ function T(d, t, e, I, h, k) {
|
|
|
89
89
|
]),
|
|
90
90
|
(f = e.column.extraInfo) != null && f.paraExplain ? (n(), r("div", N, i(e.column.extraInfo.paraExplain), 1)) : a("", !0),
|
|
91
91
|
((_ = (p = e.column.extraInfo) == null ? void 0 : p.operationPictures) == null ? void 0 : _.length) > 0 ? (n(), r("div", P, [
|
|
92
|
-
(n(!0), r(B, null, C(e.column.extraInfo.operationPictures, (x, b) => (n(),
|
|
92
|
+
(n(!0), r(B, null, C(e.column.extraInfo.operationPictures, (x, b) => (n(), w(l, {
|
|
93
93
|
"preview-teleported": "",
|
|
94
94
|
style: { width: "46px", height: "46px" },
|
|
95
95
|
src: x,
|
|
@@ -101,7 +101,7 @@ function T(d, t, e, I, h, k) {
|
|
|
101
101
|
])) : a("", !0)
|
|
102
102
|
]);
|
|
103
103
|
}
|
|
104
|
-
const z = /* @__PURE__ */ v(E, [["render", T], ["__scopeId", "data-v-
|
|
104
|
+
const z = /* @__PURE__ */ v(E, [["render", T], ["__scopeId", "data-v-101622e9"]]);
|
|
105
105
|
export {
|
|
106
106
|
R as a,
|
|
107
107
|
z as f
|
package/dist/formItemFooter.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.BnSmartForm-title[data-v-
|
|
1
|
+
.BnSmartForm-title[data-v-2ae0a737]{height:32px;line-height:32px;font-size:14px;color:#666}.BnSmartForm-title-tip[data-v-2ae0a737]{font-size:12px;color:#777}.BnSmartForm-explain[data-v-2ae0a737]{margin-top:5px;color:#888;font-size:12px}.BnSmartForm-img[data-v-2ae0a737]{margin-top:8px}.BnSmartForm-img-item[data-v-2ae0a737]{display:inline-block;width:46px;height:46px;margin-right:8px;border-radius:4px;border:1px solid #E6E6E6}.BnSmartForm-img-item img[data-v-2ae0a737]{width:100%;height:100%;border-radius:4px}.BnSmartForm-tips[data-v-2ae0a737]{line-height:32px;font-size:12px}.BnSmartForm-title[data-v-101622e9]{height:32px;line-height:32px;font-size:14px;color:#666}.BnSmartForm-title-tip[data-v-101622e9]{font-size:12px;color:#777}.BnSmartForm-explain[data-v-101622e9]{margin-top:5px;color:#888;font-size:12px}.BnSmartForm-img[data-v-101622e9]{margin-top:8px}.BnSmartForm-img-item[data-v-101622e9]{display:inline-block;width:46px;height:46px;margin-right:8px;border-radius:4px;border:1px solid #E6E6E6}.BnSmartForm-img-item img[data-v-101622e9]{width:100%;height:100%;border-radius:4px}.BnSmartForm-tips[data-v-101622e9]{line-height:32px;font-size:12px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as i,
|
|
2
|
-
import { _ as I } from "./install-
|
|
1
|
+
import { resolveComponent as i, openBlock as c, createBlock as f, withCtx as n, createCommentVNode as v, createElementVNode as r, createVNode as a, createTextVNode as u } from "vue";
|
|
2
|
+
import { _ as I } from "./install-CoPiY8rR.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
name: "funcExprDialog",
|
|
5
5
|
props: {
|
|
@@ -74,10 +74,10 @@ const _ = {
|
|
|
74
74
|
}
|
|
75
75
|
}, g = { class: "dialog-footer" };
|
|
76
76
|
function y(t, e, l, d, o, s) {
|
|
77
|
-
const h = i("BnFunExpr"), x = i("el-link"), p = i("el-button"),
|
|
78
|
-
return c(),
|
|
77
|
+
const h = i("BnFunExpr"), x = i("el-link"), p = i("el-button"), b = i("el-dialog");
|
|
78
|
+
return c(), f(b, {
|
|
79
79
|
modelValue: o.visible,
|
|
80
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
80
|
+
"onUpdate:modelValue": e[1] || (e[1] = (m) => o.visible = m),
|
|
81
81
|
title: "编辑函数",
|
|
82
82
|
top: "5vh",
|
|
83
83
|
"close-on-click-modal": !1,
|
|
@@ -101,7 +101,7 @@ function y(t, e, l, d, o, s) {
|
|
|
101
101
|
]),
|
|
102
102
|
r("div", null, [
|
|
103
103
|
a(p, {
|
|
104
|
-
onClick: e[0] || (e[0] = (
|
|
104
|
+
onClick: e[0] || (e[0] = (m) => o.visible = !1)
|
|
105
105
|
}, {
|
|
106
106
|
default: n(() => [...e[3] || (e[3] = [
|
|
107
107
|
u("取消", -1)
|
|
@@ -122,18 +122,18 @@ function y(t, e, l, d, o, s) {
|
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
default: n(() => [
|
|
125
|
-
o.visible ? (c(),
|
|
125
|
+
o.visible ? (c(), f(h, {
|
|
126
126
|
key: 0,
|
|
127
127
|
id: s.columnInfo.extraInfo.exprId,
|
|
128
128
|
"column-list": s.columnList,
|
|
129
129
|
ref: "bnFunExpr",
|
|
130
130
|
"post-func": l.postFunc
|
|
131
|
-
}, null, 8, ["id", "column-list", "post-func"])) :
|
|
131
|
+
}, null, 8, ["id", "column-list", "post-func"])) : v("", !0)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
}, 8, ["modelValue"]);
|
|
135
135
|
}
|
|
136
|
-
const F = /* @__PURE__ */ I(_, [["render", y], ["__scopeId", "data-v-
|
|
136
|
+
const F = /* @__PURE__ */ I(_, [["render", y], ["__scopeId", "data-v-d954db8c"]]);
|
|
137
137
|
export {
|
|
138
138
|
F as default
|
|
139
139
|
};
|
package/dist/funcExprDialog.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dialog-footer[data-v-
|
|
1
|
+
.dialog-footer[data-v-d954db8c]{display:flex;justify-content:space-between;position:relative}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as i, a as d } from "./formItemFooter-
|
|
1
|
+
import { f as i, a as d } from "./formItemFooter-CvqPZSA1.js";
|
|
2
2
|
import { debounce as f } from "lodash";
|
|
3
|
-
import { resolveComponent as m,
|
|
4
|
-
import { _ as I } from "./install-
|
|
3
|
+
import { resolveComponent as m, openBlock as p, createElementBlock as h, createVNode as u, createElementVNode as _ } from "vue";
|
|
4
|
+
import { _ as I } from "./install-CoPiY8rR.js";
|
|
5
5
|
const B = {
|
|
6
6
|
name: "numberForm",
|
|
7
7
|
components: { formItemTop: d, formItemFooter: i },
|
|
@@ -44,7 +44,7 @@ const B = {
|
|
|
44
44
|
function v(n, e, o, w, x, t) {
|
|
45
45
|
var l;
|
|
46
46
|
const c = m("formItemTop"), r = m("BnInpNum"), s = m("formItemFooter");
|
|
47
|
-
return
|
|
47
|
+
return p(), h("div", b, [
|
|
48
48
|
u(c, { column: o.column }, null, 8, ["column"]),
|
|
49
49
|
_("div", F, [
|
|
50
50
|
u(r, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { debounce as V } from "lodash";
|
|
2
|
-
import { _ as x,
|
|
2
|
+
import { _ as x, a4 as z, a1 as $ } from "./install-CoPiY8rR.js";
|
|
3
3
|
import { f as P } from "./fileFormData-D_Q1vylE.js";
|
|
4
|
-
import { resolveComponent as d,
|
|
5
|
-
import { a as j, f as R } from "./formItemFooter-
|
|
4
|
+
import { resolveComponent as d, openBlock as i, createElementBlock as p, createElementVNode as r, createVNode as h, withCtx as u, createTextVNode as y, toDisplayString as C, withDirectives as U, vShow as Y, createCommentVNode as f, resolveDirective as M, createBlock as _, Fragment as S, renderList as T } from "vue";
|
|
5
|
+
import { a as j, f as R } from "./formItemFooter-CvqPZSA1.js";
|
|
6
6
|
const H = {
|
|
7
7
|
name: "childFormFile",
|
|
8
8
|
props: {
|
|
@@ -121,10 +121,10 @@ const H = {
|
|
|
121
121
|
}
|
|
122
122
|
}, J = { class: "childFormFile" }, q = { class: "" }, K = { class: "childFormFile-tip" }, W = { key: 0 };
|
|
123
123
|
function X(o, e, t, m, c, n) {
|
|
124
|
-
const
|
|
124
|
+
const b = d("el-upload"), v = d("el-input"), g = d("el-progress"), w = d("BnFileView");
|
|
125
125
|
return i(), p("div", J, [
|
|
126
126
|
r("div", q, [
|
|
127
|
-
h(
|
|
127
|
+
h(b, {
|
|
128
128
|
class: "childFormFile-upload",
|
|
129
129
|
ref: "uploadInput",
|
|
130
130
|
drag: "",
|
|
@@ -144,7 +144,7 @@ function X(o, e, t, m, c, n) {
|
|
|
144
144
|
])]),
|
|
145
145
|
_: 1
|
|
146
146
|
}, 8, ["action", "before-upload", "data", "on-progress", "on-success"]),
|
|
147
|
-
h(
|
|
147
|
+
h(v, {
|
|
148
148
|
modelValue: c.pasteValue,
|
|
149
149
|
"onUpdate:modelValue": e[0] || (e[0] = (F) => c.pasteValue = F),
|
|
150
150
|
ref: "fileUploadInput",
|
|
@@ -169,7 +169,7 @@ function X(o, e, t, m, c, n) {
|
|
|
169
169
|
])) : f("", !0)
|
|
170
170
|
]);
|
|
171
171
|
}
|
|
172
|
-
const G = /* @__PURE__ */ x(H, [["render", X], ["__scopeId", "data-v-
|
|
172
|
+
const G = /* @__PURE__ */ x(H, [["render", X], ["__scopeId", "data-v-a1b3b6de"]]), Q = {
|
|
173
173
|
name: "searchInventory",
|
|
174
174
|
props: {
|
|
175
175
|
row: {},
|
|
@@ -232,9 +232,9 @@ const G = /* @__PURE__ */ x(H, [["render", X], ["__scopeId", "data-v-b5b06973"]]
|
|
|
232
232
|
}
|
|
233
233
|
}, Z = { class: "inventory" };
|
|
234
234
|
function ee(o, e, t, m, c, n) {
|
|
235
|
-
const
|
|
235
|
+
const b = d("vxe-column"), v = d("vxe-table"), g = M("loading");
|
|
236
236
|
return U((i(), p("div", Z, [
|
|
237
|
-
U((i(), _(
|
|
237
|
+
U((i(), _(v, {
|
|
238
238
|
ref: "assocTable",
|
|
239
239
|
border: "",
|
|
240
240
|
size: "small",
|
|
@@ -251,7 +251,7 @@ function ee(o, e, t, m, c, n) {
|
|
|
251
251
|
r("span", null, "未查到库存数据", -1)
|
|
252
252
|
])]),
|
|
253
253
|
default: u(() => [
|
|
254
|
-
(i(!0), p(S, null, T(c.headData, (w, F) => (i(), _(
|
|
254
|
+
(i(!0), p(S, null, T(c.headData, (w, F) => (i(), _(b, {
|
|
255
255
|
title: w,
|
|
256
256
|
field: w,
|
|
257
257
|
"min-width": "100",
|
|
@@ -269,7 +269,7 @@ function ee(o, e, t, m, c, n) {
|
|
|
269
269
|
[g, c.loading]
|
|
270
270
|
]);
|
|
271
271
|
}
|
|
272
|
-
const te = /* @__PURE__ */ x(Q, [["render", ee], ["__scopeId", "data-v-
|
|
272
|
+
const te = /* @__PURE__ */ x(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"]]), oe = {
|
|
273
273
|
name: "editLabel",
|
|
274
274
|
components: { childFormFile: G, searchInventory: te },
|
|
275
275
|
props: {
|
|
@@ -376,9 +376,9 @@ const te = /* @__PURE__ */ x(Q, [["render", ee], ["__scopeId", "data-v-740d3d8f"
|
|
|
376
376
|
}, me = {
|
|
377
377
|
key: 0,
|
|
378
378
|
class: "childFormBody-file-view"
|
|
379
|
-
}, pe = { class: "childFormBody-operate" }, fe = { class: "w-flex-center" }, ge = ["onClick"],
|
|
380
|
-
function
|
|
381
|
-
const
|
|
379
|
+
}, pe = { class: "childFormBody-operate" }, fe = { class: "w-flex-center" }, ge = ["onClick"], be = ["onClick"];
|
|
380
|
+
function ve(o, e, t, m, c, n) {
|
|
381
|
+
const b = d("vxe-column"), v = d("el-input"), g = d("BnInpNum"), w = d("BnSelect"), F = d("BnRelation"), k = d("el-date-picker"), D = d("child-form-file"), I = d("el-popover"), E = d("BnFileView"), A = d("searchInventory"), O = d("vxe-table");
|
|
382
382
|
return i(), p("div", le, [
|
|
383
383
|
h(O, {
|
|
384
384
|
border: "",
|
|
@@ -397,12 +397,12 @@ function be(o, e, t, m, c, n) {
|
|
|
397
397
|
])
|
|
398
398
|
]),
|
|
399
399
|
default: u(() => [
|
|
400
|
-
h(
|
|
400
|
+
h(b, {
|
|
401
401
|
type: "seq",
|
|
402
402
|
width: "50"
|
|
403
403
|
}),
|
|
404
404
|
(i(!0), p(S, null, T(t.sourceData.moduleDefinition, (l, B) => (i(), p(S, { key: B }, [
|
|
405
|
-
n.isShow(l) ? (i(), _(
|
|
405
|
+
n.isShow(l) ? (i(), _(b, {
|
|
406
406
|
key: 0,
|
|
407
407
|
title: l.name,
|
|
408
408
|
params: l.extraInfo || {},
|
|
@@ -420,7 +420,7 @@ function be(o, e, t, m, c, n) {
|
|
|
420
420
|
return [
|
|
421
421
|
r("div", ie, [
|
|
422
422
|
l.behaviorType == 1 ? (i(), p("div", se, [
|
|
423
|
-
h(
|
|
423
|
+
h(v, {
|
|
424
424
|
type: "textarea",
|
|
425
425
|
resize: "none",
|
|
426
426
|
rows: 1,
|
|
@@ -544,7 +544,7 @@ function be(o, e, t, m, c, n) {
|
|
|
544
544
|
_: 2
|
|
545
545
|
}, 1032, ["title", "params"])) : f("", !0)
|
|
546
546
|
], 64))), 128)),
|
|
547
|
-
t.disabled ? f("", !0) : (i(), _(
|
|
547
|
+
t.disabled ? f("", !0) : (i(), _(b, {
|
|
548
548
|
key: 0,
|
|
549
549
|
fixed: "right",
|
|
550
550
|
width: "52"
|
|
@@ -567,7 +567,7 @@ function be(o, e, t, m, c, n) {
|
|
|
567
567
|
r("span", {
|
|
568
568
|
class: "bnUIcon bnUIcon-delete w-color-red w-font-max w-cursor-pointer",
|
|
569
569
|
onClick: (B) => n.delItem(l.rowIndex)
|
|
570
|
-
}, null, 8,
|
|
570
|
+
}, null, 8, be)
|
|
571
571
|
]),
|
|
572
572
|
_: 1
|
|
573
573
|
}))
|
|
@@ -576,7 +576,7 @@ function be(o, e, t, m, c, n) {
|
|
|
576
576
|
}, 8, ["data"])
|
|
577
577
|
]);
|
|
578
578
|
}
|
|
579
|
-
const _e = /* @__PURE__ */ x(oe, [["render",
|
|
579
|
+
const _e = /* @__PURE__ */ x(oe, [["render", ve], ["__scopeId", "data-v-60725962"]]), we = {
|
|
580
580
|
name: "childrenForm",
|
|
581
581
|
components: { formItemFooter: R, formItemTop: j, childrenFormBody: _e },
|
|
582
582
|
props: {
|
|
@@ -624,9 +624,9 @@ const _e = /* @__PURE__ */ x(oe, [["render", be], ["__scopeId", "data-v-396393e7
|
|
|
624
624
|
}, ye = { class: "w-default-wrap childrenForm" }, Fe = { class: "childrenForm-behavior" }, Ie = { class: "w-flex-center w-margin-bottom6" };
|
|
625
625
|
function Ce(o, e, t, m, c, n) {
|
|
626
626
|
var k, D;
|
|
627
|
-
const
|
|
627
|
+
const b = d("formItemTop"), v = d("el-button"), g = d("el-popover"), w = d("childrenFormBody"), F = d("formItemFooter");
|
|
628
628
|
return i(), p("div", ye, [
|
|
629
|
-
h(
|
|
629
|
+
h(b, { column: t.column }, null, 8, ["column"]),
|
|
630
630
|
r("div", Fe, [
|
|
631
631
|
r("div", Ie, [
|
|
632
632
|
t.dataBack && t.dataBack.order == t.column.columnCode ? (i(), _(g, {
|
|
@@ -637,7 +637,7 @@ function Ce(o, e, t, m, c, n) {
|
|
|
637
637
|
"show-arrow": !1
|
|
638
638
|
}, {
|
|
639
639
|
reference: u(() => [
|
|
640
|
-
h(
|
|
640
|
+
h(v, {
|
|
641
641
|
link: "",
|
|
642
642
|
type: "primary",
|
|
643
643
|
style: { "padding-left": "0" },
|
|
@@ -666,7 +666,7 @@ function Ce(o, e, t, m, c, n) {
|
|
|
666
666
|
"show-arrow": !1
|
|
667
667
|
}, {
|
|
668
668
|
reference: u(() => [
|
|
669
|
-
h(
|
|
669
|
+
h(v, {
|
|
670
670
|
link: "",
|
|
671
671
|
type: "primary",
|
|
672
672
|
style: { "padding-left": "0" },
|
|
@@ -695,7 +695,7 @@ function Ce(o, e, t, m, c, n) {
|
|
|
695
695
|
"show-arrow": !1
|
|
696
696
|
}, {
|
|
697
697
|
reference: u(() => [
|
|
698
|
-
h(
|
|
698
|
+
h(v, {
|
|
699
699
|
link: "",
|
|
700
700
|
type: "primary",
|
|
701
701
|
style: { "padding-left": "0" },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { debounce as v } from "lodash";
|
|
2
|
-
import { f, a as b } from "./formItemFooter-
|
|
3
|
-
import { B as w } from "./index-
|
|
4
|
-
import { resolveComponent as t,
|
|
5
|
-
import { _ as y } from "./install-
|
|
2
|
+
import { f, a as b } from "./formItemFooter-CvqPZSA1.js";
|
|
3
|
+
import { B as w } from "./index-C-YDtKRd.js";
|
|
4
|
+
import { resolveComponent as t, openBlock as s, createElementBlock as B, createBlock as F, createCommentVNode as _, createVNode as a, createElementVNode as d } from "vue";
|
|
5
|
+
import { _ as y } from "./install-CoPiY8rR.js";
|
|
6
6
|
const I = {
|
|
7
7
|
name: "addressForm",
|
|
8
8
|
components: { BnAddressParse: w, formItemTop: b, formItemFooter: f },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as s, a as d } from "./formItemFooter-
|
|
2
|
-
import { resolveComponent as o,
|
|
3
|
-
import { _ } from "./install-
|
|
1
|
+
import { f as s, a as d } from "./formItemFooter-CvqPZSA1.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as u, createElementBlock as i, createVNode as t, createElementVNode as f } from "vue";
|
|
3
|
+
import { _ } from "./install-CoPiY8rR.js";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "dateForm",
|
|
6
6
|
components: { formItemTop: d, formItemFooter: s },
|
|
@@ -21,7 +21,7 @@ const p = {
|
|
|
21
21
|
}, h = { class: "w-default-wrap" }, Y = { class: "w-default-wrap" };
|
|
22
22
|
function g(V, n, e, b, v, m) {
|
|
23
23
|
const l = o("formItemTop"), a = o("el-date-picker"), c = o("formItemFooter");
|
|
24
|
-
return
|
|
24
|
+
return u(), i("div", h, [
|
|
25
25
|
t(l, { column: e.column }, null, 8, ["column"]),
|
|
26
26
|
f("div", Y, [
|
|
27
27
|
t(a, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as d, f as s } from "./formItemFooter-
|
|
2
|
-
import { resolveComponent as o,
|
|
3
|
-
import { _ } from "./install-
|
|
1
|
+
import { a as d, f as s } from "./formItemFooter-CvqPZSA1.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as u, createElementBlock as i, createVNode as n, createElementVNode as f } from "vue";
|
|
3
|
+
import { _ } from "./install-CoPiY8rR.js";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "dateDualForm",
|
|
6
6
|
props: {
|
|
@@ -24,7 +24,7 @@ const p = {
|
|
|
24
24
|
}, h = { class: "w-default-wrap" }, g = { class: "w-default-wrap" };
|
|
25
25
|
function V(I, t, e, b, v, m) {
|
|
26
26
|
const l = o("formItemTop"), a = o("BnDatePicker"), c = o("formItemFooter");
|
|
27
|
-
return
|
|
27
|
+
return u(), i("div", h, [
|
|
28
28
|
n(l, { column: e.column }, null, 8, ["column"]),
|
|
29
29
|
f("div", g, [
|
|
30
30
|
n(a, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as u, f as s } from "./formItemFooter-
|
|
2
|
-
import { resolveComponent as n,
|
|
3
|
-
import { _ as h } from "./install-
|
|
1
|
+
import { a as u, f as s } from "./formItemFooter-CvqPZSA1.js";
|
|
2
|
+
import { resolveComponent as n, openBlock as d, createElementBlock as f, createVNode as l, createElementVNode as p } from "vue";
|
|
3
|
+
import { _ as h } from "./install-CoPiY8rR.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "relationForm",
|
|
6
6
|
components: { formItemFooter: s, formItemTop: u },
|
|
@@ -37,7 +37,7 @@ const _ = {
|
|
|
37
37
|
}, b = { class: "w-default-wrap" }, y = { class: "w-default-wrap" };
|
|
38
38
|
function g(o, t, e, v, V, r) {
|
|
39
39
|
const i = n("formItemTop"), m = n("BnRelation"), c = n("formItemFooter");
|
|
40
|
-
return
|
|
40
|
+
return d(), f("div", b, [
|
|
41
41
|
l(i, { column: e.column }, null, 8, ["column"]),
|
|
42
42
|
p("div", y, [
|
|
43
43
|
l(m, {
|