修改出生日期只能选择今天之前的
This commit is contained in:
parent
c7a1f383f4
commit
4ae0670c9f
@ -49,7 +49,9 @@
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:picker-options="expireTimeOPtion"
|
||||
unlink-panels
|
||||
style="width: 240px"
|
||||
>
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
@ -333,7 +335,6 @@
|
||||
:visible.sync="innerVisible2"
|
||||
append-to-body
|
||||
:before-close="prentclickok"
|
||||
|
||||
>
|
||||
<el-form
|
||||
:model="parentInfoList2"
|
||||
@ -342,7 +343,7 @@
|
||||
:inline="true"
|
||||
v-show="showSearch"
|
||||
label-width="70px"
|
||||
style="margin-bottom:-30px;"
|
||||
style="margin-bottom: -30px"
|
||||
>
|
||||
<el-form-item label="家长姓名" prop="parentName">
|
||||
<el-input
|
||||
@ -385,22 +386,26 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table ref="tags" :data="parentInfoList" align="center" @cell-dblclick="handleSelectionChange2">
|
||||
<el-table
|
||||
ref="tags"
|
||||
:data="parentInfoList"
|
||||
align="center"
|
||||
@cell-dblclick="handleSelectionChange2"
|
||||
>
|
||||
<!-- <el-table-column type="selection" label="请选择" width="100" align="center"> -->
|
||||
|
||||
<el-table-column label="请选择" width="100" align="center">
|
||||
<el-table-column label="请选择" width="100" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
type="primary"
|
||||
style="width: 20px; height: 20px;padding:0px;"
|
||||
|
||||
style="width: 20px; height: 20px; padding: 0px"
|
||||
v-if="parent1 == scope.row.id || parent2 == scope.row.id"
|
||||
@click="handleSelectionChange3(scope.row)"
|
||||
></el-button>
|
||||
|
||||
<el-button
|
||||
v-else
|
||||
style="width: 20px; height: 20px;padding:0px"
|
||||
style="width: 20px; height: 20px; padding: 0px"
|
||||
@click="handleSelectionChange2(scope.row)"
|
||||
></el-button>
|
||||
</template>
|
||||
@ -432,21 +437,26 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
|
||||
<pagination
|
||||
v-show="total3 > 0"
|
||||
:total="total3"
|
||||
:page.sync="parentInfoList2.pageNum"
|
||||
:limit.sync="parentInfoList2.pageSize"
|
||||
@pagination="getList"
|
||||
style="margin-top:40px"
|
||||
style="margin-top: 40px"
|
||||
/>
|
||||
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
@click="prentclickok"
|
||||
style="margin-top: 30px; margin-left: 85%;width: 100px; height: 50px;font-size:15px"
|
||||
style="
|
||||
margin-top: 30px;
|
||||
margin-left: 85%;
|
||||
width: 100px;
|
||||
height: 50px;
|
||||
font-size: 15px;
|
||||
"
|
||||
>选择完成</el-button
|
||||
>
|
||||
</el-dialog>
|
||||
@ -514,7 +524,12 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table :data="classinfoList" align="center" style="margin-top: 10px" @cell-dblclick="classinfoclick">
|
||||
<el-table
|
||||
:data="classinfoList"
|
||||
align="center"
|
||||
style="margin-top: 10px"
|
||||
@cell-dblclick="classinfoclick"
|
||||
>
|
||||
<el-table-column label="请选择" width="80" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
@ -726,6 +741,12 @@ export default {
|
||||
return time.getTime() > Date.now();
|
||||
},
|
||||
},
|
||||
expireTimeOPtion: {
|
||||
disabledDate(time) {
|
||||
return time.getTime() > Date.now();
|
||||
},
|
||||
},
|
||||
|
||||
Data: "",
|
||||
|
||||
//查看家长
|
||||
@ -1361,7 +1382,7 @@ export default {
|
||||
this.Data = [];
|
||||
|
||||
this.handleQuery();
|
||||
this.form.studentNumber=null;
|
||||
this.form.studentNumber = null;
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery3() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user