refactor -- 使用Mybatis Plus重构流程表单模块,修改数据库表(sql脚本添加"update脚本")

This commit is contained in:
konbai
2022-03-09 02:00:58 +08:00
parent 4a19591e5e
commit f5946970ef
34 changed files with 538 additions and 1040 deletions

View File

@@ -502,7 +502,7 @@ export default {
getForm(formId).then(res =>{
this.formTitle = "表单详情";
this.formConfOpen = true;
this.formConf = JSON.parse(res.data.formContent)
this.formConf = JSON.parse(res.data.content)
})
},
/** 启动流程 */
@@ -559,7 +559,7 @@ export default {
},
handleCurrentChange(data) {
if (data) {
this.currentRow = JSON.parse(data.formContent);
this.currentRow = JSON.parse(data.content);
}
},
/** 挂起/激活流程 */

View File

@@ -108,7 +108,7 @@
<el-input v-model="form.formName" placeholder="请输入表单名称" />
</el-form-item>
<el-form-item label="表单内容">
<editor v-model="form.formContent" :min-height="192"/>
<editor v-model="form.content" :min-height="192"/>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入备注" />
@@ -167,7 +167,7 @@ export default {
pageNum: 1,
pageSize: 10,
formName: null,
formContent: null,
content: null,
},
// 表单参数
form: {},
@@ -199,7 +199,7 @@ export default {
this.form = {
formId: null,
formName: null,
formContent: null,
content: null,
createTime: null,
updateTime: null,
createBy: null,
@@ -228,7 +228,7 @@ export default {
handleDetail(row){
this.formConfOpen = true;
this.formTitle = "流程表单配置详细";
this.formConf = JSON.parse(row.formContent)
this.formConf = JSON.parse(row.content)
},
/** 新增按钮操作 */
handleAdd() {