| | |
| | | down: false, |
| | | addFileVisible: false, |
| | | weekList: [ |
| | | { label: "周一", value: "周一", type: "primary" }, |
| | | { label: "周二", value: "周二", type: "primary" }, |
| | | { label: "周三", value: "周三", type: "primary" }, |
| | | { label: "周四", value: "周四", type: "primary" }, |
| | | { label: "周五", value: "周五", type: "primary" }, |
| | | { label: "周六", value: "周六", type: "primary" }, |
| | | { label: "周日", value: "周日", type: "primary" }, |
| | | { label: "周一", value: "1", type: "primary" }, |
| | | { label: "周二", value: "2", type: "primary" }, |
| | | { label: "周三", value: "3", type: "primary" }, |
| | | { label: "周四", value: "4", type: "primary" }, |
| | | { label: "周五", value: "5", type: "primary" }, |
| | | { label: "周六", value: "6", type: "primary" }, |
| | | { label: "周日", value: "0", type: "primary" }, |
| | | ], |
| | | currentTable: "ValueTable0", |
| | | addVisible: false, |
| | |
| | | label: "班次", |
| | | prop: "shift", |
| | | dataType: "tag", |
| | | formatData: this.shifList, |
| | | formatData: (params) => { |
| | | if (this.shifList.find(m => m.value == params)) { |
| | | return this.shifList.find(m => m.value == params).label |
| | | } else { |
| | | return null |
| | | } |
| | | }, |
| | | }, |
| | | { label: "周次", prop: "week" }, |
| | | { label: "星期", prop: "weekDay" }, |
| | | { |
| | | label: "星期", |
| | | prop: "weekDay", |
| | | dataType: "tag", |
| | | formatData: (params) => { |
| | | return this.weekList.find(m => m.value == params).label |
| | | }, |
| | | }, |
| | | { label: "创建时间", prop: "createTime" }, |
| | | { label: "日期", prop: "dateTime" }, |
| | | { |