Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
jinmao-community-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ccc6268
authored
Aug 05, 2021
by
袁晓帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示信息
parent
e7b2c647
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
32 deletions
+8
-32
src/components/page/IOC/data.vue
+8
-32
No files found.
src/components/page/IOC/data.vue
View file @
2ccc6268
...
@@ -452,41 +452,17 @@ export default {
...
@@ -452,41 +452,17 @@ export default {
// 智慧行人-提交事事件
// 智慧行人-提交事事件
submit
(
data
){
submit
(
data
){
var
that
=
this
var
that
=
this
if
(
data
===
'wise'
){
that
.
$axios
.
post
(
'/wisePeople/editWisePeople'
,
that
.
data
).
then
((
res
)
=>
{
if
(
that
.
data
.
merchant
==
''
){
if
(
res
.
data
.
code
===
'0'
)
{
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
({
that
.
$message
({
message
:
'请输入租户人数'
,
message
:
'更改成功'
,
type
:
'warning'
type
:
'success'
});
}
else
{
that
.
$axios
.
post
(
'/wisePeople/editWisePeople'
,
that
.
data
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'0'
)
{
that
.
$message
({
message
:
'更改成功'
,
type
:
'success'
});
that
.
getList
();
}
else
{
that
.
$message
.
error
(
'更改失败'
);
}
});
});
that
.
getList
();
}
else
{
that
.
$message
.
error
(
'更改失败'
);
}
}
}
}
);
},
},
// 智慧设备保存
// 智慧设备保存
SmarSubmit
(
data
){
SmarSubmit
(
data
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment