Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
05c554ad
authored
2020-11-09 19:50:23 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(bjlp):引入批量室号
1 parent
5c795645
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
src/api/zrz.js
src/components/plsh/plSh.vue
src/api/zrz.js
View file @
05c554a
...
...
@@ -93,3 +93,13 @@ export function updatePlc(data) {
})
}
/**
* 批量修改室号
*/
export
function
updateSh
(
data
)
{
return
request
({
url
:
'/system/qjH/batchSh'
,
method
:
'put'
,
data
:
data
})
}
...
...
src/components/plsh/plSh.vue
View file @
05c554a
...
...
@@ -92,6 +92,8 @@
</
template
>
<
script
>
import
{
updateSh
}
from
'./../../api/zrz'
import
{
Message
}
from
'element-ui'
export
default
{
name
:
"plSh"
,
props
:
{
...
...
@@ -152,6 +154,13 @@
save
:
function
()
{
this
.
plshData
[
'bsms'
]
=
this
.
bsms
console
.
log
(
this
.
plshData
)
updateSh
(
this
.
plshData
).
then
(
res
=>
{
if
(
res
.
success
){
this
.
close
();
}
else
{
Message
.
error
(
res
.
message
)
}
})
},
cancel
:
function
()
{
this
.
close
()
...
...
Please
register
or
sign in
to post a comment