|
|
@@ -1,9 +1,9 @@
|
|
|
-<template>
|
|
|
+<template >
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<div class="header-left">
|
|
|
<span class="title">房态管理 </span>
|
|
|
- <span> / 共182间</span>
|
|
|
+ <span> / 共{{ roomData.length }}间</span>
|
|
|
</div>
|
|
|
<div class="header-right">
|
|
|
<el-input
|
|
|
@@ -15,7 +15,7 @@
|
|
|
<el-button class="inquire-button">查询</el-button>
|
|
|
<div class="control">
|
|
|
<div class="title" @click="water = !water" style="cursor: pointer">
|
|
|
- 批量控制水电
|
|
|
+ 批量控制电
|
|
|
</div>
|
|
|
<ul v-show="water">
|
|
|
<li
|
|
|
@@ -135,7 +135,9 @@
|
|
|
popper-class="popperOptions"
|
|
|
>
|
|
|
<div class="control-room">
|
|
|
- <el-button size="mini">关房</el-button>
|
|
|
+ <el-button size="mini" @click="closeRoom(item)"
|
|
|
+ >关房</el-button
|
|
|
+ >
|
|
|
<el-button size="mini">转脏房</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
@@ -143,10 +145,10 @@
|
|
|
@click="leisure(item)"
|
|
|
>转空闲</el-button
|
|
|
>
|
|
|
- <el-button size="mini">关水</el-button>
|
|
|
<el-button size="mini">关电</el-button>
|
|
|
<el-button size="mini">清扫</el-button>
|
|
|
- <el-button size="mini">取消</el-button>
|
|
|
+ <el-button size="mini">IC卡</el-button>
|
|
|
+ <el-button size="mini">指纹</el-button>
|
|
|
</div>
|
|
|
<div
|
|
|
@click="EachRoom(i, ind, $event, item)"
|
|
|
@@ -161,7 +163,7 @@
|
|
|
{{ item.statuName }}
|
|
|
</div>
|
|
|
</div>
|
|
|
- <template v-if="item.statu == 3">
|
|
|
+ <template v-if="item.statu == 3 || item.statu == 2">
|
|
|
<div class="teacher">{{ item.useInfo.userName }}</div>
|
|
|
<div class="num">
|
|
|
<span>水:{{ item.useInfo.startOfWater }}吨</span
|
|
|
@@ -170,29 +172,100 @@
|
|
|
</div>
|
|
|
<div class="count-down">
|
|
|
<span>退房倒计时 {{ item.useInfo.EndTime }}</span>
|
|
|
- <div class="tuifang" @click.stop="doorLock = true">
|
|
|
+ <div class="tuifang" @click.stop="roomLock(item)">
|
|
|
<IconSvg :W="21" :H="21" name="tuifang" />
|
|
|
<el-dialog
|
|
|
title="门锁管理"
|
|
|
+ custom-class="lock"
|
|
|
:append-to-body="true"
|
|
|
:visible.sync="doorLock"
|
|
|
width="30%"
|
|
|
:before-close="lockClose"
|
|
|
>
|
|
|
- <div class="text" style="margin-top: 13px">
|
|
|
- <span>门锁ID:1111111</span>
|
|
|
- <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ <div class="roomID" style="margin-top: 13px">
|
|
|
+ <div class="roomblock">
|
|
|
+ <span>门锁ID:</span>
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ v-if="doorLockList.doorIdshow"
|
|
|
+ >
|
|
|
+ <span>{{ doorLockList.doorId }}</span>
|
|
|
+ <div @click="editlock">
|
|
|
+ <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-input
|
|
|
+ ref="roomId"
|
|
|
+ v-else
|
|
|
+ size="mini"
|
|
|
+ v-model="doorLockList.doorId"
|
|
|
+ @blur="editLockBlur"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="roomblock">
|
|
|
+ <span>水表编码:</span>
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ v-if="doorLockList.waterIdshow"
|
|
|
+ >
|
|
|
+ <span>{{ doorLockList.waterId }}</span>
|
|
|
+ <div @click="editWater">
|
|
|
+ <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-input
|
|
|
+ v-else
|
|
|
+ size="mini"
|
|
|
+ v-model="doorLockList.waterId"
|
|
|
+ @blur="editWaterBlur"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="text">
|
|
|
- <span>门锁序列号:111111</span>
|
|
|
- <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ <div class="roomID">
|
|
|
+ <div class="roomblock">
|
|
|
+ <span>门锁序列号:</span>
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ v-if="doorLockList.doorNumshow"
|
|
|
+ >
|
|
|
+ <span>{{ doorLockList.doorNum }}</span>
|
|
|
+ <div @click="editRoomNum">
|
|
|
+ <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-input
|
|
|
+ v-else
|
|
|
+ size="mini"
|
|
|
+ v-model="doorLockList.doorNum"
|
|
|
+ @blur="editRoomNumBlur"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="roomblock">
|
|
|
+ <span>电表编码:</span>
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ v-if="doorLockList.electricityIdshow"
|
|
|
+ >
|
|
|
+ <span>{{ doorLockList.electricityId }}</span>
|
|
|
+ <div @click="editEle">
|
|
|
+ <IconSvg :W="16" :H="16" name="edit" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-input
|
|
|
+ v-else
|
|
|
+ size="mini"
|
|
|
+ v-model="doorLockList.electricityId"
|
|
|
+ @blur="editEleBlur"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="text">
|
|
|
- <span>门锁密码:1111111</span>
|
|
|
-
|
|
|
- <span class="password" @click="sending"
|
|
|
- >下发密码</span
|
|
|
- >
|
|
|
+ <div class="roomID">
|
|
|
+ <div class="roomblock">
|
|
|
+ <span>门锁密码:1111111</span>
|
|
|
+ <span class="password" @click="sending"
|
|
|
+ >下发密码</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button
|
|
|
@@ -231,7 +304,8 @@
|
|
|
:clearable="false"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
- <el-calendar v-model="date" :first-day-of-week="7"> </el-calendar>
|
|
|
+ <!-- <el-calendar v-model="date" :first-day-of-week="7"> </el-calendar> -->
|
|
|
+ <el-calendar v-model="date"> </el-calendar>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="filtrate">
|
|
|
@@ -283,6 +357,16 @@ export default {
|
|
|
clickId: "",
|
|
|
// 门锁管理
|
|
|
doorLock: false,
|
|
|
+ doorLockList: {
|
|
|
+ doorId: "111111",
|
|
|
+ doorIdshow: true,
|
|
|
+ waterId: "111111",
|
|
|
+ waterIdshow: true,
|
|
|
+ doorNum: "111111",
|
|
|
+ doorNumshow: true,
|
|
|
+ electricityId: "111111",
|
|
|
+ electricityIdshow: true,
|
|
|
+ },
|
|
|
// 批量数据
|
|
|
dialogVisible: false,
|
|
|
enableEndTime: "", // 倒计时的日期
|
|
|
@@ -290,7 +374,7 @@ export default {
|
|
|
count: 20,
|
|
|
title: "",
|
|
|
checked: true,
|
|
|
- titles: ["批量开电", "批量开水", "批量关电", "批量关水"],
|
|
|
+ titles: ["批量开电", "批量关电"],
|
|
|
titles2: ["批量开房", "批量关房"],
|
|
|
data: [
|
|
|
{
|
|
|
@@ -300,16 +384,6 @@ export default {
|
|
|
{
|
|
|
id: 2,
|
|
|
label: "17栋1单元02层01",
|
|
|
- children: [
|
|
|
- {
|
|
|
- id: 9,
|
|
|
- label: "三级 1-1-1",
|
|
|
- },
|
|
|
- {
|
|
|
- id: 10,
|
|
|
- label: "三级 1-1-2",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
id: 3,
|
|
|
@@ -413,6 +487,7 @@ export default {
|
|
|
roomList() {
|
|
|
this.API.room.roomPageGroup().then((res) => {
|
|
|
this.floorRoomDatas = [];
|
|
|
+ console.log(res);
|
|
|
res.data.list.forEach((item) => {
|
|
|
this.floorRoomDatas.push(item.floors[0]);
|
|
|
});
|
|
|
@@ -452,6 +527,7 @@ export default {
|
|
|
"&" +
|
|
|
roomIds;
|
|
|
this.API.roomRealTimeStatu.realData(params).then((res) => {
|
|
|
+ console.log(res);
|
|
|
this.roomData = res.data;
|
|
|
this.roomData.forEach((resItem) => {
|
|
|
if (resItem.statu == 1) {
|
|
|
@@ -471,10 +547,10 @@ export default {
|
|
|
this.roomData.forEach((i, index) => {
|
|
|
if (item.id == i.roomId) {
|
|
|
i = Object.assign(i, item);
|
|
|
- console.log(i);
|
|
|
+ // console.log(i);
|
|
|
if (i.useInfo) {
|
|
|
this.enableEndTime = i.useInfo.enableEndTime;
|
|
|
- this.showTime(index, "2022-08-25 12:00:00");
|
|
|
+ this.showTime(index, i.useInfo.enableEndTime);
|
|
|
console.log(i.useInfo.enableEndTime);
|
|
|
}
|
|
|
}
|
|
|
@@ -482,6 +558,7 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
// this.showTime(this.enableEndTime);
|
|
|
+ console.log(this.roomData);
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
@@ -517,22 +594,21 @@ export default {
|
|
|
}
|
|
|
let enableEndTime = day + ":" + h + ":" + m + ":" + s;
|
|
|
// this.roomData[index].useInfo.EndTime = enableEndTime;
|
|
|
- this.$set(this.roomData[index].useInfo, "EndTime", enableEndTime);
|
|
|
+ if (this.roomData[index].useInfo) {
|
|
|
+ this.$set(this.roomData[index].useInfo, "EndTime", enableEndTime);
|
|
|
+ }
|
|
|
}, 0);
|
|
|
},
|
|
|
bgState(e) {
|
|
|
- let color = ["", "#D3DBE6", "#296DE3", "#00BAAD", "#FF5733", "#3BB1E3"];
|
|
|
- if (e == 1) {
|
|
|
- return { background: color[e], color: "#666" };
|
|
|
- } else {
|
|
|
- return { background: color[e] };
|
|
|
- }
|
|
|
+ let color = ["", "#296DE3", "#00BAAD", "#D3DBE6", "#FF5733", "#3BB1E3"];
|
|
|
+ return { background: color[e] };
|
|
|
},
|
|
|
EachRoom(i, ind, $event, item) {
|
|
|
console.log(item);
|
|
|
this.clickId = $event.currentTarget.id;
|
|
|
},
|
|
|
// 控制水电
|
|
|
+
|
|
|
dialogShow(e) {
|
|
|
this.dialogVisible = true;
|
|
|
this.title = e.target.innerHTML;
|
|
|
@@ -546,7 +622,14 @@ export default {
|
|
|
this.count += 4;
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ //门锁管理
|
|
|
+ roomLock(item) {
|
|
|
+ this.doorLock = true;
|
|
|
+ console.log(item);
|
|
|
+ this.API.doorLock.roomDoorLockRoomId(item.roomId).then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ });
|
|
|
+ },
|
|
|
//脏房转空闲
|
|
|
leisure(item) {
|
|
|
this.API.roomRealTimeStatu
|
|
|
@@ -556,6 +639,22 @@ export default {
|
|
|
this.roomList();
|
|
|
},
|
|
|
|
|
|
+ // 锁定房间
|
|
|
+ closeRoom(item) {
|
|
|
+ console.log(item);
|
|
|
+ let roomId = [item.roomId];
|
|
|
+ // let startDay = dayjs(new Date()).format("YYYY-MM-DD");
|
|
|
+ // let endDay = dayjs(new Date()).add(1, "day").format("YYYY-MM-DD");
|
|
|
+ let startDay = "2022-08-23";
|
|
|
+ let endDay = "2022-08-24";
|
|
|
+ let remark = "锁定房间";
|
|
|
+ console.log(roomId, startDay, endDay);
|
|
|
+ this.API.roomRealTimeStatu
|
|
|
+ .lock({ roomId, startDay, endDay, remark })
|
|
|
+ .then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ });
|
|
|
+ },
|
|
|
// 房态筛查
|
|
|
handleCheckAllChange(val) {
|
|
|
this.checkedCities = val ? this.cities : [];
|
|
|
@@ -589,6 +688,59 @@ export default {
|
|
|
})
|
|
|
.catch((_) => {});
|
|
|
},
|
|
|
+ // 新增房间
|
|
|
+ addRoom() {
|
|
|
+ this.addroom.addroomShow = true;
|
|
|
+ },
|
|
|
+ // 成功添加房间
|
|
|
+ addRoomSuccess() {
|
|
|
+ let roomInfo = {
|
|
|
+ id: this.addroom.id,
|
|
|
+ roomNo: this.addroom.roomNo,
|
|
|
+ build: this.addroom.build,
|
|
|
+ floor: this.addroom.floor,
|
|
|
+ roomTypeId: this.addroom.roomTypeId,
|
|
|
+ roomTypeName: this.addroom.roomTypeName,
|
|
|
+ enableUse: this.addroom.enableUse,
|
|
|
+ };
|
|
|
+ this.API.room.roomSave(roomInfo).then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ this.addroom.addroomShow = false;
|
|
|
+ this.roomList();
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 编辑门锁ID
|
|
|
+ editlock() {
|
|
|
+ this.doorLockList.doorIdshow = false;
|
|
|
+ },
|
|
|
+ editLockBlur() {
|
|
|
+ this.doorLockList.doorIdshow = true;
|
|
|
+ console.log(111);
|
|
|
+ },
|
|
|
+ // 门锁序列号
|
|
|
+ editRoomNum() {
|
|
|
+ this.doorLockList.doorNumshow = false;
|
|
|
+ },
|
|
|
+ editRoomNumBlur() {
|
|
|
+ this.doorLockList.doorNumshow = true;
|
|
|
+ console.log(111);
|
|
|
+ },
|
|
|
+ // 编辑水表编码
|
|
|
+ editWater() {
|
|
|
+ this.doorLockList.waterIdshow = false;
|
|
|
+ },
|
|
|
+ editWaterBlur() {
|
|
|
+ this.doorLockList.waterIdshow = true;
|
|
|
+ console.log(111);
|
|
|
+ },
|
|
|
+ // 编辑电表编码
|
|
|
+ editEle() {
|
|
|
+ this.doorLockList.electricityIdshow = false;
|
|
|
+ },
|
|
|
+ editEleBlur() {
|
|
|
+ this.doorLockList.electricityIdshow = true;
|
|
|
+ console.log(111);
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
@@ -630,7 +782,7 @@ export default {
|
|
|
height: 37px;
|
|
|
background: rgba(240, 243, 247, 1);
|
|
|
border-radius: 5px;
|
|
|
- margin-left: 715px;
|
|
|
+ margin-left: 744px;
|
|
|
|
|
|
/deep/ .el-input__inner {
|
|
|
height: 37px !important;
|
|
|
@@ -641,7 +793,7 @@ export default {
|
|
|
width: 73px;
|
|
|
height: 37px;
|
|
|
font-size: 16px;
|
|
|
- margin: 0 58px 0 9px;
|
|
|
+ margin: 0 20px 0 9px;
|
|
|
padding: 0;
|
|
|
background: rgba(41, 109, 227, 1);
|
|
|
color: #fff;
|
|
|
@@ -777,6 +929,7 @@ export default {
|
|
|
.count-down {
|
|
|
margin-left: 15px;
|
|
|
display: flex;
|
|
|
+
|
|
|
span {
|
|
|
margin-right: 54px;
|
|
|
}
|
|
|
@@ -861,7 +1014,7 @@ export default {
|
|
|
.calendar {
|
|
|
margin: 0 auto;
|
|
|
width: 266px;
|
|
|
- height: 227px;
|
|
|
+ height: 243px;
|
|
|
.date {
|
|
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
|
|
|
.el-input {
|
|
|
@@ -876,7 +1029,7 @@ export default {
|
|
|
}
|
|
|
.el-calendar {
|
|
|
width: 266px;
|
|
|
- height: 227px;
|
|
|
+ height: 240px;
|
|
|
|
|
|
.el-calendar__header {
|
|
|
height: 37px;
|
|
|
@@ -1023,32 +1176,15 @@ export default {
|
|
|
box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
|
|
|
border-radius: 8px;
|
|
|
}
|
|
|
-/deep/ .el-dialog {
|
|
|
+
|
|
|
+/deep/ .lock.el-dialog {
|
|
|
box-shadow: none;
|
|
|
margin: 350px 0 0 450px !important;
|
|
|
width: 555px !important;
|
|
|
height: 377px !important;
|
|
|
- .text {
|
|
|
- display: flex;
|
|
|
- margin-left: 34px;
|
|
|
- margin-bottom: 15px;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 400;
|
|
|
- span {
|
|
|
- margin-right: 20px;
|
|
|
- }
|
|
|
- .password {
|
|
|
- color: #fff;
|
|
|
- border-radius: 2px;
|
|
|
- font-size: 12px;
|
|
|
- padding: 2px;
|
|
|
- cursor: pointer;
|
|
|
- background-color: rgba(41, 109, 227, 1);
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
.el-dialog__header {
|
|
|
border-bottom: 1px solid rgba(204, 204, 204, 1);
|
|
|
- padding: 25px 20px;
|
|
|
.el-dialog__headerbtn {
|
|
|
width: 35px;
|
|
|
height: 35px;
|
|
|
@@ -1059,7 +1195,66 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.el-dialog__body {
|
|
|
+ display: flex;
|
|
|
flex-direction: column;
|
|
|
+ .roomID {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ height: 49px;
|
|
|
+ .roomblock {
|
|
|
+ margin: 10px 19px;
|
|
|
+ width: 262px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .number {
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .password {
|
|
|
+ margin-left: 10px;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ padding: 2px;
|
|
|
+ cursor: pointer;
|
|
|
+ background-color: rgba(41, 109, 227, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-input {
|
|
|
+ width: 150px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .el-dialog__footer {
|
|
|
+ margin: 20px 14px 0px 0;
|
|
|
+ .dialog-footer {
|
|
|
+ .el-button:nth-child(2) {
|
|
|
+ color: #fff;
|
|
|
+ background: rgba(41, 109, 227, 1);
|
|
|
+ }
|
|
|
+ .el-button {
|
|
|
+ width: 67px;
|
|
|
+ height: 37px;
|
|
|
+ padding-left: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .addroom.el-dialog {
|
|
|
+ box-shadow: none;
|
|
|
+ margin: 150px 0 0 600px !important;
|
|
|
+ width: 700px !important;
|
|
|
+ .el-dialog__header {
|
|
|
+ border-bottom: 1px solid rgba(204, 204, 204, 1);
|
|
|
+ }
|
|
|
+ .el-dialog__body {
|
|
|
+ .el-form {
|
|
|
+ display: flex;
|
|
|
+ .room {
|
|
|
+ margin: 0 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.el-dialog__footer {
|
|
|
margin: 40px 14px 0 0;
|
|
|
@@ -1076,77 +1271,78 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-// /deep/ .el-dialog {
|
|
|
-// height: 565px !important;
|
|
|
|
|
|
-// .el-dialog__header {
|
|
|
-// height: 81px;
|
|
|
-// margin: 0;
|
|
|
-// padding: 0;
|
|
|
-// border-bottom: 1px solid rgba(230, 230, 230, 1);
|
|
|
-// display: flex;
|
|
|
-// align-items: center;
|
|
|
-// color: rgba(0, 0, 0, 1);
|
|
|
+/deep/ .el-dialog {
|
|
|
+ height: 565px !important;
|
|
|
|
|
|
-// span {
|
|
|
-// font-size: 20px;
|
|
|
-// font-weight: 500;
|
|
|
-// margin-left: 30px;
|
|
|
-// }
|
|
|
+ .el-dialog__header {
|
|
|
+ height: 81px;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ border-bottom: 1px solid rgba(230, 230, 230, 1);
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
+
|
|
|
+ span {
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: 500;
|
|
|
+ margin-left: 30px;
|
|
|
+ }
|
|
|
|
|
|
-// button {
|
|
|
-// font-size: 20px;
|
|
|
-// width: 35px;
|
|
|
-// height: 35px;
|
|
|
-// top: 23px !important;
|
|
|
-// }
|
|
|
-// }
|
|
|
+ button {
|
|
|
+ font-size: 20px;
|
|
|
+ width: 35px;
|
|
|
+ height: 35px;
|
|
|
+ top: 23px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-// .el-dialog__body {
|
|
|
-// display: flex;
|
|
|
-// justify-content: center;
|
|
|
-// padding: 21px 0 0 0;
|
|
|
+ .el-dialog__body {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ padding: 21px 0 0 0;
|
|
|
|
|
|
-// .tree {
|
|
|
-// .tree-left {
|
|
|
-// width: 316px;
|
|
|
-// height: 44px;
|
|
|
-// background: rgba(240, 243, 247, 1);
|
|
|
-// border: 1px solid rgba(230, 230, 230, 1);
|
|
|
-// box-sizing: border-box;
|
|
|
-// display: flex;
|
|
|
-// align-items: center;
|
|
|
-// }
|
|
|
-// }
|
|
|
+ .tree {
|
|
|
+ .tree-left {
|
|
|
+ width: 316px;
|
|
|
+ height: 44px;
|
|
|
+ background: rgba(240, 243, 247, 1);
|
|
|
+ border: 1px solid rgba(230, 230, 230, 1);
|
|
|
+ box-sizing: border-box;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-// .el-tree {
|
|
|
-// width: 316px;
|
|
|
-// height: 324px;
|
|
|
-// border: 1px solid rgba(230, 230, 230, 1);
|
|
|
-// box-sizing: border-box;
|
|
|
-// padding-left: 9px;
|
|
|
-// }
|
|
|
+ .el-tree {
|
|
|
+ width: 316px;
|
|
|
+ height: 324px;
|
|
|
+ border: 1px solid rgba(230, 230, 230, 1);
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-left: 9px;
|
|
|
+ }
|
|
|
|
|
|
-// ul {
|
|
|
-// width: 316px;
|
|
|
-// height: 324px;
|
|
|
-// list-style: none;
|
|
|
-// padding: 0;
|
|
|
-// margin: 0;
|
|
|
-// border: 1px solid rgba(230, 230, 230, 1);
|
|
|
-// box-sizing: border-box;
|
|
|
-// li {
|
|
|
-// display: flex;
|
|
|
-// justify-content: space-between;
|
|
|
-// padding-right: 17px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
+ ul {
|
|
|
+ width: 316px;
|
|
|
+ height: 324px;
|
|
|
+ list-style: none;
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+ border: 1px solid rgba(230, 230, 230, 1);
|
|
|
+ box-sizing: border-box;
|
|
|
+ li {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding-right: 17px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-// .el-dialog__footer {
|
|
|
-// padding: 24px 30px 0 0;
|
|
|
-// }
|
|
|
-// }
|
|
|
+ .el-dialog__footer {
|
|
|
+ padding: 24px 30px 0 0;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
.el-popover.popperOptions {
|