Commit 32f2aef9 by member

修改会员分组默认图片的替换

parent ef5109cb
......@@ -34,11 +34,11 @@
<!-- </div> -->
<div class="gic-people-button">
<div v-if="toggleTag">
<el-button size="medium" type="primary" @click="getData">确定</el-button>
<el-button size="medium" @click="cancelFilter">取消</el-button>
<el-button type="primary" @click="getData">确定</el-button>
<el-button @click="cancelFilter">取消</el-button>
</div>
<div v-if="saveTag">
<el-button size="medium" @click="saveTempData">保存</el-button>
<el-button @click="saveTempData">保存</el-button>
</div>
</div>
</div>
......
......@@ -110,7 +110,9 @@
import { doFetch } from "../../components/axios/api";
import url from '../../components/axios/url'
import {checkFalse, checkStatus, checkSuccess} from "../../../static/js/checkStatus";
import { parse } from 'querystring';
import { parse } from 'querystring';
import { mapState } from 'vuex';
export default {
name: "membergrop-detail",
data() {
......@@ -163,6 +165,11 @@ import { parse } from 'querystring';
}
}
},
computed: {
...mapState([
'storeImageUrl'
])
},
filters: {
formatMember(val) {
if(val) {
......@@ -237,7 +244,8 @@ import { parse } from 'querystring';
sex: ele.sex == 0 ? '未知' : ele.sex == '1' ? '男' : '女',
costFee: ele.costFee == null ? '--' : '¥' + parseInt(ele.costFee, 10).toFixed(2),
createTime: ele.createTime != '-1' ? this.formatLongTime('' + ele.createTime) : '--', // 新增时间
lastCostTime: (ele.lastCostTime && ele.lastCostTime != '-1') ? this.formatLongTime('' + ele.lastCostTime) : '--' // 最近消费时间
lastCostTime: (ele.lastCostTime && ele.lastCostTime != '-1') ? this.formatLongTime('' + ele.lastCostTime) : '--', // 最近消费时间
thirdImgUrl: ele.thirdImgUrl ? ele.thirdImgUrl : this.storeImageUrl
}));
this.page.currentPage = res.data.result.page.currentPage;
this.page.total = res.data.result.page.totalCount;
......
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