Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
863a80f277
@ -224,12 +224,12 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="入学日期" prop="entranceDate">
|
||||
<el-form-item label="入学日期" prop="entranceDateStr">
|
||||
<el-date-picker
|
||||
clearable
|
||||
type="month"
|
||||
v-model="form.entranceDate"
|
||||
value-format="yyyy-MM"
|
||||
type="date"
|
||||
v-model="form.entranceDateStr"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择入学日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
@ -440,7 +440,7 @@ export default {
|
||||
kindergartenId: null,
|
||||
className: null,
|
||||
classType: null,
|
||||
entranceDate: null,
|
||||
entranceDateStr: null,
|
||||
},
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
@ -449,6 +449,7 @@ export default {
|
||||
className: null,
|
||||
classType: null,
|
||||
},
|
||||
time: "",
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
@ -470,7 +471,7 @@ export default {
|
||||
classTeacher: [
|
||||
{ required: true, message: "请输入班主任姓名", trigger: "blur" },
|
||||
],
|
||||
entranceDate: [
|
||||
entranceDateStr: [
|
||||
{ required: true, message: "请选择日期", trigger: "change" },
|
||||
],
|
||||
},
|
||||
@ -533,7 +534,7 @@ export default {
|
||||
className: null,
|
||||
classType: null,
|
||||
classTeacher: null,
|
||||
entranceDate: null,
|
||||
entranceDateStr: "",
|
||||
phone: undefined,
|
||||
kindergartenName: null,
|
||||
};
|
||||
@ -595,6 +596,7 @@ export default {
|
||||
getClassinfo(id).then((response) => {
|
||||
response.data.phone = Number(response.data.phone);
|
||||
this.form = response.data;
|
||||
console.log(this.form);
|
||||
this.kindergartenName = this.form.kindergartenName;
|
||||
this.open = true;
|
||||
this.title = "修改班级信息";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user