bri-components 1.2.88 → 1.2.90
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/package.json
CHANGED
|
@@ -171,7 +171,7 @@ export default {
|
|
|
171
171
|
: dynamicList
|
|
172
172
|
: dynamicList;
|
|
173
173
|
const parameterType = initContion.parameterType || (
|
|
174
|
-
(initContion.fieldParams || []).length || initContion.chainFieldKey || (!!dynamicList.length && ["
|
|
174
|
+
(initContion.fieldParams || []).length || initContion.chainFieldKey || (!!dynamicList.length && ["reference", "flatTable"].includes(fieldType))
|
|
175
175
|
? "dynamicText"
|
|
176
176
|
: "fixedText"
|
|
177
177
|
);
|
|
@@ -271,7 +271,9 @@ export default {
|
|
|
271
271
|
if (conditionItem.finished !== true) {
|
|
272
272
|
this.getModData(conditionItem.formItem, data => {
|
|
273
273
|
conditionItem.finished = true;
|
|
274
|
-
conditionItem.subFormList = data.screens
|
|
274
|
+
conditionItem.subFormList = (data.screens.find(screenItem =>
|
|
275
|
+
this.mode === "set" ? screenItem.screenType === "all" : screenItem._key === conditionItem.formItem._screen
|
|
276
|
+
) || { form: [] }).form;
|
|
275
277
|
});
|
|
276
278
|
}
|
|
277
279
|
} else if (conditionItem.fieldOperator === "subTableSearch") {
|
|
@@ -284,11 +286,11 @@ export default {
|
|
|
284
286
|
this.$https({
|
|
285
287
|
url: {
|
|
286
288
|
module: "sheet",
|
|
287
|
-
name: "schema"
|
|
289
|
+
name: "schema" // 管理员下,不管传不传screenKey,且screenKey是不是全部视图,全部视图的form数据一定返回
|
|
288
290
|
},
|
|
289
291
|
params: {
|
|
290
292
|
_key: obj._ref,
|
|
291
|
-
|
|
293
|
+
screenKey: obj._screen
|
|
292
294
|
},
|
|
293
295
|
callback: data => {
|
|
294
296
|
cb(data);
|