Commit e298fe42 by 张立顺

fix bug

1 parent 22da385b
...@@ -766,7 +766,16 @@ export default { ...@@ -766,7 +766,16 @@ export default {
return this.sendStatus == 3 return this.sendStatus == 3
}, },
filterSopType() { filterSopType() {
return this.configList.map(item => item.selectStaffType) return this.empTypeList.reduce((pre, i) => {
if (i.selectStaffType == 1) {
i.selectStaffValue.forEach(item => {
item.labelList.forEach(el => {
pre.push(el.id)
})
})
}
return pre
}, [])
}, },
empTypeListFilter(type) { empTypeListFilter(type) {
const list = deepClone(this.empTypeList) const list = deepClone(this.empTypeList)
......
...@@ -277,9 +277,7 @@ export default { ...@@ -277,9 +277,7 @@ export default {
"YYYY-MM-DD HH:mm:ss" "YYYY-MM-DD HH:mm:ss"
) )
this.searchFormSearch.sendEndTime = Util.dateFormate( this.searchFormSearch.sendEndTime = Util.dateFormate(
searchEndDate, searchEndDate, "YYYY-MM-DD") + " 23:59:59"
"YYYY-MM-DD HH:mm:ss"
)
} }
if (this.searchForm?.finishStartData?.length) { if (this.searchForm?.finishStartData?.length) {
let [searchStartDate, searchEndDate] = this.searchForm.finishStartData let [searchStartDate, searchEndDate] = this.searchForm.finishStartData
...@@ -288,9 +286,7 @@ export default { ...@@ -288,9 +286,7 @@ export default {
"YYYY-MM-DD HH:mm:ss" "YYYY-MM-DD HH:mm:ss"
) )
this.searchFormSearch.finishEndTime = Util.dateFormate( this.searchFormSearch.finishEndTime = Util.dateFormate(
searchEndDate, searchEndDate, "YYYY-MM-DD") + " 23:59:59"
"YYYY-MM-DD HH:mm:ss"
)
} }
delete this.searchFormSearch.sendStartData delete this.searchFormSearch.sendStartData
delete this.searchFormSearch.finishStartData delete this.searchFormSearch.finishStartData
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!