bug
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<span class="tips">*</span>网格名称
|
<span class="tips">*</span>网格名称
|
||||||
</div>
|
</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<u-input type="text" placeholder="请输入" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" v-model="form.girdName" maxlength="20" />
|
<u-input type="text" placeholder="请输入" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" v-model="form.girdName" maxlength="50" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-flex">
|
<div class="item-flex">
|
||||||
@@ -29,7 +29,8 @@
|
|||||||
<span v-for="(item, index) in form.girdMemberList" :key="index"><span v-if="index>0">,</span>{{item.name}}</span>
|
<span v-for="(item, index) in form.girdMemberList" :key="index"><span v-if="index>0">,</span>{{item.name}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span style="color:#999;" v-else>请选择</span>
|
<span style="color:#999;" v-else>请选择</span>
|
||||||
<img src="./components/img/right-icon.png" alt="" /></div>
|
<img src="./components/img/right-icon.png" alt="" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer" @click="confirm">确认添加</div>
|
<div class="footer" @click="confirm">确认添加</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,6 +82,7 @@ export default {
|
|||||||
this.form.girdLevel = Number(this.detailInfo.girdLevel)+1
|
this.form.girdLevel = Number(this.detailInfo.girdLevel)+1
|
||||||
this.form.girdType = Number(this.detailInfo.girdType)+1
|
this.form.girdType = Number(this.detailInfo.girdType)+1
|
||||||
this.form.isLastLevel = this.form.girdLevel == 2 ? '1' : '0'
|
this.form.isLastLevel = this.form.girdLevel == 2 ? '1' : '0'
|
||||||
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -109,6 +111,8 @@ export default {
|
|||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
|
}).catch((err) => {
|
||||||
|
this.$u.toast(err)
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,12 +85,13 @@ export default {
|
|||||||
selectUserList.push(item)
|
selectUserList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (!selectUserList.length) {
|
uni.$emit('selectUser', selectUserList)
|
||||||
return this.$u.toast('请选择人员')
|
uni.navigateBack()
|
||||||
} else {
|
// if (!selectUserList.length) {
|
||||||
uni.$emit('selectUser', selectUserList)
|
// return this.$u.toast('请选择人员')
|
||||||
uni.navigateBack()
|
// } else {
|
||||||
}
|
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|||||||
@@ -197,6 +197,8 @@ export default {
|
|||||||
this.isGirdUser()
|
this.isGirdUser()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}).catch((err) => {
|
||||||
|
this.$u.toast(err)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user