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
46156897
Commit
46156897
authored
May 16, 2023
by
彭松
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/smart_gov_platform
parents
8e1fe334
6d217452
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5877 additions
and
5783 deletions
+5877
-5783
base-manager-ui/admin/src/assets/img/logo.png
base-manager-ui/admin/src/assets/img/logo.png
+0
-0
base-manager-ui/admin/src/config/default/setting.config.js
base-manager-ui/admin/src/config/default/setting.config.js
+1
-1
base-manager-ui/admin/src/layouts/Layouts.vue
base-manager-ui/admin/src/layouts/Layouts.vue
+8
-3
base-manager-ui/admin/src/layouts/header/HeaderSite.vue
base-manager-ui/admin/src/layouts/header/HeaderSite.vue
+1
-1
portal-manager-ui/admin/src/api/thePlatformIsSet.js
portal-manager-ui/admin/src/api/thePlatformIsSet.js
+16
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/alerting.vue
...nts/productManage/components/InterfaceManage/alerting.vue
+35
-32
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/components/Details.vue
...tManage/components/InterfaceManage/components/Details.vue
+493
-423
portal-manager-ui/admin/yarn.lock
portal-manager-ui/admin/yarn.lock
+5323
-5323
No files found.
base-manager-ui/admin/src/assets/img/logo.png
View replaced file @
8e1fe334
View file @
46156897
5.34 KB
|
W:
|
H:
2.36 KB
|
W:
|
H:
2-up
Swipe
Onion skin
base-manager-ui/admin/src/config/default/setting.config.js
View file @
46156897
...
...
@@ -18,7 +18,7 @@ module.exports = {
multiPage
:
true
,
//多页签模式,true:开启,false:不开启
cachePage
:
true
,
//是否缓存页面数据,仅多页签模式下生效,true 缓存, false 不缓存
hideSetting
:
false
,
//隐藏设置抽屉,true:隐藏,false:不隐藏
systemName
:
"
智慧政务一体化综合管理
平台
"
,
//系统名称
systemName
:
"
基础设置
平台
"
,
//系统名称
copyright
:
"
2021 ICZER 信宏翔科技有限公司
"
,
//copyright
asyncRoutes
:
false
,
//异步加载路由,true:开启,false:不开启
showPageTitle
:
true
,
//是否显示页面标题(PageLayout 布局中的页面标题),true:显示,false:不显示
...
...
base-manager-ui/admin/src/layouts/Layouts.vue
View file @
46156897
...
...
@@ -4,8 +4,8 @@
<a-layout-header
class=
"header"
>
<div
class=
"flex aic"
>
<router-link
to=
"/"
class=
"flex aic"
>
<
!--
<img
width=
"32"
src=
"@/assets/img/logo.png"
/>
--
>
<h1
>
{{
systemName
}}
</h1>
<
img
class=
"mr10"
width=
"32"
src=
"@/assets/img/logo.png"
/
>
<h1
class=
"title"
>
基础设置平台
</h1>
</router-link>
<HeaderSite
class=
"ml20"
></HeaderSite>
</div>
...
...
@@ -72,11 +72,12 @@ export default {
<
style
lang=
"less"
scoped
>
.ant-layout-header {
padding: 0px 24px;
background-color: #2681e8;
//
background-color: #2681e8;
font-size: 14px;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(90deg, #1845c6 0%, #2999ff 100%);
h1 {
color: #fff;
font-size: 16px;
...
...
@@ -85,6 +86,10 @@ export default {
a {
color: #fff;
}
.title {
font-size: 20px;
font-weight: bold;
}
}
.main {
height: calc(100vh - 64px);
...
...
base-manager-ui/admin/src/layouts/header/HeaderSite.vue
View file @
46156897
...
...
@@ -157,7 +157,7 @@ export default {
<
style
lang=
"less"
scoped
>
.ant-dropdown-link {
padding: 0 20px;
font-size: 1
4
px;
font-size: 1
6
px;
min-width: 200px;
display: inline-block;
color: #fff;
...
...
portal-manager-ui/admin/src/api/thePlatformIsSet.js
View file @
46156897
...
...
@@ -57,3 +57,19 @@ export function deleteDocument(params) {
//-------------xj: --------------------
// 产品接口
export
function
getInterfaceList
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/interface/list`
,
params
);
}
// 新增编辑产品接口
export
function
getInterfaceSave
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/interface/save`
,
params
);
}
// 查看产品接口
export
function
getInterfaceInfo
(
params
)
{
return
http
.
get
(
`
${
baseURL
}
/zwfw/product/interface/info`
,
params
);
}
// 删除产品接口
export
function
getInterfaceDelete
(
params
)
{
return
http
.
get
(
`
${
baseURL
}
/zwfw/product/interface/delete`
,
params
);
}
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/alerting.vue
View file @
46156897
...
...
@@ -2,14 +2,14 @@
<div
class=
"PoliticsShow-Container"
>
<div
class=
"header_box"
>
<div>
<button
class=
"add_btn"
>
<button
class=
"add_btn"
@
click=
"openDetails('新增',
{})"
>
<span>
新增
</span>
</button>
</div>
<span>
<a-input
allowClear
v-model=
"
search
Name"
v-model=
"
query.interface
Name"
placeholder=
"请输入接口名称查询"
>
<a-icon
slot=
"prefix"
type=
"search"
/>
...
...
@@ -67,14 +67,14 @@
:dataSource="tableSourceData"
>
<template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click=
"openDetails"
>
详情
{{
index
+
1
}}
</a-button
<a-button
type=
"link"
@
click=
"openDetails
('详情',record)
"
>
详情
</a-button
>
<a-button
type=
"link"
@
click=
"openDetails"
>
编辑
{{
index
+
1
}}
</a-button
<a-button
type=
"link"
@
click=
"openDetails
('编辑',record)
"
>
编辑
</a-button
>
<a-button
type=
"link"
style=
"color: #ff4420"
>
删除
{{
index
+
1
}}
</a-button
>
删除
</a-button
>
</
template
>
</a-table>
...
...
@@ -86,6 +86,7 @@
<
script
>
import
table
from
"
@/mixins/table
"
;
import
Details
from
"
./components/Details.vue
"
;
import
{
getInterfaceList
}
from
'
@/api/thePlatformIsSet.js
'
export
default
{
mixins
:
[
table
],
name
:
"
PortalAdminVueAlerting
"
,
...
...
@@ -103,42 +104,47 @@ export default {
{
title
:
"
API名称
"
,
align
:
"
center
"
,
dataIndex
:
"
API名称
"
,
dataIndex
:
"
interfaceName
"
,
},
{
title
:
"
请求类型
"
,
align
:
"
center
"
,
dataIndex
:
"
请求类型
"
,
dataIndex
:
"
requestType
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
record
.
requestType
==
1
?
'
POST
'
:
'
GET
'
}
`
,
},
{
title
:
"
标签
"
,
align
:
"
center
"
,
dataIndex
:
"
标签
"
,
dataIndex
:
"
interfaceTag
"
,
},
{
title
:
"
请求协议
"
,
align
:
"
center
"
,
dataIndex
:
"
请求协议
"
,
dataIndex
:
"
requestProtocol
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
record
.
requestProtocol
==
1
?
'
HTTP
'
:
'
HTTPS
'
}
`
,
},
{
title
:
"
版本
"
,
align
:
"
center
"
,
dataIndex
:
"
版本
"
,
dataIndex
:
"
versionNumber
"
,
},
{
title
:
"
来源
"
,
align
:
"
center
"
,
dataIndex
:
"
来源
"
,
dataIndex
:
"
interfaceSource
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
record
.
interfaceSource
==
1
?
'
自有
'
:
'
非自有
'
}
`
,
},
{
title
:
"
策略
"
,
align
:
"
center
"
,
dataIndex
:
"
策略
"
,
dataIndex
:
"
limitStrategy
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
record
.
limitStrategy
==
1
?
'
分钟
'
:
'
小时
'
}
`
,
},
{
title
:
"
访问网络
"
,
align
:
"
center
"
,
dataIndex
:
"
访问网络
"
,
dataIndex
:
"
network
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
record
.
network
==
1
?
'
互联网
'
:
'
政务网
'
}
`
,
},
{
...
...
@@ -151,29 +157,26 @@ export default {
},
},
],
searchName
:
undefined
,
query
:{
interfaceName
:
undefined
,
page
:
1
,
size
:
10
,
},
total
:
0
};
},
components
:
{
Details
,
},
mounted
()
{
this
.
setMoment
();
for
(
let
key
=
0
;
key
<
20
;
key
++
)
{
this
.
tableSourceData
.
push
({
id
:
`00
${
key
+
1
}
`
,
API
名称
:
`排队信息查询接口
${
key
+
1
}
`
,
请求类型
:
`POST
${
key
+
1
}
`
,
标签
:
`政务外网
${
key
+
1
}
`
,
请求协议
:
`HTTP
${
key
+
1
}
`
,
版本
:
`v1.0
${
key
+
1
}
`
,
来源
:
`自有
${
key
+
1
}
`
,
策略
:
`--
${
key
+
1
}
`
,
访问网络
:
`互联网
${
key
+
1
}
`
,
});
}
this
.
getList
();
},
methods
:
{
getList
()
{
getInterfaceList
(
this
.
query
).
then
(
res
=>
{
this
.
tableSourceData
=
res
.
data
.
data
})
},
QueueState
(
type
)
{
switch
(
type
)
{
case
0
:
...
...
@@ -185,8 +188,8 @@ export default {
return
"
type0
"
;
}
},
openDetails
()
{
this
.
$refs
.
Details
.
modalInfo
.
title
=
"
新增接口
"
;
openDetails
(
type
)
{
this
.
$refs
.
Details
.
modalInfo
.
title
=
type
;
this
.
$refs
.
Details
.
modalInfo
.
visible
=
true
;
this
.
$refs
.
Details
.
modalInfo
.
width
=
"
55%
"
;
},
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/components/Details.vue
View file @
46156897
This diff is collapsed.
Click to expand it.
portal-manager-ui/admin/yarn.lock
View file @
46156897
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