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
b6d76e37
Commit
b6d76e37
authored
Dec 15, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改窗口绑定业务回填
parent
625295a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
base-manager-ui/admin/src/pages/basicset/dept/components/addWindowBusiness.vue
.../src/pages/basicset/dept/components/addWindowBusiness.vue
+2
-7
No files found.
base-manager-ui/admin/src/pages/basicset/dept/components/addWindowBusiness.vue
View file @
b6d76e37
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<
script
>
<
script
>
import
{
getSiteBusinessList
}
from
"
@/services/business
"
;
import
{
getSiteBusinessList
}
from
"
@/services/business
"
;
import
{
addBusinessToWindow
}
from
"
@/services/dept
"
;
import
{
addBusinessToWindow
}
from
"
@/services/dept
"
;
import
{
extractTree
}
from
"
@/utils/util
"
;
//
import { extractTree } from "@/utils/util";
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
const
columns
=
[
const
columns
=
[
{
{
...
@@ -137,12 +137,7 @@ export default {
...
@@ -137,12 +137,7 @@ export default {
await
this
.
getSiteBusinessList
();
await
this
.
getSiteBusinessList
();
this
.
formData
=
info
;
this
.
formData
=
info
;
if
(
info
.
businessIds
.
length
)
{
if
(
info
.
businessIds
.
length
)
{
let
arr
=
extractTree
(
this
.
siteBusinessList
,
"
children
"
).
map
((
v
)
=>
this
.
rowKeys
=
info
.
businessIds
;
Number
(
v
.
id
)
);
this
.
rowKeys
=
arr
.
filter
((
v
)
=>
{
return
info
.
businessIds
.
some
((
val
)
=>
v
==
val
);
});
}
else
{
}
else
{
this
.
rowKeys
=
[];
this
.
rowKeys
=
[];
}
}
...
...
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