Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 5367958f
authored
Jan 13, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
c3f5de2e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
9 deletions
package-lock.json
package.json
src/App.vue
src/api/modules/welcomeword.js
src/views/expert/detail.vue
package-lock.json
View file @
5367958
This diff could not be displayed because it is too large.
package.json
View file @
5367958
...
...
@@ -18,7 +18,7 @@
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
,
"word-edit"
:
"^1.0.
0
"
"word-edit"
:
"^1.0.
3
"
},
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
...
...
src/App.vue
View file @
5367958
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-01-09 09:34:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-01-12 10:36:35
* @FilePath: \scrm-micro-services\src\App.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<div
id=
"app"
>
<router-view
/>
...
...
@@ -18,6 +26,16 @@ export default {
}
},
created
()
{
//输入框换行符阻止默认事件
document
.
onkeydown
=
function
()
{
var
evt
=
window
.
event
||
arguments
[
0
]
if
(
evt
&&
evt
.
keyCode
==
13
)
{
if
(
typeof
evt
.
cancelBubble
!=
'undefined'
)
evt
.
cancelBubble
=
true
if
(
typeof
evt
.
stopPropagation
==
'function'
)
evt
.
stopPropagation
()
return
false
}
return
true
}
this
.
myMsg
=
this
.
msg
this
.
myMessage
=
this
.
message
}
...
...
src/api/modules/welcomeword.js
View file @
5367958
import
{
http
}
from
'@/main'
import
{
http
,
request_merchant
}
from
'@/main'
const
path
=
'entmicro.api.mass.'
const
URL
=
'rop-scrm-entmicro/router'
//权益卡
...
...
@@ -142,10 +142,10 @@ const createdNameList = params => {
sign
:
true
})
}
const
getMerchantList
=
params
=>
{
params
.
method
=
`scrm.api.carlife.merchant.listWithPageByCurMerchant`
return
http
({
url
:
'
rop-scrm-carlife
/router'
,
const
findMerchantListByPage
=
params
=>
{
params
.
method
=
'merchants.api.open.findMerchantListByPage'
return
request_merchant
({
url
:
'
/rop-merchants
/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
...
...
@@ -176,6 +176,6 @@ export default {
templateUpdate
,
templateSave
,
bulgeActivity
,
getMerchantList
,
channelPreview
channelPreview
,
findMerchantListByPage
}
src/views/expert/detail.vue
View file @
5367958
...
...
@@ -250,7 +250,7 @@ export default {
name
:
'插入推荐频道'
,
type
:
'channelLink'
,
funName
:
'channelLink'
,
getMerchantList
:
this
.
$apis
.
welcomeword
.
getMerchantList
,
getMerchantList
:
this
.
$apis
.
welcomeword
.
findMerchantListByPage
,
channelPreview
:
this
.
$apis
.
welcomeword
.
channelPreview
})
}
...
...
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