|
@@ -40,7 +40,7 @@
|
|
<div class="mui-content-padded">
|
|
<div class="mui-content-padded">
|
|
<h5><span class="colorfe616c">*</span>请假事由</h5>
|
|
<h5><span class="colorfe616c">*</span>请假事由</h5>
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
- <textarea id="textarea" rows="5" v-model="tjForm.reason" placeholder="请输入"></textarea>
|
|
|
|
|
|
+ <textarea id="textarea" rows="5" v-model="tjForm.reason" :placeholder="reasonDefault"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -103,13 +103,13 @@
|
|
leaveType: '',
|
|
leaveType: '',
|
|
|
|
|
|
imageUrl: '',
|
|
imageUrl: '',
|
|
- reason: '请假申请',
|
|
|
|
|
|
+ reason: '',
|
|
personId: '',
|
|
personId: '',
|
|
|
|
|
|
approvedId: '',
|
|
approvedId: '',
|
|
remark: '',
|
|
remark: '',
|
|
-
|
|
|
|
},
|
|
},
|
|
|
|
+ reasonDefault: '请假申请',
|
|
picList: [],
|
|
picList: [],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -260,6 +260,7 @@
|
|
},
|
|
},
|
|
//提交
|
|
//提交
|
|
submit() {
|
|
submit() {
|
|
|
|
+ this.tjForm.reason = this.tjForm.reason ? this.tjForm.reason : this.reasonDefault;
|
|
if (this.checkFrom()) {
|
|
if (this.checkFrom()) {
|
|
this.tjForm.imageUrl = this.picList.join(',');
|
|
this.tjForm.imageUrl = this.picList.join(',');
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|