Commit 90e88325 by chenwq

众筹-客服

1 parent 6281ae6e
......@@ -70,6 +70,22 @@
<!-- 活动配置 -->
<p class="edit-title">活动配置</p>
<glsx-combi-form class="edit-form-container" ref="configEditFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="configEditFormData" :formRules="editRule">
<template slot="customerServiceFlag" slot-scope="scope">
<el-radio-group v-model="editForm[scope.scope.name]" @change="handleIsLimit">
<el-radio v-for="(item, index) in scope.scope.optionList" :key="index" :label="item[scope.scope.optionId]" :disabled="isDisabled">{{ item[scope.scope.optionLabel] }}</el-radio>
</el-radio-group>
<div class="customer-service" v-if="editForm[scope.scope.name] == 2" id="customerServiceFlag">
<el-form-item label="客服名称:" prop="customerServiceName" labelWidth="90px">
<el-input v-model="editForm.customerServiceName" style="width: 200px" maxlength="50" :disabled="isDisabled" placeholder="请输入客服名称"></el-input>
</el-form-item>
<el-form-item label="客服电话:" prop="customerServicePhone" labelWidth="90px">
<el-input v-model="editForm.customerServicePhone" style="width: 200px" maxlength="50" :disabled="isDisabled" placeholder="请输入客服电话"></el-input>
</el-form-item>
<el-form-item label="客服二维码:" prop="customerServiceQrImg" labelWidth="90px">
<el-input v-model="editForm.customerServiceQrImg" style="width: 200px" maxlength="50" :disabled="isDisabled" placeholder="客服二维码"></el-input>
</el-form-item>
</div>
</template>
<div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div>
<div slot="activityVideo" class="edit-tips m-t-8">最多上传六个视频</div>
<div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
......@@ -141,6 +157,7 @@ export default {
limitPurchaseFlag: 1,
limitPurchaseNumber: '',
// 活动配置
customerServiceFlag: 1,
sponsorName: '',
activityBigImg: '',
activityVideo: []
......@@ -284,7 +301,23 @@ export default {
// 活动配置
configEditFormData: [
{
label: '客服设置'
label: '客服设置',
name: 'customerServiceFlag',
addHtml: 'customerServiceFlag',
optionId: 'confId',
optionLabel: 'confName',
optionList: [
{
confId: 1,
confName: '同步在线客服',
isDisabled: false
},
{
confId: 2,
confName: '单独设置',
isDisabled: false
}
]
},
{
label: '主办方',
......@@ -710,7 +743,7 @@ export default {
},
cancelJump() {
this.$router.push({
path: '/seckillActivity/index'
path: '/seckillActivity/crowdFundList'
})
},
handleCancel() {
......@@ -812,4 +845,9 @@ export default {
font-size: 10px;
width: 20px;
}
.edit-activity .customer-service {
width: 656px;
padding: 20px;
background: #f9f9f9;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!