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
9616571b
Commit
9616571b
authored
Mar 21, 2025
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化
parent
0ffce21d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
18 deletions
+27
-18
base-manager-ui/admin/src/pages/basicset/addmatter/components/InternetChannel.vue
...c/pages/basicset/addmatter/components/InternetChannel.vue
+18
-16
base-manager-ui/admin/src/pages/basicset/social/Social.vue
base-manager-ui/admin/src/pages/basicset/social/Social.vue
+9
-2
No files found.
base-manager-ui/admin/src/pages/basicset/addmatter/components/InternetChannel.vue
View file @
9616571b
...
...
@@ -78,7 +78,7 @@
</div>
</
template
>
<
script
>
<
script
>
import
{
addMatterInternet
,
getMatterInternetList
,
...
...
@@ -128,7 +128,10 @@ export default {
}
},
async
handleSave
()
{
console
.
log
(
this
.
arrType
);
if
(
!
local
.
getLocal
(
"
matter
"
))
{
this
.
$message
.
warning
(
"
请先新增基本信息
"
);
return
;
}
let
arr
=
this
.
arrType
.
filter
((
v
)
=>
v
);
arr
.
forEach
((
v
)
=>
{
local
.
getLocal
(
"
matter
"
).
matterName
...
...
@@ -140,7 +143,6 @@ export default {
:
(
v
.
matterId
=
""
);
});
let
res
=
await
addMatterInternet
(
arr
);
console
.
log
(
res
);
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
==
1
)
{
this
.
$message
.
success
(
msg
);
...
...
@@ -149,6 +151,7 @@ export default {
}
},
async
getList
()
{
if
(
local
.
getLocal
(
"
matter
"
))
{
let
res
=
await
getMatterInternetList
({
matterId
:
local
.
getLocal
(
"
matter
"
).
id
,
});
...
...
@@ -158,13 +161,13 @@ export default {
}
else
{
this
.
arrType
=
[];
}
console
.
log
(
res
);
}
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.basicset-tab4 {
width: 100%;
height: 100%;
...
...
@@ -235,4 +238,3 @@ export default {
}
}
</
style
>
\ No newline at end of file
base-manager-ui/admin/src/pages/basicset/social/Social.vue
View file @
9616571b
...
...
@@ -114,8 +114,15 @@ export default {
dataIndex
:
"
orgCode
"
,
},
{
title
:
"
备注
"
,
dataIndex
:
"
remark
"
,
title
:
"
状态
"
,
dataIndex
:
"
enabled
"
,
customRender
:
(
text
)
=>
{
if
(
text
===
1
)
{
return
<
a
-
tag
color
=
"
green
"
>
启用
<
/a-tag>
;
}
else
if
(
text
===
0
)
{
return
<
a
-
tag
color
=
"
red
"
>
停用
<
/a-tag>
;
}
},
},
{
title
:
"
操作
"
,
...
...
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