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 dde49177
authored
Oct 24, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决合并冲突
1 parent
8d95b228
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
60 deletions
src/views/homeSet/index.vue
src/views/homeSet/index.vue
View file @
dde4917
...
@@ -152,9 +152,8 @@
...
@@ -152,9 +152,8 @@
<el-option
v-for=
"value in baseData.consultantList"
:key=
"value.userOneid"
:label=
"value.staffName"
:value=
"value.userOneid"
></el-option>
<el-option
v-for=
"value in baseData.consultantList"
:key=
"value.userOneid"
:label=
"value.staffName"
:value=
"value.userOneid"
></el-option>
</el-select>
</el-select>
</el-radio>
</el-radio>
<el-button
v-show=
"!baseData.consultantList.length"
type=
"text"
></el-button>
<p
style=
"color: #5850ff;margin-left: 22px;"
v-show=
"!baseData.consultantList.length"
@
click=
"handleNoServer"
>
请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员
</p>
<p
style=
"color: #5850ff;margin-left: 22px;"
@
click=
"handleNoServer"
>
请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员
</p>
<el-radio
v-model=
"editForm.customerServerType"
:label=
"2"
:class=
"[!baseData.consultantList.length ? '' : 'haveConsultantList']"
>
<el-radio
v-model=
"editForm.customerServerType"
:label=
"2"
>
<!-- <el-radio v-model="editForm.customerServerType" v-if="showGh" :label="2"> -->
<!-- <el-radio v-model="editForm.customerServerType" v-if="showGh" :label="2"> -->
<el-input
placeholder=
"请输入链接"
:disabled=
"editForm.customerServerType == 1"
v-model=
"editForm.customerServerUrl"
clearable
@
change=
"handleServerUrlChange"
></el-input>
<el-input
placeholder=
"请输入链接"
:disabled=
"editForm.customerServerType == 1"
v-model=
"editForm.customerServerUrl"
clearable
@
change=
"handleServerUrlChange"
></el-input>
</el-radio>
</el-radio>
...
@@ -193,54 +192,6 @@
...
@@ -193,54 +192,6 @@
</el-carousel>
</el-carousel>
</div>
</div>
</div>
</div>
<p
class=
"edit-tips"
>
最多支持6张banner,图片格式仅支持JPG,PNG格式
</p>
<p
class=
"edit-tips"
>
建议尺寸660*270px,大小10M以内
</p>
</div>
<!-- banner管理配置门店 -->
<div
class=
"approval"
slot=
"bannerToSubMerchant"
>
<el-radio
v-model=
"editForm.bannerToSubMerchant"
:label=
"'N'"
>
否
</el-radio>
<el-radio
v-model=
"editForm.bannerToSubMerchant"
:label=
"'Y'"
>
是
</el-radio>
<el-button
v-show=
"editForm.bannerToSubMerchant == 'Y'"
type=
"default"
@
click=
"handleRelateStoreClose('banner')"
>
{{ editForm.bannerMerchantList.length ? '更换门店' : '+选择门店' }}
</el-button>
</div>
<!-- 公告管理配置门店 -->
<div
class=
"approval"
slot=
"noticeToSubMerchant"
>
<el-radio
v-model=
"editForm.noticeToSubMerchant"
:label=
"'N'"
>
否
</el-radio>
<el-radio
v-model=
"editForm.noticeToSubMerchant"
:label=
"'Y'"
>
是
</el-radio>
<el-button
v-show=
"editForm.noticeToSubMerchant == 'Y'"
type=
"default"
@
click=
"handleRelateStoreClose('notice')"
>
{{ editForm.noticeMerchantList.length ? '更换门店' : '+选择门店' }}
</el-button>
</div>
<!-- banner管理配置门店 -->
<div
slot=
"merchantTable"
class=
"merchantTable"
v-show=
"editForm.bannerToSubMerchant == 'Y'"
>
<GLTable
v-show=
"editForm.bannerMerchantList.length"
:hasPage=
"false"
:tableParams=
"tableParams"
:tableData=
"editForm.bannerMerchantList"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleMerchantDelete(scope)"
>
删除
</el-button>
</span>
</GLTable>
</div>
<!-- 公告管理配置门店 -->
<div
slot=
"noticeMerchantTable"
class=
"merchantTable"
v-show=
"editForm.noticeToSubMerchant == 'Y'"
>
<GLTable
v-show=
"editForm.noticeMerchantList.length"
:hasPage=
"false"
:tableParams=
"tableParamss"
:tableData=
"editForm.noticeMerchantList"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleMerchantDeletes(scope)"
>
删除
</el-button>
</span>
</GLTable>
</div>
<!-- 金刚区管理 -->
<div
slot=
"clueBlock"
>
<el-checkbox-group
v-model=
"editForm.clueList"
@
change=
"handleChange"
>
<el-checkbox
v-for=
"(item, index) in baseData.clueList"
:label=
"item.confId"
:key=
"index"
>
{{ item.confName }}
</el-checkbox>
</el-checkbox-group>
</div>
<div
class=
"approval"
slot=
"customerServerUserId"
:key=
"freshFlag"
>
<el-radio
v-model=
"editForm.customerServerType"
:label=
"1"
>
<el-select
style=
"width: 432px"
v-model=
"editForm.customerServerUserId"
:disabled=
"editForm.customerServerType == 2"
:clearable=
"true"
:placeholder=
"'请选择在线客服'"
:no-data-text=
"'无数据'"
@
clear=
"selectAddAttr"
@
change=
"selectAddAttr"
>
<el-option
v-for=
"value in baseData.consultantList"
:key=
"value.userOneid"
:label=
"value.staffName"
:value=
"value.userOneid"
></el-option>
</el-select>
</el-radio>
<p
style=
"color: #5850ff;margin-left: 22px;"
v-show=
"!baseData.consultantList.length"
@
click=
"handleNoServer"
>
请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员
</p>
<el-radio
v-model=
"editForm.customerServerType"
:label=
"2"
:class=
"[!baseData.consultantList.length ? '' : 'haveConsultantList']"
>
<!-- <el-radio v-model="editForm.customerServerType" v-if="showGh" :label="2"> -->
<el-input
placeholder=
"请输入链接"
:disabled=
"editForm.customerServerType == 1"
v-model=
"editForm.customerServerUrl"
clearable
@
change=
"handleServerUrlChange"
></el-input>
</el-radio>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -285,7 +236,6 @@
...
@@ -285,7 +236,6 @@
</relate-store-dialog>
</relate-store-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'homeSet'
,
name
:
'homeSet'
,
...
@@ -542,7 +492,6 @@ export default {
...
@@ -542,7 +492,6 @@ export default {
]
]
}
}
},
},
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
this
.
getInfo
()
this
.
getInfo
()
...
@@ -559,7 +508,6 @@ export default {
...
@@ -559,7 +508,6 @@ export default {
// let href = window.location.host
// let href = window.location.host
// this.showGh = href.indexOf('cgacar') != -1
// this.showGh = href.indexOf('cgacar') != -1
},
},
methods
:
{
methods
:
{
handleServerUrlChange
(
value
)
{
handleServerUrlChange
(
value
)
{
this
.
editForm
.
customerServerType
=
value
?
2
:
''
this
.
editForm
.
customerServerType
=
value
?
2
:
''
...
@@ -981,37 +929,31 @@ export default {
...
@@ -981,37 +929,31 @@ export default {
.home-set
.home-set-form
.item-box
.wechat-container
{
.home-set
.home-set-form
.item-box
.wechat-container
{
margin
:
0
64px
0
20px
!important
;
margin
:
0
64px
0
20px
!important
;
}
}
.home-set
.home-set-form
.item-box
.banner-box
{
.home-set
.home-set-form
.item-box
.banner-box
{
position
:
relative
;
position
:
relative
;
padding-left
:
20px
;
padding-left
:
20px
;
}
}
.home-set
.home-set-form
.item-box
.add-banner-btn
{
.home-set
.home-set-form
.item-box
.add-banner-btn
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
z-index
:
10
;
z-index
:
10
;
}
}
.home-set
.home-set-form
.item-box
.home-set-tabs
.el-tabs__content
{
.home-set
.home-set-form
.item-box
.home-set-tabs
.el-tabs__content
{
border
:
1px
solid
#E5E5E5
;
border
:
1px
solid
#E5E5E5
;
border-radius
:
0
4px
4px
4px
;
border-radius
:
0
4px
4px
4px
;
border-top
:
none
;
border-top
:
none
;
padding
:
20px
;
padding
:
20px
;
}
}
.home-set
.banner-img
{
.home-set
.banner-img
{
display
:
flex
;
display
:
flex
;
}
}
.home-set
.banner-label
{
.home-set
.banner-label
{
flex
:
0
134px
;
flex
:
0
134px
;
text-align
:
right
;
text-align
:
right
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#666
;
color
:
#666
;
}
}
.home-set
.home-set-form
.item-box
.home-set-tabs.el-tabs--card
>
.el-tabs__header
.el-tabs__nav
{
.home-set
.home-set-form
.item-box
.home-set-tabs.el-tabs--card
>
.el-tabs__header
.el-tabs__nav
{
border
:
none
!important
;
border
:
none
!important
;
}
}
...
...
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