Commit b821c437 by 前端

fixed

1 parent d6073fac

5.08 KB | W: | H:

31.2 KB | W: | H:

src/assets/seckillActivity/crowd-footer.png
src/assets/seckillActivity/crowd-footer.png
src/assets/seckillActivity/crowd-footer.png
src/assets/seckillActivity/crowd-footer.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-08-13 14:12:11 * @Date: 2021-08-13 14:12:11
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-20 10:18:30 * @LastEditTime: 2022-12-21 16:50:23
* @FilePath: \scrm\scrm-sub-blog\src\main.js * @FilePath: \scrm\scrm-sub-blog\src\main.js
*/ */
import Vue from 'vue' import Vue from 'vue'
...@@ -20,7 +20,7 @@ Vue.prototype.size = 'small' ...@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
Vue.prototype.defaultLabelWidth = '154px' Vue.prototype.defaultLabelWidth = '154px'
try { try {
const loginpath = JSON.parse(sessionStorage.getItem('SCRM_BASE_SESSION'))?.loginpath const loginpath = JSON.parse(sessionStorage.getItem('SCRM_BASE_SESSION'))?.loginpath
if (loginpath == '/oss') Vue.prototype.loginpath = true if (loginpath != '/oss') Vue.prototype.loginpath = true
} catch (e) { } catch (e) {
throw e throw e
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57 * @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-21 16:30:13 * @LastEditTime: 2022-12-22 14:25:44
* @FilePath: \scrm-micro-link\src\setup\qiankun.js * @FilePath: \scrm-micro-link\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class="main-title flex-space-between"> <div class="main-title flex-space-between">
<div class="price"> <div class="price">
<div class="unit">¥</div> <div class="unit">¥</div>
{{ editForm.activityPrice / 100 }} {{ editForm.activityPrice }}
</div> </div>
<div class="title-right" v-if="editForm.expiresType == 0"> <div class="title-right" v-if="editForm.expiresType == 0">
<div class="title-tips"> <div class="title-tips">
...@@ -233,22 +233,22 @@ export default { ...@@ -233,22 +233,22 @@ export default {
color: #fff; color: #fff;
.price { .price {
font-weight: 600; font-weight: 600;
font-size: 48rpx; font-size: 14px;
display: flex; display: flex;
align-items: baseline; align-items: baseline;
margin-left: 20rpx;
margin-left: 34px; margin-left: 34px;
} }
.price .unit { .price .unit {
font-size: 24rpx; font-size: 12px;
} }
.price .decimal { .price .decimal {
font-size: 28rpx; font-size: 14px;
} }
.title-right { .title-right {
line-height: 36rpx; font-size: 12px;
line-height: 18px;
} }
} }
.wechat-block { .wechat-block {
...@@ -276,7 +276,6 @@ export default { ...@@ -276,7 +276,6 @@ export default {
.title-r { .title-r {
font-size: 10px; font-size: 10px;
color: #ffffff; color: #ffffff;
letter-spacing: 2px;
} }
} }
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</template> </template>
<script> <script>
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import { downLoadFile, orderManageStatusList } from '@/common/constant' import { exportFn, orderManageStatusList } from '@/common/constant'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import browseList from './components/browseList.vue' import browseList from './components/browseList.vue'
const dataList = [ const dataList = [
...@@ -240,18 +240,18 @@ export default { ...@@ -240,18 +240,18 @@ export default {
if (name == 'rank') { if (name == 'rank') {
let params = this.getParams() let params = this.getParams()
this.$apis.seckillActivity.exportRankListApi(params).then(res => { this.$apis.seckillActivity.exportRankListApi(params).then(res => {
downLoadFile(res) exportFn(res)
}) })
} }
if (name == 'dailyOrders') { if (name == 'dailyOrders') {
this.$apis.seckillActivity.exportDailyOrderQuantityStatistics({ id: this.activityId }).then(result => { this.$apis.seckillActivity.exportDailyOrderQuantityStatistics({ id: this.activityId }).then(result => {
downLoadFile(result) exportFn(result)
}) })
} }
if (name == 'liveData') { if (name == 'liveData') {
this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => { this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => {
console.log(result) console.log(result)
// downLoadFile(result) // exportFn(result)
}) })
} }
}, },
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<span style="color:#f56c6c;margin-right:6px">*</span> <span style="color:#f56c6c;margin-right:6px">*</span>
<span class="combi-form-label">链接时间:</span> <span class="combi-form-label">链接时间:</span>
</label> </label>
<el-date-picker v-model="editForm.activityTime" type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" :disabled="isDisabled" @change="e => handleTimeChange(e, scope.scope)"></el-date-picker> <el-date-picker v-model="editForm.activityTime" type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" @change="e => handleTimeChange(e, scope.scope)"></el-date-picker>
</div> </div>
</template> </template>
<el-button slot="selectGiftBtn" type="default" class="el-icon-plus" @click="handleGiftAdd">选择优惠券</el-button> <el-button slot="selectGiftBtn" type="default" class="el-icon-plus" @click="handleGiftAdd">选择优惠券</el-button>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="flex-space-between"> <div class="flex-space-between">
<div class="flex flex-default tabs"> <div class="flex flex-default tabs">
<el-tabs v-model="searchForm.requestSource" @tab-click="handleTabClick"> <el-tabs v-model="searchForm.orderStatusType" @tab-click="handleTabClick">
<el-tab-pane label="全部订单" name="0"></el-tab-pane> <el-tab-pane label="全部订单" name="0"></el-tab-pane>
<el-tab-pane label="已付款" name="1"></el-tab-pane> <el-tab-pane label="已付款" name="1"></el-tab-pane>
<!-- <el-tab-pane label="未付款" name="2"></el-tab-pane> --> <!-- <el-tab-pane label="未付款" name="2"></el-tab-pane> -->
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
merchantName: '', merchantName: '',
customerName: '', customerName: '',
createDate: [], createDate: [],
orderSource: '4', orderSource: '5',
requestType: '1', //运营版 固定传值 实现筛选全部订单 requestType: '1', //运营版 固定传值 实现筛选全部订单
deliveryType: '', deliveryType: '',
vin: '', vin: '',
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
shareStaffType: '', shareStaffType: '',
activityName: '', activityName: '',
goodsName: '', goodsName: '',
requestSource: '0' orderStatusType: '0'
}, },
tableSearchForm: {}, tableSearchForm: {},
statisticsInfo: { statisticsInfo: {
...@@ -434,7 +434,7 @@ export default { ...@@ -434,7 +434,7 @@ export default {
}, },
listeners: { listeners: {
click: row => { click: row => {
this.secondConfirm('退款', '请确定是否发起退款?', 'orderManage', 'goldRefund', { orderCode: row.orderCode }, () => {}, this.searchForm.requestSource != 0) this.secondConfirm('退款', '请确定是否发起退款?', 'orderManage', 'goldRefund', { orderCode: row.orderCode }, () => {}, this.searchForm.orderStatusType != 0)
} }
} }
} }
...@@ -607,7 +607,7 @@ export default { ...@@ -607,7 +607,7 @@ export default {
params.createdStartDateStr = new Date(this.searchForm.createDate[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00' params.createdStartDateStr = new Date(this.searchForm.createDate[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
params.createdEndDateStr = new Date(this.searchForm.createDate[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59' params.createdEndDateStr = new Date(this.searchForm.createDate[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
} }
if (params.orderStatuses.includes('3') && params.requestSource == '0') delete params.requestSource if (params.orderStatuses.includes('3') && params.orderStatusType == '0') delete params.orderStatusType
delete params.createDate delete params.createDate
return params return params
}, },
...@@ -790,7 +790,7 @@ export default { ...@@ -790,7 +790,7 @@ export default {
}) })
if (res.code == '0') { if (res.code == '0') {
this.handleWriteOffClose() this.handleWriteOffClose()
this.searchForm.requestSource == 0 ? this.$refs.allOrderRef.refreshTable(false) : this.handleSearch() this.searchForm.orderStatusType == 0 ? this.$refs.allOrderRef.refreshTable(false) : this.handleSearch()
} }
}) })
} }
...@@ -826,7 +826,7 @@ export default { ...@@ -826,7 +826,7 @@ export default {
}) })
if (res.code == '0') { if (res.code == '0') {
this.handleExamineClose() this.handleExamineClose()
this.searchForm.requestSource == 0 ? this.$refs.allOrderRef.refreshTable(false) : this.handleSearch() this.searchForm.orderStatusType == 0 ? this.$refs.allOrderRef.refreshTable(false) : this.handleSearch()
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!