Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
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
gzga-jzapi
apaas-ui
Commits
f775d5c6
Commit
f775d5c6
authored
Jun 23, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serviceShop地址+个人信息升级开发者后置灰
parent
8471a646
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+4
-2
src/request/api/service_shop.js
src/request/api/service_shop.js
+2
-2
No files found.
src/pages/user/user_info.vue
View file @
f775d5c6
...
...
@@ -56,7 +56,7 @@
>
<p>
当前用户类型:
</p>
<el-input
v-model=
"user_data.userTypeName"
:disabled=
"true"
></el-input>
<el-button
v-if=
"user_data.userType == 3"
class=
"option_btn
"
@
click=
"upLevel"
>
升级为开发者
</el-button>
<el-button
v-if=
"user_data.userType == 3"
:disabled=
"!couldUp"
:class=
"couldUp ? 'option_btn':'option_btn_gray'
"
@
click=
"upLevel"
>
升级为开发者
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -207,7 +207,8 @@ export default {
blackAddShow
:
false
,
newIpWhite
:
""
,
newIpBlack
:
""
,
diaPassWord
:
false
diaPassWord
:
false
,
couldUp
:
true
}),
mounted
()
{
this
.
getCurrentUser
();
...
...
@@ -355,6 +356,7 @@ export default {
message
:
"
申请升级开发者成功
"
,
type
:
"
success
"
});
this
.
couldUp
=
false
;
}
else
{
this
.
$message
({
message
:
"
申请升级开发者失败
"
,
...
...
src/request/api/service_shop.js
View file @
f775d5c6
...
...
@@ -26,10 +26,10 @@ Page=${params.Page}&Size=${params.Size}`);
return
axios
.
get
(
`/apaas/hubApi/market/appTypes`
)
},
getAppOrg
()
{
return
axios
.
get
(
`/apaas/hubApi/
market/departments
`
)
return
axios
.
get
(
`/apaas/hubApi/
appShop/orgSource
`
)
},
getAppList
(
params
)
{
return
axios
.
get
(
`/apaas/hubApi/
market
/list?online_state=
${
params
.
online_state
}
&appTypes=
${
params
.
appTypes
}
&
return
axios
.
get
(
`/apaas/hubApi/
appShop
/list?online_state=
${
params
.
online_state
}
&appTypes=
${
params
.
appTypes
}
&
businessArea=
${
params
.
businessArea
}
&developable=
${
params
.
developable
}
&orgSource=
${
params
.
orgSource
}
&order=
${
params
.
order
}
&page=
${
params
.
page
}
&limit=
${
params
.
limit
}
&search=
${
params
.
search
}
`
);
},
...
...
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