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