|
|
@@ -5,21 +5,42 @@
|
|
|
<div
|
|
|
@click="changeVoyageType(1)"
|
|
|
:class="
|
|
|
- currentbtn
|
|
|
+ currentbtn == 1
|
|
|
? 'currentbtn radio-btns left-radius'
|
|
|
: 'radio-btns left-radius'
|
|
|
"
|
|
|
>
|
|
|
- 执行中航次
|
|
|
+ 装货中
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="border-left: none"
|
|
|
+ @click="changeVoyageType(3)"
|
|
|
+ :class="currentbtn == 3 ? 'currentbtn radio-btns' : 'radio-btns'"
|
|
|
+ >
|
|
|
+ 运输中
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="border-left: none"
|
|
|
+ @click="changeVoyageType(4)"
|
|
|
+ :class="currentbtn == 4 ? 'currentbtn radio-btns' : 'radio-btns'"
|
|
|
+ >
|
|
|
+ 卸货中
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="border-left: none"
|
|
|
+ @click="changeVoyageType(5)"
|
|
|
+ :class="currentbtn == 5 ? 'currentbtn radio-btns' : 'radio-btns'"
|
|
|
+ >
|
|
|
+ 未签单
|
|
|
</div>
|
|
|
<div
|
|
|
@click="changeVoyageType(2)"
|
|
|
:class="
|
|
|
- currentbtn
|
|
|
- ? ' radio-btns right-radius'
|
|
|
- : 'radio-btns right-radius currentbtn'
|
|
|
+ currentbtn == 2
|
|
|
+ ? 'currentbtn radio-btns right-radius'
|
|
|
+ : 'radio-btns right-radius '
|
|
|
"
|
|
|
- style="margin-right: 40px"
|
|
|
+ style="margin-right: 40px; border-left: none"
|
|
|
>
|
|
|
历史航次
|
|
|
</div>
|
|
|
@@ -213,7 +234,7 @@ export default {
|
|
|
}
|
|
|
function changeVoyageType(s) {
|
|
|
currentPage.value = 1;
|
|
|
- currentbtn.value = s == 1;
|
|
|
+ currentbtn.value = s;
|
|
|
status.value = s;
|
|
|
getVoyageList();
|
|
|
}
|