Commit fa2c0d8d authored by 刘杰's avatar 刘杰

企业微信前端

parent dde14e60
This diff is collapsed.
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
isLeave: '否', isLeave: '否',
leaveReason: '' leaveReason: ''
}, },
staffCode: "",
leaveOptions: ['是', '否'] leaveOptions: ['是', '否']
} }
}, },
...@@ -138,6 +139,9 @@ ...@@ -138,6 +139,9 @@
}) })
return return
} }
this.staffCode = uni.getStorageSync(`staffCode`);
const data = { const data = {
"aux": { "aux": {
reporter: this.formData.reporter, reporter: this.formData.reporter,
...@@ -145,7 +149,8 @@ ...@@ -145,7 +149,8 @@
todayWork: this.formData.todayWork, todayWork: this.formData.todayWork,
weekWork: this.formData.weekWork, weekWork: this.formData.weekWork,
isLeave: this.formData.isLeave, isLeave: this.formData.isLeave,
leaveReason: this.formData.leaveReason leaveReason: this.formData.leaveReason,
staffCode: this.staffCode
} }
} }
console.log('提交的日报数据:', data) console.log('提交的日报数据:', data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment