Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-provider
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 e1e3a57b
authored
Dec 01, 2022
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
991aef90
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
16 deletions
src/api/modules/application.js
src/mixins/index.js
src/views/application/components/activityList.vue
src/views/application/index.vue
src/api/modules/application.js
View file @
e1e3a57
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 09:44:10
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-1
0-18 13:35:46
* @LastEditTime: 2022-1
2-01 15:59:25
* @FilePath: \scrm-micro-provider\src\api\modules\application.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -15,7 +15,7 @@
* @returns
*/
import
{
http
,
http_merchant
}
from
'@/main'
console
.
log
(
9999
)
const
findAllByPage
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findAllByPage'
return
http
({
...
...
@@ -75,6 +75,17 @@ const findOpenedProductRecord = params => {
sign
:
true
})
}
//查找已开通的产品记录--运营后台
const
lightScene
=
params
=>
{
params
.
method
=
'scrm.api.busassistant.activity.lightScene'
return
http
({
url
:
'rop-scrm-busassistant/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//申请门店列表
const
merchantPage
=
params
=>
{
params
.
method
=
'scrm.api.busassistant.merchant.page'
...
...
@@ -148,5 +159,6 @@ export default {
findMerchantDetailByMerchantNo
,
productByscene
,
getScene
,
activityDetail
activityDetail
,
lightScene
}
src/mixins/index.js
View file @
e1e3a57
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 09:44:10
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-
16 13:45:49
* @LastEditTime: 2022-11-
23 09:35:47
* @FilePath: \scrm-micro-provider\src\mixins\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -14,10 +14,6 @@ const STORE_STATUS = [
{
label
:
'已开通'
,
value
:
1
},
{
label
:
'已开通'
,
value
:
3
}
]
const
ACTIVITY_STATUS
=
[
...
...
@@ -50,12 +46,13 @@ export default {
},
created
()
{
const
idx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
name
==
'status'
)
const
filterStatus
=
ACTIVITY_STATUS
.
filter
(
item
=>
item
.
value
!==
3
)
this
.
searchFormData
[
idx
].
optionList
=
[
{
label
:
'全部'
,
value
:
''
}
].
concat
(
this
.
activeItem
==
0
?
STORE_STATUS
:
ACTIVITY_STATUS
)
].
concat
(
this
.
activeItem
==
0
?
STORE_STATUS
:
filterStatus
)
},
methods
:
{
handleSearch
()
{
...
...
src/views/application/components/activityList.vue
View file @
e1e3a57
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 10:56:40
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-12-01 16:
07:27
* @LastEditTime: 2022-12-01 16:
24:23
* @FilePath: \scrm-micro-provider\src\views\home\components\activityList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -13,7 +13,7 @@
<template
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
type=
"text"
v-if=
"scope.scope.status == 2 || scope.scope.status == 3"
@
click=
"handleLook(scope.scope)"
>
查看
</el-button>
<!--
<el-button
type=
"text"
v-else
@
click=
"handleOpen(scope.scope)"
>
去处理
</el-button>
-->
<el-button
type=
"text"
v-
else
@
click=
"handleLight(scope.scope)"
>
点亮场景
</el-button>
<el-button
type=
"text"
v-
if=
"scope.scope.sceneStatus != 1"
@
click=
"handleLight(scope.scope)"
>
点亮场景
</el-button>
</
template
>
<
template
slot=
"status"
slot-scope=
"scope"
>
<div
:class=
"['task_icon', `task_icon_$
{scope.scope.status == 2 || scope.scope.status == 3 ? 'green' : 'grey'}`]">
{{
taskStatus
(
scope
.
scope
.
status
)
}}
</div>
...
...
src/views/application/index.vue
View file @
e1e3a57
...
...
@@ -36,11 +36,6 @@ export default {
tabName
()
{
return
[
'storeList'
,
'activityList'
][
+
this
.
activeItem
]
}
},
created
()
{
this
.
$on
(
'aaa'
,
()
=>
{
console
.
log
(
888
)
})
}
}
</
script
>
...
...
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