Commit a22203d2 by 前端

fixed

1 parent b821c437
...@@ -21,7 +21,7 @@ export const fetchConfig = function(isEnv = true) { ...@@ -21,7 +21,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.test.glsx.com.cn/mock/6351298f6a118b4ff787ef2b/live/config') // 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 = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -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-21 16:50:23 * @LastEditTime: 2022-12-23 13:54:02
* @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-22 14:25:44 * @LastEditTime: 2022-12-23 14:02:22
* @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
*/ */
......
...@@ -143,8 +143,8 @@ ...@@ -143,8 +143,8 @@
</el-form-item> </el-form-item>
</div> </div>
</template> --> </template> -->
<div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div> <div slot="activityBigImg" class="edit-tips m-t-8">建议大小:最大5M,尺寸750*1258</div>
<div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</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 slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
<div class="form-describe-box" slot="formDescribe"> <div class="form-describe-box" slot="formDescribe">
<el-checkbox-group v-model="editForm.formDescribeCheck"> <el-checkbox-group v-model="editForm.formDescribeCheck">
...@@ -890,7 +890,7 @@ export default { ...@@ -890,7 +890,7 @@ export default {
uploadType: 'video', uploadType: 'video',
suffixSlot: 'activityVideos', suffixSlot: 'activityVideos',
tips: '大图下可以展示视频,不上传则不显示', tips: '大图下可以展示视频,不上传则不显示',
limitSize: 20, limitSize: 10,
maxPhotoNum: 6, maxPhotoNum: 6,
handleDelete: idx => { handleDelete: idx => {
this.editForm.activityVideos.splice(idx, 1) this.editForm.activityVideos.splice(idx, 1)
...@@ -1967,6 +1967,9 @@ export default { ...@@ -1967,6 +1967,9 @@ export default {
text-align: right; text-align: right;
padding-right: 12px; padding-right: 12px;
} }
.edit-tips {
color: #999999;
}
.edit-activity .el-form-item__content { .edit-activity .el-form-item__content {
width: auto; width: auto;
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<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> -->
<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="4"></el-tab-pane>
<el-tab-pane label="待审批" name="5"></el-tab-pane> --> <el-tab-pane label="待审批" name="5"></el-tab-pane> -->
</el-tabs> </el-tabs>
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
customerName: '', customerName: '',
createDate: [], createDate: [],
orderSource: '5', orderSource: '5',
requestType: '1', //运营版 固定传值 实现筛选全部订单 requestType: this.loginpath ? '1' : '0', //运营版 固定传值 实现筛选全部订单
deliveryType: '', deliveryType: '',
vin: '', vin: '',
shareStaffName: '', shareStaffName: '',
...@@ -430,7 +430,7 @@ export default { ...@@ -430,7 +430,7 @@ export default {
fn: '退款' fn: '退款'
}, },
condition: row => { condition: row => {
return row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus) return row.orderSource == 5 && [2, 6, 21].includes(+row.orderStatus)
}, },
listeners: { listeners: {
click: row => { click: row => {
...@@ -445,12 +445,12 @@ export default { ...@@ -445,12 +445,12 @@ export default {
listName: 'list', listName: 'list',
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{ // {
label: '状态', // label: '状态',
prop: 'orderStatus', // prop: 'orderStatus',
addHtml: 'orderStatus', // addHtml: 'orderStatus',
width: 160 // width: 160
}, // },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
......
...@@ -17,12 +17,8 @@ ...@@ -17,12 +17,8 @@
<p class="edit-title">使用详情</p> <p class="edit-title">使用详情</p>
<GLTable class="m-t-20" ref="memberCenterRef" :tableData="tableData" :hasPage="false" :searchForm="searchFormTable" :tableParams="tableParams"> <GLTable class="m-t-20" ref="memberCenterRef" :tableData="tableData" :hasPage="false" :searchForm="searchFormTable" :tableParams="tableParams">
<div slot="cardInfo" slot-scope="scope"> <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> </div>
<span slot="accountName" slot-scope="scope">
<div>{{ scope.scope.accountName }}</div>
<div>{{ scope.scope.mobile }}</div>
</span>
</GLTable> </GLTable>
</div> </div>
</div> </div>
...@@ -32,12 +28,14 @@ ...@@ -32,12 +28,14 @@
</div> </div>
</template> </template>
<script> <script>
const statusList = ['', '满减券', '折扣券', '代金券', '兑换券', '购车代金券', '商品折扣券', '会员服务']
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import { orderManageStatusList, orderSourceList, deliveryTypeList } from '@/common/constant' import { orderManageStatusList, orderSourceList, deliveryTypeList } from '@/common/constant'
export default { export default {
name: 'orderDetail', name: 'orderDetail',
data() { data() {
return { return {
statusList,
size: 'small', size: 'small',
title: '查看订单', title: '查看订单',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
...@@ -137,7 +135,10 @@ export default { ...@@ -137,7 +135,10 @@ export default {
}, },
{ {
label: '优惠券类型', label: '优惠券类型',
prop: 'discountType' prop: 'discountType',
formatter: cellValue => {
return statusList.find((item, index) => index == cellValue.discountType)
}
}, },
{ {
label: '优惠券名称', label: '优惠券名称',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!