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