Commit 2ccc6268 by 袁晓帅

修改提示信息

parent e7b2c647
...@@ -452,28 +452,6 @@ export default { ...@@ -452,28 +452,6 @@ export default {
// 智慧行人-提交事事件 // 智慧行人-提交事事件
submit(data){ submit(data){
var that = this var that = this
if(data === 'wise'){
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) => { that.$axios.post('/wisePeople/editWisePeople', that.data).then((res) => {
if (res.data.code === '0') { if (res.data.code === '0') {
that.$message({ that.$message({
...@@ -485,8 +463,6 @@ export default { ...@@ -485,8 +463,6 @@ export default {
that.$message.error('更改失败'); that.$message.error('更改失败');
} }
}); });
}
}
}, },
// 智慧设备保存 // 智慧设备保存
SmarSubmit(data){ 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