Commit 567d2d3e authored by youjie's avatar youjie

修复

parent e8fe33ec
......@@ -141,10 +141,10 @@
</div>
<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>
<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>
<div class="PAL_RightHeader" v-show="!isOverdue">
<i class="iconfont icon-shanchu" @click="pal_del(item)"></i>
......@@ -397,7 +397,7 @@ export default {
}
if(obj.houseType==5)
{console.log('--------4')
{
let isBedNum=0
let notBedNum=0
let otherIsBedNum=0
......@@ -542,6 +542,7 @@ export default {
let arrList = function(list){
list.forEach(x=>{
x.houseType = ''
x.isDrag = false
})
}
arrList(res.data.data.guestList)
......@@ -559,7 +560,7 @@ export default {
this.isOverdue=false
}
this.list.forEach(item=>{
if(item.houseType=='no')
if(item.houseNo=='未分配')
{
item['isDrag']=true
}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