Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 609df83c
authored
Jan 10, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改rop-scrm-entmicro接口地址
1 parent
4b167d21
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
24 deletions
src/api/modules/service.js
src/assets/icon-warning.png
src/main.js
src/setup/qiankun.js
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmealAddUpdate.vue
src/api/modules/service.js
View file @
609df83
import
{
http
}
from
'@/main'
import
{
http
,
http2
}
from
'@/main'
// const defaultPath = 'scrm.api.live.'
// const defaultPath = 'scrm.api.live.'
//计算提示面板出现的次数,第一次显示,之后不显示
//计算提示面板出现的次数,第一次显示,之后不显示
const
getLoginCount
=
params
=>
{
const
getLoginCount
=
params
=>
{
params
.
method
=
'entmicro.api.common.findLoginCount'
params
.
method
=
'entmicro.api.common.findLoginCount'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
const
getServiceListApi
=
params
=>
{
const
getServiceListApi
=
params
=>
{
...
...
src/assets/icon-warning.png
0 → 100644
View file @
609df83
933 Bytes
src/main.js
View file @
609df83
...
@@ -20,4 +20,5 @@ Vue.prototype.size = 'small'
...
@@ -20,4 +20,5 @@ Vue.prototype.size = 'small'
start
()
start
()
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http2
=
params
=>
Vue
.
prototype
.
$http2
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
src/setup/qiankun.js
View file @
609df83
...
@@ -13,7 +13,7 @@ let instance = null
...
@@ -13,7 +13,7 @@ let instance = null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
()
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
()
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
...
@@ -21,6 +21,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
...
@@ -21,6 +21,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
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
.
$http2
=
new
common
.
Http
({
response
,
request
:
request2
,
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'] })
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
609df83
...
@@ -125,7 +125,8 @@
...
@@ -125,7 +125,8 @@
<!-- :hasScroll="false" :noBtnOk="true" :noCancel="true" :noClose="false" -->
<!-- :hasScroll="false" :noBtnOk="true" :noCancel="true" :noClose="false" -->
<glsx-dialog
title=
""
top=
"30vh"
:hasScroll=
"false"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<glsx-dialog
title=
""
top=
"30vh"
:hasScroll=
"false"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<div
class=
"content-body"
>
<div
class=
"content-body"
>
当前有内容信息未保存,是否继续取消
<img
src=
"@/assets/icon-warning.png"
alt=
""
/>
<div>
当前有内容信息未保存,是否继续返回?
</div>
</div>
</div>
</glsx-dialog>
</glsx-dialog>
</div>
</div>
...
@@ -602,22 +603,30 @@ export default {
...
@@ -602,22 +603,30 @@ export default {
/
deep
/
.el-dialog__header
{
/
deep
/
.el-dialog__header
{
border
:
0
;
border
:
0
;
}
}
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
padding
:
20px
25px
;
padding
:
20px
25px
;
.content-body{
.content-body
{
height
:
136px
;
line-height
:
121px
;
font-size
:
18px
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
400
;
height
:
98px
;
color
:
#333333
;
line-height
:
26px
;
div
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
}
}
}
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-dialog__footer
{
text-align
:
center
;
border
:
0
;
padding-top
:
15px
;
text-align
:
center
;
padding-bottom
:
15px
;
padding-top
:
15px
;
}
padding-bottom
:
15px
;
.el-button--small{
padding
:
8px
26px
;
}
}
}
}
</
style
>
</
style
>
src/views/memberCenter/setmealAddUpdate.vue
View file @
609df83
...
@@ -128,7 +128,10 @@
...
@@ -128,7 +128,10 @@
</div>
</div>
</glsx-dialog>
</glsx-dialog>
<glsx-dialog
title=
""
top=
"30vh"
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
<glsx-dialog
title=
""
top=
"30vh"
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
<div
class=
"content-body"
>
当前有内容信息未保存,是否继续返回
</div>
<div
class=
"content-body"
>
<img
src=
"@/assets/icon-warning.png"
alt=
""
/>
<div>
当前有内容信息未保存,是否继续返回?
</div>
</div>
</glsx-dialog>
</glsx-dialog>
</div>
</div>
</template>
</template>
...
@@ -790,20 +793,27 @@ export default {
...
@@ -790,20 +793,27 @@ export default {
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
padding
:
20px
25px
;
padding
:
20px
25px
;
.content-body
{
.content-body
{
height
:
136px
;
text-align
:
center
;
line-height
:
121px
;
height
:
98px
;
font-size
:
18px
;
line-height
:
26px
;
text-align
:
center
;
div
{
font-size
:
16px
;
color
:
#333333
;
font-weight
:
400
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
}
}
}
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-dialog__footer
{
border
:
0
;
border
:
0
;
text-align
:
center
;
text-align
:
center
;
padding-top
:
15px
;
padding-top
:
15px
;
padding-bottom
:
15px
;
padding-bottom
:
15px
;
.el-button--small{
padding
:
8px
26px
;
}
}
}
}
}
}
}
...
...
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