Commit 86bb4bad by wuwx

联调接口

1 parent 565345b1
...@@ -19,7 +19,7 @@ export const fetchConfig = function(isEnv = true) { ...@@ -19,7 +19,7 @@ export const fetchConfig = function(isEnv = true) {
// } // }
//return window.fetch('https://', {}).then(res => res.json()) //return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' }) // request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config') return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data) // return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config') // return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
} }
......
...@@ -142,9 +142,8 @@ ...@@ -142,9 +142,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>
...@@ -990,4 +989,8 @@ export default { ...@@ -990,4 +989,8 @@ export default {
width: 800px; width: 800px;
margin-left: 45px; margin-left: 45px;
} }
.haveConsultantList {
display: block;
margin-top: 32px;
}
</style> </style>
...@@ -657,47 +657,47 @@ ...@@ -657,47 +657,47 @@
<el-tabs v-model="reportFlag"> <el-tabs v-model="reportFlag">
<el-tab-pane label="进行中战报" name="1"> <el-tab-pane label="进行中战报" name="1">
<el-form-item label="产值活动报告:" prop="produceReportSummary" labelWidth="100px"> <el-form-item label="产值活动报告:" prop="produceReportSummary" labelWidth="100px">
<el-input v-model="editForm.produceReportSummary" placeholder="根据以往经验,活动前三天转发效果最好,赶紧督促大家转发起来吧" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input> <el-input v-model="editForm.activityActionReport.produceReportSummary" placeholder="根据以往经验,活动前三天转发效果最好,赶紧督促大家转发起来吧" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input>
</el-form-item> </el-form-item>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="已结束战报" name="2"> <el-tab-pane label="已结束战报" name="2">
<el-form-item label="客户资产分析总结:" prop="customerAssetSummary" labelWidth="140px" style="margin-left: 27px;margin-bottom: 0px;"> <el-form-item label="客户资产分析总结:" prop="customerAssetSummary" labelWidth="140px" style="margin-left: 27px;margin-bottom: 0px;">
<el-input v-model="editForm.customerAssetSummary" placeholder="请输入" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input> <el-input v-model="editForm.activityActionReport.customerAssetSummary" placeholder="请输入" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="触达通道分析总结:" prop="touchPassageSummary" labelWidth="140px" style="margin-left: 27px;margin-top: 10px;"> <el-form-item label="触达通道分析总结:" prop="touchPassageSummary" labelWidth="140px" style="margin-left: 27px;margin-top: 10px;">
<el-input v-model="editForm.touchPassageSummary" placeholder="请输入" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input> <el-input v-model="editForm.activityActionReport.touchPassageSummary" placeholder="请输入" type="textarea" maxlength="200" show-word-limit style="width:580px;height:79px;" rows="3"></el-input>
</el-form-item> </el-form-item>
<div class="reportConfigureList"> <div class="reportConfigureList">
<span class="reportConfigureLabel">标杆门店数据:</span> <span class="reportConfigureLabel">标杆门店数据:</span>
<el-form-item label="分享数(次)" prop="signMerchantShareCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="分享数(次)" prop="signMerchantShareCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.signMerchantShareCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.signMerchantShareCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="浏览数(次)" prop="signMerchantBrowseCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="浏览数(次)" prop="signMerchantBrowseCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.signMerchantBrowseCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.signMerchantBrowseCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="访客数(人)" prop="signMerchantVisitorCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="访客数(人)" prop="signMerchantVisitorCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.signMerchantVisitorCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.signMerchantVisitorCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="订单数(单)" prop="signMerchantOrderCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="订单数(单)" prop="signMerchantOrderCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.signMerchantOrderCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.signMerchantOrderCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="总产值(万)" prop="signMerchantProduceCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="总产值(万)" prop="signMerchantProduceCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.signMerchantProduceCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.signMerchantProduceCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="reportConfigureList"> <div class="reportConfigureList">
<span class="reportConfigureLabel">短信触达数据:</span> <span class="reportConfigureLabel">短信触达数据:</span>
<el-form-item label="目标客户数(人)" prop="noteTouchCustomerCount" labelWidth="100px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="目标客户数(人)" prop="noteTouchCustomerCount" labelWidth="100px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.noteTouchCustomerCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.noteTouchCustomerCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="访客数(人)" prop="noteTouchVisitorCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="访客数(人)" prop="noteTouchVisitorCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.noteTouchVisitorCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.noteTouchVisitorCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="订单数(单)" prop="noteTouchOrderCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="订单数(单)" prop="noteTouchOrderCount" labelWidth="70px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.noteTouchOrderCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.noteTouchOrderCount" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="转化率" prop="noteTouchConversionRate" labelWidth="50px" style="margin: 0px 8px 0px 0px;"> <el-form-item label="转化率" prop="noteTouchConversionRate" labelWidth="50px" style="margin: 0px 8px 0px 0px;">
<el-input v-model="editForm.noteTouchConversionRate" style="width: 136px;height:32px;" placeholder="请输入"></el-input> <el-input v-model="editForm.activityActionReport.noteTouchConversionRate" style="width: 136px;height:32px;" placeholder="请输入"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-tab-pane> </el-tab-pane>
...@@ -901,6 +901,7 @@ export default { ...@@ -901,6 +901,7 @@ export default {
reservationInstallContactsPhone: '', reservationInstallContactsPhone: '',
targetStock: '', targetStock: '',
// 战报内容配置 // 战报内容配置
activityActionReport: {
produceReportSummary: '', produceReportSummary: '',
customerAssetSummary: '', customerAssetSummary: '',
touchPassageSummary: '', touchPassageSummary: '',
...@@ -913,6 +914,7 @@ export default { ...@@ -913,6 +914,7 @@ export default {
noteTouchVisitorCount: '', noteTouchVisitorCount: '',
noteTouchOrderCount: '', noteTouchOrderCount: '',
noteTouchConversionRate: '' noteTouchConversionRate: ''
}
}, },
reportFlag: '1', reportFlag: '1',
//商品列表 //商品列表
...@@ -971,6 +973,7 @@ export default { ...@@ -971,6 +973,7 @@ export default {
], ],
// 活动配置 // 活动配置
customerServicePhone: { required: false, validator: validatorPhone, trigger: 'change' }, customerServicePhone: { required: false, validator: validatorPhone, trigger: 'change' },
reservationInstallContactsPhone: { required: false, validator: validatorPhone, trigger: 'change' },
fictitiousLadderQuantity: [{ required: true, message: '请输入阶梯人数', trigger: 'change' }], fictitiousLadderQuantity: [{ required: true, message: '请输入阶梯人数', trigger: 'change' }],
fictitiousViewQuantity: [ fictitiousViewQuantity: [
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!