见习之星考核-区级审核
This commit is contained in:
parent
49717866d1
commit
9665304862
@ -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");
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
@ -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,14 +80,14 @@
|
|||||||
: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" />
|
||||||
@ -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);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user