|
|
@ -11,7 +11,7 @@ |
|
|
|
<uni-swipe-action-item |
|
|
|
:right-options="item.status=='2'?detailGiveupOptions:detailOptions" |
|
|
|
@click="swipeClick($event,item)"> |
|
|
|
<com-deliver-job-card :dataContent="item" @click='openJobDetail(item)'></com-deliver-job-card> |
|
|
|
<com-deliver-job-card :isShowDeliverType="true" :dataContent="item" @click='openJobDetail(item)'></com-deliver-job-card> |
|
|
|
</uni-swipe-action-item> |
|
|
|
</view> |
|
|
|
</uni-swipe-action> |
|
|
@ -72,9 +72,12 @@ |
|
|
|
status: '1,2', //待处理 、进行中 |
|
|
|
detailOptions: [], |
|
|
|
detailGiveupOptions: [], |
|
|
|
businessType:'' |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
onLoad(option) { |
|
|
|
this.businessType = option.businessType |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
this.getList('refresh'); |
|
|
|
}, |
|
|
@ -129,7 +132,7 @@ |
|
|
|
var filters = [] |
|
|
|
if (this.checkedToday) { |
|
|
|
filters.push({ |
|
|
|
column: "request_time", |
|
|
|
column: "create_time", |
|
|
|
action: "betweeen", |
|
|
|
value: this.todayTime |
|
|
|
}) |
|
|
@ -140,7 +143,14 @@ |
|
|
|
action: "in", |
|
|
|
value: this.status |
|
|
|
}) |
|
|
|
|
|
|
|
if(this.businessType&&this.businessType.length>0){ |
|
|
|
// 成品发货任务:businessType=Deliver 自制备件发货任务:businessType=ZZBJDeliver |
|
|
|
filters.push({ |
|
|
|
column: "businessType", |
|
|
|
action: "==", |
|
|
|
value: this.businessType |
|
|
|
}) |
|
|
|
} |
|
|
|
var params = { |
|
|
|
filters: filters, |
|
|
|
pageNo: this.pageNo, |
|
|
|