Commit e298fe42 by 张立顺

fix bug

1 parent 22da385b
......@@ -766,7 +766,16 @@ export default {
return this.sendStatus == 3
},
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) {
const list = deepClone(this.empTypeList)
......
......@@ -277,9 +277,7 @@ export default {
"YYYY-MM-DD HH:mm:ss"
)
this.searchFormSearch.sendEndTime = Util.dateFormate(
searchEndDate,
"YYYY-MM-DD HH:mm:ss"
)
searchEndDate, "YYYY-MM-DD") + " 23:59:59"
}
if (this.searchForm?.finishStartData?.length) {
let [searchStartDate, searchEndDate] = this.searchForm.finishStartData
......@@ -288,9 +286,7 @@ export default {
"YYYY-MM-DD HH:mm:ss"
)
this.searchFormSearch.finishEndTime = Util.dateFormate(
searchEndDate,
"YYYY-MM-DD HH:mm:ss"
)
searchEndDate, "YYYY-MM-DD") + " 23:59:59"
}
delete this.searchFormSearch.sendStartData
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!