@@ -98,7 +98,7 @@
workAttendanceDate: '',
workAttendanceTime: '',
type: '1', //外勤打卡/补卡(1/2)
- content: '外勤打卡申请',
+ content: '外勤打卡',
approvalPersonId: '',
workAttendanceId: '',
photoFile: '',
@@ -130,7 +130,15 @@
],
}
},
- created() {},
+ created() {
+ if(this.person_data.workStatus=='2'){
+ this.attendanceType="2"
+ }
+ if(this.person_data.workStatus=='3'){
+ this.attendanceType="3"
+
+ },
methods: {
//获取详情
getTime() {