Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
017d38f1
Commit
017d38f1
authored
Apr 24, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化加入大厅事项
parent
2cfdf9b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
17 deletions
+22
-17
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
.../src/pages/basicset/business/components/businessTabs4.vue
+22
-17
No files found.
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
View file @
017d38f1
...
...
@@ -107,7 +107,7 @@
<
template
slot=
"hallCheckIn"
slot-scope=
"text"
>
<y-switch
v-model=
"text.hallCheckIn"
@
onChange=
"changeHallCheckIn(
text)"
@
onChange=
"changeHallCheckIn(text)"
></y-switch>
</
template
>
<!-- 帮办代办 -->
...
...
@@ -150,7 +150,11 @@
</template>
<
script
>
import
{
getSiteMatterList
,
addSitematter
,
batchSaveSitematter
}
from
"
@/services/matter
"
;
import
{
getSiteMatterList
,
addSitematter
,
batchSaveSitematter
,
}
from
"
@/services/matter
"
;
import
{
pageSizeOptions
}
from
"
@/config/pageConfig.js
"
;
import
{
getDeptList
}
from
"
@/services/dept
"
;
import
YSwitch
from
"
@/components/yswitch/YSwitch.vue
"
;
...
...
@@ -343,15 +347,16 @@ export default {
},
// 批量设置大厅入驻事项
async
changeHallCheckInAll
(){
async
changeHallCheckInAll
()
{
if
(
!
this
.
selectedRows
.
length
)
{
this
.
$message
.
warning
(
"
请先勾选数据
"
);
return
;
}
this
.
loading
=
true
;
this
.
selectedRows
.
forEach
((
v
)
=>
{
v
.
hallCheckIn
=
1
;
});
let
res
=
await
batchSaveSitematter
(
this
.
selectedRows
)
let
res
=
await
batchSaveSitematter
(
this
.
selectedRows
)
;
let
{
code
}
=
res
.
data
;
if
(
code
==
1
)
{
this
.
$message
.
success
(
"
加入成功
"
);
...
...
@@ -360,7 +365,7 @@ export default {
},
// 加入大厅入驻事项
async
changeHallCheckIn
(
row
)
{
async
changeHallCheckIn
(
row
)
{
let
res
=
await
addSitematter
(
row
);
if
(
res
.
data
.
code
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
msg
);
...
...
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