Commit 33d90318 by LJM

news

parent 7eb25102
...@@ -128,13 +128,15 @@ ...@@ -128,13 +128,15 @@
<el-table-column prop="inquiry_brand_name" label="更新时间" :show-overflow-tooltip="true" width="160"></el-table-column> <el-table-column prop="inquiry_brand_name" label="更新时间" :show-overflow-tooltip="true" width="160"></el-table-column>
<el-table-column prop="inquiry_brand_name" label="上架有效期" :show-overflow-tooltip="true" width="160"></el-table-column> <el-table-column prop="inquiry_brand_name" label="上架有效期" :show-overflow-tooltip="true" width="160"></el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination> <div class="row bothSide">
<p class="tetx-goods"> <p class="tetx-goods row verCenter">
<span>上传型号总数:</span><em>162512</em> <span>上传型号总数:</span><em>162512</em>
<span>参与询价型号总数:</span><em>162512</em> <span>参与询价型号总数:</span><em>162512</em>
<span>参与报价型号总数:</span><em>162512</em> <span>参与报价型号总数:</span><em>162512</em>
<span>成单型号总数:</span><em>162512</em> <span>成单型号总数:</span><em>162512</em>
</p> </p>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
</div> </div>
</div> </div>
<Menu/> <Menu/>
...@@ -282,8 +284,9 @@ export default { ...@@ -282,8 +284,9 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.tetx-goods { .tetx-goods {
position: absolute; font-size: 12px;
bottom: 14px; margin-top: 20px;
flex-wrap: wrap;
span { span {
color: #F59A23; color: #F59A23;
......
...@@ -13,27 +13,6 @@ ...@@ -13,27 +13,6 @@
</div> </div>
</div> </div>
<Menu/> <Menu/>
<el-dialog title="消息详情" :close-on-click-modal="false" :visible.sync="dialogVisible" width="1000px">
<el-descriptions size="medium" border :column="2">
<el-descriptions-item>
<template slot="label">发件人</template>
{{ msgDetail.sender }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">收件人</template>
{{ msgDetail.recipient }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">时间</template>
{{ msgDetail.create_time }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">大小</template>
{{ msgDetail.size }}
</el-descriptions-item>
</el-descriptions>
<p style="margin-top: 20px;padding-bottom: 10px;">{{ msgDetail.content }}</p>
</el-dialog>
</section> </section>
</template> </template>
<script> <script>
...@@ -63,13 +42,7 @@ export default { ...@@ -63,13 +42,7 @@ export default {
}, },
methods: { methods: {
getData() { getData() {
var params = Object.assign({}, this.$http('GET', "/api/message/getMsgList", {}).then(res => {
{page: this.page, limit: this.limit},
this.formParam,
{start_time: this.formParam.date ? this.formParam.date[0] : ''},
{end_time: this.formParam.date ? this.formParam.date[1] : ''}
);
this.$http('GET', "/api/message/getMsgList", params).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.list = res.data.list || []; this.list = res.data.list || [];
this.total = Number(res.data.total) || 0; this.total = Number(res.data.total) || 0;
......
...@@ -138,7 +138,13 @@ ...@@ -138,7 +138,13 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination> <div class="row bothSide">
<p class="tetx-goods row verCenter">
<span>订单总金额:</span>
<em>¥{{ total_amount }}</em>
</p>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
</div> </div>
</div> </div>
<Menu/> <Menu/>
...@@ -163,6 +169,7 @@ export default { ...@@ -163,6 +169,7 @@ export default {
name: "orderTrackGoods", name: "orderTrackGoods",
data() { data() {
return { return {
total_amount: '',//订单总金额
total: 0, total: 0,
limit: 10, limit: 10,
page: 1, page: 1,
...@@ -206,6 +213,7 @@ export default { ...@@ -206,6 +213,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.tableData = res.data.list || []; this.tableData = res.data.list || [];
this.total = Number(res.data.total) || 0; this.total = Number(res.data.total) || 0;
this.total_amount = res.data.total_amount;
} else { } else {
this.$message({ this.$message({
message: res.msg, message: res.msg,
...@@ -340,6 +348,23 @@ export default { ...@@ -340,6 +348,23 @@ export default {
} }
}; };
</script> </script>
<style scoped> <style scoped lang="less">
@import "../../assets/css/goods/goods.min.css"; @import "../../assets/css/goods/goods.min.css";
.tetx-goods {
font-size: 12px;
margin-top: 20px;
flex-wrap: wrap;
span {
color: #333;
font-weight: bold;
}
em {
color: #FF0000;
font-weight: bold;
margin-right: 15px;
}
}
</style> </style>
\ No newline at end of file
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 sign in to comment