Commit c747000a authored by 赵啸非's avatar 赵啸非

添加窗口人员查询

parent 82e6c8ee
...@@ -16,7 +16,6 @@ export default { ...@@ -16,7 +16,6 @@ export default {
}, },
]; ];
} }
console.log(data);
return data; return data;
}, },
// 渲染后置处理 // 渲染后置处理
...@@ -26,7 +25,6 @@ export default { ...@@ -26,7 +25,6 @@ export default {
data.attachmentPathList && data.attachmentPathList.length > 0 data.attachmentPathList && data.attachmentPathList.length > 0
? (data.attachmentPath = data.attachmentPathList[0].url) ? (data.attachmentPath = data.attachmentPathList[0].url)
: (data.attachmentPath = ""); : (data.attachmentPath = "");
console.log(data);
return data; return data;
}, },
......
...@@ -137,8 +137,8 @@ export default { ...@@ -137,8 +137,8 @@ export default {
mixins: [form], mixins: [form],
components: {}, components: {},
created() { created() {
this.changePath("window/owner"); // this.changePath("window/owner");
this.getUser() // this.getUser()
}, },
data() { data() {
return { return {
......
...@@ -82,7 +82,7 @@ public class WindowOwnerController extends BaseCRUDJsonBodyMappingController<Win ...@@ -82,7 +82,7 @@ public class WindowOwnerController extends BaseCRUDJsonBodyMappingController<Win
siteHallPdu.setSiteId(1L); siteHallPdu.setSiteId(1L);
Rest<RespData<List<SiteHallPdu>>> rest = siteHallFeign.list(siteHallPdu); Rest<RespData<List<SiteHallPdu>>> rest = siteHallFeign.list(siteHallPdu);
if (YesNoEnum.YES.getValue() == rest.getCode()) { if (YesNoEnum.YES.getValue() == rest.getCode()) {
Map<Long, String> hallMap = rest.getData().getData().stream().collect(Collectors.toMap(x -> x.getId(), y -> y.getHallName(), (o, n) -> n)); Map<String, String> hallMap = rest.getData().getData().stream().collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getHallName(), (o, n) -> n));
this.addDict(model, "hallId", hallMap); this.addDict(model, "hallId", hallMap);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment