Commit 7038c8ef by 袁晓帅

修改智慧安防字段名称变更

parent 2ccc6268
......@@ -452,6 +452,27 @@ export default {
// 智慧行人-提交事事件
submit(data){
var that = this
if(that.data.merchant === ''){
that.$message({
message: '请输入商户人数',
type: 'warning'
});
}else if(that.data.owner === ''){
that.$message({
message: '请输入业主人数',
type: 'warning'
});
}else if(that.data.property === ''){
that.$message({
message: '请输入物业人数',
type: 'warning'
});
}else if(that.data.tenant === ''){
that.$message({
message: '请输入租户人数',
type: 'warning'
});
}else{
that.$axios.post('/wisePeople/editWisePeople', that.data).then((res) => {
if (res.data.code === '0') {
that.$message({
......@@ -463,6 +484,7 @@ export default {
that.$message.error('更改失败');
}
});
}
},
// 智慧设备保存
SmarSubmit(data){
......
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 sign in to comment