@bytenew/bn-bus-ui 1.1.463 → 1.1.465
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-BsLq8li6.js +349 -0
- package/dist/assocTableSearch.css +1 -0
- package/dist/bn-bus-ui.es.js +65 -0
- package/dist/bn-bus-ui.umd.js +17 -0
- package/dist/chooseIPaasData-DUfjjEr2.js +391 -0
- package/dist/chooseIPaasData.css +1 -0
- package/dist/defaultSet-CR0AVrl6.js +297 -0
- package/dist/defaultSet.css +1 -0
- package/dist/fileFormData-D_Q1vylE.js +53 -0
- package/dist/formItemFooter-CN8bMSJS.js +108 -0
- package/dist/formItemFooter.css +1 -0
- package/dist/funcExprDialog-OOejhToM.js +139 -0
- package/dist/funcExprDialog.css +1 -0
- package/dist/index-B-VEGqoB.js +183 -0
- package/dist/index-BDLkgkeO.js +66 -0
- package/dist/index-BK-KXSCO.js +221 -0
- package/dist/index-BwDhrvPs.js +109 -0
- package/dist/index-CKX6Ga7g.js +135 -0
- package/dist/index-CYrbjge7.js +64 -0
- package/dist/index-CpTMfPTm.js +45 -0
- package/dist/index-D94SlRAW.js +746 -0
- package/dist/index-DGQrmPZ8.js +66 -0
- package/dist/index-D_Gjzn2Y.js +89 -0
- package/dist/index-DbTkT_Pc.js +118 -0
- package/dist/index-Dp6qwgSk.js +58 -0
- package/dist/index-GqIlg6mb.js +89 -0
- package/dist/index-MYgF6eap.js +44 -0
- package/dist/index-btmDCgbT.js +178 -0
- package/dist/index-die9_Xdx.js +51 -0
- package/dist/index-x2GgSFZY.js +45 -0
- package/dist/index.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/install-D9fhAvpu.js +16424 -0
- package/dist/install.css +1 -0
- package/dist/setOption-aixerIsi.js +329 -0
- package/dist/setOption.css +1 -0
- package/dist/setRelationOption-AZZQd-2m.js +775 -0
- package/dist/setRelationOption.css +1 -0
- package/package.json +7 -22
- package/install.js +0 -134
- package/packages/BnAddress/index.vue +0 -141
- package/packages/BnAddressParse/index.vue +0 -75
- package/packages/BnAdvancedFilter/BnFilterView.vue +0 -145
- package/packages/BnAdvancedFilter/index.vue +0 -345
- package/packages/BnAdvancedFilter/util.js +0 -171
- package/packages/BnCascader/BnCascader.vue +0 -543
- package/packages/BnCascader/BnCascaderPanel.vue +0 -1331
- package/packages/BnCascader/cascaderDisplay.js +0 -102
- package/packages/BnCheck/BnCheck.vue +0 -253
- package/packages/BnColumnConfig/columnConfigDialog.vue +0 -134
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTable.vue +0 -143
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTableSearch.vue +0 -314
- package/packages/BnColumnConfig/component/childrenFormSetting/index.vue +0 -243
- package/packages/BnColumnConfig/component/defaultSet/defaultSet.vue +0 -114
- package/packages/BnColumnConfig/component/defaultSet/stringDefault.vue +0 -210
- package/packages/BnColumnConfig/component/funcExprDialog/funcExprDialog.vue +0 -126
- package/packages/BnColumnConfig/component/packageFilter/index.vue +0 -141
- package/packages/BnColumnConfig/component/paraExplainSet/index.vue +0 -156
- package/packages/BnColumnConfig/component/setOption/setOption.vue +0 -321
- package/packages/BnColumnConfig/component/setRelationOption/ConditionList.vue +0 -277
- package/packages/BnColumnConfig/component/setRelationOption/LevelHeader.vue +0 -144
- package/packages/BnColumnConfig/component/setRelationOption/setRelationOption.vue +0 -642
- package/packages/BnColumnConfig/data.js +0 -129
- package/packages/BnColumnConfig/index.scss +0 -23
- package/packages/BnColumnConfig/index.vue +0 -309
- package/packages/BnCondVal/BnCondVal.vue +0 -112
- package/packages/BnCondVal/itemVal/dateRegVal.vue +0 -39
- package/packages/BnCondVal/itemVal/dateVal.vue +0 -39
- package/packages/BnCondVal/itemVal/numRegVal.vue +0 -67
- package/packages/BnCondVal/itemVal/numVal.vue +0 -44
- package/packages/BnCondVal/itemVal/relationVal.vue +0 -73
- package/packages/BnCondVal/itemVal/selectColumnVal.vue +0 -58
- package/packages/BnCondVal/itemVal/selectVal.vue +0 -59
- package/packages/BnCondVal/itemVal/stringVal.vue +0 -156
- package/packages/BnCondition/index.vue +0 -551
- package/packages/BnCondition/util.js +0 -232
- package/packages/BnDatePicker/BnDatePicker.vue +0 -194
- package/packages/BnDrop/BnDrop.vue +0 -917
- package/packages/BnEmptyTip/BnEmptyTip.vue +0 -107
- package/packages/BnExportOrder/BnExportOrder.vue +0 -241
- package/packages/BnExportOrder/validatorCode.vue +0 -94
- package/packages/BnFileView/BnFileView.vue +0 -271
- package/packages/BnFileView/FileDetail.vue +0 -125
- package/packages/BnFileView/videoPreview.vue +0 -70
- package/packages/BnFilterOption/BnFilterOption.vue +0 -160
- package/packages/BnFunExpr/BnFunExpr.vue +0 -608
- package/packages/BnImportOrder/BnImportOrder.vue +0 -323
- package/packages/BnImportTemplate/BnImportTemplate.vue +0 -866
- 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 +0 -198
- package/packages/BnImportTemplate/components/TemplateEditDialog.vue +0 -340
- package/packages/BnImportTemplate/components/TemplateFieldsConfig.vue +0 -401
- package/packages/BnImportTemplate/components/TemplateListDialog.vue +0 -297
- package/packages/BnInpNum/BnInpNum.vue +0 -165
- package/packages/BnMenus/BnMenus.vue +0 -502
- package/packages/BnMenus/MenuItem.vue +0 -321
- package/packages/BnOrderCard/BnOrderCard.vue +0 -389
- package/packages/BnOrderCard/orderRemark.vue +0 -178
- package/packages/BnOrderCard/util.js +0 -94
- package/packages/BnOrderDetail/BnOrderDetail.vue +0 -338
- package/packages/BnOrderDetail/filterLogByUser.vue +0 -108
- package/packages/BnOrderDetail/orderLogs.vue +0 -53
- package/packages/BnOrderDetail/showSubForm/index.vue +0 -41
- package/packages/BnOrderDetail/showSubForm/showChildTable.vue +0 -61
- package/packages/BnOrderDetail/showSubForm/showTimeLine.vue +0 -131
- package/packages/BnOrderDetail/showSubForm/tableCellCopy.vue +0 -84
- package/packages/BnOrderShare/index.vue +0 -378
- package/packages/BnOrderShare/shareUrlInp.vue +0 -54
- package/packages/BnRadio/BnRadio.vue +0 -181
- package/packages/BnRelation/BnRelation.vue +0 -120
- package/packages/BnSelect/BnSelect.vue +0 -485
- package/packages/BnSmartForm/BnBatchForm.vue +0 -334
- package/packages/BnSmartForm/BnBatchFormDialog.vue +0 -423
- package/packages/BnSmartForm/BnSmartElf/elfLog/index.vue +0 -57
- package/packages/BnSmartForm/BnSmartElf/index.vue +0 -95
- package/packages/BnSmartForm/BnSmartFormPsychic.js +0 -629
- package/packages/BnSmartForm/BnSmartFormUtil.js +0 -524
- package/packages/BnSmartForm/addressForm/index.vue +0 -73
- package/packages/BnSmartForm/checkboxForm/index.vue +0 -99
- package/packages/BnSmartForm/childrenForm/childFormFile.vue +0 -237
- package/packages/BnSmartForm/childrenForm/childrenFormBody.vue +0 -260
- package/packages/BnSmartForm/childrenForm/index.vue +0 -110
- package/packages/BnSmartForm/childrenForm/searchInventory.vue +0 -115
- package/packages/BnSmartForm/chooseAssocTable/chooseAssocTable.vue +0 -451
- package/packages/BnSmartForm/chooseAssocTable/chooseChildGood.vue +0 -229
- package/packages/BnSmartForm/chooseAssocTable/tableCellCopy.vue +0 -84
- package/packages/BnSmartForm/chooseChildOrder/chooseChildOrder.vue +0 -158
- package/packages/BnSmartForm/chooseIPaasData/chooseIPaasData.vue +0 -307
- package/packages/BnSmartForm/chooseIPaasData/tableCellCopy.vue +0 -84
- package/packages/BnSmartForm/choosePackage/choosePackage.vue +0 -361
- package/packages/BnSmartForm/dateDualForm/index.vue +0 -37
- package/packages/BnSmartForm/dateForm/index.vue +0 -38
- package/packages/BnSmartForm/fileForm/fileFormData.js +0 -50
- package/packages/BnSmartForm/fileForm/index.vue +0 -240
- package/packages/BnSmartForm/formItemFooter/formItemFooter.vue +0 -38
- package/packages/BnSmartForm/formItemTop/formItemTop.vue +0 -42
- package/packages/BnSmartForm/index.vue +0 -1201
- package/packages/BnSmartForm/numberForm/index.vue +0 -63
- package/packages/BnSmartForm/radioForm/index.vue +0 -72
- package/packages/BnSmartForm/receiveForm/index.vue +0 -112
- package/packages/BnSmartForm/relationForm/index.vue +0 -82
- package/packages/BnSmartForm/scoreForm/index.vue +0 -39
- package/packages/BnSmartForm/selectForm/index.vue +0 -55
- package/packages/BnSmartForm/showValForm/index.vue +0 -42
- package/packages/BnSmartForm/showValForm/showValFormTable.vue +0 -104
- package/packages/BnSmartForm/smartFormsCommon.scss +0 -43
- package/packages/BnSmartForm/stringForm/index.vue +0 -170
- package/packages/BnVirtPopover/index.vue +0 -319
- package/packages/BnWebLog/BnWebLog.vue +0 -140
- package/packages/BnWorkSettingDrop/advancedOptions.js +0 -112
- package/packages/BnWorkSettingDrop/benBenAIUtil.js +0 -89
- package/packages/BnWorkSettingDrop/index.vue +0 -292
- package/packages/font/iconfont.css +0 -243
- 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 +0 -645
- package/utils/addressParse.js +0 -735
- package/utils/config.js +0 -68
- package/utils/index.js +0 -1171
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { cloneDeep as w } from "lodash";
|
|
2
|
+
import { _ as R, ab as T } from "./install-D9fhAvpu.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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.assocTableSearch[data-v-8ace1d62]{max-height:calc(100vh - 200px);overflow-y:auto}
|
|
@@ -0,0 +1,65 @@
|
|
|
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-D9fhAvpu.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
|
+
};
|