This commit is contained in:
2026-04-24 09:32:12 +08:00
parent 779f8b27b5
commit b01b757321
3 changed files with 7 additions and 3 deletions
@@ -128,7 +128,7 @@ public class OpinionSchoolAuditController {
@SLog(tag = "意见管理系统-校工会审核", msg = "修改意见")
public Result edit(@Param("info") OpinionInfo opinionInfo) {
// The school-union audit only edits opinion category here, so update the target field explicitly.
dao.update(OpinionInfo.class, org.nutz.dao.Chain.make("typeId", opinionInfo.getTypeId()), Cnd.where("id", "=", opinionInfo.getId()));
dao.update(opinionInfo);
ProcessInstance instance = dao.fetch(ProcessInstance.class, Cnd.where(ProcessInstance::getBusinessNo, "=", opinionInfo.getId()));
Dict dict = FlowUtil.variableToDict(instance.getVariable());
@@ -35,9 +35,9 @@ public class OpinionInfo extends BaseModel {
@Column
@Comment("意见名称")
@ColDefine(type = ColType.VARCHAR, width = 100)
@ColDefine(type = ColType.VARCHAR, width = 500)
@NotBlank(message = "意见名称不能为空")
@Size(max = 100)
@Size(max = 500)
private String name;
@Column
@@ -25,6 +25,10 @@ layout("/layouts/platform.html"){
<el-card shadow="never">
<table-tool :columns.sync="tableColumns">
<el-radio-group v-model="pageForm.approval" size="small" @change="doSearch">
<el-radio-button :label="true">已审核</el-radio-button>
<el-radio-button :label="false">未审核</el-radio-button>
</el-radio-group>
</table-tool>
<el-table :data="tableData" @sort-change="pageOrder" ref="tableRef" row-key="id" style="width: 100%">
<el-table-column label="序号" width="50" type="index" :index="indexMethod" fixed="left"></el-table-column>