|
@@ -12,11 +12,11 @@
|
|
|
:key="item.id"
|
|
|
v-for="(item,index) in seatTypeList"
|
|
|
>
|
|
|
- <span :style="{backgroundColor: item.color}"></span>
|
|
|
+ <span :style="{backgroundColor: item.color,border: '1px solid #000'}"></span>
|
|
|
<span :style="{color: item.color}">{{ item.name }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <span :style="{backgroundColor: '#ccc'}"></span>
|
|
|
+ <span :style="{backgroundColor: '#ccc',border: '1px solid #000'}"></span>
|
|
|
<span :style="{color: '#ccc'}">{{ "不可用" }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
@@ -86,14 +86,13 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="row-item-box" :style='{display: "flex",flexWrap: "nowrap",justifyContent: item.align}'>
|
|
|
<div
|
|
|
- :class="['row-item']"
|
|
|
+ :class="['row-item',selectList.includes(item1.styleCss.id) ? 'row-item-select': '']"
|
|
|
v-for="(item1,index1) in scope.row[item.key]"
|
|
|
:key="item1.styleCss.id"
|
|
|
dragSelectType="div"
|
|
|
:dragSelectId="item1.styleCss.id"
|
|
|
:style="{
|
|
|
backgroundColor: item1.status == 1 ? item1.color?item1.color: '#fff': '#ccc',
|
|
|
- border: selectList.includes(item1.styleCss.id) ? '5px solid #1890ff': '1px solid #000'
|
|
|
}"
|
|
|
@contextmenu="(e)=>{e.preventDefault();openFormDialogVisible('singleEdit',item1)}"
|
|
|
>
|
|
@@ -462,8 +461,8 @@ export default {
|
|
|
tableDataAll: [], // 全部的座位
|
|
|
widthAll: '100%',
|
|
|
heightAll: '100%',
|
|
|
- width: 60,
|
|
|
- height: 60,
|
|
|
+ width: 65,
|
|
|
+ height: 65,
|
|
|
spacing: 10,
|
|
|
whNum: 43,
|
|
|
|
|
@@ -1480,7 +1479,8 @@ export default {
|
|
|
width: var(--row-w);
|
|
|
height: var(--row-h);
|
|
|
margin-left: 5px;
|
|
|
- border: 1px solid #ccc;
|
|
|
+ border: 1px solid rgba(0,0,0,0.5);
|
|
|
+ border-radius: 2px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
flex-shrink: 0;
|
|
@@ -1495,6 +1495,7 @@ export default {
|
|
|
transform: scale(var(--row-scale));
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ padding: 5px;
|
|
|
}
|
|
|
i {
|
|
|
color: #000;
|
|
@@ -1520,7 +1521,23 @@ export default {
|
|
|
background-position: 50% 50%;
|
|
|
background-repeat: no-repeat;
|
|
|
z-index: 1;
|
|
|
- }
|
|
|
+ }
|
|
|
+ .row-item-select {
|
|
|
+ border: 5px solid #1890ff;
|
|
|
+ }
|
|
|
+ // .row-item-select::after {
|
|
|
+ // content:"";
|
|
|
+ // display:block;
|
|
|
+ // position:absolute;
|
|
|
+ // top:0;
|
|
|
+ // left:0;
|
|
|
+ // width: 100%;
|
|
|
+ // height: 100%;
|
|
|
+ // border: 5px solid #1890ff;
|
|
|
+ // z-index: 1;
|
|
|
+ // padding: 5px;
|
|
|
+ // }
|
|
|
+
|
|
|
.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf {
|
|
|
border-bottom: none !important;
|
|
|
}
|