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
2847159e
Commit
2847159e
authored
Aug 08, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
a753796e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
352 additions
and
181 deletions
+352
-181
portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue
...-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue
+12
-10
portal-manager-ui/admin/src/views/dataAdmin/components/serviceDataAnalyse/makeTrendResearch.vue
...Admin/components/serviceDataAnalyse/makeTrendResearch.vue
+8
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/components/portDocument.vue
...formIsSet/components/APIServe/components/portDocument.vue
+63
-21
portal-manager-ui/admin/src/views/thePlatformIsSet/components/dictionary/dictionary.vue
...ews/thePlatformIsSet/components/dictionary/dictionary.vue
+224
-134
portal-manager-ui/admin/src/views/thePlatformIsSet/components/logService/Service.vue
.../views/thePlatformIsSet/components/logService/Service.vue
+1
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/menuManagement.vue
...latformIsSet/components/menuManagement/menuManagement.vue
+1
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/authorityMis.vue
...latformIsSet/components/permissionsModel/authorityMis.vue
+17
-4
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/userManagement.vue
...tformIsSet/components/permissionsModel/userManagement.vue
+18
-7
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/components/Details.vue
...tManage/components/InterfaceManage/components/Details.vue
+6
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/productManage.vue
...ePlatformIsSet/components/productManage/productManage.vue
+2
-2
No files found.
portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue
View file @
2847159e
<
template
>
<
template
>
<div
class=
"view"
>
<div
class=
"view"
>
<a-result
<a-result
status=
"404"
title=
"404"
sub-title=
"暂无内容"
>
status=
"404"
title=
"404"
sub-title=
"Sorry, the page you visited does not exist."
>
<template
#extra
>
<template
#extra
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"$router.push('/home'
)"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"$router.push(url
)"
>
返回首页
返回首页
</a-button>
</a-button>
</
template
>
</
template
>
...
@@ -19,12 +15,18 @@ export default {
...
@@ -19,12 +15,18 @@ export default {
name
:
"
PortalAdminVueNotFoundView
"
,
name
:
"
PortalAdminVueNotFoundView
"
,
data
()
{
data
()
{
return
{};
return
{
url
:
"
/home
"
,
};
},
created
()
{
this
.
$route
.
path
.
indexOf
(
"
/home/thePlatformIsSet
"
)
==
0
?
(
this
.
url
=
"
/home/thePlatformIsSet
"
)
:
""
;
},
},
mounted
()
{},
methods
:
{},
methods
:
{},
watch
:
{},
};
};
</
script
>
</
script
>
...
@@ -36,4 +38,4 @@ export default {
...
@@ -36,4 +38,4 @@ export default {
flex-direction: column;
flex-direction: column;
justify-content: center;
justify-content: center;
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/dataAdmin/components/serviceDataAnalyse/makeTrendResearch.vue
View file @
2847159e
...
@@ -90,11 +90,19 @@ export default {
...
@@ -90,11 +90,19 @@ export default {
title
:
"
整体同比
"
,
title
:
"
整体同比
"
,
align
:
"
center
"
,
align
:
"
center
"
,
dataIndex
:
"
整体同比
"
,
dataIndex
:
"
整体同比
"
,
customRender
:
(
text
,
record
,
index
)
=>
{
console
.
log
(
text
);
return
text
+
"
%
"
;
},
},
},
{
{
title
:
"
整体环比
"
,
title
:
"
整体环比
"
,
align
:
"
center
"
,
align
:
"
center
"
,
dataIndex
:
"
整体环比
"
,
dataIndex
:
"
整体环比
"
,
customRender
:
(
text
,
record
,
index
)
=>
{
console
.
log
(
text
);
return
text
+
"
%
"
;
},
},
},
],
],
};
};
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/components/portDocument.vue
View file @
2847159e
...
@@ -3,7 +3,13 @@
...
@@ -3,7 +3,13 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"top"
>
<div
class=
"top"
>
<h1
class=
"title_text"
>
{{
detailsForm
.
interfaceName
}}
</h1>
<h1
class=
"title_text"
>
{{
detailsForm
.
interfaceName
}}
</h1>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"$router.go(-1)"
style=
"margin-bottom: 1rem"
>
返回上一级
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"$router.go(-1)"
style=
"margin-bottom: 1rem"
>
返回上一级
</a-button
>
</div>
</div>
<a-card
title=
"接口信息"
:bordered=
"false"
class=
"card_box"
>
<a-card
title=
"接口信息"
:bordered=
"false"
class=
"card_box"
>
<a-descriptions>
<a-descriptions>
...
@@ -22,12 +28,21 @@
...
@@ -22,12 +28,21 @@
<a-descriptions-item
label=
"content-type"
>
{{
<a-descriptions-item
label=
"content-type"
>
{{
detailsForm
.
contentType
detailsForm
.
contentType
}}
</a-descriptions-item>
}}
</a-descriptions-item>
<a-descriptions-item
label=
"超时时长"
>
{{
detailsForm
.
timeoutValue
}}
秒
</a-descriptions-item>
<a-descriptions-item
label=
"超时时长"
>
{{
detailsForm
.
timeoutValue
}}
秒
</a-descriptions-item
>
<a-descriptions-item
label=
"限流策略"
>
{{
<a-descriptions-item
label=
"限流策略"
>
{{
detailsForm
.
limitStrategy
==
1
?
"
分钟
"
:
"
小时
"
detailsForm
.
limitStrategy
==
1
?
"
分钟
"
:
"
小时
"
}}
</a-descriptions-item>
}}
</a-descriptions-item>
<a-descriptions-item
label=
"访问网络"
v-if=
"detailsForm && detailsForm.network"
>
<a-descriptions-item
<span
v-for=
"(item, idx) of dict.network"
v-show=
"detailsForm.network.indexOf(idx) != -1"
:key=
"idx"
>
label=
"访问网络"
v-if=
"detailsForm && detailsForm.network"
>
<span
v-for=
"(item, idx) of dict.network"
v-show=
"detailsForm.network.indexOf(idx) != -1"
:key=
"idx"
>
{{
item
}}
{{
item
}}
</span>
</span>
</a-descriptions-item>
</a-descriptions-item>
...
@@ -49,7 +64,7 @@
...
@@ -49,7 +64,7 @@
</a-card>
</a-card>
<a-card
title=
"请求参数"
:bordered=
"false"
class=
"card_box"
>
<a-card
title=
"请求参数"
:bordered=
"false"
class=
"card_box"
>
<div
class=
"flex aic jcb mb10"
>
<div
class=
"flex aic jcb mb10"
>
<a-radio-group
v-model=
"requestPam.type"
button-style=
"solid"
disabled
>
<a-radio-group
v-model=
"requestPam.type"
button-style=
"solid"
>
<a-radio-button
value=
"path"
>
路径参数
</a-radio-button>
<a-radio-button
value=
"path"
>
路径参数
</a-radio-button>
<a-radio-button
value=
"headers"
>
headers
</a-radio-button>
<a-radio-button
value=
"headers"
>
headers
</a-radio-button>
<a-radio-button
value=
"query"
>
query
</a-radio-button>
<a-radio-button
value=
"query"
>
query
</a-radio-button>
...
@@ -60,8 +75,15 @@
...
@@ -60,8 +75,15 @@
<div>
{{
detailsForm
.
inEncrypt
==
1
?
"
加密
"
:
"
不加密
"
}}
</div>
<div>
{{
detailsForm
.
inEncrypt
==
1
?
"
加密
"
:
"
不加密
"
}}
</div>
</div>
</div>
</div>
</div>
<a-table
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }" :pagination="false"
<a-table
:columns="table_columns" :dataSource="requestPam.table">
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }"
:pagination="false"
:columns="table_columns"
:dataSource="requestPam.table"
>
</a-table>
</a-table>
</a-card>
</a-card>
...
@@ -72,8 +94,15 @@
...
@@ -72,8 +94,15 @@
<div>
{{
detailsForm
.
outEncrypt
==
1
?
"
加密
"
:
"
不加密
"
}}
</div>
<div>
{{
detailsForm
.
outEncrypt
==
1
?
"
加密
"
:
"
不加密
"
}}
</div>
</div>
</div>
</div>
</div>
<a-table
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }" :pagination="false"
<a-table
:columns="table_columns" :dataSource="responsePam.table">
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }"
:pagination="false"
:columns="table_columns"
:dataSource="responsePam.table"
>
</a-table>
</a-table>
</a-card>
</a-card>
...
@@ -92,8 +121,15 @@
...
@@ -92,8 +121,15 @@
</div>
</div>
</a-card>
</a-card>
<a-card
title=
"变更记录"
:bordered=
"false"
class=
"card_box"
>
<a-card
title=
"变更记录"
:bordered=
"false"
class=
"card_box"
>
<a-table
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }" :pagination="false"
<a-table
:columns="table_columns_gb" :dataSource="[]">
size=
"middle"
bordered
:row-key=
"(record) => record.id"
:locale=
"
{ emptyText: '无' }"
:pagination="false"
:columns="table_columns_gb"
:dataSource="[]"
>
</a-table>
</a-table>
</a-card>
</a-card>
</div>
</div>
...
@@ -276,7 +312,7 @@ export default {
...
@@ -276,7 +312,7 @@ export default {
margin-bottom: 1rem;
margin-bottom: 1rem;
}
}
&
+
.card_box {
&
+
.card_box {
margin-top: 1rem;
margin-top: 1rem;
}
}
}
}
...
@@ -288,15 +324,21 @@ export default {
...
@@ -288,15 +324,21 @@ export default {
width: 100%;
width: 100%;
height: @headerH;
height: @headerH;
background: rgb(59, 135, 255);
background: rgb(59, 135, 255);
background: -moz-linear-gradient(174deg,
background: -moz-linear-gradient(
rgba(59, 135, 255, 1) 24%,
174deg,
rgba(108, 53, 247, 1) 85%);
rgba(59, 135, 255, 1) 24%,
background: -webkit-linear-gradient(174deg,
rgba(108, 53, 247, 1) 85%
rgba(59, 135, 255, 1) 24%,
);
rgba(108, 53, 247, 1) 85%);
background: -webkit-linear-gradient(
background: linear-gradient(174deg,
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%);
rgba(108, 53, 247, 1) 85%
);
background: linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1);
}
}
}
}
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/dictionary/dictionary.vue
View file @
2847159e
<
template
>
<
template
>
<div
class=
"Container"
>
<div
class=
"Container"
>
<div
class=
"my-card"
>
<div
class=
"main"
>
<div
class=
"head-menu"
>
<a-tabs
v-model=
"tabsActive"
@
change=
"tabsChange"
:forceRender=
"false"
>
<div>
属性字典
</div>
<a-button
style=
"margin-right: 16px"
slot=
"tabBarExtraContent"
@
click=
"$router.back()"
>
返回上一级
</a-button
>
<a-tab-pane
:tab=
"tabsList['meta']['title']"
:key=
"0"
>
</a-tab-pane>
</a-tabs>
<div
class=
"my-card"
>
<div
class=
"pd20"
>
<div
class=
"from-item"
>
<div
class=
"name"
>
排队机分辨率:
</div>
<div>
<a-tag
color=
"blue"
closable
v-for=
"(item, index) in fblList"
:key=
"index"
>
{{
item
.
name
}}
</a-tag>
</div>
</div>
<div
class=
"pd20"
>
<a-button
<div
class=
"from-item"
>
icon=
"plus"
<div
class=
"name"
>
排队机分辨率:
</div>
size=
"small"
<div>
@
click=
"addZdShow('fblList', '排队机分辨率')"
<a-tag
color=
"blue"
closable
v-for=
"item, index in fblList"
:key=
"index"
>
>
添加字典值
</a-button
{{
item
.
name
}}
>
</a-tag>
</div>
</div>
<div
class=
"from-item"
>
<a-button
icon=
"plus"
size=
"small"
@
click=
"addZdShow('fblList', '排队机分辨率')"
>
添加字典值
</a-button>
<div
class=
"name"
>
接口标签:
</div>
</div>
<div>
<div
class=
"from-item"
>
<a-tag
<div
class=
"name"
>
接口标签:
</div>
color=
"blue"
<div>
closable
<a-tag
color=
"blue"
closable
v-for=
"item, index in bqList"
:key=
"index"
>
v-for=
"(item, index) in bqList"
{{
item
.
name
}}
:key=
"index"
</a-tag>
>
</div>
{{
item
.
name
}}
<a-button
icon=
"plus"
size=
"small"
@
click=
"addZdShow('bqList', '接口标签')"
>
添加字典值
</a-button>
</a-tag>
</div>
</div>
</div>
<a-button
icon=
"plus"
size=
"small"
@
click=
"addZdShow('bqList', '接口标签')"
>
添加字典值
</a-button
>
</div>
</div>
</div>
</div>
<a-modal
:title=
"VisibleTitle"
:centered=
"true"
:destroyOnClose=
"true"
:visible=
"Visible"
@
cancel=
"Visible = false"
width=
"30%"
>
<a-form-model
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 19 }" layout="horizontal" ref="appInfoFome"
:model="appInfoFome" :rules="appInfoRules">
<a-form-model-item
label=
"字典值"
prop=
"productName"
>
<a-input
placeholder=
"请输入字典值"
allowClear
v-model=
"appInfoFome.productName"
/>
</a-form-model-item>
</a-form-model>
<template
slot=
"footer"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button>
<a-button
@
click=
"resetForm"
>
重置
</a-button>
</
template
>
</a-modal>
</div>
</div>
<a-modal
:title=
"VisibleTitle"
:centered=
"true"
:destroyOnClose=
"true"
:visible=
"Visible"
@
cancel=
"Visible = false"
width=
"30%"
>
<a-form-model
:label-col=
"
{ span: 5 }"
:wrapper-col="{ span: 19 }"
layout="horizontal"
ref="appInfoFome"
:model="appInfoFome"
:rules="appInfoRules"
>
<a-form-model-item
label=
"字典值"
prop=
"productName"
>
<a-input
placeholder=
"请输入字典值"
allowClear
v-model=
"appInfoFome.productName"
/>
</a-form-model-item>
</a-form-model>
<template
slot=
"footer"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"Modal_Ok"
>
确定
</a-button
>
<a-button
@
click=
"resetForm"
>
重置
</a-button>
</
template
>
</a-modal>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getItemData
}
from
"
@/utils/js/common.js
"
;
import
common
from
"
@/mixins/common
"
;
import
common
from
"
@/mixins/common
"
;
export
default
{
export
default
{
name
:
"
dictionary
"
,
name
:
"
dictionary
"
,
mixins
:
[
common
],
mixins
:
[
common
],
data
()
{
data
()
{
return
{
return
{
fblList
:
[{
fblList
:
[
name
:
"
1920*1080
"
{
},
{
name
:
"
1920*1080
"
,
name
:
"
1080*1920
"
},
{
name
:
"
1280*1280
"
}],
bqList
:
[
{
name
:
"
政务外网
"
},
{
name
:
"
便民服务
"
},
{
name
:
"
三化建设
"
},
],
VisibleTitle
:
""
,
Visible
:
false
,
appInfoFome
:
{
productName
:
undefined
,
siteId
:
JSON
.
parse
(
localStorage
.
getItem
(
"
siteId
"
))
},
//页面表单信息
appInfoRules
:
{
productName
:
[
{
required
:
true
,
//是否必选
whitespace
:
true
,
//必选时,空格是否会被视为错误
message
:
"
请输入字典值
"
,
trigger
:
"
blur
"
,
}
],
},
keyName
:
""
};
},
created
()
{
},
mounted
()
{
},
methods
:
{
addZdShow
(
key
,
title
)
{
this
.
Visible
=
true
this
.
resetForm
()
this
.
keyName
=
key
this
.
VisibleTitle
=
title
},
},
Modal_Ok
()
{
{
this
.
$refs
.
appInfoFome
.
validate
((
valid
)
=>
{
name
:
"
1080*1920
"
,
if
(
valid
)
{
this
[
this
.
keyName
].
push
({
name
:
this
.
appInfoFome
.
productName
})
this
.
Visible
=
false
this
.
resetForm
()
}
else
{
this
.
$message
.
error
(
`请完善表单信息!`
);
return
false
;
}
});
},
},
resetForm
()
{
{
this
.
$nextTick
(()
=>
{
name
:
"
1280*1280
"
,
this
.
appInfoFome
.
productName
=
''
});
},
},
],
bqList
:
[
{
name
:
"
政务外网
"
},
{
name
:
"
便民服务
"
},
{
name
:
"
三化建设
"
},
],
VisibleTitle
:
""
,
Visible
:
false
,
appInfoFome
:
{
productName
:
undefined
,
siteId
:
JSON
.
parse
(
localStorage
.
getItem
(
"
siteId
"
)),
},
//页面表单信息
appInfoRules
:
{
productName
:
[
{
required
:
true
,
//是否必选
whitespace
:
true
,
//必选时,空格是否会被视为错误
message
:
"
请输入字典值
"
,
trigger
:
"
blur
"
,
},
],
},
keyName
:
""
,
tabsActive
:
0
,
};
},
mounted
()
{},
computed
:
{
tabsList
()
{
return
getItemData
(
this
.
$router
.
options
.
routes
,
"
name
"
,
"
dictionary
"
);
},
},
methods
:
{
addZdShow
(
key
,
title
)
{
this
.
Visible
=
true
;
this
.
resetForm
();
this
.
keyName
=
key
;
this
.
VisibleTitle
=
title
;
},
Modal_Ok
()
{
this
.
$refs
.
appInfoFome
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
[
this
.
keyName
].
push
({
name
:
this
.
appInfoFome
.
productName
,
});
this
.
Visible
=
false
;
this
.
resetForm
();
}
else
{
this
.
$message
.
error
(
`请完善表单信息!`
);
return
false
;
}
});
},
resetForm
()
{
this
.
$nextTick
(()
=>
{
this
.
appInfoFome
.
productName
=
""
;
});
},
tabsChange
(
val
)
{
this
.
$router
.
push
({
path
:
`/home/thePlatformIsSet/menuManagement/
${
val
}
`
,
// query: { testoption: "test001" },
});
},
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@headerH: 4.5rem;
.from-item {
.from-item {
display: flex;
align-items: center;
margin-bottom: 20px;
.name {
width: 150px;
text-align: right;
padding-right: 20px;
}
}
.Container {
width: 100%;
min-height: 100vh;
background: #f5f5f5;
padding-top: 72px;
.my-card {
margin: 40px 80px;
background: #fff;
border-radius: 6px;
overflow: hidden;
min-height: 500px;
}
.head-menu {
display: flex;
display: flex;
align-items: center;
align-items: center;
margin-bottom: 20px
;
border-bottom: 1px solid #efefef
;
.name {
div {
width: 150px;
height: 52px;
text-align: right;
line-height: 52px;
padding-right: 20px;
font-size: 16px;
font-weight: bold;
color: #0595fd;
border-bottom: 2px solid #0595fd;
padding: 0 30px;
margin-left: 20px;
}
}
}
}
}
.Container {
.Container {
width: 100%;
height: 100% !important;
min-height: 100vh;
// background: #fac;
background: #f5f5f5;
background: #f5f5f5;
padding-top: 72px;
display: flex;
flex-direction: column;
.main {
// background: #afc;
background: #ffffff;
border-radius: 6px;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
margin: 1.2rem 2rem;
}
.my-card {
.ant-tabs-nav {
margin: 40px 80px;
.ant-tabs-tab {
background: #fff;
margin: 0 !important;
border-radius: 6px;
overflow: hidden;
min-height: 500px;
}
}
}
.head-menu {
.ant-tabs-tab {
display: flex;
font-size: 1rem !important;
align-items: center;
& + .ant-tabs-tab {
border-bottom: 1px solid #efefef;
margin: 0 !important;
margin-left: 0.7rem !important;
div {
height: 52px;
line-height: 52px;
font-size: 16px;
font-weight: bold;
color: #0595FD;
border-bottom: 2px solid #0595FD;
padding: 0 30px;
margin-left: 20px;
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/logService/Service.vue
View file @
2847159e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"logService"
>
<div
class=
"logService"
>
<div
class=
"header_box"
>
<div
class=
"header_box"
>
<a-space>
<a-space>
<a-input
v-model=
"searchName"
placeholder=
"请输入内容关键
之
搜索"
>
<a-input
v-model=
"searchName"
placeholder=
"请输入内容关键
字
搜索"
>
</a-input>
</a-input>
<a-range-picker
<a-range-picker
format=
"YYYY年MM月DD日"
format=
"YYYY年MM月DD日"
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/menuManagement.vue
View file @
2847159e
...
@@ -108,4 +108,4 @@ export default {
...
@@ -108,4 +108,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/authorityMis.vue
View file @
2847159e
...
@@ -4,7 +4,10 @@
...
@@ -4,7 +4,10 @@
<!--
<button
class=
"addRoles_btn"
@
click=
"showRoleEditModal(false)"
>
<!--
<button
class=
"addRoles_btn"
@
click=
"showRoleEditModal(false)"
>
<span>
新增角色
</span>
<span>
新增角色
</span>
</button>
-->
</button>
-->
<a-button
type=
"primary"
class=
"addclass"
@
click=
"showRoleEditModal(false)"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"showRoleEditModal(false)"
>
新增角色
</a-button
>
新增角色
</a-button
>
>
<span>
<span>
...
@@ -40,8 +43,13 @@
...
@@ -40,8 +43,13 @@
>
编辑
</a-button
>
编辑
</a-button
>
>
<a-button
<a-button
style=
"color: #ff4420"
:style=
"
userInfo.id == record.id
?
{ color: '#3333' }
: { color: '#ff4420' }
"
type="link"
type="link"
:disabled="userInfo.id === record.id"
@click="deleteRole(record, index)"
@click="deleteRole(record, index)"
>删除
</a-button
>删除
</a-button
>
>
...
@@ -66,6 +74,7 @@ export default {
...
@@ -66,6 +74,7 @@ export default {
name
:
"
PortalAdminVueAuthorityMis
"
,
name
:
"
PortalAdminVueAuthorityMis
"
,
data
()
{
data
()
{
return
{
return
{
userInfo
:
{},
searchRoleName
:
undefined
,
searchRoleName
:
undefined
,
tableLoading
:
false
,
tableLoading
:
false
,
tablePagination
:
{
tablePagination
:
{
...
@@ -130,6 +139,10 @@ export default {
...
@@ -130,6 +139,10 @@ export default {
// remark: `该角色定义为省级权限${key + 1}`,
// remark: `该角色定义为省级权限${key + 1}`,
// });
// });
// }
// }
localStorage
.
getItem
(
"
userInfo
"
)
?
(
this
.
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"
userInfo
"
)))
:
""
;
console
.
log
(
this
.
userInfo
);
this
.
getRoleList
();
this
.
getRoleList
();
},
},
methods
:
{
methods
:
{
...
@@ -137,7 +150,7 @@ export default {
...
@@ -137,7 +150,7 @@ export default {
let
res
=
await
roleList
({
let
res
=
await
roleList
({
page
:
this
.
tablePagination
.
current
,
//当前页
page
:
this
.
tablePagination
.
current
,
//当前页
size
:
this
.
tablePagination
.
pageSize
,
//每页条数
size
:
this
.
tablePagination
.
pageSize
,
//每页条数
name
:
this
.
searchRoleName
,
name
:
this
.
searchRoleName
?
"
%
"
+
this
.
searchRoleName
+
"
%
"
:
""
,
});
});
let
{
code
,
data
,
dict
}
=
res
;
let
{
code
,
data
,
dict
}
=
res
;
if
(
!
data
.
data
&&
this
.
tablePagination
.
current
>
1
)
{
if
(
!
data
.
data
&&
this
.
tablePagination
.
current
>
1
)
{
...
@@ -310,4 +323,4 @@ export default {
...
@@ -310,4 +323,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/userManagement.vue
View file @
2847159e
...
@@ -2,7 +2,9 @@
...
@@ -2,7 +2,9 @@
<div
class=
"user"
>
<div
class=
"user"
>
<div
class=
"user_btn"
>
<div
class=
"user_btn"
>
<div
class=
"add_btn"
>
<div
class=
"add_btn"
>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"addUserModal"
>
新增用户
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"addUserModal"
>
新增用户
</a-button
>
</div>
</div>
<div
class=
"search_btn"
>
<div
class=
"search_btn"
>
<a-space>
<a-space>
...
@@ -25,7 +27,9 @@
...
@@ -25,7 +27,9 @@
>
{{
v
.
value
}}
</a-select-option
>
{{
v
.
value
}}
</a-select-option
>
>
</a-select>
</a-select>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getUserList"
>
搜索
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getUserList"
>
搜索
</a-button
>
<a-button
@
click=
"resetList"
>
重置
</a-button>
<a-button
@
click=
"resetList"
>
重置
</a-button>
</a-space>
</a-space>
</div>
</div>
...
@@ -195,11 +199,18 @@ export default {
...
@@ -195,11 +199,18 @@ export default {
async
getUserList
()
{
async
getUserList
()
{
let
realName
=
""
;
let
realName
=
""
;
let
mobile
=
""
;
let
mobile
=
""
;
if
(
/^
[\u
4e00-
\u
9fa5
]
+$/
.
test
(
this
.
userform
.
searchVal
))
{
if
(
this
.
userform
.
searchVal
)
{
realName
=
this
.
userform
.
searchVal
;
if
(
/^
[\d]
+$/
.
test
(
this
.
userform
.
searchVal
))
{
}
else
if
(
/^
[\d]
+$/
.
test
(
this
.
userform
.
searchVal
))
{
mobile
=
"
%
"
+
this
.
userform
.
searchVal
+
"
%
"
;
mobile
=
this
.
userform
.
searchVal
;
}
else
{
realName
=
"
%
"
+
this
.
userform
.
searchVal
+
"
%
"
;
}
}
}
// if (/^[\u4e00-\u9fa5]+$/.test(this.userform.searchVal)) {
// realName = "%" + this.userform.searchVal + "%";
// } else if (/^[\d]+$/.test(this.userform.searchVal)) {
// mobile = "%" + this.userform.searchVal + "%";
// }
let
res
=
await
userList
({
let
res
=
await
userList
({
page
:
this
.
tablePagination
.
current
,
page
:
this
.
tablePagination
.
current
,
size
:
this
.
tablePagination
.
pageSize
,
size
:
this
.
tablePagination
.
pageSize
,
...
@@ -301,4 +312,4 @@ export default {
...
@@ -301,4 +312,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/InterfaceManage/components/Details.vue
View file @
2847159e
...
@@ -628,9 +628,12 @@ export default {
...
@@ -628,9 +628,12 @@ export default {
//type
//type
onReqType
(
type
)
{
onReqType
(
type
)
{
let
index
=
this
.
requestPam
.
type
;
let
index
=
this
.
requestPam
.
type
;
console
.
log
(
index
);
if
(
index
==
"
path
"
)
{
if
(
index
==
"
path
"
)
{
this
.
requestPam
.
table
=
[];
this
.
requestPam
.
table
=
[];
}
else
{
}
else
{
console
.
log
(
this
.
requestPam
.
table
);
let
obj
=
{
let
obj
=
{
name
:
``
,
name
:
``
,
type
:
"
String
"
,
type
:
"
String
"
,
...
@@ -639,10 +642,12 @@ export default {
...
@@ -639,10 +642,12 @@ export default {
describe
:
``
,
describe
:
``
,
isType
:
true
,
isType
:
true
,
};
};
if
(
index
==
"
body
"
)
{
if
(
index
==
"
body
"
)
{
obj
.
isType
=
false
;
obj
.
isType
=
false
;
}
}
if
(
type
==
"
new
"
)
{
if
(
type
==
"
new
"
)
{
console
.
log
(
333
);
this
.
requestPam
.
table
=
[
obj
];
this
.
requestPam
.
table
=
[
obj
];
}
else
{
}
else
{
this
.
requestPam
.
table
.
push
(
obj
);
this
.
requestPam
.
table
.
push
(
obj
);
...
@@ -734,4 +739,4 @@ export default {
...
@@ -734,4 +739,4 @@ export default {
/deep/.ant-drawer-body {
/deep/.ant-drawer-body {
margin-bottom: 100px;
margin-bottom: 100px;
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/productManage.vue
View file @
2847159e
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
getProduct
({
getProduct
({
page
:
1
,
page
:
1
,
size
:
-
1
,
size
:
-
1
,
productName
:
this
.
searchVal
,
productName
:
this
.
searchVal
?
"
%
"
+
this
.
searchVal
+
"
%
"
:
""
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
listData
=
res
.
data
.
data
;
this
.
listData
=
res
.
data
.
data
;
});
});
...
@@ -116,7 +116,7 @@ export default {
...
@@ -116,7 +116,7 @@ export default {
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
item
.
id
;
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
item
.
id
;
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
productName
=
item
.
productName
;
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
productName
=
item
.
productName
;
}
else
{
}
else
{
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
''
;
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
""
;
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
新增产品
"
;
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
新增产品
"
;
}
}
this
.
$refs
.
AddEditAppName
.
Visible
=
true
;
this
.
$refs
.
AddEditAppName
.
Visible
=
true
;
...
...
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