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