|
|
@ -2,8 +2,8 @@ |
|
|
|
<view class="container"> |
|
|
|
<view class="list"> |
|
|
|
<view> |
|
|
|
<u-search :show-action="true" v-model="searchValue" action-text="搜索" input-align="left" height="65" |
|
|
|
border-color=#5599FF @search="searchTable()"> |
|
|
|
<u-search :show-action="true" v-model="tabParams.planNoDay" action-text="搜索" input-align="left" height="65" |
|
|
|
border-color=#5599FF @search="searchTable()" @custom="searchTable()" > |
|
|
|
</u-search> |
|
|
|
<u-tabs :animation="true" active-color="#5599FF" ref="tabs1" :list="list1" :current="current" |
|
|
|
@change="tabsChange" :is-scroll="false"> |
|
|
@ -129,7 +129,8 @@ const tabParams = ref({ |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 10, |
|
|
|
status: '', |
|
|
|
flag: null |
|
|
|
flag: null, |
|
|
|
planNoDay:'' |
|
|
|
}) |
|
|
|
|
|
|
|
function stopPlan(item){ |
|
|
@ -248,14 +249,10 @@ const searchTableParams = ref({ |
|
|
|
flag: null |
|
|
|
}) |
|
|
|
|
|
|
|
async function searchTable() { |
|
|
|
function searchTable() { |
|
|
|
list.value = [] |
|
|
|
searchTableParams.value.planNoDay = this.searchValue |
|
|
|
await orderDayPlanListApi.getOrderDayPage(searchTableParams.value).then((res) => { |
|
|
|
if (res.data.list.length > 0) { |
|
|
|
list.value = list.value.concat(res.data.list) |
|
|
|
} |
|
|
|
}) |
|
|
|
tabParams.value.pageNo = 1 |
|
|
|
getTabsList() |
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|