| | |
| | | checked == '智飞工单' ? zfstatusMap[item.status] : statusMap[item.status] |
| | | }}</span> |
| | | <span class="reads" :class="item.is_read === 0 ? 'unread' : ''"></span> |
| | | <span class="todo-text">{{ item.name }}</span> |
| | | <span class="todo-text">{{ item.event_num }}</span> |
| | | </div> |
| | | |
| | | <div class="action-area"> |
| | | <img :src="st7" alt="" /> |
| | | <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span> |
| | | <!-- <img :src="st7" alt="" /> --> |
| | | <!-- <span class="todo-date">{{ item.date?.slice(0, 10).replace(/-/g, '.') }}</span> --> |
| | | <span class="todo-date">{{ item.name }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | const type = 1 |
| | | const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode) |
| | | todos.value = res.data.data || [] |
| | | console.log('事件工单',todos.value); |
| | | |
| | | loading.value = false |
| | | } else if (checked.value === '智飞工单') { |
| | | loading.value = true |
| | | const type = 2 |
| | | const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode) |
| | | todos.value = res.data.data || [] |
| | | console.log('智飞工单',todos.value); |
| | | loading.value = false |
| | | } |
| | | } |
| | |
| | | .todo-text { |
| | | font-weight: 400; |
| | | font-size: 14px; |
| | | color: #343434; |
| | | color: #5C6476; |
| | | } |
| | | |
| | | .unread { |
| | |
| | | |
| | | .todo-date { |
| | | font-weight: 400; |
| | | font-size: 14px; |
| | | color: #5c6476; |
| | | font-size: 14px; |
| | | color: #343434; |
| | | margin-left: 2px; |
| | | } |
| | | } |