Commit 3db2170e authored by jingnan's avatar jingnan 👀

配套出库确认左侧计划时间查询参数修改

parent 5cb9274c
...@@ -135,18 +135,8 @@ export default { ...@@ -135,18 +135,8 @@ export default {
methods: { methods: {
// 加载左侧申请表 // 加载左侧申请表
init() { init() {
// const searchData = obtainedParams.searchFormData ? obtainedParams.searchFormData.items : []
// const extraItems = obtainedParams.extraBaseParams || []
const items = [] const items = []
if (this.form.scheduledStart) { const timeStr = this.form.scheduledStart && `&startTime=${this.form.scheduledStart[0] + ' 00:00:00'}&endTime=${this.form.scheduledStart[1] + ' 23:59:59'}` || ''
items.push({
fieldName: 'joExecutePlan.scheduledStart',
operator: 'BTWN',
searchItemType: 'Date',
value: this.form.scheduledStart[0] + ' 00:00:00',
value1: this.form.scheduledStart[1] + ' 23:59:59'
})
}
const params = { const params = {
'pageFrom': 1, 'pageFrom': 1,
'pageSize': 9999, 'pageSize': 9999,
...@@ -191,8 +181,7 @@ export default { ...@@ -191,8 +181,7 @@ export default {
this.checkedAll = false this.checkedAll = false
this.isIndeterminate = false this.isIndeterminate = false
this.checkedLists = [] this.checkedLists = []
// return new Promise((resolve, reject) => { post(`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=${this.selectData.taskKey}${timeStr}`, params).then(res => {
post(`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=${this.selectData.taskKey}`, params).then(res => {
const data = res.items.content.map(item => { const data = res.items.content.map(item => {
return { return {
...item, ...item,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment