个人成绩录入 添加批次名称 家长信息管理 新增家长
This commit is contained in:
parent
55877574e3
commit
aaa26457dc
@ -16,7 +16,14 @@ export function getParentInfo(id) {
|
|||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//添加家长信息
|
||||||
|
export function addParentInfo(data) {
|
||||||
|
return request({
|
||||||
|
url: '/system/parentInfo/add',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 修改家长信息
|
// 修改家长信息
|
||||||
export function updateParentInfo(data) {
|
export function updateParentInfo(data) {
|
||||||
|
|||||||
@ -38,8 +38,19 @@
|
|||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
icon="el-icon-plus"
|
||||||
|
size="mini"
|
||||||
|
@click="handleAdd"
|
||||||
|
v-hasPermi="['system:parentInfo:add']"
|
||||||
|
>新增</el-button
|
||||||
|
>
|
||||||
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
@ -168,6 +179,7 @@ import {
|
|||||||
getParentInfo,
|
getParentInfo,
|
||||||
delParentInfo,
|
delParentInfo,
|
||||||
updateParentInfo,
|
updateParentInfo,
|
||||||
|
addParentInfo,
|
||||||
} from "@/api/system/parentInfo";
|
} from "@/api/system/parentInfo";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -316,6 +328,12 @@ export default {
|
|||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
|
}else {
|
||||||
|
addParentInfo(this.form).then((response) => {
|
||||||
|
this.$modal.msgSuccess("新增成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -120,10 +120,10 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="batchCode"
|
prop="batchCode"
|
||||||
/>
|
/>
|
||||||
|
<el-table-column label="批次名称" align="center" prop="batchName" />
|
||||||
<el-table-column label="班级名称" align="center" prop="className" />
|
<el-table-column label="班级名称" align="center" prop="className" />
|
||||||
<el-table-column label="学生姓名" align="center" prop="studentName" />
|
<el-table-column label="学生姓名" align="center" prop="studentName" />
|
||||||
|
|
||||||
|
|
||||||
<el-table-column label="创建人" align="center" prop="createBy" />
|
<el-table-column label="创建人" align="center" prop="createBy" />
|
||||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||||
@ -648,7 +648,7 @@
|
|||||||
icon="el-icon-search"
|
icon="el-icon-search"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleQuery3"
|
@click="handleQuery3"
|
||||||
>搜索</el-button
|
>搜索</el-button
|
||||||
>
|
>
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||||
>重置</el-button
|
>重置</el-button
|
||||||
@ -1233,7 +1233,7 @@ export default {
|
|||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
this.queryParams.className = "";
|
this.queryParams.className ="";
|
||||||
},
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user