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
0ce85d1e
Commit
0ce85d1e
authored
Mar 09, 2024
by
王启林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 修改站点事项
parent
5d052533
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
266 additions
and
535 deletions
+266
-535
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
.../src/pages/basicset/business/components/businessTabs4.vue
+45
-1
base-manager-ui/admin/yarn.lock
base-manager-ui/admin/yarn.lock
+221
-534
No files found.
base-manager-ui/admin/src/pages/basicset/business/components/businessTabs4.vue
View file @
0ce85d1e
...
...
@@ -5,9 +5,14 @@
<div
class=
"titel"
>
站点事项列表
</div>
<div
class=
"header-bottom flex aic jcb pdr6"
>
<div
class=
"left-btn"
>
<a-space>
<a-button
type=
"primary"
@
click=
"changeHallCheckInAll"
>
批量设置入驻事项
</a-button
>
<a-button
type=
"primary"
@
click=
"setBatchAgent"
>
批量设置帮办代办
</a-button
>
</a-space>
</div>
<div>
<a-space>
...
...
@@ -98,6 +103,13 @@
<a-tag
v-else
color=
"blue"
>
手动添加
</a-tag>
</
template
>
<!-- 大厅入驻事项 -->
<
template
slot=
"hallCheckIn"
slot-scope=
"text"
>
<y-switch
v-model=
"text.hallCheckIn"
@
onChange=
"changeHallCheckIn( text)"
></y-switch>
</
template
>
<!-- 帮办代办 -->
<
template
slot=
"agent"
slot-scope=
"text"
>
<y-switch
...
...
@@ -138,7 +150,7 @@
</template>
<
script
>
import
{
getSiteMatterList
,
addSitematter
}
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
"
;
...
...
@@ -171,6 +183,12 @@ const columns = [
customRender
:
"
source
"
,
},
},
{
title
:
"
大厅入驻事项
"
,
scopedSlots
:
{
customRender
:
"
hallCheckIn
"
,
},
},
{
title
:
"
帮办代办
"
,
scopedSlots
:
{
...
...
@@ -324,6 +342,32 @@ export default {
this
.
addVisile
=
true
;
},
// 批量设置大厅入驻事项
async
changeHallCheckInAll
(){
if
(
!
this
.
selectedRows
.
length
)
{
this
.
$message
.
warning
(
"
请先勾选数据
"
);
return
;
}
this
.
selectedRows
.
forEach
((
v
)
=>
{
v
.
hallCheckIn
=
1
;
});
let
res
=
await
batchSaveSitematter
(
this
.
selectedRows
)
let
{
code
}
=
res
.
data
;
if
(
code
==
1
)
{
this
.
$message
.
success
(
"
加入成功
"
);
}
this
.
getMatterSiteData
();
},
// 加入大厅入驻事项
async
changeHallCheckIn
(
row
){
let
res
=
await
addSitematter
(
row
);
if
(
res
.
data
.
code
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
msg
);
}
this
.
getMatterSiteData
();
},
// 设置帮办代办
async
changeAgent
(
val
,
row
)
{
if
(
val
==
1
)
{
...
...
base-manager-ui/admin/yarn.lock
View file @
0ce85d1e
This diff is collapsed.
Click to expand it.
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