|
|
|
@ -567,6 +567,7 @@ export default {
|
|
|
|
submitForm() {
|
|
|
|
submitForm() {
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|
|
|
|
|
this.form.tenantId = this.gsInfo.active_id;
|
|
|
|
this.buttonLoading = true;
|
|
|
|
this.buttonLoading = true;
|
|
|
|
if (this.form.id != null) {
|
|
|
|
if (this.form.id != null) {
|
|
|
|
updateAttendance(this.form).then(response => {
|
|
|
|
updateAttendance(this.form).then(response => {
|
|
|
|
|