@newview/file-ui 1.1.43 → 1.1.44
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/file-ui.js +27 -8
- package/dist/file-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/file-ui.js
CHANGED
|
@@ -18724,8 +18724,8 @@ const propDefine$2 = {
|
|
|
18724
18724
|
},
|
|
18725
18725
|
businessId: {
|
|
18726
18726
|
// 创建机构id
|
|
18727
|
-
type:
|
|
18728
|
-
default:
|
|
18727
|
+
type: Number,
|
|
18728
|
+
default: 0
|
|
18729
18729
|
},
|
|
18730
18730
|
dataValue: {
|
|
18731
18731
|
// 值
|
|
@@ -18917,14 +18917,32 @@ class StructureSelectInstance extends BaseInstance {
|
|
|
18917
18917
|
*/
|
|
18918
18918
|
doSelectedAfterFun() {
|
|
18919
18919
|
if (this.props.selType == 1) {
|
|
18920
|
-
|
|
18920
|
+
try {
|
|
18921
|
+
let unitData = [];
|
|
18922
|
+
this.TypeGroupData.value.map((e) => {
|
|
18923
|
+
e.UnitData.map((x) => {
|
|
18924
|
+
if (Array.isArray(this.UnitValue.value)) {
|
|
18925
|
+
if (this.UnitValue.value.includes(x.Id)) {
|
|
18926
|
+
unitData.push(x);
|
|
18927
|
+
}
|
|
18928
|
+
} else {
|
|
18929
|
+
if (this.UnitValue.value == x.Id) {
|
|
18930
|
+
unitData = [x];
|
|
18931
|
+
}
|
|
18932
|
+
}
|
|
18933
|
+
});
|
|
18934
|
+
});
|
|
18935
|
+
this.ctx.emit("on-change", { Ids: this.UnitValue.value, data: unitData });
|
|
18936
|
+
} catch (error) {
|
|
18937
|
+
this.ctx.emit("on-change", { Ids: this.UnitValue.value, data: [] });
|
|
18938
|
+
}
|
|
18921
18939
|
} else {
|
|
18922
18940
|
this.ctx.emit("on-change", { Ids: this.StructureInstanceCheckData.value.map((e) => e["Id"]), data: this.StructureInstanceCheckData.value });
|
|
18923
18941
|
}
|
|
18924
18942
|
}
|
|
18925
18943
|
}
|
|
18926
|
-
const
|
|
18927
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
18944
|
+
const NvStructureSelect_vue_vue_type_style_index_0_scoped_99c5b0ad_lang = "";
|
|
18945
|
+
const _withScopeId = (n) => (pushScopeId("data-v-99c5b0ad"), n = n(), popScopeId(), n);
|
|
18928
18946
|
const _hoisted_1$1 = { key: 1 };
|
|
18929
18947
|
const _hoisted_2$1 = { class: "nv-pos-r" };
|
|
18930
18948
|
const _hoisted_3$1 = { class: "nv-c-p structure-sel-box" };
|
|
@@ -19006,7 +19024,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19006
19024
|
createVNode(_component_Poptip, {
|
|
19007
19025
|
placement: "bottom-start",
|
|
19008
19026
|
width: 700,
|
|
19009
|
-
transfer: ""
|
|
19027
|
+
transfer: "",
|
|
19028
|
+
disabled: _ctx.readonly
|
|
19010
19029
|
}, {
|
|
19011
19030
|
content: withCtx(() => [
|
|
19012
19031
|
_ctx.TypeGroupData.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
@@ -19083,7 +19102,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19083
19102
|
])
|
|
19084
19103
|
]),
|
|
19085
19104
|
_: 1
|
|
19086
|
-
}),
|
|
19105
|
+
}, 8, ["disabled"]),
|
|
19087
19106
|
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
19088
19107
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.StructureInstanceCheckData, (item, index) => {
|
|
19089
19108
|
return openBlock(), createElementBlock("div", {
|
|
@@ -19108,7 +19127,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19108
19127
|
])) : createCommentVNode("", true)
|
|
19109
19128
|
]));
|
|
19110
19129
|
}
|
|
19111
|
-
const NvStructureSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
19130
|
+
const NvStructureSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-99c5b0ad"]]);
|
|
19112
19131
|
const propDefine$1 = {
|
|
19113
19132
|
linkParam: {
|
|
19114
19133
|
// 带入的参数
|