@newview/file-ui 1.1.56 → 1.1.58

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 CHANGED
@@ -18946,8 +18946,8 @@ class StructureSelectInstance extends BaseInstance {
18946
18946
  * 获取构件类别大类及单位工程数据
18947
18947
  */
18948
18948
  async loadNodeTypeAndUnitData() {
18949
- var _a;
18950
- let filter = new QueryWrapper().select(["Id", "NodeTypeName", "NodeType", "NodeName", "RootId", "PlatformId", "CreateUnitId"]).eq("PId", 0).eq("PlatformId", 930003);
18949
+ var _a, _b;
18950
+ let filter = new QueryWrapper().select(["Id", "NodeTypeName", "NodeType", "NodeName", "RootId", "PlatformId", "CreateUnitId"]).eq("PId", 0).eq("PlatformId", (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id);
18951
18951
  if (this.props.businessId) {
18952
18952
  if (typeof this.props.businessId == "number") {
18953
18953
  filter.eq("CreateUnitId", this.props.businessId);
@@ -18973,7 +18973,7 @@ class StructureSelectInstance extends BaseInstance {
18973
18973
  this.NodeTypeSelect();
18974
18974
  if (this.props.dataValue) {
18975
18975
  let ids = typeof this.props.dataValue == "object" ? this.props.dataValue : [this.props.dataValue];
18976
- this.StructureInstanceCheckData.value = this.utilities.parseApiResult(await this.structureInstanceApi.getEntities(new QueryWrapper().select(["Id", "NodeTypeName", "NodeType", "NodeName", "RootId", "PlatformId"]).in("Id", ids).eq("PlatformId", (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id)));
18976
+ this.StructureInstanceCheckData.value = this.utilities.parseApiResult(await this.structureInstanceApi.getEntities(new QueryWrapper().select(["Id", "NodeTypeName", "NodeType", "NodeName", "RootId", "PlatformId"]).in("Id", ids).eq("PlatformId", (_b = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _b.Id)));
18977
18977
  this.StructureInstanceCheckData.value = this.StructureInstanceCheckData.value.map((e) => {
18978
18978
  let unitInfo = this.unitData.value.find((x) => x["Id"] == e.RootId);
18979
18979
  e.UnitName = unitInfo ? unitInfo.NodeName : "";
@@ -19024,8 +19024,8 @@ class StructureSelectInstance extends BaseInstance {
19024
19024
  }
19025
19025
  }
19026
19026
  }
19027
- const NvStructureSelect_vue_vue_type_style_index_0_scoped_079c1ad0_lang = "";
19028
- const _withScopeId$1 = (n) => (pushScopeId("data-v-079c1ad0"), n = n(), popScopeId(), n);
19027
+ const NvStructureSelect_vue_vue_type_style_index_0_scoped_a37f43f3_lang = "";
19028
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-a37f43f3"), n = n(), popScopeId(), n);
19029
19029
  const _hoisted_1$2 = { key: 1 };
19030
19030
  const _hoisted_2$2 = { class: "nv-pos-r" };
19031
19031
  const _hoisted_3$2 = { class: "nv-c-p structure-sel-box" };
@@ -19170,7 +19170,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
19170
19170
  modelValue: _ctx.searchInfo,
19171
19171
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.searchInfo = $event),
19172
19172
  clearable: "",
19173
- placeholder: "点击选择构件",
19173
+ placeholder: "请输入",
19174
19174
  onOnChange: _ctx.doSearch
19175
19175
  }, null, 8, ["modelValue", "onOnChange"])
19176
19176
  ]),
@@ -19362,7 +19362,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
19362
19362
  ])) : createCommentVNode("", true)
19363
19363
  ]));
19364
19364
  }
19365
- const NvStructureSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-079c1ad0"]]);
19365
+ const NvStructureSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-a37f43f3"]]);
19366
19366
  const propDefine$2 = {
19367
19367
  readonly: {
19368
19368
  // 只读