zhengkaixin 4 年之前
父節點
當前提交
89e3ff2f7b
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      src/projects/business/views/Master/Attendance/Sign.vue

+ 10 - 2
src/projects/business/views/Master/Attendance/Sign.vue

@@ -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() {