Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cb20659a
authored
Dec 15, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
回退权限控制
1 parent
620d9ea6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
src/setup/qiankun.js
src/views/memberCenter/service.vue
src/views/memberCenter/setmeal.vue
src/setup/qiankun.js
View file @
cb20659
...
@@ -22,11 +22,11 @@ export async function bootstrap({name,id, history, common, messenger, globalStat
...
@@ -22,11 +22,11 @@ export async function bootstrap({name,id, history, common, messenger, globalStat
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
//
Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
Vue
.
use
(
GLButton
,
{
permissions
:
globalState
.
permissions
||
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
routes
=
getRoutes
(
routesData
)
routes
=
getRoutes
(
routesData
)
subscribe
({
messenger
})
subscribe
({
messenger
})
Vue
.
use
(
GLButton
,
{
routes
,
routerBase
})
//
Vue.use(GLButton, {routes,routerBase})
}
}
export
async
function
mount
(
props
)
{
export
async
function
mount
(
props
)
{
const
insts
=
render
(
props
.
routerBase
,
routes
)
const
insts
=
render
(
props
.
routerBase
,
routes
)
...
...
src/views/memberCenter/service.vue
View file @
cb20659
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<el-form
:inline=
"true"
style=
"width:100%"
:model=
"searchForm"
label-width=
"100px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width:100%"
:model=
"searchForm"
label-width=
"100px"
label-position=
"right"
>
<el-row>
<el-row>
<el-form-item
size=
"small"
>
<el-form-item
size=
"small"
>
<
!--
<el-button
:size=
"size"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleCreate"
>
创建服务
</el-button>
--
>
<
el-button
:size=
"size"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleCreate"
>
创建服务
</el-button
>
<
GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建服务"
mode=
"el-button"
>
创建服务
</GLButton
>
<
!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建服务"
mode=
"el-button"
>
创建服务
</GLButton>
--
>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"服务名称"
>
<el-form-item
size=
"small"
label=
"服务名称"
>
<el-input
:size=
"size"
v-model=
"searchForm.couponName"
placeholder=
"请输入服务名称"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.couponName"
placeholder=
"请输入服务名称"
clearable
></el-input>
...
...
src/views/memberCenter/setmeal.vue
View file @
cb20659
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<tip-panel
panelWidth=
"616px"
panelMinHeight=
"40px"
:panelContent=
"panelContent"
v-if=
"isFirstShow"
@
closePanel=
"closePanel"
></tip-panel>
<tip-panel
panelWidth=
"616px"
panelMinHeight=
"40px"
:panelContent=
"panelContent"
v-if=
"isFirstShow"
@
closePanel=
"closePanel"
></tip-panel>
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<div
class=
"btnWrap"
>
<div
class=
"btnWrap"
>
<
!--
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
--
>
<
el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button
>
<
GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton
>
<
!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton>
--
>
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList"/>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList"/>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment