外宿申请修改
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
|
||||
<el-button v-if="scope.row.reviewerStatus==0" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -187,8 +187,10 @@
|
||||
</el-date-picker>
|
||||
</span> -->
|
||||
<span style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
|
||||
v-model="formData.applyDate">
|
||||
v-if="formData.applyDate == null">
|
||||
{{ dayjs().format("YYYY年M月D日") }}</span>
|
||||
<span style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
|
||||
v-if="formData.applyDate != null">{{ dayjs(formData.applyDate).format("YYYY年M月D日") }}</span>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -321,8 +323,10 @@
|
||||
v-model="formData.applyDate2" style="border: 1pt solid;width: 100pt;margin-left: 20pt;">
|
||||
</el-date-picker> -->
|
||||
<span style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
|
||||
v-model="formData.applyDate2">
|
||||
v-if="formData.applyDate2 == null">
|
||||
{{ dayjs().format("YYYY年M月D日") }}</span>
|
||||
<span style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
|
||||
v-if="formData.applyDate2 != null">{{dayjs(formData.applyDate2).format("YYYY年M月D日")}}</span>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -445,6 +449,7 @@ import { boolImg, CheckImgExists, isEmpty, fullLoading } from '@/api/helpFunc'
|
||||
import { getStuDormitory, addAccommodations, getAccommodations, updateAccommodations } from '@/api/dormitory/accommodations'
|
||||
import { getLoginStudent, getOwnClass } from '@/api/stuCQS/basedata/student'
|
||||
import { getOwnMajorName } from '@/api/stuCQS/basedata/class'
|
||||
import { ref } from 'vue';
|
||||
import dayjs from 'dayjs'
|
||||
export default {
|
||||
name: 'adApply',
|
||||
@@ -528,8 +533,8 @@ export default {
|
||||
this.showButtons = true;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
this.formData.sleepOutRemark="";
|
||||
} else {
|
||||
this.formData.sleepOutRemark = "";
|
||||
}
|
||||
},
|
||||
async getLoginStudent() {
|
||||
|
||||
Reference in New Issue
Block a user