1
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user