见习之星考核-区级审核

This commit is contained in:
paidaxing444 2020-09-02 12:02:24 +08:00
parent 49717866d1
commit 9665304862
3 changed files with 26 additions and 28 deletions

View File

@ -100,13 +100,13 @@ public class TsbzJxzxkhshController extends BaseController {
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) { public AjaxResult edit(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) {
//校级 //校级
if(!schoolCommonController.isStringEmpty(tsbzJxzxkhsh.getXjshjy())&&tsbzJxzxkhsh.getXjshjy().equals("1")) { if(!schoolCommonController.isStringEmpty(tsbzJxzxkhsh.getXjshyj())&&tsbzJxzxkhsh.getXjshyj().equals("1")) {
tsbzJxzxkhsh.setXjshr(SecurityUtils.getLoginUser().getUser().getUserId()); tsbzJxzxkhsh.setXjshr(SecurityUtils.getLoginUser().getUser().getUserId());
tsbzJxzxkhsh.setStatus("2"); tsbzJxzxkhsh.setStatus("2");
} }
//区级 //区级
if(!schoolCommonController.isStringEmpty(tsbzJxzxkhsh.getQjshjy())&&tsbzJxzxkhsh.getQjshjy().equals("1")) { if(!schoolCommonController.isStringEmpty(tsbzJxzxkhsh.getQjshyj())&&tsbzJxzxkhsh.getQjshyj().equals("1")) {
tsbzJxzxkhsh.setQjshr(SecurityUtils.getLoginUser().getUser().getUserId()); tsbzJxzxkhsh.setQjshr(SecurityUtils.getLoginUser().getUser().getUserId());
tsbzJxzxkhsh.setStatus("9"); tsbzJxzxkhsh.setStatus("9");
} }

View File

@ -59,7 +59,7 @@
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['jxjs:jxjsjbxx:export']" v-hasPermi="['jxjs:jxjsjbxx:export']"
>导出</el-button> >导出笔试名单</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>

View File

@ -35,6 +35,16 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
<el-option
v-for="dict in statusOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item label="区级意见" prop="qjshyj"> <el-form-item label="区级意见" prop="qjshyj">
<el-select v-model="queryParams.qjshyj" placeholder="请选择区级审核意见" clearable size="small"> <el-select v-model="queryParams.qjshyj" placeholder="请选择区级审核意见" clearable size="small">
<el-option <el-option
@ -70,22 +80,22 @@
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']" v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
>清除</el-button> >退回</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="jzxzkhshList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="jzxzkhshList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="编号" align="center" prop="id" /> <!-- <el-table-column label="编号" align="center" prop="id" /> -->
<el-table-column label="考核方案" align="center" prop="faid" :formatter="faFormat"/> <el-table-column label="考核方案" align="center" prop="faid" :formatter="faFormat" />
<el-table-column label="聘任校" align="center" prop="tsbzJxjsjbxx.prdwmc" /> <el-table-column label="聘任校" align="center" prop="tsbzJxjsjbxx.prdwmc" />
<el-table-column label="教师" align="center" prop="tsbzJxjsjbxx.name" /> <el-table-column label="教师" align="center" prop="tsbzJxjsjbxx.name" />
<el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" /> <el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" />
<el-table-column label="校级审核意见" align="center" prop="xjshyj" :formatter="xjshyjFormat" /> <el-table-column label="校级审核意见" align="center" prop="xjshyj" :formatter="xjshyjFormat" />
<el-table-column label="校级审核建议" align="center" prop="xjshjy" :show-overflow-tooltip="true"/> <el-table-column label="校级审核建议" align="center" prop="xjshjy" :show-overflow-tooltip="true" />
<el-table-column label="区级审核意见" align="center" prop="qjshyj" :formatter="qjshyjFormat" /> <el-table-column label="区级审核意见" align="center" prop="qjshyj" :formatter="qjshyjFormat" />
<el-table-column label="区级审核建议" align="center" prop="qjshjy" :show-overflow-tooltip="true"/> <el-table-column label="区级审核建议" align="center" prop="qjshjy" :show-overflow-tooltip="true" />
<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 <el-button
@ -101,7 +111,7 @@
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']" v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
>清除</el-button> >退回</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -340,15 +350,7 @@ export default {
if (this.form.id != null) { if (this.form.id != null) {
updateJzxzkhsh(this.form).then((response) => { updateJzxzkhsh(this.form).then((response) => {
if (response.code === 200) { if (response.code === 200) {
this.msgSuccess("修改成功"); this.msgSuccess("审核成功");
this.open = false;
this.getList();
}
});
} else {
addJzxzkhsh(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
} }
@ -360,15 +362,11 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$confirm( this.$confirm("是否确认该教师考核数据回退到聘任校?", "警告", {
'是否确认删除考核审核过程编号为"' + ids + '"的数据项?',
"警告",
{
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
} })
)
.then(function () { .then(function () {
return delJzxzkhsh(ids); return delJzxzkhsh(ids);
}) })