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

Merge remote-tracking branch 'origin/master'

parents 9ec408b3 f58bd4e3
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
const { siteTree } = data; const { siteTree } = data;
this.sitelist = siteTree; this.sitelist = siteTree;
let arr = []; let arr = [];
const treeFn = function (e) { const treeFn = function(e) {
e.forEach((element) => { e.forEach((element) => {
arr.push(element); arr.push(element);
if (element.children && element.children.length > 0) { if (element.children && element.children.length > 0) {
......
...@@ -35,8 +35,9 @@ ...@@ -35,8 +35,9 @@
</a-modal> </a-modal>
</div> </div>
</template> </template>
<script> <script>
import local from "@/utils/local";
import { import {
// saveWindowHall, // saveWindowHall,
batchSaveWindowHall, batchSaveWindowHall,
...@@ -60,6 +61,7 @@ export default { ...@@ -60,6 +61,7 @@ export default {
data() { data() {
return { return {
selectInfo: undefined, selectInfo: undefined,
siteId: local.getLocal("siteId"), // 站点id
form: { form: {
windowId: "", // 窗口id windowId: "", // 窗口id
windowName: "", // 窗口名称 windowName: "", // 窗口名称
...@@ -115,6 +117,7 @@ export default { ...@@ -115,6 +117,7 @@ export default {
windowName: v.name, // 窗口名称 windowName: v.name, // 窗口名称
hallId: this.form.hallId, // 大厅id hallId: this.form.hallId, // 大厅id
hallName: this.form.hallName, // 大厅名称 hallName: this.form.hallName, // 大厅名称
siteId: this.siteId,
}; };
}); });
let res = await batchSaveWindowHall(arr); let res = await batchSaveWindowHall(arr);
...@@ -135,6 +138,5 @@ export default { ...@@ -135,6 +138,5 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
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