Commit f836dfa0 by 前端

Merge branch 'master' into 'develop'

Master  ---> develop

See merge request !6
2 parents fef509c7 891cb3bb
...@@ -56,5 +56,9 @@ export default { ...@@ -56,5 +56,9 @@ export default {
padding: 20px 0; padding: 20px 0;
line-height: 36px; line-height: 36px;
} }
// #app{
// padding-left: 20px!important;
// margin: 0!important;
// }
</style> </style>
> >
...@@ -86,7 +86,7 @@ const getQrUrl = params => { ...@@ -86,7 +86,7 @@ const getQrUrl = params => {
} }
/*获取用户明细列表*/ /*获取用户明细列表*/
const getcardRecordList = params => { const getcardRecordList = params => {
params.method = 'scrm.api.equity.card.merchant.record.get' params.method = 'scrm.api.equity.card.merchant.record.operate.get'
return http({ return http({
data: params data: params
}) })
...@@ -94,7 +94,7 @@ const getcardRecordList = params => { ...@@ -94,7 +94,7 @@ const getcardRecordList = params => {
/**导出用户明细列表Excel*/ /**导出用户明细列表Excel*/
const exportcardRecordList = params => { const exportcardRecordList = params => {
params.method = 'scrm.api.equity.card.merchant.record.export' params.method = 'scrm.api.equity.card.merchant.record.operate.export'
return http({ return http({
data: params, data: params,
returnAll: true returnAll: true
......
.equity-wrap .contain { .equity-wrap .contain {
background: #FFFFFF; background: #FFFFFF;
margin: 0 20px 20px 40px; margin: 0 0 20px 0;
padding: 20px; padding: 20px;
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.10); box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.10);
} }
......
<!--领用管理--> <!--领用管理-->
<!--批次管理--> <!--批次管理-->
<template> <template>
<div class="equity-wrap tap tabCtn" style="margin: 20px 20px 20px 40px"> <div class="equity-wrap tap tabCtn" style="margin: 20px 0 20px 0">
<div class="tapItem"> <div class="tapItem">
<el-tabs v-model="activeName" type="card" @tab-click="handleClick"> <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="批次管理" name="first" class="contain" style="margin: 0" id="batch"> <el-tab-pane label="批次管理" name="first" class="contain" style="margin: 0" id="batch">
...@@ -911,7 +911,7 @@ flex-wrap: nowrap; ...@@ -911,7 +911,7 @@ flex-wrap: nowrap;
} }
.equity-wrap .contain { .equity-wrap .contain {
background: #ffffff; background: #ffffff;
margin: 0px 20px 20px 40px; margin: 0px 0 20px 0;
padding: 20px; padding: 20px;
-webkit-box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1); -webkit-box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1); box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
......
...@@ -287,7 +287,7 @@ export default { ...@@ -287,7 +287,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.addGood { .addGood {
margin-bottom: 20px; margin-bottom: 20px;
margin-left: 40px; // margin-left: 40px;
padding: 8px 16px; padding: 8px 16px;
// margin-bottom: 20px; // margin-bottom: 20px;
} }
......
...@@ -252,10 +252,16 @@ export default { ...@@ -252,10 +252,16 @@ export default {
}, },
{ {
label: '开通方式', label: '开通方式',
prop: 'activeTypeDesc', prop: 'activeTypeDescList',
width: 200, width: '200',
line: 1,
formatter: cellValue => { formatter: cellValue => {
return cellValue.activeTypeDesc || "-" // return cellValue.activeTypeDescList || "-"
if(cellValue.activeTypeDescList && Array.isArray(cellValue.activeTypeDescList ) && cellValue.activeTypeDescList.length>0){
return cellValue.activeTypeDescList.join('+')
}else{
return '-'
}
} }
}, },
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<span style="margin-left: 8px">新建权益卡</span> <span style="margin-left: 8px">新建权益卡</span>
</el-button> </el-button>
</div> </div>
<div class="tableBox" style="margin-left: 40px; margin-top: 20px; margin-right: 20px"> <div class="tableBox" style="margin-top: 20px;">
<div class="topline"> <div class="topline">
<!-- <div class="selectStore">搜索门店</div> <!-- <div class="selectStore">搜索门店</div>
<el-select size="small" v-model="searchForm.merchantName" filterable remote reserve-keyword placeholder="请输入门店名称" :remote-method="remoteMethod" :loading="loading" clearable style="margin-left: 10px"> <el-select size="small" v-model="searchForm.merchantName" filterable remote reserve-keyword placeholder="请输入门店名称" :remote-method="remoteMethod" :loading="loading" clearable style="margin-left: 10px">
...@@ -671,9 +671,6 @@ export default { ...@@ -671,9 +671,6 @@ export default {
text-align: center; text-align: center;
align-items: center; align-items: center;
} }
.button {
margin-left: 40px;
}
/* .el-dialog__headerbtn { /* .el-dialog__headerbtn {
display: none; display: none;
} */ } */
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
<span slot="desc" slot-scope="scope"> <span slot="desc" slot-scope="scope">
<div class="refund-box"> <div class="refund-box">
<div class="refund-img-box"> <div class="refund-img-box">
<!-- getHttpsImgUrl(scope.scope.img) -->
<img :src="scope.scope.img" alt="" /> <img :src="scope.scope.img" alt="" />
</div> </div>
<div>{{ scope.scope.reason }}</div> <div>{{ scope.scope.reason }}</div>
...@@ -182,12 +181,10 @@ export default { ...@@ -182,12 +181,10 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
getHttpsImgUrl(url){ getHttpsImgUrl(url){
if(!url){ if(!url){
return '' return ''
} }
var flag=url.startsWith("http:") var flag=url.startsWith("http:")
// console.log(flag,'快快快')
if(flag){ if(flag){
var newurl= url.replace("http:","https:") var newurl= url.replace("http:","https:")
//去掉http自动带的端口 :7060,https不能有 //去掉http自动带的端口 :7060,https不能有
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!