Commit a22203d2 by 前端

fixed

1 parent b821c437
......@@ -21,7 +21,7 @@ export const fetchConfig = function(isEnv = true) {
//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' })
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/6351298f6a118b4ff787ef2b/live/config')
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6324135a4edfe442ee0530ae/live/config')
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/63a541ae2019ec5113826ea3/link/config')
}
export const config = {
install(vue, cfg) {
......
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-21 16:50:23
* @LastEditTime: 2022-12-23 13:54:02
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
import Vue from 'vue'
......@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
Vue.prototype.defaultLabelWidth = '154px'
try {
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) {
throw e
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-22 14:25:44
* @LastEditTime: 2022-12-23 14:02:22
* @FilePath: \scrm-micro-link\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......
......@@ -143,8 +143,8 @@
</el-form-item>
</div>
</template> -->
<div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div>
<div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div>
<div slot="activityBigImg" class="edit-tips m-t-8">建议大小:最大5M,尺寸750*1258</div>
<div slot="activityVideos" class="edit-tips m-t-8">建议大小:10M以内,最多上传6个视频</div>
<div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
<div class="form-describe-box" slot="formDescribe">
<el-checkbox-group v-model="editForm.formDescribeCheck">
......@@ -890,7 +890,7 @@ export default {
uploadType: 'video',
suffixSlot: 'activityVideos',
tips: '大图下可以展示视频,不上传则不显示',
limitSize: 20,
limitSize: 10,
maxPhotoNum: 6,
handleDelete: idx => {
this.editForm.activityVideos.splice(idx, 1)
......@@ -1967,6 +1967,9 @@ export default {
text-align: right;
padding-right: 12px;
}
.edit-tips {
color: #999999;
}
.edit-activity .el-form-item__content {
width: auto;
}
......
......@@ -22,7 +22,7 @@
<el-tab-pane label="全部订单" name="0"></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="3"></el-tab-pane>
<el-tab-pane label="已退款" name="2"></el-tab-pane>
<!-- <el-tab-pane label="售后订单" name="4"></el-tab-pane>
<el-tab-pane label="待审批" name="5"></el-tab-pane> -->
</el-tabs>
......@@ -211,7 +211,7 @@ export default {
customerName: '',
createDate: [],
orderSource: '5',
requestType: '1', //运营版 固定传值 实现筛选全部订单
requestType: this.loginpath ? '1' : '0', //运营版 固定传值 实现筛选全部订单
deliveryType: '',
vin: '',
shareStaffName: '',
......@@ -430,7 +430,7 @@ export default {
fn: '退款'
},
condition: row => {
return row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus)
return row.orderSource == 5 && [2, 6, 21].includes(+row.orderStatus)
},
listeners: {
click: row => {
......@@ -445,12 +445,12 @@ export default {
listName: 'list',
tableOption: true,
tableColumns: [
{
label: '状态',
prop: 'orderStatus',
addHtml: 'orderStatus',
width: 160
},
// {
// label: '状态',
// prop: 'orderStatus',
// addHtml: 'orderStatus',
// width: 160
// },
{
label: '客户名称',
prop: 'customerName',
......
......@@ -17,12 +17,8 @@
<p class="edit-title">使用详情</p>
<GLTable class="m-t-20" ref="memberCenterRef" :tableData="tableData" :hasPage="false" :searchForm="searchFormTable" :tableParams="tableParams">
<div slot="cardInfo" slot-scope="scope">
<GLTable class="centerTable" ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.list"></GLTable>
<GLTable class="centerTable" ref="cardListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="cardParams" :tableData="scope.scope.userCouponVerficationDTOList"></GLTable>
</div>
<span slot="accountName" slot-scope="scope">
<div>{{ scope.scope.accountName }}</div>
<div>{{ scope.scope.mobile }}</div>
</span>
</GLTable>
</div>
</div>
......@@ -32,12 +28,14 @@
</div>
</template>
<script>
const statusList = ['', '满减券', '折扣券', '代金券', '兑换券', '购车代金券', '商品折扣券', '会员服务']
import * as dayjs from 'dayjs'
import { orderManageStatusList, orderSourceList, deliveryTypeList } from '@/common/constant'
export default {
name: 'orderDetail',
data() {
return {
statusList,
size: 'small',
title: '查看订单',
editChildRef: 'editChildRef',
......@@ -137,7 +135,10 @@ export default {
},
{
label: '优惠券类型',
prop: 'discountType'
prop: 'discountType',
formatter: cellValue => {
return statusList.find((item, index) => index == cellValue.discountType)
}
},
{
label: '优惠券名称',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!