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 5a559dff
authored
Nov 02, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
28041436
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
19 deletions
public/index.html
src/config/index.js
src/views/application/components/activityList.vue
src/views/application/components/activityOpen.vue
public/index.html
View file @
5a559df
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 09:34:38
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-10-10 10:26:53
* @FilePath: \scrm-micro-provider\public\index.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
...
...
src/config/index.js
View file @
5a559df
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @version:
* @version:
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors:
yangming yangming
@didihu.com.cn
* @LastEditors:
前端 qianduan01
@didihu.com.cn
* @LastEditTime: 2022-10-
17 17:25:11
* @LastEditTime: 2022-10-
31 21:13:27
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
@@ -18,7 +18,8 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -18,7 +18,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
return
new
Http
().
get
(
'https://oss-config.dev.glsx.com.cn/mock/634d1efe02322627d6b83e86/provider/config'
)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/634d1efe02322627d6b83e86/provider/config')
return
new
Http
().
get
(
'https://oss-config.glsx.com.cn/mock/635fc5e854298ae786144077/provider/config'
)
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/views/application/components/activityList.vue
View file @
5a559df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 10:56:40
* @Date: 2022-10-10 10:56:40
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-10-
25 10:21:06
* @LastEditTime: 2022-10-
31 15:53:21
* @FilePath: \scrm-micro-provider\src\views\home\components\activityList.vue
* @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
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
</GLTable>
</GLTable>
<GLDialog
title=
"已开通业务"
:hasFooter=
"false"
:visible
.
sync=
"detailVisible"
>
<GLDialog
title=
"已开通业务"
:hasFooter=
"false"
:visible
.
sync=
"detailVisible"
>
<div
class=
"dialog-body-panel"
v-for=
"(item, index) in productList"
:key=
"index"
>
<div
class=
"dialog-body-panel"
v-for=
"(item, index) in productList"
:key=
"index"
>
<
template
v-if=
"item.s
tage != '12个月以上
'"
>
<
template
v-if=
"item.s
ceneCode != 'SC004
'"
>
<div
class=
"dialog-body-title"
>
{{
item
.
stage
}}
:
</div>
<div
class=
"dialog-body-title"
>
{{
item
.
stage
}}
:
</div>
<div
class=
"dialog-body-content"
v-for=
"act in item.list"
:key=
"act.productCode"
>
{{
act
.
productName
}}
</div>
<div
class=
"dialog-body-content"
v-for=
"act in item.list"
:key=
"act.productCode"
>
{{
act
.
productName
}}
</div>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<div
class=
"dialog-body-title"
>
12个月以上
:
</div>
<div
class=
"dialog-body-title"
>
{{
item
.
stage
}}
:
</div>
<div
class=
"dialog-body-activity"
v-for=
"act in item.list"
:key=
"act.productCode"
>
<div
class=
"dialog-body-activity"
v-for=
"act in item.list"
:key=
"act.productCode"
>
<div
class=
"activity-row"
>
<div
class=
"activity-row"
>
<div
class=
"activity-item"
>
活动名称:
{{
act
.
productName
}}
</div>
<div
class=
"activity-item"
>
活动名称:
{{
act
.
productName
}}
</div>
...
@@ -200,12 +200,15 @@ export default {
...
@@ -200,12 +200,15 @@ export default {
color
:
#333333
;
color
:
#333333
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.dialog-body-panel
{
margin-bottom
:
20px
;
}
.dialog-body-content
{
.dialog-body-content
{
height
:
44px
;
height
:
44px
;
line-height
:
44px
;
line-height
:
44px
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
padding-left
:
16px
;
padding-left
:
16px
;
margin-bottom
:
2
0px
;
margin-bottom
:
1
0px
;
}
}
.dialog-body-activity
{
.dialog-body-activity
{
background
:
#f9f9f9
;
background
:
#f9f9f9
;
...
...
src/views/application/components/activityOpen.vue
View file @
5a559df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 10:56:40
* @Date: 2022-10-10 10:56:40
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-1
0-24 14:37:0
9
* @LastEditTime: 2022-1
1-01 18:04:3
9
* @FilePath: \scrm-micro-provider\src\views\home\components\activityList.vue
* @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
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
</GLDialog>
</GLDialog>
</template>
</template>
<
script
>
<
script
>
const
stageText
=
[
'
12个月以上'
,
'新车洽谈场景'
]
const
stageText
=
[
'
SC001'
,
'SC004'
]
//SC001/SC004
const
numText
=
[
'一'
,
'二'
,
'三'
,
'四'
,
'五'
]
const
numText
=
[
'一'
,
'二'
,
'三'
,
'四'
,
'五'
]
export
default
{
export
default
{
name
:
'activityOpen'
,
name
:
'activityOpen'
,
...
@@ -102,10 +102,11 @@ export default {
...
@@ -102,10 +102,11 @@ export default {
this
.
productCode
=
''
this
.
productCode
=
''
this
.
activity
=
{}
this
.
activity
=
{}
const
sceneList
=
this
.
sceneList
.
length
&&
this
.
sceneList
.
find
(
item
=>
item
.
sceneCode
==
value
)
const
sceneList
=
this
.
sceneList
.
length
&&
this
.
sceneList
.
find
(
item
=>
item
.
sceneCode
==
value
)
if
(
!
sceneList
)
return
this
.
createTime
=
[]
this
.
createTime
=
[]
this
.
productList
=
sceneList
.
productList
||
[]
this
.
productList
=
sceneList
.
productList
||
[]
this
.
stage
=
sceneList
.
s
tag
e
this
.
stage
=
sceneList
.
s
ceneCod
e
this
.
activityStatus
=
sceneList
.
s
tage
==
'12个月以上
'
this
.
activityStatus
=
sceneList
.
s
ceneCode
==
'SC004
'
}
}
},
},
methods
:
{
methods
:
{
...
@@ -163,6 +164,7 @@ export default {
...
@@ -163,6 +164,7 @@ export default {
}
}
this
.
$apis
.
application
.
activityConfirm
(
params
).
then
(
res
=>
{
this
.
$apis
.
application
.
activityConfirm
(
params
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
openVisible
=
false
this
.
openVisible
=
false
this
.
$parent
.
handleSearch
()
this
.
$parent
.
handleSearch
()
}
}
...
...
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