Commit e3cb2be9 authored by xinzhedeai's avatar xinzhedeai

add:商户首页,复整改逻辑添加

parent 1f3c4064
......@@ -204,3 +204,7 @@ body {
position: absolute;
right: 0;
}
.van-tag--primary-bold {
background-color: #169bd5;
}
\ No newline at end of file
......@@ -78,9 +78,12 @@
<!-- 第二行:状态和时间 -->
<div style="display: flex; justify-content: start; gap: .34rem; margin: 8px 0;">
<van-tag :type="statusTagType(item.rectificationStatusName)">
<van-tag :type="statusTagType(item.rectificationStatus)" v-if="!item.reMark">
{{ item.rectificationStatusName }}
</van-tag>
<van-tag type="primary-bold" v-if="item.reMark">
复整改
</van-tag>
<span
style="color: #737373; font-size: 0.28rem;margin-left: -1.6rem;">检查时间:{{ item.checkDate }}</span>
<van-icon name="arrow" class="navToBtn" @click="viewDetail(item,'YH_XQ')" />
......
......@@ -99,13 +99,13 @@ window.addEventListener("load", function () {
this.showTimePicker = false;
},
statusTagType(status) {
const types = {
'待审核': 'warning',
'待整改': 'primary',
'已整改': 'success',
'整改逾期': 'danger',
};
return types[status] || '';
const types = {
2: 'warning',
0: 'primary',
1: 'success',
3: 'danger',
}
return types[status] || ''
},
viewDetail(item, type) {
let params = {
......
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