bug
This commit is contained in:
@@ -72,12 +72,6 @@ const tableProps = [
|
||||
showOverflowtooltip: true
|
||||
}
|
||||
]
|
||||
const tableBtn = [
|
||||
{
|
||||
type: 'viewDetail',
|
||||
btnName: '查看生产情况'
|
||||
}
|
||||
]
|
||||
export default {
|
||||
name: 'GroupTeamScheduling',
|
||||
data() {
|
||||
@@ -98,13 +92,14 @@ export default {
|
||||
{
|
||||
type: 'datePicker',
|
||||
label: '上班日期',
|
||||
dateType: 'date',
|
||||
dateType: 'daterange',
|
||||
format: 'yyyy-MM-dd',
|
||||
valueFormat: 'yyyy-MM-dd',
|
||||
rangeSeparator: '-',
|
||||
// valueFormat: "timestamp",
|
||||
param: 'startDay',
|
||||
param: 'tiemStr',
|
||||
defaultSelect: '',
|
||||
width: 200
|
||||
width: 250
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
@@ -119,10 +114,17 @@ export default {
|
||||
pageSize: 20,
|
||||
classesId: '',
|
||||
teamName: '',
|
||||
startDay: ''
|
||||
startDay: []
|
||||
},
|
||||
tableProps,
|
||||
tableBtn,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi('base:team-production:detail')
|
||||
? {
|
||||
type: 'viewDetail',
|
||||
btnName: '查看生产情况'
|
||||
}
|
||||
: undefined
|
||||
].filter((v) => v),
|
||||
list: [],
|
||||
tableH: this.tableHeight(260),
|
||||
total: 0,
|
||||
@@ -142,7 +144,8 @@ export default {
|
||||
this.queryParams.pageNo = 1;
|
||||
this.queryParams.classesId = val.classesId
|
||||
this.queryParams.teamName = val.teamName
|
||||
this.queryParams.startDay = val.startDay
|
||||
this.queryParams.startDay[0] = val.tiemStr ? val.tiemStr[0] + ' 00:00:00' : ''
|
||||
this.queryParams.startDay[1] = val.tiemStr ? val.tiemStr[1] + ' 23:59:59' : ''
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
||||
Reference in New Issue
Block a user