Commit 943f0441 by caoyanzhi

update: ai营销bug

parent 88670ed8
......@@ -74,8 +74,8 @@
<div class="card-item_foot clearfix">
<div class="fl" v-if="item.gicCouponType != 3 && item.gicCouponType != 4">
<!-- 由外部api创建 仅展示详情、删除、报表按钮 -->
<span v-if="$getButtonLimit($buttonCode.marketingEditCardStock) && item.auditingStatus !== -1" :limit-code="$buttonCode.marketingEditCardStock"
>剩余库存:{{ item.couponStock }} <a title="编辑库存" v-if="!shelfFlag && item.useCustomCode === 0 && item.canEdit !== false && !item.isApiCreate" @click="preAdjustStock(item)"><i class="el-icon-edit"></i></a
<span v-if="item.auditingStatus !== -1"
>剩余库存:{{ item.couponStock }} <a title="编辑库存" v-if="$getButtonLimit($buttonCode.marketingEditCardStock) && !shelfFlag && item.useCustomCode === 0 && item.canEdit !== false && !item.isApiCreate" :limit-code="$buttonCode.marketingEditCardStock" @click="preAdjustStock(item)"><i class="el-icon-edit"></i></a
></span>
</div>
<render-temp v-if="!shelfFlag" :item="item" @handler="handler"></render-temp>
......
......@@ -308,7 +308,7 @@
<el-dialog title="导出数据" :visible.sync="exportDialog.dialogVisible" width="500">
<div class="export-time text-center">
<h2>选择导出日期范围</h2>
<p class="tip mb10">日期最大可选择范围为3个月,不支持导出当天的数据</p>
<p class="tip mb10">日期最大可选择范围为3个月{{ $route.params.type == 'marketing' ? ',不支持导出当天的数据' : '' }}</p>
<el-date-picker :clearable="false" :pickerOptions="exportDialog.pickerOptions" v-model="exportDialog.time" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @click.native="exportDialog.minDate = null"></el-date-picker>
<div class="mt40 mb40">
<el-button type="primary" @click="createRepoert">去生成报告</el-button>
......@@ -404,7 +404,7 @@ export default {
dialogVisible: false,
pickerOptions: {
disabledDate: val => {
const isSms = this.$route.params.type == 'marketing' || this.$route.params.type == 'ai-call'; // 是否为营销类型
const isSms = this.$route.params.type == 'marketing'; // 是否为营销类型
const beforeDay = Date.now() - 24 * 60 * 60 * 1000; // 营销类型最大选择时间为当天的前一天
// 只能筛选一年之内得数据,并且最大跨度为三个月
const oneYearBefore = Date.now() - 365 * 24 * 60 * 60 * 1000;
......@@ -728,9 +728,9 @@ export default {
const depart = this.deparment;
depart['departId'] = id;
this.listParams['currentPage'] = 1;
if (this.$route.params.type == 'ai-call') {
this.dateTime = [Date.now(), Date.now()];
}
// if (this.$route.params.type == 'ai-call') {
// this.dateTime = [Date.now(), Date.now()];
// }
this.loadAll();
},
// 下拉远程搜索
......@@ -801,7 +801,7 @@ export default {
'exportDialog.dialogVisible': {
handler: function(newVal) {
if (newVal) {
const isSms = this.$route.params.type == 'marketing' || this.$route.params.type == 'ai-call'; // 是否为短信营销
const isSms = this.$route.params.type == 'marketing'; // 是否为短信营销
const beforeDay = Date.now() - 24 * 60 * 60 * 1000;
const begenTime = isSms && this.dateTime[0] > beforeDay ? beforeDay : this.dateTime[0];
const endTime = isSms && this.dateTime[1] > beforeDay ? beforeDay : this.dateTime[1];
......
......@@ -31,7 +31,7 @@
<p class="fz12 gray line-height2">1、我们提供在线充值服务(目前仅支持微信)</p>
<p class="fz12 gray line-height2">2、请尽量保障账户余额大于您日常使用的额度,避免因余额不足导致业务中断</p>
<p class="fz12 gray line-height2">3、若未能及时充值或其他问题,请联系客户经理或客服人员</p>
<p class="fz12 gray line-height2">4、各项服务单价:国内短信验证码0.050元/条,国际短信验证码0.500元/条,双向呼叫0.420元/分钟,AI电话0.020元/分钟</p>
<p class="fz12 gray line-height2">4、各项服务单价:国内短信验证码0.050元/条,国际短信验证码0.500元/条,双向呼叫0.420元/分钟,AI电话0.450元/分钟</p>
<!-- <p class="fz12 gray line-height2">5、通话录音存储收费标准:「三个月{{ allUnitFee.storageThreeFee }}元/分钟」「六个月{{ allUnitFee.storageSixFee }}元/分钟」「十二个月{{ allUnitFee.storageTwelveFee }}元/分钟」,不满一分钟按一分钟收费</p> -->
</div>
</article>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment