@bytenew/bn-bus-ui 1.1.526 → 1.1.527
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/{assocTableSearch-1HSzuSZX.js → assocTableSearch-CQ34-qN0.js} +1 -1
- package/dist/bn-bus-ui.es.js +1 -1
- package/dist/bn-bus-ui.umd.js +6 -6
- package/dist/{chooseIPaasData-BdQpFwT7.js → chooseIPaasData-7gMgBDmh.js} +1 -1
- package/dist/{defaultSet-C5wXiIVr.js → defaultSet-Z-7SBRIu.js} +1 -1
- package/dist/{formItemFooter-DFu41XWf.js → formItemFooter-D0WOdB9s.js} +1 -1
- package/dist/{funcExprDialog-C9bzwgsD.js → funcExprDialog-C9z5vmiN.js} +1 -1
- package/dist/{goodCardStyle-C9ztHNog.js → goodCardStyle-bo6yz-iS.js} +1 -1
- package/dist/{index-fa41i0PS.js → index-BHRD5ld7.js} +2 -2
- package/dist/{index-D1a5krM9.js → index-BPP_1YU0.js} +1 -1
- package/dist/{index-BagspZnO.js → index-BQU70HBe.js} +2 -2
- package/dist/{index-CF5Ny2Ad.js → index-B_Vd0wHA.js} +2 -2
- package/dist/{index-V0TAO_Hj.js → index-BaceRyLe.js} +3 -3
- package/dist/{index-DcZzwpUE.js → index-BtR1hlH5.js} +2 -2
- package/dist/{index-BAa0v-WR.js → index-C6ciuUvf.js} +1 -1
- package/dist/{index-CKA3I-TN.js → index-CRFQwAuD.js} +2 -2
- package/dist/{index-BQ-J6Acn.js → index-CZ_5-ylF.js} +3 -3
- package/dist/{index-B2ktRmSB.js → index-CqSSr3tp.js} +2 -2
- package/dist/{index-C3MplZtb.js → index-CtIk3nBY.js} +1 -1
- package/dist/{index-CWUi762P.js → index-CwNWuUvN.js} +2 -2
- package/dist/{index-5a5PfijK.js → index-DBQyyEWu.js} +2 -2
- package/dist/{index-Cyiu-fZ6.js → index-DGc7SKTr.js} +2 -2
- package/dist/{index-DovMJXY4.js → index-DJI7uQRK.js} +2 -2
- package/dist/{index-fLszGfLM.js → index-Dp810Wbg.js} +3 -3
- package/dist/{index-CTg-dHSL.js → index-tr6iiidO.js} +2 -2
- package/dist/{install-CN98cZae.js → install-DXwojj-m.js} +317 -359
- package/dist/install.css +1 -1
- package/dist/{setOption-BCPo3foU.js → setOption-C8tUwvC3.js} +1 -1
- package/dist/{setRelationOption-BDV96k82.js → setRelationOption-Dar-qP_m.js} +1 -1
- package/package.json +1 -1
|
@@ -5173,7 +5173,7 @@ function Cn(e) {
|
|
|
5173
5173
|
n[i] = t.charCodeAt(i);
|
|
5174
5174
|
return new File([l], (/* @__PURE__ */ new Date()).getTime() + ".png");
|
|
5175
5175
|
}
|
|
5176
|
-
function
|
|
5176
|
+
function Sm(e, t) {
|
|
5177
5177
|
return new Promise((l) => {
|
|
5178
5178
|
if (e.clipboardData && e.clipboardData.items) {
|
|
5179
5179
|
let n = Array.prototype.filter.call(e.clipboardData.items, (i) => i.type.indexOf("image") >= 0);
|
|
@@ -6162,12 +6162,12 @@ const uo = /* @__PURE__ */ _(ao, [["render", ro], ["__scopeId", "data-v-a3b378f8
|
|
|
6162
6162
|
apiBaseUrl: ""
|
|
6163
6163
|
// 其他配置项可以在这里添加
|
|
6164
6164
|
};
|
|
6165
|
-
function
|
|
6165
|
+
function Dm(e) {
|
|
6166
6166
|
e.apiBaseUrl !== void 0 && (he.apiBaseUrl = e.apiBaseUrl), Object.keys(e).forEach((t) => {
|
|
6167
6167
|
e[t] !== void 0 && (he[t] = e[t]);
|
|
6168
6168
|
});
|
|
6169
6169
|
}
|
|
6170
|
-
function
|
|
6170
|
+
function Pm() {
|
|
6171
6171
|
return he;
|
|
6172
6172
|
}
|
|
6173
6173
|
function ke() {
|
|
@@ -6795,7 +6795,7 @@ function Ro(e, t = {}) {
|
|
|
6795
6795
|
return { failMsg: o ? o.msg : "请求失败" };
|
|
6796
6796
|
}).catch((o) => (console.error("大模型地址识别接口调用失败:", o), { failMsg: o && o.message ? o.message : "请求异常" }));
|
|
6797
6797
|
}
|
|
6798
|
-
async function
|
|
6798
|
+
async function _m(e, t, l = {}) {
|
|
6799
6799
|
const n = Vo(l);
|
|
6800
6800
|
n && co(n);
|
|
6801
6801
|
const i = Lo(e), s = go(i, t || {}, e);
|
|
@@ -6815,7 +6815,7 @@ function zo(e) {
|
|
|
6815
6815
|
return typeof e == "string" ? l : JSON.parse(l);
|
|
6816
6816
|
}
|
|
6817
6817
|
let $e = !1;
|
|
6818
|
-
function
|
|
6818
|
+
function Vm(e, t) {
|
|
6819
6819
|
return t !== "development" ? (!$e && t === void 0 && ($e = !0, console.warn("[bn] rewriteAttachmentUrls 未传入环境参数, 不会启用附件地址改写")), e) : zo(e);
|
|
6820
6820
|
}
|
|
6821
6821
|
const et = {
|
|
@@ -7216,7 +7216,7 @@ const et = {
|
|
|
7216
7216
|
{ title: "班牛助手(服务大厅)", code: "857", id: "857" },
|
|
7217
7217
|
{ title: "班牛助手(API)", code: "110430206", id: "110430206" }
|
|
7218
7218
|
];
|
|
7219
|
-
function
|
|
7219
|
+
function Lm(e, t, l = "id", n = "title", i = ",") {
|
|
7220
7220
|
if (!(e != null && e.length)) return "";
|
|
7221
7221
|
if (!t) return e.join(i);
|
|
7222
7222
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -7239,7 +7239,7 @@ function Om(e, t, l = "id", n = "title", i = ",") {
|
|
|
7239
7239
|
}
|
|
7240
7240
|
return o;
|
|
7241
7241
|
}
|
|
7242
|
-
function
|
|
7242
|
+
function Om(e, t) {
|
|
7243
7243
|
let l;
|
|
7244
7244
|
if (document.selection)
|
|
7245
7245
|
e.focus(), l = document.selection.createRange(), l.text = t, e.focus();
|
|
@@ -7345,7 +7345,7 @@ function Ve(e, t) {
|
|
|
7345
7345
|
}
|
|
7346
7346
|
return l;
|
|
7347
7347
|
}
|
|
7348
|
-
function
|
|
7348
|
+
function Bm(e, t, l, n) {
|
|
7349
7349
|
let i = [];
|
|
7350
7350
|
return e.forEach((s) => {
|
|
7351
7351
|
if ([13, 14, 15].includes(s.behaviorType))
|
|
@@ -7601,7 +7601,7 @@ function xt(e, t, l, n) {
|
|
|
7601
7601
|
}
|
|
7602
7602
|
return i;
|
|
7603
7603
|
}
|
|
7604
|
-
function
|
|
7604
|
+
function Am(e, t, l, n, i) {
|
|
7605
7605
|
let s = [], o = n && n.id ? "isEditable" : "isAddable";
|
|
7606
7606
|
return e.forEach((u) => {
|
|
7607
7607
|
let d = xt({ ...u, appId: t, tableId: l }, n, o, i);
|
|
@@ -7616,7 +7616,7 @@ function Jo(e, t) {
|
|
|
7616
7616
|
});
|
|
7617
7617
|
}), n;
|
|
7618
7618
|
}
|
|
7619
|
-
function
|
|
7619
|
+
function Fm(e, t) {
|
|
7620
7620
|
let l = [];
|
|
7621
7621
|
try {
|
|
7622
7622
|
e.forEach((n) => {
|
|
@@ -7638,7 +7638,7 @@ function Go(e = /* @__PURE__ */ new Date()) {
|
|
|
7638
7638
|
const t = new Date(e), l = (c) => String(c).padStart(2, "0"), n = t.getFullYear(), i = l(t.getMonth() + 1), s = l(t.getDate()), o = l(t.getHours()), u = l(t.getMinutes()), d = l(t.getSeconds());
|
|
7639
7639
|
return `${n}-${i}-${s} ${o}:${u}:${d}`;
|
|
7640
7640
|
}
|
|
7641
|
-
const
|
|
7641
|
+
const Em = (e) => {
|
|
7642
7642
|
var t, l, n, i;
|
|
7643
7643
|
try {
|
|
7644
7644
|
let s = JSON.parse(localStorage.getItem("webLog") || "false") || [], o = JSON.parse(localStorage.getItem("sessionInfo") || "false") || {};
|
|
@@ -7679,11 +7679,11 @@ const Rm = (e) => {
|
|
|
7679
7679
|
console.log(`一条日志未能成功捕捉:${JSON.stringify(e)}`);
|
|
7680
7680
|
}
|
|
7681
7681
|
};
|
|
7682
|
-
function
|
|
7682
|
+
function Rm(e) {
|
|
7683
7683
|
var t;
|
|
7684
7684
|
window.__POWERED_BY_WUJIE__ && ((t = window.$wujie) == null || t.bus.$emit("router-jump", e));
|
|
7685
7685
|
}
|
|
7686
|
-
const
|
|
7686
|
+
const Mm = {
|
|
7687
7687
|
class: "Bn-table",
|
|
7688
7688
|
border: "full",
|
|
7689
7689
|
highlightHoverRow: !0,
|
|
@@ -7693,7 +7693,7 @@ const Nm = {
|
|
|
7693
7693
|
headerRowClassName: "Bn-table-header-row",
|
|
7694
7694
|
rowClassName: "Bn-table-body-row",
|
|
7695
7695
|
cellClassName: "Bn-table-cell"
|
|
7696
|
-
},
|
|
7696
|
+
}, Nm = {
|
|
7697
7697
|
class: "Bn-table Bn-table--wrap-row",
|
|
7698
7698
|
border: "full",
|
|
7699
7699
|
highlightHoverRow: !0,
|
|
@@ -8175,7 +8175,7 @@ function sa(e, t, l, n, i, s) {
|
|
|
8175
8175
|
_: 1
|
|
8176
8176
|
}, 8, ["modelValue", "title"]);
|
|
8177
8177
|
}
|
|
8178
|
-
const na = /* @__PURE__ */ _(qo, [["render", sa], ["__scopeId", "data-v-9e20f7e8"]]), oa = B(() => Promise.resolve().then(() =>
|
|
8178
|
+
const na = /* @__PURE__ */ _(qo, [["render", sa], ["__scopeId", "data-v-9e20f7e8"]]), oa = B(() => Promise.resolve().then(() => xp)), aa = {
|
|
8179
8179
|
name: "taskAssociation",
|
|
8180
8180
|
components: { taskDetailsWrap: oa },
|
|
8181
8181
|
props: {
|
|
@@ -9332,19 +9332,19 @@ const Dt = {
|
|
|
9332
9332
|
}
|
|
9333
9333
|
}
|
|
9334
9334
|
}, De = {
|
|
9335
|
-
stringForm: B(() => import("./index-
|
|
9336
|
-
numberForm: B(() => import("./index-
|
|
9337
|
-
selectForm: B(() => import("./index-
|
|
9338
|
-
radioForm: B(() => import("./index-
|
|
9339
|
-
checkboxForm: B(() => import("./index-
|
|
9340
|
-
dateForm: B(() => import("./index-
|
|
9341
|
-
dateDualForm: B(() => import("./index-
|
|
9342
|
-
fileForm: B(() => import("./index-
|
|
9343
|
-
childrenForm: B(() => import("./index-
|
|
9344
|
-
addressForm: B(() => import("./index-
|
|
9345
|
-
receiveForm: B(() => import("./index-
|
|
9346
|
-
relationForm: B(() => import("./index-
|
|
9347
|
-
scoreForm: B(() => import("./index-
|
|
9335
|
+
stringForm: B(() => import("./index-CwNWuUvN.js")),
|
|
9336
|
+
numberForm: B(() => import("./index-DGc7SKTr.js")),
|
|
9337
|
+
selectForm: B(() => import("./index-tr6iiidO.js")),
|
|
9338
|
+
radioForm: B(() => import("./index-BtR1hlH5.js")),
|
|
9339
|
+
checkboxForm: B(() => import("./index-DBQyyEWu.js")),
|
|
9340
|
+
dateForm: B(() => import("./index-BHRD5ld7.js")),
|
|
9341
|
+
dateDualForm: B(() => import("./index-DJI7uQRK.js")),
|
|
9342
|
+
fileForm: B(() => import("./index-BQU70HBe.js")),
|
|
9343
|
+
childrenForm: B(() => import("./index-CqSSr3tp.js")),
|
|
9344
|
+
addressForm: B(() => import("./index-CZ_5-ylF.js")),
|
|
9345
|
+
receiveForm: B(() => import("./index-BaceRyLe.js")),
|
|
9346
|
+
relationForm: B(() => import("./index-B_Vd0wHA.js")),
|
|
9347
|
+
scoreForm: B(() => import("./index-CRFQwAuD.js"))
|
|
9348
9348
|
}, Ea = {
|
|
9349
9349
|
name: "BnSmartForm",
|
|
9350
9350
|
// 关联工单:规则查询、触发字段匹配、重复工单数写回
|
|
@@ -9355,7 +9355,7 @@ const Dt = {
|
|
|
9355
9355
|
chooseChildOrder: $n,
|
|
9356
9356
|
chooseAssocTable: na,
|
|
9357
9357
|
taskAssociation: Ue,
|
|
9358
|
-
chooseIPaasData: B(() => import("./chooseIPaasData-
|
|
9358
|
+
chooseIPaasData: B(() => import("./chooseIPaasData-7gMgBDmh.js"))
|
|
9359
9359
|
},
|
|
9360
9360
|
props: {
|
|
9361
9361
|
// 表单id 涉及编辑表单
|
|
@@ -10326,18 +10326,18 @@ const Ka = /* @__PURE__ */ _(Ea, [["render", Ha], ["__scopeId", "data-v-8b359c68
|
|
|
10326
10326
|
* */
|
|
10327
10327
|
componentView(e) {
|
|
10328
10328
|
const t = {
|
|
10329
|
-
stringForm: B(() => import("./index-
|
|
10330
|
-
numberForm: B(() => import("./index-
|
|
10331
|
-
selectForm: B(() => import("./index-
|
|
10332
|
-
radioForm: B(() => import("./index-
|
|
10333
|
-
checkboxForm: B(() => import("./index-
|
|
10334
|
-
dateForm: B(() => import("./index-
|
|
10335
|
-
dateDualForm: B(() => import("./index-
|
|
10336
|
-
fileForm: B(() => import("./index-
|
|
10337
|
-
childrenForm: B(() => import("./index-
|
|
10338
|
-
addressForm: B(() => import("./index-
|
|
10339
|
-
receiveForm: B(() => import("./index-
|
|
10340
|
-
relationForm: B(() => import("./index-
|
|
10329
|
+
stringForm: B(() => import("./index-CwNWuUvN.js")),
|
|
10330
|
+
numberForm: B(() => import("./index-DGc7SKTr.js")),
|
|
10331
|
+
selectForm: B(() => import("./index-tr6iiidO.js")),
|
|
10332
|
+
radioForm: B(() => import("./index-BtR1hlH5.js")),
|
|
10333
|
+
checkboxForm: B(() => import("./index-DBQyyEWu.js")),
|
|
10334
|
+
dateForm: B(() => import("./index-BHRD5ld7.js")),
|
|
10335
|
+
dateDualForm: B(() => import("./index-DJI7uQRK.js")),
|
|
10336
|
+
fileForm: B(() => import("./index-BQU70HBe.js")),
|
|
10337
|
+
childrenForm: B(() => import("./index-CqSSr3tp.js")),
|
|
10338
|
+
addressForm: B(() => import("./index-CZ_5-ylF.js")),
|
|
10339
|
+
receiveForm: B(() => import("./index-BaceRyLe.js")),
|
|
10340
|
+
relationForm: B(() => import("./index-B_Vd0wHA.js"))
|
|
10341
10341
|
// showValForm: defineAsyncComponent(() => import('./showValForm/index.vue')),
|
|
10342
10342
|
};
|
|
10343
10343
|
let l = me[e.behaviorType] || null;
|
|
@@ -11235,14 +11235,14 @@ const Fr = /* @__PURE__ */ _(hr, [["render", Ar], ["__scopeId", "data-v-c82a5490
|
|
|
11235
11235
|
isChildren: Boolean
|
|
11236
11236
|
},
|
|
11237
11237
|
components: {
|
|
11238
|
-
paraExplainSet: B(() => import("./index-
|
|
11239
|
-
defaultSet: B(() => import("./defaultSet-
|
|
11240
|
-
funcExprDialog: B(() => import("./funcExprDialog-
|
|
11241
|
-
setOption: B(() => import("./setOption-
|
|
11242
|
-
setRelationOption: B(() => import("./setRelationOption-
|
|
11243
|
-
childrenFormSetting: B(() => import("./index-
|
|
11244
|
-
packageFilter: B(() => import("./index-
|
|
11245
|
-
goodCardStyle: B(() => import("./goodCardStyle-
|
|
11238
|
+
paraExplainSet: B(() => import("./index-C6ciuUvf.js")),
|
|
11239
|
+
defaultSet: B(() => import("./defaultSet-Z-7SBRIu.js")),
|
|
11240
|
+
funcExprDialog: B(() => import("./funcExprDialog-C9z5vmiN.js")),
|
|
11241
|
+
setOption: B(() => import("./setOption-C8tUwvC3.js")),
|
|
11242
|
+
setRelationOption: B(() => import("./setRelationOption-Dar-qP_m.js")),
|
|
11243
|
+
childrenFormSetting: B(() => import("./index-Dp810Wbg.js")),
|
|
11244
|
+
packageFilter: B(() => import("./index-BPP_1YU0.js")),
|
|
11245
|
+
goodCardStyle: B(() => import("./goodCardStyle-bo6yz-iS.js"))
|
|
11246
11246
|
},
|
|
11247
11247
|
data() {
|
|
11248
11248
|
return {
|
|
@@ -12261,7 +12261,7 @@ function Vd(e, t, l, n, i, s) {
|
|
|
12261
12261
|
_: 1
|
|
12262
12262
|
}, 8, ["modelValue", "title"]);
|
|
12263
12263
|
}
|
|
12264
|
-
const _t = /* @__PURE__ */ _(Pd, [["render", Vd]]),
|
|
12264
|
+
const _t = /* @__PURE__ */ _(Pd, [["render", Vd]]), zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12265
12265
|
__proto__: null,
|
|
12266
12266
|
default: _t
|
|
12267
12267
|
}, Symbol.toStringTag, { value: "Module" })), Ld = {
|
|
@@ -15644,8 +15644,6 @@ const bh = /* @__PURE__ */ _(mh, [["render", yh], ["__scopeId", "data-v-58a61ce0
|
|
|
15644
15644
|
payloadRaw: "",
|
|
15645
15645
|
// contentsJson 解析结果,用于弹框头部展示接口信息
|
|
15646
15646
|
payloadMeta: {},
|
|
15647
|
-
// 弹框分区:请求报文 / 返回报文 / 完整报文
|
|
15648
|
-
payloadSections: [],
|
|
15649
15647
|
// 宿主是否注册了全局 Codemirror(main.js 中 app.use(InstallCodeMirror))
|
|
15650
15648
|
hasCodemirror: !1,
|
|
15651
15649
|
// 只读 JSON 编辑器配置
|
|
@@ -15753,8 +15751,8 @@ const bh = /* @__PURE__ */ _(mh, [["render", yh], ["__scopeId", "data-v-58a61ce0
|
|
|
15753
15751
|
* @param {Object} log 单条操作记录
|
|
15754
15752
|
*/
|
|
15755
15753
|
openPayload(e) {
|
|
15756
|
-
const t = this.
|
|
15757
|
-
this.payloadRaw =
|
|
15754
|
+
const t = this.parseJson(e.contentsJson);
|
|
15755
|
+
this.payloadRaw = this.prettyJson(e.contentsJson), this.payloadMeta = t && typeof t == "object" ? t : {}, this.hasCodemirror = this.isCodemirrorRegistered(), this.payloadVisible = !0;
|
|
15758
15756
|
},
|
|
15759
15757
|
/**
|
|
15760
15758
|
* 检测宿主是否注册了全局 Codemirror,组件库不强制依赖
|
|
@@ -15771,21 +15769,6 @@ const bh = /* @__PURE__ */ _(mh, [["render", yh], ["__scopeId", "data-v-58a61ce0
|
|
|
15771
15769
|
e && e.refresh && e.refresh();
|
|
15772
15770
|
});
|
|
15773
15771
|
},
|
|
15774
|
-
/**
|
|
15775
|
-
* 拆出请求报文、返回报文,并附带完整报文
|
|
15776
|
-
* @param {Object} payload contentsJson 解析结果
|
|
15777
|
-
* @param {String} raw 格式化后的完整报文
|
|
15778
|
-
*/
|
|
15779
|
-
buildPayloadSections(e, t) {
|
|
15780
|
-
const l = [], n = this.parseJson(e && e.interactiveContentJson) || {};
|
|
15781
|
-
return [
|
|
15782
|
-
{ key: "requestParam", title: "请求报文" },
|
|
15783
|
-
{ key: "responseResult", title: "返回报文" }
|
|
15784
|
-
].forEach(({ key: i, title: s }) => {
|
|
15785
|
-
const o = n[i];
|
|
15786
|
-
o == null || o === "" || l.push({ key: i, title: s, text: this.prettyJson(o) });
|
|
15787
|
-
}), l.push({ key: "raw", title: "完整报文", text: t }), l;
|
|
15788
|
-
},
|
|
15789
15772
|
/**
|
|
15790
15773
|
* 安全解析 JSON,失败返回 null,兼容已是对象的情况
|
|
15791
15774
|
* @param {String|Object} val 待解析内容
|
|
@@ -15834,35 +15817,35 @@ const bh = /* @__PURE__ */ _(mh, [["render", yh], ["__scopeId", "data-v-58a61ce0
|
|
|
15834
15817
|
}, wh = {
|
|
15835
15818
|
key: 0,
|
|
15836
15819
|
class: "orderLogs-dialog"
|
|
15837
|
-
}, Th = { class: "orderLogs-dialog-head" }, xh = { class: "orderLogs-dialog-meta" }, Sh = {
|
|
15820
|
+
}, Th = { class: "orderLogs-dialog-head" }, xh = { class: "orderLogs-dialog-meta" }, Sh = {
|
|
15838
15821
|
key: 1,
|
|
15839
15822
|
class: "orderLogs-dialog-code"
|
|
15840
15823
|
};
|
|
15841
|
-
function
|
|
15842
|
-
const o = g("BnEmptyTip"), u = g("el-button"), d = g("el-card"), c = g("el-timeline-item"), h = g("el-timeline"), y = g("Codemirror"), b = g("el-empty"), k = g("el-
|
|
15824
|
+
function Dh(e, t, l, n, i, s) {
|
|
15825
|
+
const o = g("BnEmptyTip"), u = g("el-button"), d = g("el-card"), c = g("el-timeline-item"), h = g("el-timeline"), y = g("Codemirror"), b = g("el-empty"), k = g("el-dialog");
|
|
15843
15826
|
return r(), p("div", Ch, [
|
|
15844
15827
|
s.logList.length ? C("", !0) : (r(), I(o, { key: 0 })),
|
|
15845
15828
|
m(h, null, {
|
|
15846
15829
|
default: f(() => [
|
|
15847
|
-
(r(!0), p(D, null, V(s.logList, (
|
|
15830
|
+
(r(!0), p(D, null, V(s.logList, (v, x) => (r(), I(c, {
|
|
15848
15831
|
placement: "top",
|
|
15849
|
-
key:
|
|
15850
|
-
color:
|
|
15851
|
-
timestamp:
|
|
15832
|
+
key: x,
|
|
15833
|
+
color: x == 0 ? "#0bbd87" : "#DADADA",
|
|
15834
|
+
timestamp: v.gmtCreate
|
|
15852
15835
|
}, {
|
|
15853
15836
|
default: f(() => [
|
|
15854
15837
|
m(d, null, {
|
|
15855
15838
|
default: f(() => [
|
|
15856
15839
|
a("div", {
|
|
15857
15840
|
class: "w-text-over-two w-color-black6 w-font13",
|
|
15858
|
-
title:
|
|
15859
|
-
}, w(
|
|
15860
|
-
s.canViewPayload(
|
|
15841
|
+
title: v.content
|
|
15842
|
+
}, w(v.content), 9, kh),
|
|
15843
|
+
s.canViewPayload(v) ? (r(), p("div", Ih, [
|
|
15861
15844
|
m(u, {
|
|
15862
15845
|
type: "primary",
|
|
15863
15846
|
link: "",
|
|
15864
15847
|
size: "small",
|
|
15865
|
-
onClick: (
|
|
15848
|
+
onClick: (P) => s.openPayload(v)
|
|
15866
15849
|
}, {
|
|
15867
15850
|
default: f(() => [...t[3] || (t[3] = [
|
|
15868
15851
|
T("查看报文", -1)
|
|
@@ -15879,9 +15862,9 @@ function Ph(e, t, l, n, i, s) {
|
|
|
15879
15862
|
]),
|
|
15880
15863
|
_: 1
|
|
15881
15864
|
}),
|
|
15882
|
-
m(
|
|
15865
|
+
m(k, {
|
|
15883
15866
|
modelValue: i.payloadVisible,
|
|
15884
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
15867
|
+
"onUpdate:modelValue": t[2] || (t[2] = (v) => i.payloadVisible = v),
|
|
15885
15868
|
title: "规则推送报文",
|
|
15886
15869
|
width: "960px",
|
|
15887
15870
|
top: "5vh",
|
|
@@ -15890,77 +15873,52 @@ function Ph(e, t, l, n, i, s) {
|
|
|
15890
15873
|
}, {
|
|
15891
15874
|
footer: f(() => [
|
|
15892
15875
|
m(u, {
|
|
15893
|
-
onClick: t[1] || (t[1] = (
|
|
15876
|
+
onClick: t[1] || (t[1] = (v) => i.payloadVisible = !1)
|
|
15894
15877
|
}, {
|
|
15895
|
-
default: f(() => [...t[
|
|
15878
|
+
default: f(() => [...t[5] || (t[5] = [
|
|
15896
15879
|
T("关闭", -1)
|
|
15897
15880
|
])]),
|
|
15898
15881
|
_: 1
|
|
15899
15882
|
})
|
|
15900
15883
|
]),
|
|
15901
15884
|
default: f(() => [
|
|
15902
|
-
|
|
15903
|
-
|
|
15904
|
-
|
|
15905
|
-
|
|
15906
|
-
|
|
15907
|
-
|
|
15908
|
-
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
_: 1
|
|
15920
|
-
})
|
|
15921
|
-
]),
|
|
15922
|
-
t[6] || (t[6] = a("div", { class: "orderLogs-dialog-tip" }, " 报文由规则推送调用知识库与网关时记录,可用于区分三方接口问题与自身配置问题;如需协助排查,请复制完整报文(含响应id)提供给客服。 ", -1)),
|
|
15923
|
-
(r(!0), p(D, null, V(i.payloadSections, (x) => (r(), p("div", {
|
|
15924
|
-
class: "orderLogs-dialog-section",
|
|
15925
|
-
key: x.key
|
|
15926
|
-
}, [
|
|
15927
|
-
a("div", Sh, [
|
|
15928
|
-
a("span", null, w(x.title), 1),
|
|
15929
|
-
m(u, {
|
|
15930
|
-
type: "primary",
|
|
15931
|
-
link: "",
|
|
15932
|
-
size: "small",
|
|
15933
|
-
onClick: (P) => s.copyText(x.text)
|
|
15934
|
-
}, {
|
|
15935
|
-
default: f(() => [...t[5] || (t[5] = [
|
|
15936
|
-
T("复制", -1)
|
|
15937
|
-
])]),
|
|
15938
|
-
_: 1
|
|
15939
|
-
}, 8, ["onClick"])
|
|
15940
|
-
]),
|
|
15941
|
-
i.hasCodemirror ? (r(), I(y, {
|
|
15942
|
-
key: 0,
|
|
15943
|
-
class: "orderLogs-dialog-editor",
|
|
15944
|
-
value: x.text,
|
|
15945
|
-
options: i.cmOptions,
|
|
15946
|
-
height: x.key === "raw" ? "280" : "200",
|
|
15947
|
-
onReady: s.onCodemirrorReady
|
|
15948
|
-
}, null, 8, ["value", "options", "height", "onReady"])) : (r(), p("pre", Dh, w(x.text), 1))
|
|
15949
|
-
]))), 128))
|
|
15950
|
-
])) : (r(), I(b, {
|
|
15951
|
-
key: 1,
|
|
15952
|
-
description: "暂无报文内容",
|
|
15953
|
-
"image-size": 80
|
|
15954
|
-
}))
|
|
15885
|
+
i.payloadRaw ? (r(), p("div", wh, [
|
|
15886
|
+
a("div", Th, [
|
|
15887
|
+
a("div", xh, [
|
|
15888
|
+
(r(!0), p(D, null, V(s.payloadMetaList, (v) => (r(), p("span", {
|
|
15889
|
+
key: v.key
|
|
15890
|
+
}, w(v.label) + ":" + w(v.value), 1))), 128))
|
|
15891
|
+
]),
|
|
15892
|
+
m(u, {
|
|
15893
|
+
type: "primary",
|
|
15894
|
+
link: "",
|
|
15895
|
+
onClick: t[0] || (t[0] = (v) => s.copyText(i.payloadRaw))
|
|
15896
|
+
}, {
|
|
15897
|
+
default: f(() => [...t[4] || (t[4] = [
|
|
15898
|
+
T("复制报文", -1)
|
|
15899
|
+
])]),
|
|
15900
|
+
_: 1
|
|
15901
|
+
})
|
|
15955
15902
|
]),
|
|
15956
|
-
|
|
15957
|
-
|
|
15903
|
+
i.hasCodemirror ? (r(), I(y, {
|
|
15904
|
+
key: 0,
|
|
15905
|
+
class: "orderLogs-dialog-editor",
|
|
15906
|
+
value: i.payloadRaw,
|
|
15907
|
+
options: i.cmOptions,
|
|
15908
|
+
height: "420",
|
|
15909
|
+
onReady: s.onCodemirrorReady
|
|
15910
|
+
}, null, 8, ["value", "options", "onReady"])) : (r(), p("pre", Sh, w(i.payloadRaw), 1))
|
|
15911
|
+
])) : (r(), I(b, {
|
|
15912
|
+
key: 1,
|
|
15913
|
+
description: "暂无报文内容",
|
|
15914
|
+
"image-size": 80
|
|
15915
|
+
}))
|
|
15958
15916
|
]),
|
|
15959
15917
|
_: 1
|
|
15960
15918
|
}, 8, ["modelValue"])
|
|
15961
15919
|
]);
|
|
15962
15920
|
}
|
|
15963
|
-
const
|
|
15921
|
+
const Ph = /* @__PURE__ */ _(vh, [["render", Dh], ["__scopeId", "data-v-b8958bd2"]]), _h = {
|
|
15964
15922
|
name: "searchLogByUser",
|
|
15965
15923
|
props: {
|
|
15966
15924
|
modelValue: {
|
|
@@ -16023,11 +15981,11 @@ const _h = /* @__PURE__ */ _(vh, [["render", Ph], ["__scopeId", "data-v-ea963dc5
|
|
|
16023
15981
|
this.val = [], this.$emit("update:modelValue", O(this.val));
|
|
16024
15982
|
}
|
|
16025
15983
|
}
|
|
16026
|
-
},
|
|
15984
|
+
}, Vh = {
|
|
16027
15985
|
key: 0,
|
|
16028
15986
|
class: "w-color-gray"
|
|
16029
|
-
},
|
|
16030
|
-
function
|
|
15987
|
+
}, Lh = { class: "w-text-right w-padding-lr10 w-padding-tb4" };
|
|
15988
|
+
function Oh(e, t, l, n, i, s) {
|
|
16031
15989
|
const o = g("el-button"), u = g("BnDrop");
|
|
16032
15990
|
return r(), I(u, {
|
|
16033
15991
|
ref: "bnDrop",
|
|
@@ -16044,7 +16002,7 @@ function Bh(e, t, l, n, i, s) {
|
|
|
16044
16002
|
pageProps: { pageNum: "pageNo", pageSize: "pageSize" }
|
|
16045
16003
|
}, {
|
|
16046
16004
|
"dropdown-bottom": f(() => [
|
|
16047
|
-
a("div",
|
|
16005
|
+
a("div", Lh, [
|
|
16048
16006
|
i.val.length ? (r(), I(o, {
|
|
16049
16007
|
key: 0,
|
|
16050
16008
|
link: "",
|
|
@@ -16087,7 +16045,7 @@ function Bh(e, t, l, n, i, s) {
|
|
|
16087
16045
|
a("span", { class: "bnUIcon bnUIcon-search" }),
|
|
16088
16046
|
T(" 筛选")
|
|
16089
16047
|
], -1)),
|
|
16090
|
-
l.modelValue.length ? (r(), p("span",
|
|
16048
|
+
l.modelValue.length ? (r(), p("span", Vh, "(已选" + w(l.modelValue.length) + "人)", 1)) : C("", !0),
|
|
16091
16049
|
l.modelValue.length ? (r(), p("span", {
|
|
16092
16050
|
key: 1,
|
|
16093
16051
|
class: "bnUIcon bnUIcon-clear filter-btn-icon w-color-red w-margin-left4",
|
|
@@ -16101,9 +16059,9 @@ function Bh(e, t, l, n, i, s) {
|
|
|
16101
16059
|
_: 3
|
|
16102
16060
|
}, 8, ["postData", "postFunc", "options", "modelValue"]);
|
|
16103
16061
|
}
|
|
16104
|
-
const
|
|
16062
|
+
const Bh = /* @__PURE__ */ _(_h, [["render", Oh], ["__scopeId", "data-v-8f37b9d4"]]), Ah = {
|
|
16105
16063
|
name: "BnOrderDetail",
|
|
16106
|
-
components: { showSubForm: bh, orderLogs:
|
|
16064
|
+
components: { showSubForm: bh, orderLogs: Ph, filterLogByUser: Bh, taskAssociation: Ue },
|
|
16107
16065
|
// 关联工单:规则查询与触发字段匹配复用表单同一套 mixin
|
|
16108
16066
|
mixins: [Dt],
|
|
16109
16067
|
props: {
|
|
@@ -16280,32 +16238,32 @@ const Ah = /* @__PURE__ */ _(Vh, [["render", Bh], ["__scopeId", "data-v-8f37b9d4
|
|
|
16280
16238
|
t.value = e, document.body.appendChild(t), t.select(), document.execCommand("copy"), document.body.removeChild(t), this.$message.success("复制成功");
|
|
16281
16239
|
}
|
|
16282
16240
|
}
|
|
16283
|
-
},
|
|
16241
|
+
}, Fh = { class: "BnOrderDetail-main-top" }, Eh = { class: "BnOrderDetail-main-top-btn w-flex-center" }, Rh = { class: "BnOrderDetail-main-body" }, Mh = { class: "BnOrderDetail-main-detail" }, Nh = {
|
|
16284
16242
|
key: 0,
|
|
16285
16243
|
class: "BnOrderDetail-item"
|
|
16286
|
-
},
|
|
16244
|
+
}, zh = { class: "BnOrderDetail-item-header" }, Uh = {
|
|
16287
16245
|
key: 0,
|
|
16288
16246
|
class: "w-margin-top4"
|
|
16289
|
-
},
|
|
16247
|
+
}, jh = {
|
|
16290
16248
|
key: 0,
|
|
16291
16249
|
class: "BnOrderDetail-item-content"
|
|
16292
|
-
},
|
|
16250
|
+
}, Hh = {
|
|
16293
16251
|
key: 0,
|
|
16294
16252
|
class: "BnOrderDetail-item-content-text"
|
|
16295
|
-
},
|
|
16253
|
+
}, Kh = ["onClick"], Xh = {
|
|
16296
16254
|
key: 1,
|
|
16297
16255
|
class: "BnOrderDetail-item-content-sub"
|
|
16298
|
-
},
|
|
16256
|
+
}, Jh = {
|
|
16299
16257
|
key: 2,
|
|
16300
16258
|
class: "BnOrderDetail-item-content-sub"
|
|
16301
|
-
},
|
|
16259
|
+
}, Gh = {
|
|
16302
16260
|
key: 1,
|
|
16303
16261
|
class: "BnOrderDetail-item-association"
|
|
16304
|
-
},
|
|
16262
|
+
}, qh = { class: "BnOrderDetail-main-other" }, Wh = {
|
|
16305
16263
|
class: "w-flex-center w-flex-between",
|
|
16306
16264
|
style: { background: "#fff" }
|
|
16307
16265
|
};
|
|
16308
|
-
function
|
|
16266
|
+
function Yh(e, t, l, n, i, s) {
|
|
16309
16267
|
const o = g("el-button"), u = g("el-tooltip"), d = g("BnEmptyTip"), c = g("BnFileView"), h = g("showSubForm"), y = g("taskAssociation"), b = g("BnOrderCard"), k = g("el-tab-pane"), v = g("el-tabs"), x = g("filterLogByUser"), P = g("el-affix"), L = g("orderLogs"), z = g("el-backtop"), E = J("loading");
|
|
16310
16268
|
return l.inline || i.show ? (r(), p("div", {
|
|
16311
16269
|
key: 0,
|
|
@@ -16318,13 +16276,13 @@ function Qh(e, t, l, n, i, s) {
|
|
|
16318
16276
|
onClick: t[6] || (t[6] = W(() => {
|
|
16319
16277
|
}, ["stop"]))
|
|
16320
16278
|
}, [
|
|
16321
|
-
a("div",
|
|
16279
|
+
a("div", Fh, [
|
|
16322
16280
|
N(e.$slots, "top", {
|
|
16323
16281
|
taskDetail: i.taskDetail,
|
|
16324
16282
|
components: s.componentList,
|
|
16325
16283
|
id: i.id
|
|
16326
16284
|
}, void 0, !0),
|
|
16327
|
-
a("div",
|
|
16285
|
+
a("div", Eh, [
|
|
16328
16286
|
(r(!0), p(D, null, V(l.operateList, (S) => (r(), I(o, {
|
|
16329
16287
|
plain: "",
|
|
16330
16288
|
size: "small",
|
|
@@ -16365,40 +16323,40 @@ function Qh(e, t, l, n, i, s) {
|
|
|
16365
16323
|
})
|
|
16366
16324
|
])
|
|
16367
16325
|
]),
|
|
16368
|
-
R((r(), p("div",
|
|
16369
|
-
a("div",
|
|
16326
|
+
R((r(), p("div", Rh, [
|
|
16327
|
+
a("div", Mh, [
|
|
16370
16328
|
i.taskDetail.id ? C("", !0) : (r(), I(d, { key: 0 })),
|
|
16371
16329
|
(r(!0), p(D, null, V(s.componentList, (S, K) => (r(), p(D, { key: K }, [
|
|
16372
|
-
i.showEmpty || !s.isEmpty(i.taskDetail[S.columnCode]) ? (r(), p("div",
|
|
16373
|
-
a("div",
|
|
16330
|
+
i.showEmpty || !s.isEmpty(i.taskDetail[S.columnCode]) ? (r(), p("div", Nh, [
|
|
16331
|
+
a("div", zh, [
|
|
16374
16332
|
T(w(S.name) + " ", 1),
|
|
16375
|
-
s.isAiMarkingColumn(S) ? (r(), p("div",
|
|
16333
|
+
s.isAiMarkingColumn(S) ? (r(), p("div", Uh, [...t[8] || (t[8] = [
|
|
16376
16334
|
a("img", {
|
|
16377
16335
|
style: { width: "72px", height: "16px" },
|
|
16378
16336
|
src: "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_10c0871f0e3550f1297a850a1a9ecabd.jpg"
|
|
16379
16337
|
}, null, -1)
|
|
16380
16338
|
])])) : C("", !0)
|
|
16381
16339
|
]),
|
|
16382
|
-
s.isEmpty(i.taskDetail[S.columnCode]) ? C("", !0) : (r(), p("div",
|
|
16340
|
+
s.isEmpty(i.taskDetail[S.columnCode]) ? C("", !0) : (r(), p("div", jh, [
|
|
16383
16341
|
N(e.$slots, "columnDetail_" + S.columnCode, {
|
|
16384
16342
|
item: S,
|
|
16385
16343
|
value: i.taskDetail[S.columnCode],
|
|
16386
16344
|
row: i.taskDetail
|
|
16387
16345
|
}, () => [
|
|
16388
|
-
S.behaviorType != 13 && S.behaviorType != 10 ? (r(), p("div",
|
|
16346
|
+
S.behaviorType != 13 && S.behaviorType != 10 ? (r(), p("div", Hh, [
|
|
16389
16347
|
T(w(i.taskDetail[S.columnCode]) + " ", 1),
|
|
16390
16348
|
a("span", {
|
|
16391
16349
|
class: "w-color-blue w-cursor-pointer",
|
|
16392
16350
|
onClick: (G) => s.copyVal(i.taskDetail[S.columnCode])
|
|
16393
|
-
}, "复制", 8,
|
|
16394
|
-
])) : S.behaviorType == 10 ? (r(), p("div",
|
|
16351
|
+
}, "复制", 8, Kh)
|
|
16352
|
+
])) : S.behaviorType == 10 ? (r(), p("div", Xh, [
|
|
16395
16353
|
m(c, {
|
|
16396
16354
|
"file-list": i.taskDetail.inside[S.columnCode],
|
|
16397
16355
|
"is-mini": !0,
|
|
16398
16356
|
"no-warp": !0,
|
|
16399
16357
|
width: "50px"
|
|
16400
16358
|
}, null, 8, ["file-list"])
|
|
16401
|
-
])) : S.behaviorType == 13 ? (r(), p("div",
|
|
16359
|
+
])) : S.behaviorType == 13 ? (r(), p("div", Jh, [
|
|
16402
16360
|
m(h, {
|
|
16403
16361
|
column: S,
|
|
16404
16362
|
row: i.taskDetail,
|
|
@@ -16407,7 +16365,7 @@ function Qh(e, t, l, n, i, s) {
|
|
|
16407
16365
|
])) : C("", !0)
|
|
16408
16366
|
], !0)
|
|
16409
16367
|
])),
|
|
16410
|
-
l.enableAssociation && e.showTaskAssociation(S) && s.hasAssociationValue(S) ? (r(), p("div",
|
|
16368
|
+
l.enableAssociation && e.showTaskAssociation(S) && s.hasAssociationValue(S) ? (r(), p("div", Gh, [
|
|
16411
16369
|
m(y, {
|
|
16412
16370
|
"post-func": l.postFunc,
|
|
16413
16371
|
"app-id": s.extendPost.appId,
|
|
@@ -16433,13 +16391,13 @@ function Qh(e, t, l, n, i, s) {
|
|
|
16433
16391
|
extendPost: { tid: i.taskDetail.tid, taskId: i.id, appId: l.tableInfo.appId, projectId: l.tableInfo.tableId }
|
|
16434
16392
|
}, null, 8, ["postFunc", "extendPost"])) : C("", !0)
|
|
16435
16393
|
]),
|
|
16436
|
-
a("div",
|
|
16394
|
+
a("div", qh, [
|
|
16437
16395
|
m(P, {
|
|
16438
16396
|
target: ".BnOrderDetail-main-other",
|
|
16439
16397
|
offset: 30
|
|
16440
16398
|
}, {
|
|
16441
16399
|
default: f(() => [
|
|
16442
|
-
a("div",
|
|
16400
|
+
a("div", Wh, [
|
|
16443
16401
|
m(v, {
|
|
16444
16402
|
modelValue: i.defaultTab,
|
|
16445
16403
|
"onUpdate:modelValue": t[4] || (t[4] = (S) => i.defaultTab = S),
|
|
@@ -16491,7 +16449,7 @@ function Qh(e, t, l, n, i, s) {
|
|
|
16491
16449
|
])
|
|
16492
16450
|
], 2)) : C("", !0);
|
|
16493
16451
|
}
|
|
16494
|
-
const Lt = /* @__PURE__ */ _(
|
|
16452
|
+
const Lt = /* @__PURE__ */ _(Ah, [["render", Yh], ["__scopeId", "data-v-8dd0d97f"]]), Qh = "/v2/project/task/queryByTaskId", Zh = "/v2/project/column/allColumn2/{tableId}/{appId}?filterColumnIds=99999998,99999999&addBehavior=19", st = "简易工单系统查询小程序工作表详情失败,暂不支持", Le = {
|
|
16495
16453
|
0: "工单ID",
|
|
16496
16454
|
1: "客户",
|
|
16497
16455
|
2: "处理人",
|
|
@@ -16525,7 +16483,7 @@ function nt(e, t) {
|
|
|
16525
16483
|
if (n != null && n !== "") return n;
|
|
16526
16484
|
}
|
|
16527
16485
|
}
|
|
16528
|
-
function
|
|
16486
|
+
function $h(e) {
|
|
16529
16487
|
if (Array.isArray(e)) {
|
|
16530
16488
|
let t = e.map((l) => ee(l)).filter((l) => l !== "");
|
|
16531
16489
|
return t.length === 2 ? t.join(" 至 ") : t.join("、");
|
|
@@ -16556,15 +16514,15 @@ function Bt(e) {
|
|
|
16556
16514
|
}
|
|
16557
16515
|
function Oe(e, t, l) {
|
|
16558
16516
|
let n = Number(t);
|
|
16559
|
-
return n === 13 ?
|
|
16517
|
+
return n === 13 ? ep(e) : n === 10 ? tp(e) : n === 8 ? $h(e) : [3, 4, 5, 6, 12, 14, 15, 20].includes(n) || e && typeof e == "object" ? ee(e) : e;
|
|
16560
16518
|
}
|
|
16561
|
-
function
|
|
16519
|
+
function ep(e) {
|
|
16562
16520
|
return Array.isArray(e) ? e.map((t) => Object.keys(t || {}).map((l) => ee((t[l] || {}).value)).filter((l) => l !== "").join(",")).filter((t) => t !== "").join(";") : "";
|
|
16563
16521
|
}
|
|
16564
|
-
function
|
|
16522
|
+
function tp(e) {
|
|
16565
16523
|
return ve(e).map((t) => t.title).filter((t) => t).join("、");
|
|
16566
16524
|
}
|
|
16567
|
-
function
|
|
16525
|
+
function lp(e, t) {
|
|
16568
16526
|
if (!Array.isArray(e)) return [];
|
|
16569
16527
|
let l = Bt(t);
|
|
16570
16528
|
return e.map((n) => {
|
|
@@ -16575,7 +16533,7 @@ function ip(e, t) {
|
|
|
16575
16533
|
}), i;
|
|
16576
16534
|
});
|
|
16577
16535
|
}
|
|
16578
|
-
function
|
|
16536
|
+
function ip(e, t) {
|
|
16579
16537
|
if (!Array.isArray(e)) return [];
|
|
16580
16538
|
let l = Bt(t);
|
|
16581
16539
|
return e.map((n) => {
|
|
@@ -16586,7 +16544,7 @@ function sp(e, t) {
|
|
|
16586
16544
|
}), i;
|
|
16587
16545
|
});
|
|
16588
16546
|
}
|
|
16589
|
-
function
|
|
16547
|
+
function sp(e, t, l) {
|
|
16590
16548
|
let n = e || {}, i = n.contents || {}, s = {};
|
|
16591
16549
|
(t || []).forEach((h) => {
|
|
16592
16550
|
h && h.id !== void 0 && h.id !== null && (s[String(h.id)] = h);
|
|
@@ -16594,7 +16552,7 @@ function np(e, t, l) {
|
|
|
16594
16552
|
let o = {}, u = {};
|
|
16595
16553
|
Object.keys(i).forEach((h) => {
|
|
16596
16554
|
let y = i[h] || {}, b = s[h] || {}, k = b.columnCode || String(h), v = Number(b.behaviorType), x = Number(y.behaviorType) || v, P = v || x;
|
|
16597
|
-
P === 13 ? (o[k] =
|
|
16555
|
+
P === 13 ? (o[k] = lp(y.value, b), u[k] = ip(y.value, b)) : P === 10 ? (o[k] = ve(y.value), u[k] = ve(y.value)) : o[k] = Oe(y.value, x);
|
|
16598
16556
|
}), (t || []).forEach((h) => {
|
|
16599
16557
|
if (!h) return;
|
|
16600
16558
|
let y = h.columnCode || String(h.id), b = Number(h.behaviorType);
|
|
@@ -16620,10 +16578,10 @@ function ot(e) {
|
|
|
16620
16578
|
let t = e || {}, l = Array.isArray(t) ? t : t.columns || t.components || t.list;
|
|
16621
16579
|
return !Array.isArray(l) || !l.length ? [] : l.filter((n) => n && (n.id !== void 0 || n.columnId !== void 0 || n.columnCode)).map((n) => At(n));
|
|
16622
16580
|
}
|
|
16623
|
-
function
|
|
16624
|
-
return !e || e.appId === void 0 || e.projectId === void 0 ? "" :
|
|
16581
|
+
function np(e) {
|
|
16582
|
+
return !e || e.appId === void 0 || e.projectId === void 0 ? "" : Zh.replace(/\{appId\}/g, e.appId).replace(/\{tableId\}/g, e.projectId).replace(/\{projectId\}/g, e.projectId);
|
|
16625
16583
|
}
|
|
16626
|
-
function
|
|
16584
|
+
function op(e, t) {
|
|
16627
16585
|
let l = Array.isArray(e) ? e.slice() : [], n = t && t.contents || {};
|
|
16628
16586
|
if (!Object.keys(n).length) return l;
|
|
16629
16587
|
let i = {};
|
|
@@ -16639,7 +16597,7 @@ function ap(e, t) {
|
|
|
16639
16597
|
}));
|
|
16640
16598
|
return s.length ? (s.sort((o, u) => Number(o.id) - Number(u.id)), s.concat(l)) : l;
|
|
16641
16599
|
}
|
|
16642
|
-
function
|
|
16600
|
+
function ap(e, t) {
|
|
16643
16601
|
if (!e || !e.length) return [];
|
|
16644
16602
|
try {
|
|
16645
16603
|
return Tt(e, t.appId, t.projectId);
|
|
@@ -16647,7 +16605,7 @@ function rp(e, t) {
|
|
|
16647
16605
|
return console.warn("[legacyTask] 小程序列定义解析失败", l), [];
|
|
16648
16606
|
}
|
|
16649
16607
|
}
|
|
16650
|
-
const
|
|
16608
|
+
const rp = {
|
|
16651
16609
|
name: "taskDetailsWrap",
|
|
16652
16610
|
components: { BnOrderDetail: Lt },
|
|
16653
16611
|
props: {
|
|
@@ -16828,7 +16786,7 @@ const dp = {
|
|
|
16828
16786
|
let t = ++this.legacySeq;
|
|
16829
16787
|
this.legacyLoading = !0, this.legacyDetail = {}, this.legacyComponents = [], this.legacyRawColumns = [], this.legacyRawData = null, this.legacyColumnLevel = 0, this.legacyError = "";
|
|
16830
16788
|
let l = [];
|
|
16831
|
-
l.push(this.postFunc(
|
|
16789
|
+
l.push(this.postFunc(Qh, {
|
|
16832
16790
|
appId: e.appId,
|
|
16833
16791
|
projectId: e.projectId,
|
|
16834
16792
|
tableId: e.projectId,
|
|
@@ -16838,7 +16796,7 @@ const dp = {
|
|
|
16838
16796
|
t === this.legacySeq && (i.code || (this.setLegacyColumns(ot(i.data), 1), this.legacyRawData = i.data));
|
|
16839
16797
|
}).catch(() => {
|
|
16840
16798
|
}));
|
|
16841
|
-
let n =
|
|
16799
|
+
let n = np(e);
|
|
16842
16800
|
n && l.push(this.postFunc(n, null, "get").then((i) => {
|
|
16843
16801
|
t === this.legacySeq && (i.code || this.setLegacyColumns(ot(i.data), 2));
|
|
16844
16802
|
}).catch(() => {
|
|
@@ -16848,7 +16806,7 @@ const dp = {
|
|
|
16848
16806
|
this.legacyError = st;
|
|
16849
16807
|
return;
|
|
16850
16808
|
}
|
|
16851
|
-
this.legacyRawColumns =
|
|
16809
|
+
this.legacyRawColumns = op(this.legacyRawColumns, this.legacyRawData), this.legacyComponents = ap(this.legacyRawColumns, e), this.legacyDetail = sp(this.legacyRawData, this.legacyRawColumns, e.taskId), this.$nextTick(() => {
|
|
16852
16810
|
this.$refs.legacyOrderDetail && this.$refs.legacyOrderDetail.open(e.taskId);
|
|
16853
16811
|
});
|
|
16854
16812
|
}
|
|
@@ -16979,25 +16937,25 @@ const dp = {
|
|
|
16979
16937
|
this.$emit("orderOperate", e, t), this.$emit("reloadDetail");
|
|
16980
16938
|
}
|
|
16981
16939
|
}
|
|
16982
|
-
},
|
|
16940
|
+
}, dp = {
|
|
16983
16941
|
key: 0,
|
|
16984
16942
|
class: "taskDetails"
|
|
16985
|
-
},
|
|
16943
|
+
}, up = {
|
|
16986
16944
|
key: 0,
|
|
16987
16945
|
class: "associatedTask-box"
|
|
16988
|
-
},
|
|
16946
|
+
}, cp = { class: "associatedTask-header" }, hp = { class: "associatedTask-total" }, pp = {
|
|
16989
16947
|
key: 0,
|
|
16990
16948
|
class: "associatedTask-empty"
|
|
16991
|
-
},
|
|
16949
|
+
}, fp = ["onClick"], mp = { class: "associatedTask-item-main" }, gp = { class: "associatedTask-item-index" }, yp = ["title"], bp = { class: "associatedTask-item-meta" }, vp = { class: "associatedTask-item-workNick" }, Cp = { class: "associatedTask-item-time" }, kp = { class: "taskDetails-main" }, Ip = {
|
|
16992
16950
|
key: 1,
|
|
16993
16951
|
class: "taskDetails-legacy"
|
|
16994
|
-
},
|
|
16952
|
+
}, wp = {
|
|
16995
16953
|
key: 0,
|
|
16996
16954
|
class: "taskDetails-legacy-error"
|
|
16997
16955
|
};
|
|
16998
|
-
function
|
|
16956
|
+
function Tp(e, t, l, n, i, s) {
|
|
16999
16957
|
const o = g("BnOrderDetail"), u = J("loading");
|
|
17000
|
-
return i.taskDetailsShow ? (r(), p("div",
|
|
16958
|
+
return i.taskDetailsShow ? (r(), p("div", dp, [
|
|
17001
16959
|
a("div", {
|
|
17002
16960
|
class: A(["taskDetails-back", { "background-back": s.hasAssociation }]),
|
|
17003
16961
|
onClick: t[0] || (t[0] = (...d) => s.close && s.close(...d))
|
|
@@ -17005,40 +16963,40 @@ function xp(e, t, l, n, i, s) {
|
|
|
17005
16963
|
a("div", {
|
|
17006
16964
|
class: A(["taskDetails-body", { assocaiation: s.hasAssociation }])
|
|
17007
16965
|
}, [
|
|
17008
|
-
s.hasAssociation ? (r(), p("div",
|
|
17009
|
-
a("div",
|
|
16966
|
+
s.hasAssociation ? (r(), p("div", up, [
|
|
16967
|
+
a("div", cp, [
|
|
17010
16968
|
t[2] || (t[2] = a("span", { class: "associatedTask-title" }, "关联工单", -1)),
|
|
17011
|
-
a("span",
|
|
16969
|
+
a("span", hp, w(i.loadTotal), 1)
|
|
17012
16970
|
]),
|
|
17013
16971
|
a("div", {
|
|
17014
16972
|
class: "associatedTask-list",
|
|
17015
16973
|
onScroll: t[1] || (t[1] = (...d) => s.handleScroll && s.handleScroll(...d))
|
|
17016
16974
|
}, [
|
|
17017
|
-
i.associatedTaskData.length === 0 ? (r(), p("div",
|
|
16975
|
+
i.associatedTaskData.length === 0 ? (r(), p("div", pp, "暂无关联工单")) : C("", !0),
|
|
17018
16976
|
(r(!0), p(D, null, V(i.associatedTaskData, (d, c) => (r(), p("div", {
|
|
17019
16977
|
key: s.keyOf(d),
|
|
17020
16978
|
class: A([{ active: i.activeAssociated === s.keyOf(d) }, "associatedTask-item"]),
|
|
17021
16979
|
onClick: (h) => s.onTaskAssociationClick(d)
|
|
17022
16980
|
}, [
|
|
17023
|
-
a("div",
|
|
17024
|
-
a("span",
|
|
16981
|
+
a("div", mp, [
|
|
16982
|
+
a("span", gp, w(c + 1), 1),
|
|
17025
16983
|
a("span", {
|
|
17026
16984
|
class: "associatedTask-item-name",
|
|
17027
16985
|
title: d.name
|
|
17028
|
-
}, w(d.name), 9,
|
|
16986
|
+
}, w(d.name), 9, yp),
|
|
17029
16987
|
d.status || d.status === 0 ? (r(), p("span", {
|
|
17030
16988
|
key: 0,
|
|
17031
16989
|
class: A(`associatedTask-item-status status${d.status}`)
|
|
17032
16990
|
}, w(d.statusOption && d.statusOption.title ? d.statusOption.title : s.statusMap[d.status]), 3)) : C("", !0)
|
|
17033
16991
|
]),
|
|
17034
|
-
a("div",
|
|
17035
|
-
a("span",
|
|
17036
|
-
a("span",
|
|
16992
|
+
a("div", bp, [
|
|
16993
|
+
a("span", vp, w(d.creator && d.creator.workNick), 1),
|
|
16994
|
+
a("span", Cp, w(d.createTime), 1)
|
|
17037
16995
|
])
|
|
17038
|
-
], 10,
|
|
16996
|
+
], 10, fp))), 128))
|
|
17039
16997
|
], 32)
|
|
17040
16998
|
])) : C("", !0),
|
|
17041
|
-
a("div",
|
|
16999
|
+
a("div", kp, [
|
|
17042
17000
|
s.isLegacy ? (r(), p(D, { key: 0 }, [
|
|
17043
17001
|
s.legacyReady ? (r(), I(o, {
|
|
17044
17002
|
ref: "legacyOrderDetail",
|
|
@@ -17057,8 +17015,8 @@ function xp(e, t, l, n, i, s) {
|
|
|
17057
17015
|
T("查看详情", -1)
|
|
17058
17016
|
])]),
|
|
17059
17017
|
_: 1
|
|
17060
|
-
}, 8, ["post-func", "table-info", "watch-components", "operate-list", "enable-association", "onOrderOperate", "onClose"])) : R((r(), p("div",
|
|
17061
|
-
i.legacyError ? (r(), p("div",
|
|
17018
|
+
}, 8, ["post-func", "table-info", "watch-components", "operate-list", "enable-association", "onOrderOperate", "onClose"])) : R((r(), p("div", Ip, [
|
|
17019
|
+
i.legacyError ? (r(), p("div", wp, w(i.legacyError), 1)) : C("", !0)
|
|
17062
17020
|
])), [
|
|
17063
17021
|
[u, i.legacyLoading]
|
|
17064
17022
|
])
|
|
@@ -17083,7 +17041,7 @@ function xp(e, t, l, n, i, s) {
|
|
|
17083
17041
|
], 2)
|
|
17084
17042
|
])) : C("", !0);
|
|
17085
17043
|
}
|
|
17086
|
-
const Ft = /* @__PURE__ */ _(
|
|
17044
|
+
const Ft = /* @__PURE__ */ _(rp, [["render", Tp], ["__scopeId", "data-v-c0d54d8c"]]), xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17087
17045
|
__proto__: null,
|
|
17088
17046
|
default: Ft
|
|
17089
17047
|
}, Symbol.toStringTag, { value: "Module" })), oe = {
|
|
@@ -17111,7 +17069,7 @@ const Ft = /* @__PURE__ */ _(dp, [["render", xp], ["__scopeId", "data-v-c0d54d8c
|
|
|
17111
17069
|
width: 0.8,
|
|
17112
17070
|
height: 0.8
|
|
17113
17071
|
}
|
|
17114
|
-
},
|
|
17072
|
+
}, Sp = {
|
|
17115
17073
|
name: "BnEmptyTip",
|
|
17116
17074
|
props: {
|
|
17117
17075
|
url: {
|
|
@@ -17149,27 +17107,27 @@ const Ft = /* @__PURE__ */ _(dp, [["render", xp], ["__scopeId", "data-v-c0d54d8c
|
|
|
17149
17107
|
};
|
|
17150
17108
|
}
|
|
17151
17109
|
}
|
|
17152
|
-
},
|
|
17153
|
-
function
|
|
17154
|
-
return r(), p("div",
|
|
17155
|
-
a("div",
|
|
17110
|
+
}, Dp = { class: "BnEmptyTip" }, Pp = { class: "BnEmptyTip-box" }, _p = { class: "BnEmptyTip-text" };
|
|
17111
|
+
function Vp(e, t, l, n, i, s) {
|
|
17112
|
+
return r(), p("div", Dp, [
|
|
17113
|
+
a("div", Pp, [
|
|
17156
17114
|
a("div", {
|
|
17157
17115
|
class: "BnEmptyTip-img",
|
|
17158
17116
|
style: H(s.boxStyle)
|
|
17159
17117
|
}, null, 4),
|
|
17160
|
-
a("div",
|
|
17118
|
+
a("div", _p, w(s.displayTip), 1)
|
|
17161
17119
|
])
|
|
17162
17120
|
]);
|
|
17163
17121
|
}
|
|
17164
|
-
const
|
|
17122
|
+
const Lp = /* @__PURE__ */ _(Sp, [["render", Vp], ["__scopeId", "data-v-1d69aa10"]]), Op = {
|
|
17165
17123
|
value: "id",
|
|
17166
17124
|
label: "title",
|
|
17167
17125
|
children: "children"
|
|
17168
17126
|
};
|
|
17169
17127
|
function Et(e = {}) {
|
|
17170
|
-
return { ...
|
|
17128
|
+
return { ...Op, ...e };
|
|
17171
17129
|
}
|
|
17172
|
-
function
|
|
17130
|
+
function Bp(e, t, l = {}) {
|
|
17173
17131
|
if (!Array.isArray(e) || !e.length)
|
|
17174
17132
|
return [];
|
|
17175
17133
|
const n = Et(l), i = [];
|
|
@@ -17195,7 +17153,7 @@ function Be(e, {
|
|
|
17195
17153
|
const i = ` ${String(t).trim()} `;
|
|
17196
17154
|
return l ? n.join(i) : n[n.length - 1];
|
|
17197
17155
|
}
|
|
17198
|
-
function
|
|
17156
|
+
function Ap(e, {
|
|
17199
17157
|
labelInValue: t = !0,
|
|
17200
17158
|
optionProps: l = {},
|
|
17201
17159
|
options: n,
|
|
@@ -17206,12 +17164,12 @@ function Fp(e, {
|
|
|
17206
17164
|
return "";
|
|
17207
17165
|
const o = Et(l);
|
|
17208
17166
|
let u;
|
|
17209
|
-
return t ? u = e.map((d) => d && typeof d == "object" ? d[o.label] ?? d.title ?? d.label ?? "" : String(d ?? "")) : n != null && n.length ? u =
|
|
17167
|
+
return t ? u = e.map((d) => d && typeof d == "object" ? d[o.label] ?? d.title ?? d.label ?? "" : String(d ?? "")) : n != null && n.length ? u = Bp(e, n, l) : u = e.map((d) => String(d ?? "")), Be(u, { separator: i, showAllLevels: s });
|
|
17210
17168
|
}
|
|
17211
|
-
function
|
|
17169
|
+
function Fp(e, { multiple: t, labelInValue: l } = {}) {
|
|
17212
17170
|
return t ? !Array.isArray(e) || e.length === 0 : l ? M(e) : !Array.isArray(e) || e.length === 0;
|
|
17213
17171
|
}
|
|
17214
|
-
const
|
|
17172
|
+
const Ep = {
|
|
17215
17173
|
name: "BnCascader",
|
|
17216
17174
|
props: {
|
|
17217
17175
|
/** 绑定值,格式见文件头 @modelValue 说明 */
|
|
@@ -17311,7 +17269,7 @@ const Rp = {
|
|
|
17311
17269
|
},
|
|
17312
17270
|
/** 当前值是否为空(单选 null/[],多选 []) */
|
|
17313
17271
|
isEmptyValue() {
|
|
17314
|
-
return
|
|
17272
|
+
return Fp(this.modelValue, {
|
|
17315
17273
|
multiple: this.multiple,
|
|
17316
17274
|
labelInValue: this.labelInValue
|
|
17317
17275
|
});
|
|
@@ -17393,7 +17351,7 @@ const Rp = {
|
|
|
17393
17351
|
if (n)
|
|
17394
17352
|
return n;
|
|
17395
17353
|
}
|
|
17396
|
-
return
|
|
17354
|
+
return Ap(e, this.displayOptions);
|
|
17397
17355
|
},
|
|
17398
17356
|
/** popover 打开:同步状态、聚焦搜索;禁用时立即关闭 */
|
|
17399
17357
|
handlePopoverShow() {
|
|
@@ -17442,14 +17400,14 @@ const Rp = {
|
|
|
17442
17400
|
t.splice(e, 1), this.$emit("update:modelValue", t), this.$emit("change", t);
|
|
17443
17401
|
}
|
|
17444
17402
|
}
|
|
17445
|
-
},
|
|
17403
|
+
}, Rp = { class: "BnCascader__selection" }, Mp = {
|
|
17446
17404
|
key: 0,
|
|
17447
17405
|
class: "BnCascader__placeholder"
|
|
17448
|
-
},
|
|
17406
|
+
}, Np = ["title"], zp = {
|
|
17449
17407
|
key: 2,
|
|
17450
17408
|
class: "BnCascader__tags"
|
|
17451
|
-
},
|
|
17452
|
-
function
|
|
17409
|
+
}, Up = ["title"], jp = ["onClick"], Hp = { class: "BnCascader__collapse-tooltip" }, Kp = { class: "BnCascader__tag BnCascader__tag--collapse" }, Xp = { class: "BnCascader__suffix" };
|
|
17410
|
+
function Jp(e, t, l, n, i, s) {
|
|
17453
17411
|
const o = g("el-scrollbar"), u = g("el-tooltip"), d = g("BnCascaderPanel"), c = g("el-popover");
|
|
17454
17412
|
return r(), I(c, {
|
|
17455
17413
|
ref: "popoverRef",
|
|
@@ -17471,8 +17429,8 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17471
17429
|
onMouseenter: t[1] || (t[1] = (h) => i.hovering = !0),
|
|
17472
17430
|
onMouseleave: t[2] || (t[2] = (h) => i.hovering = !1)
|
|
17473
17431
|
}, [
|
|
17474
|
-
a("div",
|
|
17475
|
-
s.isEmptyValue ? (r(), p("span",
|
|
17432
|
+
a("div", Rp, [
|
|
17433
|
+
s.isEmptyValue ? (r(), p("span", Mp, w(l.placeholder), 1)) : l.multiple ? (r(), p("div", zp, [
|
|
17476
17434
|
(r(!0), p(D, null, V(s.visibleTags, (h) => (r(), p("span", {
|
|
17477
17435
|
key: h.index,
|
|
17478
17436
|
class: "BnCascader__tag"
|
|
@@ -17480,12 +17438,12 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17480
17438
|
a("span", {
|
|
17481
17439
|
class: "BnCascader__tag-text",
|
|
17482
17440
|
title: h.label
|
|
17483
|
-
}, w(h.label), 9,
|
|
17441
|
+
}, w(h.label), 9, Up),
|
|
17484
17442
|
l.disabled ? C("", !0) : (r(), p("i", {
|
|
17485
17443
|
key: 0,
|
|
17486
17444
|
class: "BnCascader__tag-close bnUIcon bnUIcon-close",
|
|
17487
17445
|
onClick: W((y) => s.removeTag(h.index), ["stop"])
|
|
17488
|
-
}, null, 8,
|
|
17446
|
+
}, null, 8, jp))
|
|
17489
17447
|
]))), 128)),
|
|
17490
17448
|
s.collapsedCount > 0 ? (r(), I(u, {
|
|
17491
17449
|
key: 0,
|
|
@@ -17494,7 +17452,7 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17494
17452
|
placement: "top"
|
|
17495
17453
|
}, {
|
|
17496
17454
|
content: f(() => [
|
|
17497
|
-
a("div",
|
|
17455
|
+
a("div", Hp, [
|
|
17498
17456
|
m(o, { "max-height": "320px" }, {
|
|
17499
17457
|
default: f(() => [
|
|
17500
17458
|
(r(!0), p(D, null, V(s.collapsedTags, (h) => (r(), p("div", {
|
|
@@ -17506,7 +17464,7 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17506
17464
|
])
|
|
17507
17465
|
]),
|
|
17508
17466
|
default: f(() => [
|
|
17509
|
-
a("span",
|
|
17467
|
+
a("span", Kp, "+ " + w(s.collapsedCount), 1)
|
|
17510
17468
|
]),
|
|
17511
17469
|
_: 1
|
|
17512
17470
|
}, 8, ["disabled"])) : C("", !0)
|
|
@@ -17514,9 +17472,9 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17514
17472
|
key: 1,
|
|
17515
17473
|
class: "BnCascader__single-label",
|
|
17516
17474
|
title: s.singleDisplayText
|
|
17517
|
-
}, w(s.singleDisplayText), 9,
|
|
17475
|
+
}, w(s.singleDisplayText), 9, Np))
|
|
17518
17476
|
]),
|
|
17519
|
-
a("span",
|
|
17477
|
+
a("span", Xp, [
|
|
17520
17478
|
s.showClear ? (r(), p("i", {
|
|
17521
17479
|
key: 0,
|
|
17522
17480
|
class: "BnCascader__clear bnUIcon bnUIcon-clear",
|
|
@@ -17549,7 +17507,7 @@ function Gp(e, t, l, n, i, s) {
|
|
|
17549
17507
|
_: 3
|
|
17550
17508
|
}, 8, ["placement", "disabled", "teleported", "popper-class", "onShow", "onHide"]);
|
|
17551
17509
|
}
|
|
17552
|
-
const
|
|
17510
|
+
const Gp = /* @__PURE__ */ _(Ep, [["render", Jp], ["__scopeId", "data-v-c401e3ce"]]), at = 6, Z = 34, ae = 3, ne = "", qp = { value: "id", label: "title", children: "children" }, Wp = {
|
|
17553
17511
|
name: "BnCascaderPanel",
|
|
17554
17512
|
props: {
|
|
17555
17513
|
/** 绑定值,格式见文件头 @modelValue 说明 */
|
|
@@ -17682,7 +17640,7 @@ const qp = /* @__PURE__ */ _(Rp, [["render", Gp], ["__scopeId", "data-v-c401e3ce
|
|
|
17682
17640
|
},
|
|
17683
17641
|
/** 合并后的选项字段映射 */
|
|
17684
17642
|
mergedOptionProps() {
|
|
17685
|
-
return { ...
|
|
17643
|
+
return { ...qp, ...this.optionProps };
|
|
17686
17644
|
},
|
|
17687
17645
|
/**
|
|
17688
17646
|
* v-model 代理:统一单选/多选、labelInValue 的空值形态
|
|
@@ -18297,34 +18255,34 @@ const qp = /* @__PURE__ */ _(Rp, [["render", Gp], ["__scopeId", "data-v-c401e3ce
|
|
|
18297
18255
|
return Be(this.getPathDisplayLabels(n), { separator: t, showAllLevels: l });
|
|
18298
18256
|
}
|
|
18299
18257
|
}
|
|
18300
|
-
},
|
|
18258
|
+
}, Yp = { class: "BnCascaderPanel-toolbar" }, Qp = {
|
|
18301
18259
|
key: 0,
|
|
18302
18260
|
class: "BnCascaderPanel-search-results"
|
|
18303
|
-
},
|
|
18261
|
+
}, Zp = {
|
|
18304
18262
|
key: 0,
|
|
18305
18263
|
class: "BnCascaderPanel-column-status"
|
|
18306
|
-
},
|
|
18264
|
+
}, $p = {
|
|
18307
18265
|
key: 1,
|
|
18308
18266
|
class: "BnCascaderPanel-column-status"
|
|
18309
|
-
},
|
|
18267
|
+
}, ef = ["onClick"], tf = ["onClick"], lf = ["title"], sf = {
|
|
18310
18268
|
key: 1,
|
|
18311
18269
|
class: "BnCascaderPanel-columns"
|
|
18312
|
-
},
|
|
18270
|
+
}, nf = ["onClick"], of = ["title"], af = ["onClick"], rf = {
|
|
18313
18271
|
key: 0,
|
|
18314
18272
|
class: "BnCascaderPanel-item-loading"
|
|
18315
|
-
},
|
|
18273
|
+
}, df = {
|
|
18316
18274
|
key: 1,
|
|
18317
18275
|
class: "BnCascaderPanel-item-arrow bnUIcon bnUIcon-arrow"
|
|
18318
|
-
},
|
|
18276
|
+
}, uf = {
|
|
18319
18277
|
key: 0,
|
|
18320
18278
|
class: "BnCascaderPanel-column-status"
|
|
18321
18279
|
};
|
|
18322
|
-
function
|
|
18280
|
+
function cf(e, t, l, n, i, s) {
|
|
18323
18281
|
const o = g("el-switch"), u = g("el-input"), d = g("el-scrollbar"), c = g("BnRadio");
|
|
18324
18282
|
return r(), p("div", {
|
|
18325
18283
|
class: A(["BnCascaderPanel", { "BnCascaderPanel--disabled": l.disabled }])
|
|
18326
18284
|
}, [
|
|
18327
|
-
a("div",
|
|
18285
|
+
a("div", Yp, [
|
|
18328
18286
|
l.hideCheckToLast ? C("", !0) : (r(), p(D, { key: 0 }, [
|
|
18329
18287
|
t[6] || (t[6] = a("span", { class: "BnCascaderPanel-toolbar-label" }, "选到最后一级", -1)),
|
|
18330
18288
|
m(o, {
|
|
@@ -18347,13 +18305,13 @@ function hf(e, t, l, n, i, s) {
|
|
|
18347
18305
|
}, null, 8, ["modelValue", "disabled"]),
|
|
18348
18306
|
N(e.$slots, "top", {}, void 0, !0)
|
|
18349
18307
|
]),
|
|
18350
|
-
s.hasSearchKeyword ? (r(), p("div",
|
|
18308
|
+
s.hasSearchKeyword ? (r(), p("div", Qp, [
|
|
18351
18309
|
m(d, {
|
|
18352
18310
|
"max-height": l.columnHeight,
|
|
18353
18311
|
onScroll: s.onSearchScroll
|
|
18354
18312
|
}, {
|
|
18355
18313
|
default: f(() => [
|
|
18356
|
-
s.rootLoading ? (r(), p("div",
|
|
18314
|
+
s.rootLoading ? (r(), p("div", Zp, "加载中...")) : s.searchFlatResults.length ? (r(), p("div", {
|
|
18357
18315
|
key: 2,
|
|
18358
18316
|
class: "BnCascaderPanel-search-results-inner",
|
|
18359
18317
|
style: H(s.getSearchInnerStyle())
|
|
@@ -18379,17 +18337,17 @@ function hf(e, t, l, n, i, s) {
|
|
|
18379
18337
|
}, [...t[7] || (t[7] = [
|
|
18380
18338
|
a("span", { class: "BnCascaderPanel-check-inner" }, null, -1)
|
|
18381
18339
|
])], 2)
|
|
18382
|
-
], 8,
|
|
18340
|
+
], 8, tf)) : C("", !0),
|
|
18383
18341
|
a("span", {
|
|
18384
18342
|
class: "BnCascaderPanel-item-label",
|
|
18385
18343
|
title: h.label
|
|
18386
|
-
}, w(h.label), 9,
|
|
18387
|
-
], 10,
|
|
18388
|
-
], 4)) : (r(), p("div",
|
|
18344
|
+
}, w(h.label), 9, lf)
|
|
18345
|
+
], 10, ef))), 128))
|
|
18346
|
+
], 4)) : (r(), p("div", $p, "无匹配数据"))
|
|
18389
18347
|
]),
|
|
18390
18348
|
_: 1
|
|
18391
18349
|
}, 8, ["max-height", "onScroll"])
|
|
18392
|
-
])) : (r(), p("div",
|
|
18350
|
+
])) : (r(), p("div", sf, [
|
|
18393
18351
|
(r(!0), p(D, null, V(s.displayColumns, (h, y) => (r(), I(d, {
|
|
18394
18352
|
key: y,
|
|
18395
18353
|
"max-height": l.columnHeight,
|
|
@@ -18439,30 +18397,30 @@ function hf(e, t, l, n, i, s) {
|
|
|
18439
18397
|
}, [...t[8] || (t[8] = [
|
|
18440
18398
|
a("span", { class: "BnCascaderPanel-check-inner" }, null, -1)
|
|
18441
18399
|
])], 2)
|
|
18442
|
-
], 8,
|
|
18400
|
+
], 8, nf)) : C("", !0),
|
|
18443
18401
|
a("span", {
|
|
18444
18402
|
class: "BnCascaderPanel-item-label",
|
|
18445
18403
|
title: b.label
|
|
18446
|
-
}, w(b.label), 9,
|
|
18404
|
+
}, w(b.label), 9, of),
|
|
18447
18405
|
b.showSuffix ? (r(), p("span", {
|
|
18448
18406
|
key: 2,
|
|
18449
18407
|
class: "BnCascaderPanel-item-suffix",
|
|
18450
18408
|
onClick: W((z) => !b.loading && s.handleExpand(b.item, y), ["stop"])
|
|
18451
18409
|
}, [
|
|
18452
|
-
b.loading ? (r(), p("span",
|
|
18453
|
-
], 8,
|
|
18410
|
+
b.loading ? (r(), p("span", rf)) : (r(), p("i", df))
|
|
18411
|
+
], 8, af)) : C("", !0)
|
|
18454
18412
|
], 10, ["onClick"]));
|
|
18455
18413
|
return L.memo = P, L;
|
|
18456
18414
|
}, t, 4), 128))
|
|
18457
18415
|
], 4),
|
|
18458
|
-
y === 0 && (s.rootLoading || !h.length) ? (r(), p("div",
|
|
18416
|
+
y === 0 && (s.rootLoading || !h.length) ? (r(), p("div", uf, w(s.rootLoading ? "加载中..." : "暂无数据"), 1)) : C("", !0)
|
|
18459
18417
|
]),
|
|
18460
18418
|
_: 2
|
|
18461
18419
|
}, 1032, ["max-height", "onScroll"]))), 128))
|
|
18462
18420
|
]))
|
|
18463
18421
|
], 2);
|
|
18464
18422
|
}
|
|
18465
|
-
const
|
|
18423
|
+
const hf = /* @__PURE__ */ _(Wp, [["render", cf], ["__scopeId", "data-v-444d4775"]]), pf = {
|
|
18466
18424
|
name: "BnWebLog",
|
|
18467
18425
|
data() {
|
|
18468
18426
|
return {
|
|
@@ -18514,11 +18472,11 @@ const pf = /* @__PURE__ */ _(Yp, [["render", hf], ["__scopeId", "data-v-444d4775
|
|
|
18514
18472
|
return `${e}:${e == 0 || e == 1 ? "成功" : "失败"}`;
|
|
18515
18473
|
}
|
|
18516
18474
|
}
|
|
18517
|
-
},
|
|
18475
|
+
}, ff = { style: { height: "calc(100vh - 158px)", "overflow-y": "auto", padding: "8px 20px 20px 20px" } }, mf = { class: "w-text-right" }, gf = { style: { height: "calc(100% - 80px)" } }, yf = { class: "w-text-right w-margin-top6" }, bf = { class: "BnWebLog" }, vf = { class: "w-flex-right" }, Cf = { class: "BnWebLog-card-body" }, kf = { key: 0 }, If = { key: 1 }, wf = {
|
|
18518
18476
|
key: 2,
|
|
18519
18477
|
class: "w-text-over"
|
|
18520
|
-
},
|
|
18521
|
-
function
|
|
18478
|
+
}, Tf = { key: 3 }, xf = { key: 4 }, Sf = { key: 5 }, Df = { key: 6 }, Pf = { key: 7 }, _f = { key: 8 }, Vf = { key: 9 }, Lf = { key: 10 }, Of = { key: 11 }, Bf = { key: 12 };
|
|
18479
|
+
function Af(e, t, l, n, i, s) {
|
|
18522
18480
|
const o = g("el-button"), u = g("vxe-column"), d = g("vxe-table"), c = g("el-pagination"), h = g("el-dialog"), y = g("el-card"), b = J("loading");
|
|
18523
18481
|
return r(), p("div", null, [
|
|
18524
18482
|
m(h, {
|
|
@@ -18531,8 +18489,8 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18531
18489
|
"destroy-on-close": ""
|
|
18532
18490
|
}, {
|
|
18533
18491
|
default: f(() => [
|
|
18534
|
-
R((r(), p("div",
|
|
18535
|
-
a("div",
|
|
18492
|
+
R((r(), p("div", ff, [
|
|
18493
|
+
a("div", mf, [
|
|
18536
18494
|
m(o, {
|
|
18537
18495
|
link: "",
|
|
18538
18496
|
onClick: t[0] || (t[0] = (k) => s.copyText(i.dataList)),
|
|
@@ -18544,7 +18502,7 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18544
18502
|
_: 1
|
|
18545
18503
|
})
|
|
18546
18504
|
]),
|
|
18547
|
-
a("div",
|
|
18505
|
+
a("div", gf, [
|
|
18548
18506
|
m(d, {
|
|
18549
18507
|
height: "100%",
|
|
18550
18508
|
"row-id": "id",
|
|
@@ -18575,7 +18533,7 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18575
18533
|
_: 1
|
|
18576
18534
|
}, 8, ["loading", "data"])
|
|
18577
18535
|
]),
|
|
18578
|
-
a("div",
|
|
18536
|
+
a("div", yf, [
|
|
18579
18537
|
m(c, {
|
|
18580
18538
|
"current-page": i.currentPage,
|
|
18581
18539
|
"onUpdate:currentPage": t[1] || (t[1] = (k) => i.currentPage = k),
|
|
@@ -18592,10 +18550,10 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18592
18550
|
]),
|
|
18593
18551
|
_: 1
|
|
18594
18552
|
}, 8, ["modelValue"]),
|
|
18595
|
-
R(a("div",
|
|
18553
|
+
R(a("div", bf, [
|
|
18596
18554
|
m(y, { class: "BnWebLog-card" }, {
|
|
18597
18555
|
default: f(() => [
|
|
18598
|
-
a("div",
|
|
18556
|
+
a("div", vf, [
|
|
18599
18557
|
m(o, {
|
|
18600
18558
|
type: "primary",
|
|
18601
18559
|
link: "",
|
|
@@ -18617,20 +18575,20 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18617
18575
|
_: 1
|
|
18618
18576
|
})
|
|
18619
18577
|
]),
|
|
18620
|
-
a("div",
|
|
18621
|
-
i.sessionInfo.userName ? (r(), p("div",
|
|
18622
|
-
i.sessionInfo.userId ? (r(), p("div",
|
|
18623
|
-
i.sessionInfo.companyName ? (r(), p("div",
|
|
18624
|
-
i.sessionInfo.companyId ? (r(), p("div",
|
|
18625
|
-
i.sessionInfo.tableCode ? (r(), p("div",
|
|
18626
|
-
i.sessionInfo.appId ? (r(), p("div",
|
|
18627
|
-
i.sessionInfo.tableId ? (r(), p("div",
|
|
18628
|
-
i.sessionInfo.taskId ? (r(), p("div",
|
|
18629
|
-
i.sessionInfo.workflowId ? (r(), p("div",
|
|
18630
|
-
i.sessionInfo.instanceId ? (r(), p("div",
|
|
18631
|
-
i.sessionInfo.workFlowNodeId ? (r(), p("div",
|
|
18632
|
-
i.sessionInfo.processCode ? (r(), p("div",
|
|
18633
|
-
i.sessionInfo.url ? (r(), p("div",
|
|
18578
|
+
a("div", Cf, [
|
|
18579
|
+
i.sessionInfo.userName ? (r(), p("div", kf, "用户名:" + w(i.sessionInfo.userName), 1)) : C("", !0),
|
|
18580
|
+
i.sessionInfo.userId ? (r(), p("div", If, "用户id:" + w(i.sessionInfo.userId), 1)) : C("", !0),
|
|
18581
|
+
i.sessionInfo.companyName ? (r(), p("div", wf, "公司名称:" + w(i.sessionInfo.companyName), 1)) : C("", !0),
|
|
18582
|
+
i.sessionInfo.companyId ? (r(), p("div", Tf, "公司id:" + w(i.sessionInfo.companyId), 1)) : C("", !0),
|
|
18583
|
+
i.sessionInfo.tableCode ? (r(), p("div", xf, "表code:" + w(i.sessionInfo.tableCode), 1)) : C("", !0),
|
|
18584
|
+
i.sessionInfo.appId ? (r(), p("div", Sf, "小程序id:" + w(i.sessionInfo.appId), 1)) : C("", !0),
|
|
18585
|
+
i.sessionInfo.tableId ? (r(), p("div", Df, "工作表id:" + w(i.sessionInfo.tableId), 1)) : C("", !0),
|
|
18586
|
+
i.sessionInfo.taskId ? (r(), p("div", Pf, "任务id:" + w(i.sessionInfo.taskId), 1)) : C("", !0),
|
|
18587
|
+
i.sessionInfo.workflowId ? (r(), p("div", _f, "流程模板id:" + w(i.sessionInfo.workflowId), 1)) : C("", !0),
|
|
18588
|
+
i.sessionInfo.instanceId ? (r(), p("div", Vf, "流程实例id:" + w(i.sessionInfo.instanceId), 1)) : C("", !0),
|
|
18589
|
+
i.sessionInfo.workFlowNodeId ? (r(), p("div", Lf, "流程节点id:" + w(i.sessionInfo.workFlowNodeId), 1)) : C("", !0),
|
|
18590
|
+
i.sessionInfo.processCode ? (r(), p("div", Of, "流程节点code:" + w(i.sessionInfo.processCode), 1)) : C("", !0),
|
|
18591
|
+
i.sessionInfo.url ? (r(), p("div", Bf, "工作表i地址:" + w(i.sessionInfo.url), 1)) : C("", !0)
|
|
18634
18592
|
])
|
|
18635
18593
|
]),
|
|
18636
18594
|
_: 1
|
|
@@ -18640,9 +18598,9 @@ function Ff(e, t, l, n, i, s) {
|
|
|
18640
18598
|
])
|
|
18641
18599
|
]);
|
|
18642
18600
|
}
|
|
18643
|
-
const
|
|
18601
|
+
const Ff = /* @__PURE__ */ _(pf, [["render", Af], ["__scopeId", "data-v-99cd9091"]]);
|
|
18644
18602
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
18645
|
-
var
|
|
18603
|
+
var Ef = /* @__PURE__ */ ut({
|
|
18646
18604
|
name: "ArrowLeft",
|
|
18647
18605
|
__name: "arrow-left",
|
|
18648
18606
|
setup(e) {
|
|
@@ -18656,7 +18614,7 @@ var Rf = /* @__PURE__ */ ut({
|
|
|
18656
18614
|
})
|
|
18657
18615
|
]));
|
|
18658
18616
|
}
|
|
18659
|
-
}),
|
|
18617
|
+
}), Rf = Ef, Mf = /* @__PURE__ */ ut({
|
|
18660
18618
|
name: "Plus",
|
|
18661
18619
|
__name: "plus",
|
|
18662
18620
|
setup(e) {
|
|
@@ -18670,7 +18628,7 @@ var Rf = /* @__PURE__ */ ut({
|
|
|
18670
18628
|
})
|
|
18671
18629
|
]));
|
|
18672
18630
|
}
|
|
18673
|
-
}),
|
|
18631
|
+
}), Nf = Mf;
|
|
18674
18632
|
const Rt = [
|
|
18675
18633
|
{
|
|
18676
18634
|
type: "benBenAIOrder",
|
|
@@ -18752,7 +18710,7 @@ const Rt = [
|
|
|
18752
18710
|
iconClass: "w-color-orange"
|
|
18753
18711
|
}
|
|
18754
18712
|
];
|
|
18755
|
-
function
|
|
18713
|
+
function zf(e) {
|
|
18756
18714
|
return e ? Rt.filter(
|
|
18757
18715
|
(t) => {
|
|
18758
18716
|
var l;
|
|
@@ -18760,11 +18718,11 @@ function Uf(e) {
|
|
|
18760
18718
|
}
|
|
18761
18719
|
) : [];
|
|
18762
18720
|
}
|
|
18763
|
-
const
|
|
18721
|
+
const Uf = [
|
|
18764
18722
|
{ label: "建单配置", name: "editConfig" },
|
|
18765
18723
|
{ label: "数据分析", name: "dataAnalyze" },
|
|
18766
18724
|
{ label: "调优中心", name: "tuningCenter" }
|
|
18767
|
-
],
|
|
18725
|
+
], jf = {
|
|
18768
18726
|
editConfig: "benBenAIOrder",
|
|
18769
18727
|
dataAnalyze: void 0,
|
|
18770
18728
|
tuningCenter: "benBenAIOrder"
|
|
@@ -18775,7 +18733,7 @@ function Pe(e, t = "/app.html") {
|
|
|
18775
18733
|
function je(e, t) {
|
|
18776
18734
|
return e.endsWith(".html") ? e : e.startsWith("http") ? `${e}/${t}` : `/${t}`;
|
|
18777
18735
|
}
|
|
18778
|
-
function
|
|
18736
|
+
function Hf(e, t, l) {
|
|
18779
18737
|
const { appId: n, tableId: i, tableCode: s } = t;
|
|
18780
18738
|
return `${je(e, "app.html")}#/simpleOrderFun/${n}/${i}/${l}?tableCode=${s}`;
|
|
18781
18739
|
}
|
|
@@ -18783,20 +18741,20 @@ function rt(e, t, l) {
|
|
|
18783
18741
|
const { appId: n, tableId: i, tableCode: s, name: o } = t;
|
|
18784
18742
|
return `${e.endsWith(".html") || e.startsWith("http") ? e : "/agent.html"}#/settingCenter/aiCreateOrder/${l}?tableId=${i}&appId=${n}&tableCode=${s}&tableName=${encodeURIComponent(o || "")}&full=true&tableMode=true`;
|
|
18785
18743
|
}
|
|
18786
|
-
function
|
|
18744
|
+
function Kf(e, t, l) {
|
|
18787
18745
|
return `${e.endsWith(".html") || e.startsWith("http") ? e : "/agent.html"}#/simpleBrain/${l}?tableId=${t.tableId}&tableName=${encodeURIComponent(t.name || "")}`;
|
|
18788
18746
|
}
|
|
18789
|
-
function
|
|
18747
|
+
function Xf(e, t) {
|
|
18790
18748
|
const { appId: l, tableId: n } = t;
|
|
18791
18749
|
return `${je(e, "app.html")}#/simplePrintTemplate/${l}/${n}`;
|
|
18792
18750
|
}
|
|
18793
|
-
function
|
|
18751
|
+
function Jf(e, t, l = "batch") {
|
|
18794
18752
|
const { appId: n, tableId: i } = t;
|
|
18795
18753
|
return `${je(e, "app.html")}#/templateConfig/${n}/${i}/table/edit?type=${l === "single" ? "single" : "batch"}`;
|
|
18796
18754
|
}
|
|
18797
|
-
const
|
|
18755
|
+
const Gf = {
|
|
18798
18756
|
name: "SelectPrintTemplateDialog",
|
|
18799
|
-
components: { Plus:
|
|
18757
|
+
components: { Plus: Nf },
|
|
18800
18758
|
props: {
|
|
18801
18759
|
/** 表信息,需含 appId、tableId */
|
|
18802
18760
|
tableInfo: {
|
|
@@ -18885,11 +18843,11 @@ const qf = {
|
|
|
18885
18843
|
this.dialog.loading = !1, this.list = [], this.config = null, this.ids = [], this.isSingle = "single";
|
|
18886
18844
|
}
|
|
18887
18845
|
}
|
|
18888
|
-
},
|
|
18846
|
+
}, qf = { class: "select-print-template-dialog__title" }, Wf = {
|
|
18889
18847
|
key: 0,
|
|
18890
18848
|
class: "tasks"
|
|
18891
|
-
},
|
|
18892
|
-
function
|
|
18849
|
+
}, Yf = { class: "temp" };
|
|
18850
|
+
function Qf(e, t, l, n, i, s) {
|
|
18893
18851
|
const o = g("el-option"), u = g("Plus"), d = g("el-icon"), c = g("el-select"), h = g("el-button"), y = g("el-dialog");
|
|
18894
18852
|
return r(), I(y, {
|
|
18895
18853
|
modelValue: i.dialog.show,
|
|
@@ -18903,9 +18861,9 @@ function Zf(e, t, l, n, i, s) {
|
|
|
18903
18861
|
onClosed: s.resetState
|
|
18904
18862
|
}, {
|
|
18905
18863
|
header: f(() => [
|
|
18906
|
-
a("div",
|
|
18864
|
+
a("div", qf, [
|
|
18907
18865
|
t[5] || (t[5] = a("span", null, "选择打印模板", -1)),
|
|
18908
|
-
i.isSingle === "batch" ? (r(), p("span",
|
|
18866
|
+
i.isSingle === "batch" ? (r(), p("span", Wf, "选择了" + w(i.ids.length) + "条任务", 1)) : C("", !0)
|
|
18909
18867
|
])
|
|
18910
18868
|
]),
|
|
18911
18869
|
footer: f(() => [
|
|
@@ -18929,7 +18887,7 @@ function Zf(e, t, l, n, i, s) {
|
|
|
18929
18887
|
}, 8, ["loading"])
|
|
18930
18888
|
]),
|
|
18931
18889
|
default: f(() => [
|
|
18932
|
-
a("ul",
|
|
18890
|
+
a("ul", Yf, [
|
|
18933
18891
|
a("li", null, [
|
|
18934
18892
|
t[7] || (t[7] = a("label", null, "打印模板", -1)),
|
|
18935
18893
|
m(c, {
|
|
@@ -18969,9 +18927,9 @@ function Zf(e, t, l, n, i, s) {
|
|
|
18969
18927
|
_: 1
|
|
18970
18928
|
}, 8, ["modelValue", "onClosed"]);
|
|
18971
18929
|
}
|
|
18972
|
-
const
|
|
18930
|
+
const Zf = /* @__PURE__ */ _(Gf, [["render", Qf], ["__scopeId", "data-v-2ff94150"]]), $f = "268625922244", em = {
|
|
18973
18931
|
name: "BnWorkSettingDrop",
|
|
18974
|
-
components: { SelectPrintTemplateDialog:
|
|
18932
|
+
components: { SelectPrintTemplateDialog: Zf },
|
|
18975
18933
|
props: {
|
|
18976
18934
|
/** 表完整信息,至少含 name、appId、tableId、tableCode、advanced */
|
|
18977
18935
|
tableInfo: {
|
|
@@ -18997,7 +18955,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
18997
18955
|
emits: ["close", "custom-click"],
|
|
18998
18956
|
data() {
|
|
18999
18957
|
return {
|
|
19000
|
-
ArrowLeft:
|
|
18958
|
+
ArrowLeft: Rf,
|
|
19001
18959
|
/** 是否展示全屏设置面板 */
|
|
19002
18960
|
show: !1,
|
|
19003
18961
|
/** 当前 iframe 地址 */
|
|
@@ -19008,7 +18966,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19008
18966
|
isBenBenAIOrder: !1,
|
|
19009
18967
|
/** 犇犇AI建单当前 Tab */
|
|
19010
18968
|
activeTab: "editConfig",
|
|
19011
|
-
benBenTabs:
|
|
18969
|
+
benBenTabs: Uf,
|
|
19012
18970
|
/** AI 建单开关状态:0 关闭 / 1 开启 */
|
|
19013
18971
|
optStatus: 0,
|
|
19014
18972
|
/** 是否展示 AI 建单开关(接口返回有效配置后才为 true) */
|
|
@@ -19023,7 +18981,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19023
18981
|
/** 根据 tableInfo.advanced 各 enable 字段过滤出可见菜单项 */
|
|
19024
18982
|
visibleOptions() {
|
|
19025
18983
|
var e;
|
|
19026
|
-
return
|
|
18984
|
+
return zf((e = this.tableInfo) == null ? void 0 : e.advanced);
|
|
19027
18985
|
},
|
|
19028
18986
|
/** 是否展示下拉菜单(内置项或自定义项任一存在即可) */
|
|
19029
18987
|
hasDropdownOptions() {
|
|
@@ -19032,7 +18990,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19032
18990
|
/** 数据分析 Tab 使用的大脑 ID */
|
|
19033
18991
|
brainId() {
|
|
19034
18992
|
var e, t, l;
|
|
19035
|
-
return ((l = (t = (e = this.tableInfo) == null ? void 0 : e.advanced) == null ? void 0 : t.benBenAIOrder) == null ? void 0 : l.brainId) ||
|
|
18993
|
+
return ((l = (t = (e = this.tableInfo) == null ? void 0 : e.advanced) == null ? void 0 : t.benBenAIOrder) == null ? void 0 : l.brainId) || $f;
|
|
19036
18994
|
}
|
|
19037
18995
|
},
|
|
19038
18996
|
methods: {
|
|
@@ -19042,7 +19000,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19042
19000
|
*/
|
|
19043
19001
|
openSetting(e) {
|
|
19044
19002
|
const t = Rt.find((n) => n.type === e), l = (t == null ? void 0 : t.routeType) || e;
|
|
19045
|
-
this.localUrl = Pe(e), this.isTemplateConfig = !1, e === "benBenAIOrder" ? (this.isBenBenAIOrder = !0, this.activeTab = "editConfig", this.url = rt(this.localUrl, this.tableInfo, "editConfig"), this.loadBenBenAIOrderConfig()) : e === "simplePrintTemplate" ? (this.isBenBenAIOrder = !1, this.url =
|
|
19003
|
+
this.localUrl = Pe(e), this.isTemplateConfig = !1, e === "benBenAIOrder" ? (this.isBenBenAIOrder = !0, this.activeTab = "editConfig", this.url = rt(this.localUrl, this.tableInfo, "editConfig"), this.loadBenBenAIOrderConfig()) : e === "simplePrintTemplate" ? (this.isBenBenAIOrder = !1, this.url = Xf(this.localUrl, this.tableInfo)) : (this.isBenBenAIOrder = !1, this.url = Hf(this.localUrl, this.tableInfo, l)), this.$nextTick(() => {
|
|
19046
19004
|
this.show = !0;
|
|
19047
19005
|
});
|
|
19048
19006
|
},
|
|
@@ -19051,7 +19009,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19051
19009
|
* @param {{ isSingle?: 'single'|'batch' }} payload
|
|
19052
19010
|
*/
|
|
19053
19011
|
openTemplateConfig(e = {}) {
|
|
19054
|
-
this.isBenBenAIOrder = !1, this.isTemplateConfig = !0, this.localUrl = Pe("templateConfig"), this.url =
|
|
19012
|
+
this.isBenBenAIOrder = !1, this.isTemplateConfig = !0, this.localUrl = Pe("templateConfig"), this.url = Jf(this.localUrl, this.tableInfo, e.isSingle), this.$nextTick(() => {
|
|
19055
19013
|
this.show = !0;
|
|
19056
19014
|
});
|
|
19057
19015
|
},
|
|
@@ -19080,7 +19038,7 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19080
19038
|
},
|
|
19081
19039
|
/** 犇犇AI建单 Tab 切换,各 Tab 对应不同 iframe 地址 */
|
|
19082
19040
|
handleBenBenTabChange(e) {
|
|
19083
|
-
this.isBenBenAIOrder && (this.localUrl = Pe(
|
|
19041
|
+
this.isBenBenAIOrder && (this.localUrl = Pe(jf[e]), e === "dataAnalyze" ? this.url = Kf(this.localUrl, this.tableInfo, this.brainId) : (e === "editConfig" && this.loadBenBenAIOrderConfig(), this.url = rt(this.localUrl, this.tableInfo, e)));
|
|
19084
19042
|
},
|
|
19085
19043
|
/** 获取犇犇AI建单配置,决定是否展示开关及当前开关状态 */
|
|
19086
19044
|
loadBenBenAIOrderConfig() {
|
|
@@ -19110,13 +19068,13 @@ const $f = /* @__PURE__ */ _(qf, [["render", Zf], ["__scopeId", "data-v-2ff94150
|
|
|
19110
19068
|
this.show = !1, this.url = "", this.localUrl = "", this.isBenBenAIOrder = !1, this.isTemplateConfig = !1, this.activeTab = "editConfig", this.isShowSwitch = !1, this.optStatus = 0, this.benbenAIOrderConfig = {}, this.$emit("close");
|
|
19111
19069
|
}
|
|
19112
19070
|
}
|
|
19113
|
-
},
|
|
19071
|
+
}, tm = { class: "BnWorkSettingDrop" }, lm = { class: "BnWorkSettingDrop-title w-flex-center w-cursor-pointer" }, im = {
|
|
19114
19072
|
key: 1,
|
|
19115
19073
|
class: "BnWorkSettingDrop-title w-flex-center"
|
|
19116
|
-
},
|
|
19117
|
-
function
|
|
19074
|
+
}, sm = { class: "BnWorkSettingDrop-panel-header-left" }, nm = { class: "text-large font-600 mr-3" }, om = ["src"];
|
|
19075
|
+
function am(e, t, l, n, i, s) {
|
|
19118
19076
|
const o = g("el-dropdown-item"), u = g("el-dropdown-menu"), d = g("el-dropdown"), c = g("el-page-header"), h = g("el-tab-pane"), y = g("el-tabs"), b = g("el-switch"), k = g("SelectPrintTemplateDialog");
|
|
19119
|
-
return r(), p("div",
|
|
19077
|
+
return r(), p("div", tm, [
|
|
19120
19078
|
s.hasDropdownOptions ? (r(), I(d, {
|
|
19121
19079
|
key: 0,
|
|
19122
19080
|
trigger: "click",
|
|
@@ -19155,7 +19113,7 @@ function rm(e, t, l, n, i, s) {
|
|
|
19155
19113
|
})
|
|
19156
19114
|
]),
|
|
19157
19115
|
default: f(() => [
|
|
19158
|
-
a("div",
|
|
19116
|
+
a("div", lm, [
|
|
19159
19117
|
N(e.$slots, "default", {}, () => [
|
|
19160
19118
|
T(w(l.tableInfo.name), 1)
|
|
19161
19119
|
], !0),
|
|
@@ -19163,7 +19121,7 @@ function rm(e, t, l, n, i, s) {
|
|
|
19163
19121
|
])
|
|
19164
19122
|
]),
|
|
19165
19123
|
_: 3
|
|
19166
|
-
})) : (r(), p("div",
|
|
19124
|
+
})) : (r(), p("div", im, [
|
|
19167
19125
|
N(e.$slots, "default", {}, () => [
|
|
19168
19126
|
T(w(l.tableInfo.name), 1)
|
|
19169
19127
|
], !0)
|
|
@@ -19175,13 +19133,13 @@ function rm(e, t, l, n, i, s) {
|
|
|
19175
19133
|
a("div", {
|
|
19176
19134
|
class: A(["BnWorkSettingDrop-panel-header", { "BnWorkSettingDrop-panel-header--print": i.isTemplateConfig }])
|
|
19177
19135
|
}, [
|
|
19178
|
-
a("div",
|
|
19136
|
+
a("div", sm, [
|
|
19179
19137
|
m(c, {
|
|
19180
19138
|
icon: i.ArrowLeft,
|
|
19181
19139
|
onBack: s.closeSetting
|
|
19182
19140
|
}, {
|
|
19183
19141
|
content: f(() => [
|
|
19184
|
-
a("span",
|
|
19142
|
+
a("span", nm, w(l.tableInfo.name), 1)
|
|
19185
19143
|
]),
|
|
19186
19144
|
_: 1
|
|
19187
19145
|
}, 8, ["icon", "onBack"]),
|
|
@@ -19218,7 +19176,7 @@ function rm(e, t, l, n, i, s) {
|
|
|
19218
19176
|
key: i.url,
|
|
19219
19177
|
sandbox: "allow-scripts allow-same-origin allow-downloads allow-forms allow-popups allow-top-navigation allow-pointer-lock allow-modals allow-presentation allow-popups-to-escape-sandbox allow-orientation-lock allow-top-navigation-by-user-activation",
|
|
19220
19178
|
src: i.url
|
|
19221
|
-
}, null, 8,
|
|
19179
|
+
}, null, 8, om))
|
|
19222
19180
|
], 2)) : C("", !0),
|
|
19223
19181
|
m(k, {
|
|
19224
19182
|
ref: "selectPrintTemplate",
|
|
@@ -19229,15 +19187,15 @@ function rm(e, t, l, n, i, s) {
|
|
|
19229
19187
|
}, null, 8, ["table-info", "post-func", "onTemplateConfig"])
|
|
19230
19188
|
]);
|
|
19231
19189
|
}
|
|
19232
|
-
const
|
|
19190
|
+
const rm = /* @__PURE__ */ _(em, [["render", am], ["__scopeId", "data-v-7b6f3024"]]), dm = B(() => import("./index-CwNWuUvN.js")), um = B(() => import("./index-DGc7SKTr.js")), cm = B(() => import("./index-tr6iiidO.js")), hm = B(() => import("./index-BtR1hlH5.js")), pm = B(() => import("./index-DBQyyEWu.js")), fm = B(() => import("./index-BHRD5ld7.js")), mm = B(() => import("./index-DJI7uQRK.js")), gm = B(() => import("./index-BQU70HBe.js")), ym = B(() => import("./index-CqSSr3tp.js")), bm = B(() => import("./chooseIPaasData-7gMgBDmh.js")), vm = B(() => import("./index-CZ_5-ylF.js")), Cm = B(() => import("./index-BaceRyLe.js")), km = B(() => import("./index-B_Vd0wHA.js")), Im = B(() => Promise.resolve().then(() => ka)), wm = {
|
|
19233
19191
|
install: (e) => {
|
|
19234
|
-
e.component("BnAddress", qt), e.component("BnMenus", pl), e.component("BnSelect", Il), e.component("BnVirtPopover", xl), e.component("BnAdvancedFilter", di), e.component("BnFilterView", gi), e.component("BnDatePicker", vi), e.component("BnCheck", wi), e.component("BnOrderCard", ls), e.component("BnDrop", Is), e.component("BnFileView", Js), e.component("BnInpNum", Ws), e.component("BnRadio", $s), e.component("BnRelation", ln), e.component("BnCondition", yn), e.component("BnSmartForm", Ka), e.component("BnBatchForm", Pt), e.component("BnBatchFormDialog", cr), e.component("BnStringForm",
|
|
19192
|
+
e.component("BnAddress", qt), e.component("BnMenus", pl), e.component("BnSelect", Il), e.component("BnVirtPopover", xl), e.component("BnAdvancedFilter", di), e.component("BnFilterView", gi), e.component("BnDatePicker", vi), e.component("BnCheck", wi), e.component("BnOrderCard", ls), e.component("BnDrop", Is), e.component("BnFileView", Js), e.component("BnInpNum", Ws), e.component("BnRadio", $s), e.component("BnRelation", ln), e.component("BnCondition", yn), e.component("BnSmartForm", Ka), e.component("BnBatchForm", Pt), e.component("BnBatchFormDialog", cr), e.component("BnStringForm", dm), e.component("BnNumberForm", um), e.component("BnSelectForm", cm), e.component("BnRadioForm", hm), e.component("BnCheckboxForm", pm), e.component("BnDateForm", fm), e.component("BnDateDualForm", mm), e.component("BnFileForm", gm), e.component("BnChildrenForm", ym), e.component("BnChooseIPaasData", bm), e.component("BnAddressForm", vm), e.component("BnReceiveForm", Cm), e.component("BnRelationForm", km), e.component("BnTaskAssociation", Im), e.component("BnFunExpr", Fr), e.component("BnColumnConfig", Dd), e.component("BnColumnConfigDialog", _t), e.component("BnFilterOption", Md), e.component("BnImportOrder", Vt), e.component("BnImportTemplate", ec), e.component("BnExportOrder", Dc), e.component("BnOrderShare", Zc), e.component("BnOrderDetail", Lt), e.component("BnTaskDetailsWrap", Ft), e.component("BnEmptyTip", Lp), e.component("BnWebLog", Ff), e.component("BnCascader", Gp), e.component("BnCascaderPanel", hf), e.component("BnWorkSettingDrop", rm);
|
|
19235
19193
|
}
|
|
19236
19194
|
};
|
|
19237
|
-
typeof window < "u" && window.Vue && window.Vue.use(
|
|
19195
|
+
typeof window < "u" && window.Vue && window.Vue.use(wm);
|
|
19238
19196
|
export {
|
|
19239
|
-
|
|
19240
|
-
|
|
19197
|
+
Ff as $,
|
|
19198
|
+
gm as A,
|
|
19241
19199
|
qt as B,
|
|
19242
19200
|
Js as C,
|
|
19243
19201
|
Md as D,
|
|
@@ -19247,65 +19205,65 @@ export {
|
|
|
19247
19205
|
ec as H,
|
|
19248
19206
|
Ws as I,
|
|
19249
19207
|
pl as J,
|
|
19250
|
-
|
|
19208
|
+
um as K,
|
|
19251
19209
|
ls as L,
|
|
19252
19210
|
Lt as M,
|
|
19253
19211
|
Zc as N,
|
|
19254
19212
|
$s as O,
|
|
19255
|
-
|
|
19256
|
-
|
|
19213
|
+
hm as P,
|
|
19214
|
+
Cm as Q,
|
|
19257
19215
|
ln as R,
|
|
19258
|
-
|
|
19216
|
+
km as S,
|
|
19259
19217
|
Il as T,
|
|
19260
|
-
|
|
19218
|
+
cm as U,
|
|
19261
19219
|
Ka as V,
|
|
19262
|
-
|
|
19263
|
-
|
|
19220
|
+
dm as W,
|
|
19221
|
+
Im as X,
|
|
19264
19222
|
Ft as Y,
|
|
19265
19223
|
xl as Z,
|
|
19266
19224
|
_,
|
|
19267
19225
|
Xo as a,
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
|
|
19273
|
-
|
|
19226
|
+
rm as a0,
|
|
19227
|
+
_m as a1,
|
|
19228
|
+
Mm as a2,
|
|
19229
|
+
Nm as a3,
|
|
19230
|
+
wm as a4,
|
|
19231
|
+
Pm as a5,
|
|
19274
19232
|
Tt as a6,
|
|
19275
|
-
|
|
19276
|
-
|
|
19277
|
-
|
|
19278
|
-
|
|
19279
|
-
|
|
19233
|
+
Lm as a7,
|
|
19234
|
+
Om as a8,
|
|
19235
|
+
Rm as a9,
|
|
19236
|
+
Em as aa,
|
|
19237
|
+
Vm as ab,
|
|
19280
19238
|
wt as ac,
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19239
|
+
Dm as ad,
|
|
19240
|
+
Am as ae,
|
|
19241
|
+
Fm as af,
|
|
19284
19242
|
Jo as ag,
|
|
19285
|
-
|
|
19243
|
+
zm as ah,
|
|
19286
19244
|
ke as b,
|
|
19287
19245
|
Er as c,
|
|
19288
|
-
|
|
19246
|
+
vm as d,
|
|
19289
19247
|
di as e,
|
|
19290
19248
|
Pt as f,
|
|
19291
19249
|
Fe as g,
|
|
19292
19250
|
cr as h,
|
|
19293
19251
|
_e as i,
|
|
19294
|
-
|
|
19295
|
-
|
|
19252
|
+
Gp as j,
|
|
19253
|
+
hf as k,
|
|
19296
19254
|
wi as l,
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19255
|
+
pm as m,
|
|
19256
|
+
ym as n,
|
|
19257
|
+
bm as o,
|
|
19258
|
+
Sm as p,
|
|
19301
19259
|
Dd as q,
|
|
19302
19260
|
_t as r,
|
|
19303
19261
|
yn as s,
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
19262
|
+
Bm as t,
|
|
19263
|
+
mm as u,
|
|
19264
|
+
fm as v,
|
|
19307
19265
|
vi as w,
|
|
19308
19266
|
Is as x,
|
|
19309
|
-
|
|
19267
|
+
Lp as y,
|
|
19310
19268
|
Dc as z
|
|
19311
19269
|
};
|