commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
package com.budwk.app.flow.handler;
|
||||||
|
|
||||||
|
import com.budwk.app.flow.engine.AssignmentHandler;
|
||||||
|
import com.budwk.app.flow.engine.core.Execution;
|
||||||
|
import com.budwk.app.flow.engine.model.TaskModel;
|
||||||
|
import org.nutz.lang.Lang;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zhf
|
||||||
|
* @date 2025/11/22 16:06
|
||||||
|
* @description 指定用户
|
||||||
|
*/
|
||||||
|
public class FlowAssignUserHandler implements AssignmentHandler {
|
||||||
|
@Override
|
||||||
|
public List<String> assign(TaskModel model, Execution execution) {
|
||||||
|
String userId = execution.getArgs().getStr("userId");
|
||||||
|
if (Lang.isEmpty(userId)){
|
||||||
|
throw new RuntimeException("流程参数错误!");
|
||||||
|
}
|
||||||
|
return List.of(userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getMessage() {
|
||||||
|
return "指定下一个流程人(根据args中的userId))";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getOrder() {
|
||||||
|
return AssignmentHandler.super.getOrder();
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
@@ -20,6 +20,8 @@ const auditInfo = {
|
|||||||
<el-descriptions-item label="文化程度">{{viewData.education }}</el-descriptions-item>
|
<el-descriptions-item label="文化程度">{{viewData.education }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="职务">{{viewData.position }}</el-descriptions-item>
|
<el-descriptions-item label="职务">{{viewData.position }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="职称">{{viewData.professionalTitle }}</el-descriptions-item>
|
<el-descriptions-item label="职称">{{viewData.professionalTitle }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="是否聘用制">{{viewData.employ?'是':'否' }}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="是否高级职称">{{viewData.seniorTeacher?'是':'否' }}
|
<el-descriptions-item label="是否高级职称">{{viewData.seniorTeacher?'是':'否' }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="是否中级职称及以下">{{viewData.intermediateBelow?'是':'否' }}
|
<el-descriptions-item label="是否中级职称及以下">{{viewData.intermediateBelow?'是':'否' }}
|
||||||
|
|||||||
+6
@@ -50,6 +50,12 @@ layout("/layouts/platform.html"){
|
|||||||
<el-table-column label="分工会" prop="unionName" show-overflow-tooltip></el-table-column>
|
<el-table-column label="分工会" prop="unionName" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column label="职务" prop="position"></el-table-column>
|
<el-table-column label="职务" prop="position"></el-table-column>
|
||||||
<el-table-column label="职称" prop="professionalTitle"></el-table-column>
|
<el-table-column label="职称" prop="professionalTitle"></el-table-column>
|
||||||
|
<el-table-column label="是否聘用制" prop="employ">
|
||||||
|
<template v-slot="{row}">
|
||||||
|
<span v-if="row.employ" style="color:#0037ff;">是</span>
|
||||||
|
<span v-else>否</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="是否高级职称" prop="seniorTeacher">
|
<el-table-column label="是否高级职称" prop="seniorTeacher">
|
||||||
<template v-slot="{row}">
|
<template v-slot="{row}">
|
||||||
<span v-if="row.seniorTeacher" style="color:#0037ff;">是</span>
|
<span v-if="row.seniorTeacher" style="color:#0037ff;">是</span>
|
||||||
|
|||||||
+1
-1
@@ -133,7 +133,7 @@ layout("/layouts/platform.html"){
|
|||||||
></el-checkbox>
|
></el-checkbox>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="聘用制" prop="employ" width="80">
|
<el-table-column label="是否聘用制" prop="employ" width="80">
|
||||||
<template v-slot="{row}">
|
<template v-slot="{row}">
|
||||||
<el-checkbox
|
<el-checkbox
|
||||||
v-if="row"
|
v-if="row"
|
||||||
|
|||||||
+8
@@ -130,6 +130,14 @@ const write = {
|
|||||||
code="technical_title_level"></dict-select>
|
code="technical_title_level"></dict-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="是否聘用制" prop="employ">
|
||||||
|
<el-radio-group v-model="formData.employ" size="small">
|
||||||
|
<el-radio border :label="true">是</el-radio>
|
||||||
|
<el-radio border :label="false">否</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="是否高级职称" prop="seniorTeacher">
|
<el-form-item label="是否高级职称" prop="seniorTeacher">
|
||||||
<el-radio-group v-model="formData.seniorTeacher" size="small">
|
<el-radio-group v-model="formData.seniorTeacher" size="small">
|
||||||
|
|||||||
Reference in New Issue
Block a user