Commit 2d8a9da0 authored by 刘殿昕's avatar 刘殿昕

Merge branch 'ldx' into dev

parents 509f2065 f43ef464
...@@ -1175,7 +1175,7 @@ export default { ...@@ -1175,7 +1175,7 @@ export default {
this.formOld.appDuration >= 1 ? this.formOld.appDuration : 0 this.formOld.appDuration >= 1 ? this.formOld.appDuration : 0
}个月`; }个月`;
} }
console.log(sumCM, sumDisk) // console.log(sumCM, sumDisk)
this.amounts_payable = Number((Number(sumCM) + Number(sumDisk)).toFixed(2)); this.amounts_payable = Number((Number(sumCM) + Number(sumDisk)).toFixed(2));
// this.total_money = sumCM + sumDisk - a_deductions; // this.total_money = sumCM + sumDisk - a_deductions;
return this.amounts_payable; return this.amounts_payable;
...@@ -1688,8 +1688,8 @@ export default { ...@@ -1688,8 +1688,8 @@ export default {
}, },
disks: [ disks: [
{ {
disk_num: this.formNew.dataDisk ? this.formNew.dataDisk + "" : "0", disk_num: this.formNew.dataDisk ? this.formNew.dataDisk : 0,
disk_cap: this.formNew.perDataDisk ? this.formNew.perDataDisk + "" : "0", disk_cap: this.formNew.perDataDisk ? this.formNew.perDataDisk : 0,
store_type: "nfs-client", store_type: "nfs-client",
}, },
], ],
...@@ -1734,8 +1734,8 @@ export default { ...@@ -1734,8 +1734,8 @@ export default {
}, },
disks: [ disks: [
{ {
disk_num: this.formOld.dataDisk ? this.formOld.dataDisk + "" : "0", disk_num: this.formOld.dataDisk ? this.formOld.dataDisk : 0,
disk_cap: this.formOld.perDataDisk ? this.formOld.perDataDisk + "" : "0", disk_cap: this.formOld.perDataDisk ? this.formOld.perDataDisk : 0,
store_type: "nfs-client", store_type: "nfs-client",
}, },
], ],
......
...@@ -24,10 +24,7 @@ ...@@ -24,10 +24,7 @@
<div class="card_word"> <div class="card_word">
<p class="card_name">账户余额</p> <p class="card_name">账户余额</p>
<p> <p>
{{ helper.numberFormat(user_info.account_balance) {{ user_info.account_balance }}
}}<span v-if="user_info.account_balance > 10000" class="card_wan">
</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -45,7 +42,7 @@ ...@@ -45,7 +42,7 @@
</div> </div>
</div> </div>
</BlockRadius> </BlockRadius>
<BlockRadius class="block_down info_block"> <BlockRadius ref="tableIn" class="block_down info_block">
<div class="czjl"> <div class="czjl">
<div class="czjl_p"> <div class="czjl_p">
充值记录 充值记录
...@@ -70,19 +67,20 @@ ...@@ -70,19 +67,20 @@
@change="getCoinList" @change="getCoinList"
></el-date-picker> ></el-date-picker>
</div> </div>
<apass-table <div class="apa_table">
class="apa_table" <apass-table
ref="outtreetable" ref="outtreetable"
:data="tableData" :data="tableData"
:header="table_header" :header="table_header"
></apass-table> ></apass-table>
</div>
<list-pagination <list-pagination
:total="total_list" :total="total_list"
:page-sizes="[50, 20, 10]" :page-sizes="[50, 20, 10]"
:page-size="currentlimit" :page-size="currentlimit"
:current-page="currentPage" :current-page="currentPage"
@size-change="handleSizeChange" @size-change="changePageSize"
@current-change="handleCurrentChange" @current-change="changeCurrentPage"
></list-pagination> ></list-pagination>
</BlockRadius> </BlockRadius>
</div> </div>
...@@ -117,13 +115,15 @@ export default { ...@@ -117,13 +115,15 @@ export default {
}), }),
watch: {}, watch: {},
methods: { methods: {
handleSizeChange(val) { changePageSize(val) {
this.pagination.rowsPerPage = val; this.currentlimit = val;
this.refreshData(); this.currentPage = 1;
this.getCoinList();
}, },
handleCurrentChange(val) { changeCurrentPage(val) {
this.pagination.page += val; console.log(val);
this.refreshData(); this.currentPage = val;
this.getCoinList();
}, },
getUserCoins() { getUserCoins() {
this.$api.user.getUserCoins().then((response) => { this.$api.user.getUserCoins().then((response) => {
...@@ -151,7 +151,6 @@ export default { ...@@ -151,7 +151,6 @@ export default {
this.tableData = []; this.tableData = [];
this.currentPage = 1; this.currentPage = 1;
} }
this.total_list = response.data.total; this.total_list = response.data.total;
} }
}); });
...@@ -382,4 +381,14 @@ export default { ...@@ -382,4 +381,14 @@ export default {
.czjl .el-date-editor .el-range__icon { .czjl .el-date-editor .el-range__icon {
margin-right: 8px; margin-right: 8px;
} }
.apa_table .apass_table {
height: 100%;
}
.apa_table .apass_table .el-table {
height: 100%;
}
.apa_table .apass_table .el-table .el-table__body-wrapper {
max-height: calc(100% - 49px);
overflow: auto;
}
</style> </style>
\ No newline at end of file
...@@ -134,9 +134,13 @@ export default { ...@@ -134,9 +134,13 @@ export default {
reason: [ reason: [
{ {
required: true, required: true,
message: "请填写删除理由",
trigger: "blur",
},
{
max: 20, max: 20,
min: 5, min: 5,
message: "填写活动形式", message: "输入5至20个字符",
trigger: "blur", trigger: "blur",
}, },
], ],
......
...@@ -79,7 +79,13 @@ ...@@ -79,7 +79,13 @@
{{ item.title }} {{ item.title }}
</p> </p>
<p class="cell_cont"> <p class="cell_cont">
{{ item.content.replace(/<[^<>]+>/g, "") }} {{
item.question_content && item.question_content != ""
? item.question_content.replace(/<[^<>]+>/g, "")
: item.content && item.content != ""
? item.content.replace(/<[^<>]+>/g, "")
: ""
}}
</p> </p>
<p v-if="activeName == 2" class="cell_other"> <p v-if="activeName == 2" class="cell_other">
<span> <span>
......
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