@bytenew/bn-bus-ui 1.1.461 → 1.1.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +134 -0
- package/package.json +20 -4
- package/packages/BnAddress/index.vue +141 -0
- package/packages/BnAddressParse/index.vue +75 -0
- package/packages/BnAdvancedFilter/BnFilterView.vue +145 -0
- package/packages/BnAdvancedFilter/index.vue +345 -0
- package/packages/BnAdvancedFilter/util.js +171 -0
- package/packages/BnCascader/BnCascader.vue +543 -0
- package/packages/BnCascader/BnCascaderPanel.vue +1331 -0
- package/packages/BnCascader/cascaderDisplay.js +102 -0
- package/packages/BnCheck/BnCheck.vue +253 -0
- package/packages/BnColumnConfig/columnConfigDialog.vue +134 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTable.vue +143 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTableSearch.vue +314 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/index.vue +243 -0
- package/packages/BnColumnConfig/component/defaultSet/defaultSet.vue +114 -0
- package/packages/BnColumnConfig/component/defaultSet/stringDefault.vue +210 -0
- package/packages/BnColumnConfig/component/funcExprDialog/funcExprDialog.vue +126 -0
- package/packages/BnColumnConfig/component/packageFilter/index.vue +141 -0
- package/packages/BnColumnConfig/component/paraExplainSet/index.vue +156 -0
- package/packages/BnColumnConfig/component/setOption/setOption.vue +321 -0
- package/packages/BnColumnConfig/component/setRelationOption/ConditionList.vue +277 -0
- package/packages/BnColumnConfig/component/setRelationOption/LevelHeader.vue +144 -0
- package/packages/BnColumnConfig/component/setRelationOption/setRelationOption.vue +642 -0
- package/packages/BnColumnConfig/data.js +129 -0
- package/packages/BnColumnConfig/index.scss +23 -0
- package/packages/BnColumnConfig/index.vue +309 -0
- package/packages/BnCondVal/BnCondVal.vue +112 -0
- package/packages/BnCondVal/itemVal/dateRegVal.vue +39 -0
- package/packages/BnCondVal/itemVal/dateVal.vue +39 -0
- package/packages/BnCondVal/itemVal/numRegVal.vue +67 -0
- package/packages/BnCondVal/itemVal/numVal.vue +44 -0
- package/packages/BnCondVal/itemVal/relationVal.vue +73 -0
- package/packages/BnCondVal/itemVal/selectColumnVal.vue +58 -0
- package/packages/BnCondVal/itemVal/selectVal.vue +59 -0
- package/packages/BnCondVal/itemVal/stringVal.vue +156 -0
- package/packages/BnCondition/index.vue +551 -0
- package/packages/BnCondition/util.js +232 -0
- package/packages/BnDatePicker/BnDatePicker.vue +194 -0
- package/packages/BnDrop/BnDrop.vue +917 -0
- package/packages/BnEmptyTip/BnEmptyTip.vue +107 -0
- package/packages/BnExportOrder/BnExportOrder.vue +241 -0
- package/packages/BnExportOrder/validatorCode.vue +94 -0
- package/packages/BnFileView/BnFileView.vue +271 -0
- package/packages/BnFileView/FileDetail.vue +125 -0
- package/packages/BnFileView/videoPreview.vue +70 -0
- package/packages/BnFilterOption/BnFilterOption.vue +160 -0
- package/packages/BnFunExpr/BnFunExpr.vue +608 -0
- package/packages/BnImportOrder/BnImportOrder.vue +323 -0
- package/packages/BnImportTemplate/BnImportTemplate.vue +866 -0
- package/packages/BnImportTemplate/assets/merge_tip_img.png +0 -0
- package/packages/BnImportTemplate/assets/sheet_tip.png +0 -0
- package/packages/BnImportTemplate/assets/xls.png +0 -0
- package/packages/BnImportTemplate/components/ImportTemplateTrigger.vue +198 -0
- package/packages/BnImportTemplate/components/TemplateEditDialog.vue +340 -0
- package/packages/BnImportTemplate/components/TemplateFieldsConfig.vue +401 -0
- package/packages/BnImportTemplate/components/TemplateListDialog.vue +297 -0
- package/packages/BnInpNum/BnInpNum.vue +165 -0
- package/packages/BnMenus/BnMenus.vue +502 -0
- package/packages/BnMenus/MenuItem.vue +321 -0
- package/packages/BnOrderCard/BnOrderCard.vue +389 -0
- package/packages/BnOrderCard/orderRemark.vue +178 -0
- package/packages/BnOrderCard/util.js +94 -0
- package/packages/BnOrderDetail/BnOrderDetail.vue +338 -0
- package/packages/BnOrderDetail/filterLogByUser.vue +108 -0
- package/packages/BnOrderDetail/orderLogs.vue +53 -0
- package/packages/BnOrderDetail/showSubForm/index.vue +41 -0
- package/packages/BnOrderDetail/showSubForm/showChildTable.vue +61 -0
- package/packages/BnOrderDetail/showSubForm/showTimeLine.vue +131 -0
- package/packages/BnOrderDetail/showSubForm/tableCellCopy.vue +84 -0
- package/packages/BnOrderShare/index.vue +378 -0
- package/packages/BnOrderShare/shareUrlInp.vue +54 -0
- package/packages/BnRadio/BnRadio.vue +181 -0
- package/packages/BnRelation/BnRelation.vue +120 -0
- package/packages/BnSelect/BnSelect.vue +485 -0
- package/packages/BnSmartForm/BnBatchForm.vue +334 -0
- package/packages/BnSmartForm/BnBatchFormDialog.vue +423 -0
- package/packages/BnSmartForm/BnSmartElf/elfLog/index.vue +57 -0
- package/packages/BnSmartForm/BnSmartElf/index.vue +95 -0
- package/packages/BnSmartForm/BnSmartFormPsychic.js +629 -0
- package/packages/BnSmartForm/BnSmartFormUtil.js +524 -0
- package/packages/BnSmartForm/addressForm/index.vue +73 -0
- package/packages/BnSmartForm/checkboxForm/index.vue +99 -0
- package/packages/BnSmartForm/childrenForm/childFormFile.vue +237 -0
- package/packages/BnSmartForm/childrenForm/childrenFormBody.vue +260 -0
- package/packages/BnSmartForm/childrenForm/index.vue +110 -0
- package/packages/BnSmartForm/childrenForm/searchInventory.vue +115 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseAssocTable.vue +451 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseChildGood.vue +229 -0
- package/packages/BnSmartForm/chooseAssocTable/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/chooseChildOrder/chooseChildOrder.vue +158 -0
- package/packages/BnSmartForm/chooseIPaasData/chooseIPaasData.vue +307 -0
- package/packages/BnSmartForm/chooseIPaasData/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/choosePackage/choosePackage.vue +361 -0
- package/packages/BnSmartForm/dateDualForm/index.vue +37 -0
- package/packages/BnSmartForm/dateForm/index.vue +38 -0
- package/packages/BnSmartForm/fileForm/fileFormData.js +50 -0
- package/packages/BnSmartForm/fileForm/index.vue +240 -0
- package/packages/BnSmartForm/formItemFooter/formItemFooter.vue +38 -0
- package/packages/BnSmartForm/formItemTop/formItemTop.vue +42 -0
- package/packages/BnSmartForm/index.vue +1201 -0
- package/packages/BnSmartForm/numberForm/index.vue +63 -0
- package/packages/BnSmartForm/radioForm/index.vue +72 -0
- package/packages/BnSmartForm/receiveForm/index.vue +112 -0
- package/packages/BnSmartForm/relationForm/index.vue +82 -0
- package/packages/BnSmartForm/scoreForm/index.vue +39 -0
- package/packages/BnSmartForm/selectForm/index.vue +55 -0
- package/packages/BnSmartForm/showValForm/index.vue +42 -0
- package/packages/BnSmartForm/showValForm/showValFormTable.vue +104 -0
- package/packages/BnSmartForm/smartFormsCommon.scss +43 -0
- package/packages/BnSmartForm/stringForm/index.vue +170 -0
- package/packages/BnVirtPopover/index.vue +319 -0
- package/packages/BnWebLog/BnWebLog.vue +140 -0
- package/packages/BnWorkSettingDrop/advancedOptions.js +112 -0
- package/packages/BnWorkSettingDrop/benBenAIUtil.js +89 -0
- package/packages/BnWorkSettingDrop/index.vue +292 -0
- package/packages/font/iconfont.css +243 -0
- package/packages/font/iconfont.ttf +0 -0
- package/packages/font/iconfont.woff +0 -0
- package/packages/font/iconfont.woff2 +0 -0
- package/utils/addressParse-old.js +645 -0
- package/utils/addressParse.js +735 -0
- package/utils/config.js +68 -0
- package/utils/index.js +1171 -0
- package/dist/assocTableSearch-C14i_zJO.js +0 -349
- package/dist/assocTableSearch.css +0 -1
- package/dist/bn-bus-ui.es.js +0 -65
- package/dist/bn-bus-ui.umd.js +0 -49
- package/dist/chooseIPaasData-Cl_5qkFA.js +0 -391
- package/dist/chooseIPaasData.css +0 -1
- package/dist/defaultSet-I4xpf8a4.js +0 -297
- package/dist/defaultSet.css +0 -1
- package/dist/fileFormData-D_Q1vylE.js +0 -53
- package/dist/formItemFooter-CTA7rDtV.js +0 -108
- package/dist/formItemFooter.css +0 -1
- package/dist/funcExprDialog-Cm5BiRM3.js +0 -139
- package/dist/funcExprDialog.css +0 -1
- package/dist/index-B6b4uj8v.js +0 -51
- package/dist/index-BWdkDTbz.js +0 -109
- package/dist/index-BdZ1zOap.js +0 -89
- package/dist/index-BdzNjjMC.js +0 -64
- package/dist/index-BfpZqab2.js +0 -66
- package/dist/index-BmkiB4hr.js +0 -66
- package/dist/index-Br1sqCoo.js +0 -58
- package/dist/index-C9qrl-yc.js +0 -183
- package/dist/index-CXFJXCn5.js +0 -746
- package/dist/index-DF114jZq.js +0 -135
- package/dist/index-DFPfZ_Il.js +0 -178
- package/dist/index-DSEtu7TN.js +0 -44
- package/dist/index-Did0UUWV.js +0 -221
- package/dist/index-DrPj-tmI.js +0 -45
- package/dist/index-DzDf9s2W.js +0 -89
- package/dist/index-LnjudNEI.js +0 -118
- package/dist/index-ObCfCmDT.js +0 -45
- package/dist/index.css +0 -1
- package/dist/index2.css +0 -1
- package/dist/index3.css +0 -1
- package/dist/index4.css +0 -1
- package/dist/index5.css +0 -1
- package/dist/index6.css +0 -1
- package/dist/index7.css +0 -1
- package/dist/install-C-scqkds.js +0 -23103
- package/dist/install.css +0 -1
- package/dist/setOption-CSnWzOny.js +0 -329
- package/dist/setOption.css +0 -1
- package/dist/setRelationOption-CJcHdfaa.js +0 -5217
- package/dist/setRelationOption.css +0 -1
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _ as R, ab as T } from "./install-C-scqkds.js";
|
|
3
|
-
import { resolveComponent as b, resolveDirective as I, openBlock as h, createBlock as _, withCtx as c, withDirectives as V, createElementBlock as v, createElementVNode as t, createVNode as i, createTextVNode as D, Fragment as x, renderList as U, createCommentVNode as k } from "vue";
|
|
4
|
-
const F = {
|
|
5
|
-
id: "",
|
|
6
|
-
//规则id
|
|
7
|
-
type: 13,
|
|
8
|
-
//规则类型
|
|
9
|
-
status: 1,
|
|
10
|
-
//开启
|
|
11
|
-
ruleSense: "",
|
|
12
|
-
//组件id
|
|
13
|
-
subType: 0,
|
|
14
|
-
// 筛选出单条数据时是否自动填充 1是 0否
|
|
15
|
-
dataForceFill: 0,
|
|
16
|
-
// 数据强制填充
|
|
17
|
-
dataForceClear: 0,
|
|
18
|
-
// 子表单筛选条件查询无数据清空 1:是 0:否 没有查询到数据,会重置筛选结果
|
|
19
|
-
columnRules: []
|
|
20
|
-
}, S = {
|
|
21
|
-
name: "assocTableSearch",
|
|
22
|
-
props: {
|
|
23
|
-
columnData: {
|
|
24
|
-
type: Object,
|
|
25
|
-
default: () => ({})
|
|
26
|
-
},
|
|
27
|
-
columnList: {
|
|
28
|
-
type: Object,
|
|
29
|
-
default: () => ({})
|
|
30
|
-
},
|
|
31
|
-
postFunc: Function,
|
|
32
|
-
extendPost: Object
|
|
33
|
-
},
|
|
34
|
-
data() {
|
|
35
|
-
return {
|
|
36
|
-
visible: !1,
|
|
37
|
-
rulePost: {
|
|
38
|
-
appId: "",
|
|
39
|
-
tableId: "",
|
|
40
|
-
columnRuleList: [
|
|
41
|
-
{
|
|
42
|
-
id: "",
|
|
43
|
-
//规则id
|
|
44
|
-
type: 13,
|
|
45
|
-
//规则类型
|
|
46
|
-
status: 1,
|
|
47
|
-
//开启
|
|
48
|
-
ruleSense: "",
|
|
49
|
-
//组件id
|
|
50
|
-
subType: 0,
|
|
51
|
-
// 筛选出单条数据时是否自动填充 1是 0否
|
|
52
|
-
dataForceFill: 0,
|
|
53
|
-
// 数据强制填充
|
|
54
|
-
dataForceClear: 0,
|
|
55
|
-
// 子表单筛选条件查询无数据清空 1:是 0:否 没有查询到数据,会重置筛选结果
|
|
56
|
-
columnRules: []
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
ruleData: w(F),
|
|
61
|
-
loading: !1,
|
|
62
|
-
// 关联表的组件列表
|
|
63
|
-
assocTableColumns: [],
|
|
64
|
-
// 规则中,选择其他组件时,使用当前子表单所在的表的组件
|
|
65
|
-
otherColumns: []
|
|
66
|
-
};
|
|
67
|
-
},
|
|
68
|
-
methods: {
|
|
69
|
-
async open() {
|
|
70
|
-
this.ruleData = w(F), this.ruleData.ruleSense = this.columnData.id, this.visible = !0, this.loading = !0, this.otherColumns = T(this.columnList), await this.getRuleData(), this.assocTableColumns.length == 0 && await this.getComList(), this.loading = !1;
|
|
71
|
-
},
|
|
72
|
-
/**
|
|
73
|
-
* 获取表下的组件
|
|
74
|
-
* */
|
|
75
|
-
async getComList() {
|
|
76
|
-
let s = await this.postFunc(`/biztable/definition/table?tableCode=${this.columnData.insideDataSourceInfo.tableCode}&columns=1`, null, "get");
|
|
77
|
-
!s.code && s.data && (this.assocTableColumns = T(s.data.columns, s.data.appId, s.data.tableId));
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* 获取规则
|
|
81
|
-
* */
|
|
82
|
-
async getRuleData() {
|
|
83
|
-
var e;
|
|
84
|
-
let s = await this.postFunc("/v2/columnRule/getColumnRule", {
|
|
85
|
-
appId: this.extendPost.appId,
|
|
86
|
-
projectId: this.extendPost.tableId,
|
|
87
|
-
ruleSense: this.columnData.id,
|
|
88
|
-
type: 13
|
|
89
|
-
});
|
|
90
|
-
if (!s.code && s.data && ((e = s.data.columnRuleList) != null && e.length)) {
|
|
91
|
-
let r = s.data.columnRuleList[0] || {};
|
|
92
|
-
this.ruleData = {
|
|
93
|
-
id: r.id,
|
|
94
|
-
//规则id
|
|
95
|
-
type: 13,
|
|
96
|
-
//规则类型
|
|
97
|
-
status: 1,
|
|
98
|
-
//开启
|
|
99
|
-
ruleSense: r.ruleSense,
|
|
100
|
-
//组件id
|
|
101
|
-
subType: r.subType,
|
|
102
|
-
// 筛选出单条数据时是否自动填充 1是 0否
|
|
103
|
-
dataForceFill: r.dataForceFill,
|
|
104
|
-
// 数据强制填充
|
|
105
|
-
dataForceClear: r.dataForceClear,
|
|
106
|
-
// 子表单筛选条件查询无数据清空 1:是 0:否 没有查询到数据,会重置筛选结果
|
|
107
|
-
columnRules: r.columnRules || []
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
/**
|
|
112
|
-
* 添加规则
|
|
113
|
-
* */
|
|
114
|
-
addRule() {
|
|
115
|
-
this.ruleData.columnRules.length >= 10 ? (this.$message.closeAll(), this.$message.warning("最多只能添加十条规则")) : this.ruleData.columnRules.push({
|
|
116
|
-
columnCode: "",
|
|
117
|
-
parentCode: "",
|
|
118
|
-
id: "",
|
|
119
|
-
// 组件Id
|
|
120
|
-
behaviorType: "",
|
|
121
|
-
// 组件类型
|
|
122
|
-
searchType: "",
|
|
123
|
-
//比较类型
|
|
124
|
-
parentId: "",
|
|
125
|
-
//当是子表单组件时,这里写子表单的组件id
|
|
126
|
-
toColumnType: "",
|
|
127
|
-
//对比组件类型 0自定义填写 1.其他组件 2.当前组件选项
|
|
128
|
-
value: ""
|
|
129
|
-
// 匹配值,
|
|
130
|
-
});
|
|
131
|
-
},
|
|
132
|
-
/**
|
|
133
|
-
* 保存规则
|
|
134
|
-
* */
|
|
135
|
-
saveRule() {
|
|
136
|
-
this.loading = !0;
|
|
137
|
-
const s = ["9", "10", "14", "15"], e = "0", r = 10, C = (o) => !s.includes(o), l = (o) => !o || typeof o == "string" && (o === "{}" || o === "[]"), g = (o) => {
|
|
138
|
-
const { toColumnType: n, searchType: a, behaviorType: f, value: u } = o;
|
|
139
|
-
return f === r ? typeof u == "object" ? JSON.stringify(u) : u : C(a) && typeof u == "object" ? JSON.stringify(u) : u;
|
|
140
|
-
};
|
|
141
|
-
let d = "", y = [], p = w(this.ruleData.columnRules);
|
|
142
|
-
for (let o = 0; o < p.length; o++) {
|
|
143
|
-
let n = p[o], a = o + 1;
|
|
144
|
-
if (!n.id || !n.searchType || !n.toColumnType) {
|
|
145
|
-
d = `请设置第${a}个条件选项不能为空`;
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
if (C(n.searchType) && l(n.value)) {
|
|
149
|
-
d = `请设置${n.name || "第" + a + "个条件"}组件的值`;
|
|
150
|
-
break;
|
|
151
|
-
}
|
|
152
|
-
n.value = g(n), y.push(n);
|
|
153
|
-
}
|
|
154
|
-
if (d)
|
|
155
|
-
return this.$message.warning(d), this.loading = !1, !1;
|
|
156
|
-
let m = {
|
|
157
|
-
projectId: this.extendPost.tableId,
|
|
158
|
-
// 工作表ID
|
|
159
|
-
appId: this.extendPost.appId,
|
|
160
|
-
// 小程序ID
|
|
161
|
-
columnRuleList: JSON.stringify([{
|
|
162
|
-
...this.ruleData,
|
|
163
|
-
columnRules: JSON.stringify(y)
|
|
164
|
-
}])
|
|
165
|
-
};
|
|
166
|
-
this.postFunc("/v2/columnRule/operationColumnRule", m).then((o) => {
|
|
167
|
-
this.loading = !1, o.code || (this.columnData.extraInfo.subSearchColumns = [], this.columnData.extraInfo.dataForceFill = this.ruleData.dataForceFill, this.columnData.extraInfo.dataForceClear = this.ruleData.dataForceClear, this.$message.success("保存成功"), this.visible = !1);
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}, L = { class: "assocTableSearch" }, O = { class: "w-flex-between w-flex-center" }, E = { class: "w-flex-center w-flex-column-gap10" }, N = { class: "w-margin-top10" }, B = {
|
|
172
|
-
key: 0,
|
|
173
|
-
class: "w-empty"
|
|
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
|
-
function H(s, e, r, C, l, g) {
|
|
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
|
-
modelValue: l.visible,
|
|
179
|
-
"onUpdate:modelValue": e[5] || (e[5] = (a) => l.visible = a),
|
|
180
|
-
title: "设置数据筛选",
|
|
181
|
-
top: "20px",
|
|
182
|
-
"close-on-click-modal": !1,
|
|
183
|
-
width: "720",
|
|
184
|
-
"destroy-on-close": !0,
|
|
185
|
-
"append-to-body": ""
|
|
186
|
-
}, {
|
|
187
|
-
footer: c(() => [
|
|
188
|
-
t("div", q, [
|
|
189
|
-
i(d, {
|
|
190
|
-
onClick: e[4] || (e[4] = (a) => l.visible = !1)
|
|
191
|
-
}, {
|
|
192
|
-
default: c(() => [...e[13] || (e[13] = [
|
|
193
|
-
D("取消", -1)
|
|
194
|
-
])]),
|
|
195
|
-
_: 1
|
|
196
|
-
}),
|
|
197
|
-
i(d, {
|
|
198
|
-
type: "primary",
|
|
199
|
-
loading: l.loading,
|
|
200
|
-
onClick: g.saveRule
|
|
201
|
-
}, {
|
|
202
|
-
default: c(() => [...e[14] || (e[14] = [
|
|
203
|
-
D("确认", -1)
|
|
204
|
-
])]),
|
|
205
|
-
_: 1
|
|
206
|
-
}, 8, ["loading", "onClick"])
|
|
207
|
-
])
|
|
208
|
-
]),
|
|
209
|
-
default: c(() => [
|
|
210
|
-
V((h(), v("div", L, [
|
|
211
|
-
t("div", O, [
|
|
212
|
-
e[7] || (e[7] = t("div", { class: "w-flex-center w-flex-column-gap4" }, [
|
|
213
|
-
t("div", { class: "w-line-height20" }, "设置筛选条件"),
|
|
214
|
-
t("div", { class: "w-color-gray w-line-height20" }, " (满足以下所有筛选条件时,触发) ")
|
|
215
|
-
], -1)),
|
|
216
|
-
t("div", E, [
|
|
217
|
-
i(d, {
|
|
218
|
-
link: "",
|
|
219
|
-
type: "primary",
|
|
220
|
-
onClick: g.addRule
|
|
221
|
-
}, {
|
|
222
|
-
default: c(() => [...e[6] || (e[6] = [
|
|
223
|
-
t("span", { class: "bnUIcon bnUIcon-add w-padding-right2 w-font14" }, null, -1),
|
|
224
|
-
D("添加条件 ", -1)
|
|
225
|
-
])]),
|
|
226
|
-
_: 1
|
|
227
|
-
}, 8, ["onClick"])
|
|
228
|
-
])
|
|
229
|
-
]),
|
|
230
|
-
t("div", N, [
|
|
231
|
-
(h(!0), v(x, null, U(l.ruleData.columnRules, (a, f) => (h(), _(y, {
|
|
232
|
-
key: f,
|
|
233
|
-
modelValue: l.ruleData.columnRules[f],
|
|
234
|
-
"onUpdate:modelValue": (u) => l.ruleData.columnRules[f] = u,
|
|
235
|
-
columnList: l.assocTableColumns,
|
|
236
|
-
"option-props": {
|
|
237
|
-
id: "columnCode",
|
|
238
|
-
name: "name",
|
|
239
|
-
parentCode: "parentCode",
|
|
240
|
-
valueType: "toColumnType",
|
|
241
|
-
subType: "subType",
|
|
242
|
-
searchType: "searchType",
|
|
243
|
-
value: "value"
|
|
244
|
-
},
|
|
245
|
-
"other-column-list": l.otherColumns,
|
|
246
|
-
allowDel: "",
|
|
247
|
-
postFunc: r.postFunc,
|
|
248
|
-
allowSelectColumn: "",
|
|
249
|
-
onDel: (u) => l.ruleData.columnRules.splice(f, 1)
|
|
250
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "columnList", "other-column-list", "postFunc", "onDel"]))), 128)),
|
|
251
|
-
l.ruleData.columnRules.length == 0 ? (h(), v("div", B, " 请设置筛选条件 ")) : k("", !0)
|
|
252
|
-
]),
|
|
253
|
-
e[12] || (e[12] = t("div", { class: "w-flex-center w-flex-column-gap4 w-margin-top10" }, [
|
|
254
|
-
t("div", { class: "w-line-height20" }, "筛选结果"),
|
|
255
|
-
t("div", { class: "w-color-gray w-line-height20" }, " (当筛选出来数据后,如何处理) ")
|
|
256
|
-
], -1)),
|
|
257
|
-
t("div", P, [
|
|
258
|
-
t("div", j, [
|
|
259
|
-
i(p, {
|
|
260
|
-
modelValue: l.ruleData.subType,
|
|
261
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) => l.ruleData.subType = a),
|
|
262
|
-
label: "单条数据时自动填充",
|
|
263
|
-
"true-data": 0,
|
|
264
|
-
"false-data": 1
|
|
265
|
-
}, null, 8, ["modelValue"]),
|
|
266
|
-
i(m, {
|
|
267
|
-
class: "item",
|
|
268
|
-
effect: "dark",
|
|
269
|
-
content: "当筛选结果只有一条数据的时候,才进行填充数据到子表单中。",
|
|
270
|
-
placement: "top"
|
|
271
|
-
}, {
|
|
272
|
-
default: c(() => [...e[8] || (e[8] = [
|
|
273
|
-
t("span", { class: "bnUIcon bnUIcon-question w-color-orange" }, null, -1)
|
|
274
|
-
])]),
|
|
275
|
-
_: 1
|
|
276
|
-
})
|
|
277
|
-
]),
|
|
278
|
-
t("div", A, [
|
|
279
|
-
i(p, {
|
|
280
|
-
modelValue: l.ruleData.subType,
|
|
281
|
-
"onUpdate:modelValue": e[1] || (e[1] = (a) => l.ruleData.subType = a),
|
|
282
|
-
label: "多条数据时自动填充",
|
|
283
|
-
"true-data": 1,
|
|
284
|
-
"false-data": 0
|
|
285
|
-
}, null, 8, ["modelValue"]),
|
|
286
|
-
i(m, {
|
|
287
|
-
class: "item",
|
|
288
|
-
effect: "dark",
|
|
289
|
-
content: "当筛选结果不止一条数据的时候,才进行填充数据到子表单中。",
|
|
290
|
-
placement: "top"
|
|
291
|
-
}, {
|
|
292
|
-
default: c(() => [...e[9] || (e[9] = [
|
|
293
|
-
t("span", { class: "bnUIcon bnUIcon-question w-color-orange" }, null, -1)
|
|
294
|
-
])]),
|
|
295
|
-
_: 1
|
|
296
|
-
})
|
|
297
|
-
]),
|
|
298
|
-
t("div", J, [
|
|
299
|
-
i(p, {
|
|
300
|
-
modelValue: l.ruleData.dataForceFill,
|
|
301
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) => l.ruleData.dataForceFill = a),
|
|
302
|
-
label: "数据强制填充",
|
|
303
|
-
"true-data": 1,
|
|
304
|
-
"false-data": 0
|
|
305
|
-
}, null, 8, ["modelValue"]),
|
|
306
|
-
i(m, {
|
|
307
|
-
class: "item",
|
|
308
|
-
effect: "dark",
|
|
309
|
-
content: "如果筛选出来数据后,子表单已经有数据存在,则覆盖子表单的原始数据。如果不勾选,则不覆盖。",
|
|
310
|
-
placement: "top"
|
|
311
|
-
}, {
|
|
312
|
-
default: c(() => [...e[10] || (e[10] = [
|
|
313
|
-
t("span", { class: "bnUIcon bnUIcon-question w-color-orange" }, null, -1)
|
|
314
|
-
])]),
|
|
315
|
-
_: 1
|
|
316
|
-
})
|
|
317
|
-
]),
|
|
318
|
-
t("div", M, [
|
|
319
|
-
i(p, {
|
|
320
|
-
modelValue: l.ruleData.dataForceClear,
|
|
321
|
-
"onUpdate:modelValue": e[3] || (e[3] = (a) => l.ruleData.dataForceClear = a),
|
|
322
|
-
label: "筛选结果为空时,清空子表单",
|
|
323
|
-
"true-data": 1,
|
|
324
|
-
"false-data": 0
|
|
325
|
-
}, null, 8, ["modelValue"]),
|
|
326
|
-
i(m, {
|
|
327
|
-
class: "item",
|
|
328
|
-
effect: "dark",
|
|
329
|
-
content: "如果筛选时没有数据,子表单本身却有数据存在,则清空子表单的原始数据。",
|
|
330
|
-
placement: "top"
|
|
331
|
-
}, {
|
|
332
|
-
default: c(() => [...e[11] || (e[11] = [
|
|
333
|
-
t("span", { class: "bnUIcon bnUIcon-question w-color-orange" }, null, -1)
|
|
334
|
-
])]),
|
|
335
|
-
_: 1
|
|
336
|
-
})
|
|
337
|
-
])
|
|
338
|
-
])
|
|
339
|
-
])), [
|
|
340
|
-
[n, l.loading]
|
|
341
|
-
])
|
|
342
|
-
]),
|
|
343
|
-
_: 1
|
|
344
|
-
}, 8, ["modelValue"]);
|
|
345
|
-
}
|
|
346
|
-
const G = /* @__PURE__ */ R(S, [["render", H], ["__scopeId", "data-v-8ace1d62"]]);
|
|
347
|
-
export {
|
|
348
|
-
G as default
|
|
349
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.assocTableSearch[data-v-8ace1d62]{max-height:calc(100vh - 200px);overflow-y:auto}
|
package/dist/bn-bus-ui.es.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { B as e, a as o, b as r, c as t, d as B, f as i, g as m, h as d, i as l, j as p, k as F, l as C, m as c, n as g, o as u, p as h, q as D, r as S, s as b, t as R, u as f, v as x, w as A, x as O, y as P, z as T, A as y, C as k, D as I, E as v, F as w, G as E, H as V, I as G, J, K as L, L as N, M as W, N as M, O as U, P as j, Q as q, R as z, S as H, T as K, U as Q, e as X, X as Z, Z as $, $ as Y, a0 as _, a1 as aa, a3 as sa, a4 as na, a6 as ea, a7 as oa, a8 as ra, a9 as ta, aa as Ba, ab as ia, ac as ma } from "./install-C-scqkds.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
export {
|
|
4
|
-
e as BnAddress,
|
|
5
|
-
o as BnAddressForm,
|
|
6
|
-
r as BnAdvancedFilter,
|
|
7
|
-
t as BnBatchForm,
|
|
8
|
-
B as BnBatchFormDialog,
|
|
9
|
-
i as BnCascader,
|
|
10
|
-
m as BnCascaderPanel,
|
|
11
|
-
d as BnCheck,
|
|
12
|
-
l as BnCheckboxForm,
|
|
13
|
-
p as BnChildrenForm,
|
|
14
|
-
F as BnChooseIPaasData,
|
|
15
|
-
C as BnColumnConfig,
|
|
16
|
-
c as BnColumnConfigDialog,
|
|
17
|
-
g as BnCondition,
|
|
18
|
-
u as BnDateDualForm,
|
|
19
|
-
h as BnDateForm,
|
|
20
|
-
D as BnDatePicker,
|
|
21
|
-
S as BnDrop,
|
|
22
|
-
b as BnEmptyTip,
|
|
23
|
-
R as BnExportOrder,
|
|
24
|
-
f as BnFileForm,
|
|
25
|
-
x as BnFileView,
|
|
26
|
-
A as BnFilterOption,
|
|
27
|
-
O as BnFilterView,
|
|
28
|
-
P as BnFunExpr,
|
|
29
|
-
T as BnImportOrder,
|
|
30
|
-
y as BnImportTemplate,
|
|
31
|
-
k as BnInpNum,
|
|
32
|
-
I as BnMenus,
|
|
33
|
-
v as BnNumberForm,
|
|
34
|
-
w as BnOrderCard,
|
|
35
|
-
E as BnOrderDetail,
|
|
36
|
-
V as BnOrderShare,
|
|
37
|
-
G as BnRadio,
|
|
38
|
-
J as BnRadioForm,
|
|
39
|
-
L as BnReceiveForm,
|
|
40
|
-
N as BnRelation,
|
|
41
|
-
W as BnRelationForm,
|
|
42
|
-
M as BnSelect,
|
|
43
|
-
U as BnSelectForm,
|
|
44
|
-
j as BnSmartForm,
|
|
45
|
-
q as BnStringForm,
|
|
46
|
-
z as BnVirtPopover,
|
|
47
|
-
H as BnWebLog,
|
|
48
|
-
K as BnWorkSettingDrop,
|
|
49
|
-
Q as addressParse,
|
|
50
|
-
X as default,
|
|
51
|
-
Z as getApiBaseUrl,
|
|
52
|
-
$ as getGlobalConfig,
|
|
53
|
-
Y as getSearchComponents,
|
|
54
|
-
_ as getWatchComponents,
|
|
55
|
-
aa as idsToTexts,
|
|
56
|
-
sa as insertText,
|
|
57
|
-
na as mainAppRouterPush,
|
|
58
|
-
ea as recordApiLog,
|
|
59
|
-
oa as searchValueToJson,
|
|
60
|
-
ra as setGlobalConfig,
|
|
61
|
-
ta as tidyComponents,
|
|
62
|
-
Ba as tidyJumpSearchData,
|
|
63
|
-
ia as tidyRuleComponents,
|
|
64
|
-
ma as tidyShowSubDataFile
|
|
65
|
-
};
|