|
@ -162,7 +162,7 @@ export default { |
|
|
var nowDate = new Date(); |
|
|
var nowDate = new Date(); |
|
|
var year = nowDate.getFullYear(); |
|
|
var year = nowDate.getFullYear(); |
|
|
var month = nowDate.getMonth() + 1; |
|
|
var month = nowDate.getMonth() + 1; |
|
|
var day = nowDate.getDay(); |
|
|
var day = nowDate.getDate(); |
|
|
this.searchDate = [`${year}-${1}-${1}`, `${year}-${month}-${day}`]; |
|
|
this.searchDate = [`${year}-${1}-${1}`, `${year}-${month}-${day}`]; |
|
|
}, |
|
|
}, |
|
|
changList() { |
|
|
changList() { |
|
@ -251,8 +251,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
async getCount() { |
|
|
async getCount() { |
|
|
const { org_id, listType, page_num, page_size } = this; |
|
|
const { org_id, listType, page_num, page_size, searchDate } = this; |
|
|
|
|
|
const start_date = searchDate[0]; |
|
|
|
|
|
const end_date = searchDate[1]; |
|
|
const url = 'need_list_num'; |
|
|
const url = 'need_list_num'; |
|
|
|
|
|
|
|
|
const { data, code, msg } = await requestPostBi( |
|
|
const { data, code, msg } = await requestPostBi( |
|
|