积分展示问题
parent
327d911f80
commit
2385bbd912
|
@ -8,7 +8,7 @@
|
||||||
<h3>积分日志</h3>
|
<h3>积分日志</h3>
|
||||||
<Table :columns="logColumns" :data="logData.records">
|
<Table :columns="logColumns" :data="logData.records">
|
||||||
<template slot-scope="{ row }" slot="point">
|
<template slot-scope="{ row }" slot="point">
|
||||||
<div><span>{{row.pointType == "1" ? '+' : '-'}}</span>{{ row.variablePoint }}</div>
|
<div><span>{{row.pointType == "INCREASE" ? '+' : '-'}}</span>{{ row.variablePoint }}</div>
|
||||||
</template>
|
</template>
|
||||||
</Table>
|
</Table>
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
|
|
|
@ -50,10 +50,8 @@ export default {
|
||||||
const data = {
|
const data = {
|
||||||
id: this.$route.query.id,
|
id: this.$route.query.id,
|
||||||
pageData: modelForm,
|
pageData: modelForm,
|
||||||
pageShow,
|
pageShow
|
||||||
};
|
};
|
||||||
console.log(this.modelForm);
|
|
||||||
|
|
||||||
API_floor.updateHome(this.$route.query.id, data).then((res) => {
|
API_floor.updateHome(this.$route.query.id, data).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$Message.success("保存模板成功");
|
this.$Message.success("保存模板成功");
|
||||||
|
|
Loading…
Reference in New Issue