Commit dde49177 by wuwx

解决合并冲突

1 parent 8d95b228
......@@ -152,9 +152,8 @@
<el-option v-for="value in baseData.consultantList" :key="value.userOneid" :label="value.staffName" :value="value.userOneid"></el-option>
</el-select>
</el-radio>
<el-button v-show="!baseData.consultantList.length" type="text"></el-button>
<p style="color: #5850ff;margin-left: 22px;" @click="handleNoServer">请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员</p>
<el-radio v-model="editForm.customerServerType" :label="2">
<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>
......@@ -193,54 +192,6 @@
</el-carousel>
</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>
......@@ -285,7 +236,6 @@
</relate-store-dialog>
</div>
</template>
<script>
export default {
name: 'homeSet',
......@@ -542,7 +492,6 @@ export default {
]
}
},
mounted() {
this.userInfo = this.$globalState.session
this.getInfo()
......@@ -559,7 +508,6 @@ export default {
// let href = window.location.host
// this.showGh = href.indexOf('cgacar') != -1
},
methods: {
handleServerUrlChange(value) {
this.editForm.customerServerType = value ? 2 : ''
......@@ -981,37 +929,31 @@ export default {
.home-set .home-set-form .item-box .wechat-container{
margin: 0 64px 0 20px !important;
}
.home-set .home-set-form .item-box .banner-box{
position: relative;
padding-left: 20px;
}
.home-set .home-set-form .item-box .add-banner-btn {
position: absolute;
top: 0;
right: 0;
z-index: 10;
}
.home-set .home-set-form .item-box .home-set-tabs .el-tabs__content{
border: 1px solid #E5E5E5;
border-radius: 0 4px 4px 4px;
border-top: none;
padding: 20px;
}
.home-set .banner-img{
display: flex;
}
.home-set .banner-label{
flex: 0 134px;
text-align: right;
font-weight: 400;
color: #666;
}
.home-set .home-set-form .item-box .home-set-tabs.el-tabs--card>.el-tabs__header .el-tabs__nav{
border: none !important;
}
......@@ -1223,4 +1165,4 @@ export default {
display: block;
margin-top: 32px;
}
</style>
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!