@bytenew/bn-bus-ui 1.1.419 → 1.1.421
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-CZRIIQ0-.js → assocTableSearch-CpmSW_Vb.js} +8 -8
- package/dist/{chooseIPaasData-CIx1zE0R.js → chooseIPaasData-CDHNVY1v.js} +22 -22
- package/dist/{defaultSet-pzzsEEL5.js → defaultSet-WEy0eO02.js} +13 -13
- package/dist/{formItemFooter-CzbVJ0W7.js → formItemFooter-PbuR5Y0_.js} +10 -10
- package/dist/{funcExprDialog-DyqEMpvh.js → funcExprDialog-DFo6rGJ6.js} +9 -9
- package/dist/{index-B-Pgh7aQ.js → index-BLR_BqTr.js} +27 -27
- package/dist/{index-Lbrua6nY.js → index-BjaBvTx4.js} +4 -4
- package/dist/{index-C51MJuFe.js → index-BlHEdmY6.js} +4 -4
- package/dist/{index-q3rU-Opb.js → index-BlmrfsBW.js} +17 -17
- package/dist/{index-DTYM2J8o.js → index-ByvuJpN3.js} +12 -12
- package/dist/{index-Bcr0UmKr.js → index-C1-v8H1g.js} +5 -5
- package/dist/{index-B4pdFVVn.js → index-CCCOGP67.js} +9 -9
- package/dist/{index-NREkGH5r.js → index-CoABCQF-.js} +7 -7
- package/dist/{index-ozkkGNmk.js → index-CyDrTfWc.js} +4 -4
- package/dist/{index-Ce_aOv7R.js → index-DN0lE3O-.js} +4 -4
- package/dist/{index-DSxnqQ--.js → index-Dq8looK3.js} +4 -4
- package/dist/{index-Cd0LmVIO.js → index-EPtPvjdy.js} +4 -4
- package/dist/{index-W23_zjNk.js → index-Ep4JmBbZ.js} +6 -6
- package/dist/{index-BJcVB7mO.js → index-I_y1ufup.js} +4 -4
- package/dist/{index-DAhU1Oz5.js → index-qGfTZyOB.js} +3 -3
- package/dist/{index-B6BfRAqg.js → index-sYiP_dpM.js} +7 -7
- package/dist/{index-BDYoQYRX.js → index-yyXjP62M.js} +7 -7
- package/dist/{install-uV2VR6D5.js → install-CkQ4hh1D.js} +3800 -3515
- package/dist/{setOption-2LrkbiS5.js → setOption-DgxxAu05.js} +10 -10
- package/dist/{setRelationOption-Db805a7d.js → setRelationOption-BIj-VzW0.js} +205 -205
- package/package.json +51 -51
- package/dist/assocTableSearch.css +0 -1
- package/dist/bn-bus-ui.es.js +0 -59
- package/dist/bn-bus-ui.umd.js +0 -42
- package/dist/chooseIPaasData.css +0 -1
- package/dist/defaultSet.css +0 -1
- package/dist/fileFormData-D_Q1vylE.js +0 -53
- package/dist/formItemFooter.css +0 -1
- package/dist/funcExprDialog.css +0 -1
- 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.css +0 -1
- package/dist/setOption.css +0 -1
- package/dist/setRelationOption.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _ as R,
|
|
3
|
-
import { resolveComponent as
|
|
2
|
+
import { _ as R, t as T } from "./install-CkQ4hh1D.js";
|
|
3
|
+
import { resolveComponent as b, resolveDirective as I, createBlock as _, openBlock as h, withCtx as c, withDirectives as V, createElementBlock as v, createElementVNode as t, createVNode as i, createTextVNode as D, createCommentVNode as x, Fragment as U, renderList as k } from "vue";
|
|
4
4
|
const F = {
|
|
5
5
|
id: "",
|
|
6
6
|
//规则id
|
|
@@ -173,8 +173,8 @@ const F = {
|
|
|
173
173
|
class: "w-empty"
|
|
174
174
|
}, P = { class: "w-flex-center w-flex-wrap w-flex-column-gap25 w-margin-top10" }, j = { class: "w-flex-center" }, A = { class: "w-flex-center" }, J = { class: "w-flex-center" }, M = { class: "w-flex-center w-margin-top10" }, q = { class: "w-flex-right" };
|
|
175
175
|
function H(s, e, r, C, l, g) {
|
|
176
|
-
const d =
|
|
177
|
-
return
|
|
176
|
+
const d = b("el-button"), y = b("BnCondition"), p = b("BnCheck"), m = b("el-tooltip"), o = b("el-dialog"), n = I("loading");
|
|
177
|
+
return h(), _(o, {
|
|
178
178
|
modelValue: l.visible,
|
|
179
179
|
"onUpdate:modelValue": e[5] || (e[5] = (a) => l.visible = a),
|
|
180
180
|
title: "设置数据筛选",
|
|
@@ -207,7 +207,7 @@ function H(s, e, r, C, l, g) {
|
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
209
209
|
default: c(() => [
|
|
210
|
-
V((
|
|
210
|
+
V((h(), v("div", L, [
|
|
211
211
|
t("div", O, [
|
|
212
212
|
e[7] || (e[7] = t("div", { class: "w-flex-center w-flex-column-gap4" }, [
|
|
213
213
|
t("div", { class: "w-line-height20" }, "设置筛选条件"),
|
|
@@ -228,7 +228,7 @@ function H(s, e, r, C, l, g) {
|
|
|
228
228
|
])
|
|
229
229
|
]),
|
|
230
230
|
t("div", N, [
|
|
231
|
-
(
|
|
231
|
+
(h(!0), v(U, null, k(l.ruleData.columnRules, (a, f) => (h(), _(y, {
|
|
232
232
|
key: f,
|
|
233
233
|
modelValue: l.ruleData.columnRules[f],
|
|
234
234
|
"onUpdate:modelValue": (u) => l.ruleData.columnRules[f] = u,
|
|
@@ -248,7 +248,7 @@ function H(s, e, r, C, l, g) {
|
|
|
248
248
|
allowSelectColumn: "",
|
|
249
249
|
onDel: (u) => l.ruleData.columnRules.splice(f, 1)
|
|
250
250
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "columnList", "other-column-list", "postFunc", "onDel"]))), 128)),
|
|
251
|
-
l.ruleData.columnRules.length == 0 ? (
|
|
251
|
+
l.ruleData.columnRules.length == 0 ? (h(), v("div", B, " 请设置筛选条件 ")) : x("", !0)
|
|
252
252
|
]),
|
|
253
253
|
e[12] || (e[12] = t("div", { class: "w-flex-center w-flex-column-gap4 w-margin-top10" }, [
|
|
254
254
|
t("div", { class: "w-line-height20" }, "筛选结果"),
|
|
@@ -343,7 +343,7 @@ function H(s, e, r, C, l, g) {
|
|
|
343
343
|
_: 1
|
|
344
344
|
}, 8, ["modelValue"]);
|
|
345
345
|
}
|
|
346
|
-
const G = /* @__PURE__ */ R(S, [["render", H], ["__scopeId", "data-v-
|
|
346
|
+
const G = /* @__PURE__ */ R(S, [["render", H], ["__scopeId", "data-v-8472bae8"]]);
|
|
347
347
|
export {
|
|
348
348
|
G as default
|
|
349
349
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _,
|
|
3
|
-
import { withDirectives as k,
|
|
2
|
+
import { _, g as N, a as E } from "./install-CkQ4hh1D.js";
|
|
3
|
+
import { withDirectives as k, createElementBlock as v, openBlock as u, 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 f, toDisplayString as b } 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-e720d7be"]]), j = {
|
|
66
66
|
name: "chooseIPaasData",
|
|
67
67
|
components: { tableCellCopy: O },
|
|
68
68
|
props: {
|
|
@@ -196,8 +196,8 @@ const O = /* @__PURE__ */ _(A, [["render", H], ["__scopeId", "data-v-684f7285"]]
|
|
|
196
196
|
}
|
|
197
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" }, G = { class: "w-flex-right w-flex-center" }, Q = { class: "w-font13 w-color-gray w-margin-right8" };
|
|
198
198
|
function X(s, e, n, o, t, l) {
|
|
199
|
-
const h = d("tableCellCopy"),
|
|
200
|
-
return u(), C(
|
|
199
|
+
const h = d("tableCellCopy"), I = d("BnAdvancedFilter"), m = d("el-button"), T = d("BnDrop"), x = d("vxe-column"), M = d("vxe-table"), S = d("el-pagination"), y = d("el-popover"), F = d("el-dialog"), V = U("loading");
|
|
200
|
+
return u(), C(F, {
|
|
201
201
|
modelValue: t.show,
|
|
202
202
|
"onUpdate:modelValue": e[7] || (e[7] = (i) => t.show = i),
|
|
203
203
|
title: `请选择${t.columnData.name}`,
|
|
@@ -208,7 +208,7 @@ function X(s, e, n, o, t, l) {
|
|
|
208
208
|
}, {
|
|
209
209
|
footer: a(() => [
|
|
210
210
|
c("div", G, [
|
|
211
|
-
c("span", Q, "已选择(" +
|
|
211
|
+
c("span", Q, "已选择(" + b(t.selectData.length) + "/" + b(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
|
+
f("取消", -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
|
+
f("确认追加", -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
|
+
f("确认覆盖", -1)
|
|
266
266
|
])]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, ["disabled"])
|
|
@@ -282,14 +282,14 @@ function X(s, e, n, o, t, l) {
|
|
|
282
282
|
key: p,
|
|
283
283
|
class: "chooseIPaasData-search-item"
|
|
284
284
|
}, [
|
|
285
|
-
r(
|
|
285
|
+
r(I, {
|
|
286
286
|
modelValue: t.searchPost.conditions[p],
|
|
287
|
-
"onUpdate:modelValue": (
|
|
287
|
+
"onUpdate:modelValue": (g) => t.searchPost.conditions[p] = g,
|
|
288
288
|
columnList: t.searchColumns,
|
|
289
|
-
onValueChange: e[0] || (e[0] = (
|
|
289
|
+
onValueChange: e[0] || (e[0] = (g) => l.search()),
|
|
290
290
|
allowSearchType: !1,
|
|
291
291
|
allowDel: "",
|
|
292
|
-
onDel: (
|
|
292
|
+
onDel: (g) => t.searchPost.conditions.splice(p, 1),
|
|
293
293
|
postFunc: n.postFunc,
|
|
294
294
|
pathUrl: i.pathUrl,
|
|
295
295
|
postData: i.postData
|
|
@@ -298,7 +298,7 @@ function X(s, e, n, o, t, l) {
|
|
|
298
298
|
]),
|
|
299
299
|
c("div", q, [
|
|
300
300
|
c("div", K, [
|
|
301
|
-
r(
|
|
301
|
+
r(T, {
|
|
302
302
|
modelValue: t.searchPost.conditions,
|
|
303
303
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.searchPost.conditions = i),
|
|
304
304
|
options: t.conditions,
|
|
@@ -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
|
+
f(" + 添加筛选条件", -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
|
+
f("筛选", -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(x, {
|
|
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(x, {
|
|
364
364
|
visible: i.extraInfo.isAddable == 1,
|
|
365
365
|
title: i.name,
|
|
366
366
|
field: i.columnCode,
|
|
@@ -370,22 +370,22 @@ 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((g) => [
|
|
374
|
+
c("span", null, b(l.getTitle(i, g.row[i.columnCode])), 1)
|
|
375
375
|
]),
|
|
376
376
|
_: 2
|
|
377
377
|
}, 1032, ["visible", "title", "field"]))), 128))
|
|
378
378
|
]),
|
|
379
379
|
_: 1
|
|
380
380
|
}, 8, ["data", "max-height", "checkbox-config", "onCheckboxChange", "onCellMouseenter", "onCellMouseleave", "onCheckboxAll"])), [
|
|
381
|
-
[
|
|
381
|
+
[V, t.loading]
|
|
382
382
|
])
|
|
383
383
|
])
|
|
384
384
|
]),
|
|
385
385
|
_: 1
|
|
386
386
|
}, 8, ["modelValue", "title"]);
|
|
387
387
|
}
|
|
388
|
-
const ee = /* @__PURE__ */ _(j, [["render", X], ["__scopeId", "data-v-
|
|
388
|
+
const ee = /* @__PURE__ */ _(j, [["render", X], ["__scopeId", "data-v-bbc81ffb"]]);
|
|
389
389
|
export {
|
|
390
390
|
ee as default
|
|
391
391
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as f,
|
|
2
|
-
import { _ as V } from "./install-
|
|
1
|
+
import { resolveComponent as f, createElementBlock as r, openBlock as s, createVNode as i, withCtx as h, createElementVNode as _, createCommentVNode as c } from "vue";
|
|
2
|
+
import { _ as V } from "./install-CkQ4hh1D.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 s(), r("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-c847d7d8"]]), 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-ca300f0b"]]
|
|
|
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 s(), r("div", A, [
|
|
243
|
+
e.columnInfo.behaviorType ? c("", !0) : (s(), r("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 ? (s(), r("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 ? (s(), r("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) ? (s(), r("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 ? (s(), r("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 ? (s(), r("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 ? (s(), r("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-10e80e09"]]);
|
|
320
320
|
export {
|
|
321
321
|
Y as default
|
|
322
322
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as g,
|
|
2
|
-
import { _ as v } from "./install-
|
|
1
|
+
import { resolveComponent as g, createElementBlock as r, openBlock as n, normalizeClass as y, withDirectives as m, createTextVNode as c, createBlock as u, createCommentVNode as a, createElementVNode as o, vShow as w, toDisplayString as i, withCtx as s, Fragment as B, renderList as C } from "vue";
|
|
2
|
+
import { _ as v } from "./install-CkQ4hh1D.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
|
+
[w, 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(), u(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(), u(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-6a75fe5e"]]), 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
|
+
[w, e.column.error]
|
|
80
80
|
]),
|
|
81
81
|
m(o("span", { class: "w-font-min w-color-orange" }, i(e.column.warning), 513), [
|
|
82
|
-
[
|
|
82
|
+
[w, 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(), u(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-0d4387e0"]]);
|
|
105
105
|
export {
|
|
106
106
|
R as a,
|
|
107
107
|
z as f
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as i,
|
|
2
|
-
import { _ as I } from "./install-
|
|
1
|
+
import { resolveComponent as i, createBlock as m, openBlock as c, withCtx as n, createCommentVNode as b, createElementVNode as r, createVNode as a, createTextVNode as u } from "vue";
|
|
2
|
+
import { _ as I } from "./install-CkQ4hh1D.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"), v = i("el-dialog");
|
|
78
|
+
return c(), m(v, {
|
|
79
79
|
modelValue: o.visible,
|
|
80
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
80
|
+
"onUpdate:modelValue": e[1] || (e[1] = (f) => o.visible = f),
|
|
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] = (f) => 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(), m(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"])) : b("", !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-9fc70d3d"]]);
|
|
137
137
|
export {
|
|
138
138
|
F as default
|
|
139
139
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { debounce as V } from "lodash";
|
|
2
|
-
import { _ as x,
|
|
2
|
+
import { _ as x, p as z, i as $ } from "./install-CkQ4hh1D.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, createElementBlock as p, openBlock as i, createElementVNode as r, withDirectives as U, createCommentVNode as f, createVNode as h, withCtx as u, createTextVNode as y, toDisplayString as C, vShow as Y, resolveDirective as M, createBlock as _, Fragment as S, renderList as T } from "vue";
|
|
5
|
+
import { a as j, f as R } from "./formItemFooter-PbuR5Y0_.js";
|
|
6
6
|
const H = {
|
|
7
7
|
name: "childFormFile",
|
|
8
8
|
props: {
|
|
@@ -89,7 +89,7 @@ const H = {
|
|
|
89
89
|
message: `上传文件个数不能超过${this.uploadFileNumber}个`,
|
|
90
90
|
type: "warning"
|
|
91
91
|
}), !1;
|
|
92
|
-
this.column.error = "", this.pasteImgList.push(o),
|
|
92
|
+
this.column.error = "", this.pasteImgList.push(o), z(o, this.column.pathUrl || this.uploadAction).then((e) => {
|
|
93
93
|
if (e.code)
|
|
94
94
|
this.$message({
|
|
95
95
|
message: e.msg,
|
|
@@ -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 v = d("el-upload"), b = 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(v, {
|
|
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(b, {
|
|
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-b5b06973"]]), 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-a1b3b6de"]]
|
|
|
232
232
|
}
|
|
233
233
|
}, Z = { class: "inventory" };
|
|
234
234
|
function ee(o, e, t, m, c, n) {
|
|
235
|
-
const
|
|
235
|
+
const v = d("vxe-column"), b = d("vxe-table"), g = M("loading");
|
|
236
236
|
return U((i(), p("div", Z, [
|
|
237
|
-
U((i(), _(
|
|
237
|
+
U((i(), _(b, {
|
|
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(), _(v, {
|
|
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-740d3d8f"]]), oe = {
|
|
273
273
|
name: "editLabel",
|
|
274
274
|
components: { childFormFile: G, searchInventory: te },
|
|
275
275
|
props: {
|
|
@@ -310,7 +310,7 @@ const te = /* @__PURE__ */ x(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
|
|
|
310
310
|
let e = {};
|
|
311
311
|
this.sourceData.moduleDefinition.forEach((m) => {
|
|
312
312
|
var c;
|
|
313
|
-
m.behaviorType == 1 && ((c = this.defaultLink) != null && c.setColumn[`${this.sourceData.columnCode}.${m.columnCode}`]) ? e[m.columnCode] =
|
|
313
|
+
m.behaviorType == 1 && ((c = this.defaultLink) != null && c.setColumn[`${this.sourceData.columnCode}.${m.columnCode}`]) ? e[m.columnCode] = $(this.componentList, this.defaultLink.setColumn[`${this.sourceData.columnCode}.${m.columnCode}`]) : e[m.columnCode] = m.value;
|
|
314
314
|
});
|
|
315
315
|
let t = JSON.parse(JSON.stringify(e));
|
|
316
316
|
o ? this.sourceData.value.splice(o, 0, t) : this.sourceData.value.push(t), this.onChange("addRow", { row: t }, null);
|
|
@@ -376,9 +376,9 @@ const te = /* @__PURE__ */ x(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
|
|
|
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"], ve = ["onClick"];
|
|
380
|
+
function be(o, e, t, m, c, n) {
|
|
381
|
+
const v = d("vxe-column"), b = 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 ve(o, e, t, m, c, n) {
|
|
|
397
397
|
])
|
|
398
398
|
]),
|
|
399
399
|
default: u(() => [
|
|
400
|
-
h(
|
|
400
|
+
h(v, {
|
|
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(), _(v, {
|
|
406
406
|
key: 0,
|
|
407
407
|
title: l.name,
|
|
408
408
|
params: l.extraInfo || {},
|
|
@@ -420,7 +420,7 @@ function ve(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(b, {
|
|
424
424
|
type: "textarea",
|
|
425
425
|
resize: "none",
|
|
426
426
|
rows: 1,
|
|
@@ -544,7 +544,7 @@ function ve(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(), _(v, {
|
|
548
548
|
key: 0,
|
|
549
549
|
fixed: "right",
|
|
550
550
|
width: "52"
|
|
@@ -567,7 +567,7 @@ function ve(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, ve)
|
|
571
571
|
]),
|
|
572
572
|
_: 1
|
|
573
573
|
}))
|
|
@@ -576,7 +576,7 @@ function ve(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", be], ["__scopeId", "data-v-396393e7"]]), 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", ve], ["__scopeId", "data-v-60725962
|
|
|
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 v = d("formItemTop"), b = d("el-button"), g = d("el-popover"), w = d("childrenFormBody"), F = d("formItemFooter");
|
|
628
628
|
return i(), p("div", ye, [
|
|
629
|
-
h(
|
|
629
|
+
h(v, { 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(b, {
|
|
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(b, {
|
|
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(b, {
|
|
699
699
|
link: "",
|
|
700
700
|
type: "primary",
|
|
701
701
|
style: { "padding-left": "0" },
|
|
@@ -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-PbuR5Y0_.js";
|
|
2
|
+
import { resolveComponent as o, createElementBlock as u, openBlock as i, createVNode as n, createElementVNode as f } from "vue";
|
|
3
|
+
import { _ } from "./install-CkQ4hh1D.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 i(), u("div", h, [
|
|
28
28
|
n(l, { column: e.column }, null, 8, ["column"]),
|
|
29
29
|
f("div", g, [
|
|
30
30
|
n(a, {
|