Commit 567d2d3e authored by youjie's avatar youjie

修复

parent e8fe33ec
...@@ -141,10 +141,10 @@ ...@@ -141,10 +141,10 @@
</div> </div>
<div class="PAL_CONT"> <div class="PAL_CONT">
<div class="PAL_List" v-for="(item,index) in list" v-if="item.houseType==0" :draggable="item.isDrag" @dragstart="drag(item)" :key='index'> <div class="PAL_List" v-for="(item,index) in list" v-if="item.houseNo=='未分配'" :draggable="item.isDrag" @dragstart="drag(item)" :key='index'>
<div class="PAL_Name"> <div class="PAL_Name">
<div> <div>
<span>{{item.surName}}{{item.name}}</span> <span>{{item.surName}}{{item.name}}</span>{{item.isDrag}}
<span :style="item.isBed==0?'background-color: #254AC3;':'background-color: #D4311B;'">{{item.houseNo}}-({{item.isBed==0?$t('op.NoneedBed'):$t('op.TakeBed')}})</span> <span :style="item.isBed==0?'background-color: #254AC3;':'background-color: #D4311B;'">{{item.houseNo}}-({{item.isBed==0?$t('op.NoneedBed'):$t('op.TakeBed')}})</span>
<div class="PAL_RightHeader" v-show="!isOverdue"> <div class="PAL_RightHeader" v-show="!isOverdue">
<i class="iconfont icon-shanchu" @click="pal_del(item)"></i> <i class="iconfont icon-shanchu" @click="pal_del(item)"></i>
...@@ -397,7 +397,7 @@ export default { ...@@ -397,7 +397,7 @@ export default {
} }
if(obj.houseType==5) if(obj.houseType==5)
{console.log('--------4') {
let isBedNum=0 let isBedNum=0
let notBedNum=0 let notBedNum=0
let otherIsBedNum=0 let otherIsBedNum=0
...@@ -542,6 +542,7 @@ export default { ...@@ -542,6 +542,7 @@ export default {
let arrList = function(list){ let arrList = function(list){
list.forEach(x=>{ list.forEach(x=>{
x.houseType = '' x.houseType = ''
x.isDrag = false
}) })
} }
arrList(res.data.data.guestList) arrList(res.data.data.guestList)
...@@ -559,7 +560,7 @@ export default { ...@@ -559,7 +560,7 @@ export default {
this.isOverdue=false this.isOverdue=false
} }
this.list.forEach(item=>{ this.list.forEach(item=>{
if(item.houseType=='no') if(item.houseNo=='未分配')
{ {
item['isDrag']=true item['isDrag']=true
}else{ }else{
......
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