Commit 306b20a9 by LJM

bug

parent faff67be
......@@ -425,6 +425,7 @@ export default {
}).then((res) => {
if (res.code === 0) {
let htmlArr = [];
if (res.data.list.length > 0) {
let data = JSON.parse(res.data.list[0].msg_data);
sessionStorage.removeItem('msg_id');
sessionStorage.setItem('msg_id', res.data.list[0].id);//存储最新id
......@@ -438,7 +439,7 @@ export default {
this.msg_id = res.data.list[0].id;//存储最新id
let has_more = data.has_more;//判断是否出现更多,样式有区别
let html = '';
let cate_id = data.cate_id;
let cate_id = data.cate_id;//记录tab切换id
let colorStyle = '';
//定义颜色提醒
if (cate_id) {
......@@ -479,6 +480,7 @@ export default {
that.countDown();//开启定时轮询
}
});
}
} else {
this.$message({
message: res.msg,
......
......@@ -87,10 +87,10 @@
<el-table-column prop="quote_num" label="报价数" width="80" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="i_status" label="状态" width="100" :show-overflow-tooltip="true" align="center">
<template slot-scope="scope">
<span v-if="scope.row.i_status==2" class="f-green">已报价</span>
<span v-else-if="scope.row.i_status==1" class="f-yellow1">待报价</span>
<span v-else-if="scope.row.i_status==9">已删除</span>
<span v-else-if="scope.row.i_status==-1" class="f-red1">已关闭</span>
<el-tag v-if="scope.row.i_status==2" type="success">已报价</el-tag>
<el-tag v-else-if="scope.row.i_status==1">待报价</el-tag>
<el-tag v-else-if="scope.row.i_status==9" type="danger">已删除</el-tag>
<el-tag v-else-if="scope.row.i_status==-1" type="warning">已关闭</el-tag>
</template>
</el-table-column>
<el-table-column prop="buyer_info" label="猎芯采购员" width="100" :show-overflow-tooltip="true" align="center">
......
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