This commit is contained in:
case committed 2022-09-06 14:54:19 +08:00
1 parent 9f04ed8e5c
commit 916eea6098
4 files changed
+54 -103

No files matched your search

-4
View File
@@ -63,10 +63,6 @@
type: Object,
default: () => {
return {
flowInfo: {
Name: '我的流程',
Remark: '',
},
nodeList: [],
lineList: []
}
+43 -14
View File
@@ -29,15 +29,23 @@
</v-text-field>
</v-col>
</v-row>
</v-card>
<div class=" pb-4" style="font-size: 18px; font-weight: bold">模板设置</div>
<tpl-form-design :form="editItem.workflowForm">
<tpl-form-design :form="editItem.workflowForm" v-if="!loading">
</tpl-form-design>
<div class="pt-8 pb-4" style="font-size: 18px; font-weight: bold">流程设置</div>
<process-flow :data="editItem.workflowConfig" :user="constantCollection.userList"
<process-flow v-if="!loading" :data="editItem.workflowConfig" :user="constantCollection.userList"
:group="constantCollection.groupList" :tpl="constantCollection.workflowFormList">
</process-flow>
<v-overlay :value="loading" absolute>
<v-progress-circular
indeterminate
size="64"
></v-progress-circular>
</v-overlay>
</template>
</jh-layout-v3>
@@ -73,6 +81,7 @@ new Vue({
editItem: {},
dialogSaveInfoAction: 'createItem',
dialog: false,
loading: false,
}),
watch: {
'editItem.workflowForm': {
@@ -88,9 +97,10 @@ new Vue({
},
async created() {
const searchParams = new URLSearchParams(location.search.substring(1));
const type = searchParams.get('type');
if(type === 'edit') {
this.syncEditItem()
const id = searchParams.get('id');
if(id) {
this.editItem = {id};
await this.syncEditItem()
} else {
this.clearItemData();
}
@@ -105,10 +115,12 @@ new Vue({
case 'createItem':
await this.confirmCreateItemDialog(uiActionData);
await this.doCreateItem(uiActionData);
await this.syncEditItem()
break;
case 'updateItem':
await this.confirmUpdateItemDialog(uiActionData);
await this.doUpdateItem(uiActionData);
await this.syncEditItem()
break;
default:
console.error("[doUiAction] uiActionId not find", { uiActionId });
@@ -194,18 +206,33 @@ new Vue({
// startCreateItem
async clearItemData() {
this.dialogSaveInfoAction = 'createItem';
this.editItem = {workflowForm: [], workflowConfig: {lineList: [], nodeList: []}};
},
syncEditItem() {
const workflowEditItem = sessionStorage.getItem('workflowEditItem');
if(workflowEditItem) {
async syncEditItem() {
const _this = this;
this.loading = true;
this.dialogSaveInfoAction = 'updateItem';
this.editItem = JSON.parse(workflowEditItem);
sessionStorage.removeItem('workflowEditItem');
console.log(this.editItem);
} else {
history.back();
const {data: {appData: {rows}}} = await window.jianghuAxios({
data: {
appData: {
pageId: 'workflowManagement',
actionId: 'selectItemList',
where: {id: this.editItem.id},
}
}
});
if (!rows.length) {
this.clearItemData();
} else {
const item = rows[0];
item.workflowConfig = item.workflowConfig ? JSON.parse(item.workflowConfig) : null;
item.workflowForm = item.workflowForm ? JSON.parse(item.workflowForm) : [];
this.editItem = item;
}
setTimeout(function() {
_this.loading = false;
}, 500)
},
// createItem
@@ -222,7 +249,7 @@ new Vue({
delete this.editItem.id;
const item = this.buildEditItem();
await window.vtoast.loading("新增数据");
await window.jianghuAxios({
const { data: { appData: { resultData: { rows } } } } = await window.jianghuAxios({
data: {
appData: {
pageId: 'workflowManagement',
@@ -231,6 +258,8 @@ new Vue({
}
}
})
this.editItem.id = rows[0];
history.pushState({}, '', `?id=${rows[0]}`);
await window.vtoast.success("新增数据成功");
},
+2 -2
View File
@@ -148,13 +148,13 @@ new Vue({
// CreateItem
async doCreateItem() {
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?type=add`;
window.location.href = `/${window.appInfo.appId}/page/workflowEditor`;
},
// UpdateItem
async doUpdateItem({item}) {
sessionStorage.setItem('workflowEditItem', JSON.stringify(item))
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?type=edit`;
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?id=${item.id}`;
},
async confirmDeleteItemDialog() {
+9 -83
View File
@@ -68,6 +68,11 @@ CREATE TABLE `_file` (
) ENGINE = InnoDB COMMENT = '文件表; 软删除未启用;';
# ------------------------------------------------------------
# DATA DUMP FOR TABLE: _file
# ------------------------------------------------------------
# ------------------------------------------------------------
@@ -157,7 +162,7 @@ CREATE TABLE `_record_history` (
PRIMARY KEY (`id`) USING BTREE,
KEY `index_record_id` (`recordId`) USING BTREE,
KEY `index_table_action` (`table`, `operation`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 32 COMMENT = '数据历史表';
) ENGINE = InnoDB AUTO_INCREMENT = 39 COMMENT = '数据历史表';
@@ -284,7 +289,7 @@ CREATE TABLE `_resource_request_log` (
PRIMARY KEY (`id`) USING BTREE,
KEY `resourceId_index` (`resourceId`) USING BTREE,
KEY `packageId_index` (`packageId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6130 COMMENT = '文件表; 软删除未启用;';
) ENGINE = InnoDB AUTO_INCREMENT = 6343 COMMENT = '文件表; 软删除未启用;';
@@ -369,84 +374,6 @@ CREATE TABLE `_ui` (
# DATA DUMP FOR TABLE: _ui
# ------------------------------------------------------------
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (1,'recordHistoryManagement','ui','refreshTableData','✅获取表格数据','{\"before\": [{\"function\": \"openTableLoading\"}], \"main\": [{\"function\": \"refreshTableData\"}, {\"function\": \"computeHeader\"}], \"after\": [{\"function\": \"closeTableLoading\"}]}',NULL,'update','vscode','vscode','2022-06-11T14:34:10+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (2,'recordHistoryManagement','ui','viewRecordHistory','✅版本历史列表','{\"main\": [{\"function\": \"doViewRecordHistory\"}]}',NULL,'update','vscode','vscode','2022-06-11T14:34:11+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (3,'recordHistoryManagement','ui','restoreRecordByRecordHistory','✅数据还原','{\"main\": [{\"function\": \"doRestoreRecordByRecordHistory\"}, {\"function\": \"doViewRecordHistory\"}, {\"function\": \"refreshTableData\"}]}',NULL,'update','vscode','vscode','2022-06-11T14:34:11+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (4,'designAssignment','ui','startUpdateItem','✅打开更新数据抽屉','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (5,'designAssignment','ui','updateItem','✅更新数据','{\"before\": [{\"function\": \"prepareValidate\"}, {\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (6,'designAssignment','ui','deleteItem','✅删除数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (7,'designAssignment','ui','assignmentDesignPage','✅跳转作业详情','{\"main\": [{\"function\": \"goToAssignmentDesignPage\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (8,'designAssignment','ui','homeworkPage','✅跳转做作业','{\"main\": [{\"function\": \"goHomeworkPage\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (9,'designAssignment',NULL,'assignmentManagement','✅跳转批改','{\"main\": [{\"function\": \"goAssignmentManagement\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (10,'assignmentHomework','ui','mineAssignment','✅获取用户作业','{\"main\": [{\"function\": \"mineAssignment\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (11,'assignmentHomework','ui','getLoginUserInfo','✅获取用户信息','{\"main\": [{\"function\": \"getLoginUserInfo\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (12,'assignmentHomework','ui','submitArticleAssignment','✅提交作业','{\"main\": [{\"vueComponent\": \"homework\", \"function\": \"submitArticleAssignment\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (20,'designAssignmentEdit',NULL,'selectArticleAssignment','✅获取作业详情','{\"main\": [{\"function\": \"selectArticleAssignment\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (21,'designAssignmentEdit',NULL,'saveArticleAssignment','✅保存作业','{\"main\": [{\"function\": \"saveArticleAssignment\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (22,'designAssignmentEdit',NULL,'publishArticleAssignment','✅发布作业','{\"main\": [{\"function\": \"publishArticleAssignment\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (23,'designAssignmentEdit',NULL,'createArticleAssignmentVersion','✅创建新版本','{\"main\": [{\"function\": \"createArticleAssignmentVersion\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (30,'assignmentManagement',NULL,'refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (31,'assignmentManagement',NULL,'startUpdateItem','✅打开更新数据抽屉','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (32,'assignmentManagement',NULL,'updateItem','✅更新数据','{\"before\": [{\"function\": \"prepareValidate\"}, {\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (33,'recordHistoryManagement',NULL,'test','desc','{}',NULL,'insert','vscode','vscode','2022-06-11T14:34:11+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (135,'categoryManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (136,'categoryManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (137,'categoryManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (138,'categoryManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (139,'categoryManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (140,'categoryManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (141,'processManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (142,'processManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (143,'processManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (144,'processManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (145,'processManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (146,'processManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (147,'taskManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (148,'taskManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (149,'taskManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (150,'taskManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (151,'taskManagement','ui','toTaskHistory','✅获取表格数据','{\"main\":[{\"function\":\"toTaskHistory\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (152,'taskManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (153,'taskCreateManagement',NULL,'refreshTableData','获取流程','{\"main\":[{\"function\":\"refreshTableData\"}]}',NULL,'update','vscode','vscode','2022-06-29T10:16:23+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (154,'taskCreateManagement',NULL,'startCreateItem','打开新建抽屉','{\"main\":[{\"function\":\"clearItemData\"},{\"function\":\"openCreateItemDialog\"}]}',NULL,'update','vscode','vscode','2022-06-29T10:16:23+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (155,'taskCreateManagement',NULL,'createItem','新建工单任务','{\"before\":[{\"function\":\"confirmCreateItemDialog\"}],\"main\":[{\"function\":\"doCreateItem\"},{\"function\":\"refreshTableData\"}],\"after\":[{\"function\":\"closeDrawerShow\"}]}',NULL,'insert','vscode','vscode','2022-06-29T10:16:23+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (156,'taskICreateManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (157,'taskICreateManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (158,'taskICreateManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (159,'taskICreateManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (160,'taskICreateManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (161,'taskICreateManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'update','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (162,'taskICreateManagement',NULL,'toTaskHistory','查看任务历史','{\"main\":[{\"function\":\"toTaskHistory\"}]}',NULL,'insert','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (163,'taskUpcomingManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (164,'taskUpcomingManagement',NULL,'toTaskHistory','查看任务历史','{\"main\":[{\"function\":\"toTaskHistory\"}]}',NULL,'insert','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (165,'taskUpcomingManagement',NULL,'taskCare','转交','{\"main\":[{\"function\":\"doTaskCare\"}]}',NULL,'insert','vscode','vscode','2022-06-29T22:09:55+08:00');
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (166,'taskRelatedManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (167,'designAssignment','ui','refreshTableData','✅打开更新数据抽屉','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (168,'processTplManagement','ui','refreshTableData','✅刷新数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (169,'processTplManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (170,'processTplManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (171,'processTplManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (172,'processTplManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (173,'processTplManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (174,'taskHistoryManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (175,'taskHistoryManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (176,'taskHistoryManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (177,'taskHistoryManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (178,'taskHistoryManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (179,'taskHistoryManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (180,'workflowManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (181,'workflowManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (182,'workflowEditor','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (183,'workflowManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (184,'workflowEditor','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (185,'workflowManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (186,'studentManagement','ui','refreshTableData','✅获取表格数据','{\"main\": [{\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (187,'studentManagement','ui','startCreateItem','✅获取表格数据','{\"main\": [{\"function\": \"clearItemData\"}, {\"function\": \"openCreateItemDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (188,'studentManagement','ui','createItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmCreateItemDialog\"}], \"main\": [{\"function\": \"doCreateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (189,'studentManagement','ui','startUpdateItem','✅获取表格数据','{\"main\": [{\"function\": \"prepareItemData\"}, {\"function\": \"openUpdateDialog\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (190,'studentManagement','ui','updateItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmUpdateItemDialog\"}], \"main\": [{\"function\": \"doUpdateItem\"}, {\"function\": \"refreshTableData\"}], \"after\": [{\"function\": \"closeDrawerShow\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (191,'studentManagement','ui','deleteItem','✅获取表格数据','{\"before\": [{\"function\": \"confirmDeleteItemDialog\"}], \"main\": [{\"function\": \"doDeleteItem\"}, {\"function\": \"refreshTableData\"}]}',NULL,'insert',NULL,NULL,NULL);
INSERT INTO `_ui` (`id`,`pageId`,`uiActionType`,`uiActionId`,`desc`,`uiActionConfig`,`appDataSchema`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (192,'taskRelatedManagement',NULL,'toTaskHistory','查看任务历史','{\"main\":[{\"function\":\"toTaskHistory\"}]}',NULL,'insert','vscode','vscode','2022-06-29T22:09:55+08:00');
@@ -833,15 +760,14 @@ CREATE TABLE `workflow` (
`operationByUser` varchar(255) DEFAULT NULL COMMENT '操作者用户名',
`operationAt` varchar(255) DEFAULT NULL COMMENT '操作时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 26 COMMENT = '流程表';
) ENGINE = InnoDB AUTO_INCREMENT = 29 COMMENT = '流程表';
# ------------------------------------------------------------
# DATA DUMP FOR TABLE: workflow
# ------------------------------------------------------------
INSERT INTO `workflow` (`id`,`workflowId`,`workflowName`,`workflowForm`,`workflowConfig`,`workflowCategory`,`workflowRemark`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (23,'1001','ceshi ','[{\"id\":\"input_v5KqrcgN\",\"component\":{\"icon\":\"mdi-form-textarea\",\"type\":\"input\",\"title\":\"金额\",\"outline\":\"金额\",\"property\":{}}},{\"id\":\"input_npIModIb\",\"component\":{\"icon\":\"mdi-form-textarea\",\"type\":\"input\",\"title\":\"备注\",\"outline\":\"备注\",\"property\":{}}}]','{\"lineList\":[{\"id\":\"line-6e88ce2cc148\",\"to\":\"userTask-b7ac8a109948\",\"from\":\"receiveTask-0fee61790848\",\"type\":\"同意\",\"label\":\"通过审核\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-7af22202cd48\",\"to\":\"userTask-280f7cc4f948\",\"from\":\"receiveTask-d3cfbd2f2c48\",\"type\":\"同意\",\"label\":\"通过审核\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-56e65e1b6248\",\"to\":\"receiveTask-0fee61790848\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"移交\",\"label\":\"移交\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-f7a77463a148\",\"to\":\"receiveTask-d3cfbd2f2c48\",\"from\":\"start-b356baa16848\",\"type\":\"同意\",\"label\":\"连线名称\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-614ad15e7a48\",\"to\":\"receiveTask-d3cfbd2f2c48\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"拒绝\",\"label\":\"驳回\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-4c7d72debd48\",\"to\":\"receiveTask-0fee61790848\",\"from\":\"userTask-b7ac8a109948\",\"type\":\"拒绝\",\"label\":\"驳回\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-58a5bf293648\",\"to\":\"end-6455e366fe48\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"同意\",\"label\":\"通过审批\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-800303750748\",\"to\":\"end-6455e366fe48\",\"from\":\"userTask-b7ac8a109948\",\"type\":\"同意\",\"label\":\"通过审批\",\"Remark\":\"\",\"endpoint\":\"Dot\"}],\"nodeList\":[{\"id\":\"start-b356baa16848\",\"top\":\"59px\",\"left\":\"148px\",\"type\":\"start\",\"label\":\"申请报销\",\"Remark\":\"\",\"lineTypeList\":\"同意\"},{\"id\":\"end-6455e366fe48\",\"top\":\"369px\",\"left\":\"524px\",\"type\":\"end\",\"label\":\"完成报销\",\"lineTypeList\":\"\"},{\"id\":\"receiveTask-d3cfbd2f2c48\",\"top\":\"178px\",\"left\":\"149px\",\"type\":\"receiveTask\",\"label\":\"初步审核\",\"formId\":[\"input_h9_FzChA\",\"input_v5KqrcgN\",\"input_npIModIb\"],\"assignType\":\"person\",\"assignValue\":[\"W00001\"],\"lineTypeList\":\"同意,拒绝\",\"formIdHidden\":[]},{\"id\":\"receiveTask-0fee61790848\",\"top\":\"176px\",\"left\":\"454px\",\"type\":\"receiveTask\",\"label\":\"二次审核\",\"formId\":[\"input_h9_FzChA\"],\"assignType\":\"person\",\"assignValue\":[\"W00002\"],\"lineTypeList\":\"同意,拒绝\"},{\"id\":\"userTask-b7ac8a109948\",\"top\":\"292px\",\"left\":\"524px\",\"type\":\"userTask\",\"label\":\"审批节点\",\"formId\":[\"input_h9_FzChA\"],\"lineTypeList\":\"同意,拒绝\"},{\"id\":\"userTask-280f7cc4f948\",\"top\":\"289px\",\"left\":\"234px\",\"type\":\"userTask\",\"label\":\"审批节点\",\"formId\":[\"input_h9_FzChA\"],\"assignType\":\"person\",\"assignValue\":[\"admin\"],\"lineTypeList\":\"同意,拒绝,移交\"}]}','财务',NULL,'jhUpdate','admin','系统管理员','2022-08-30T14:12:48+08:00');
INSERT INTO `workflow` (`id`,`workflowId`,`workflowName`,`workflowForm`,`workflowConfig`,`workflowCategory`,`workflowRemark`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (24,'1002',NULL,'[]','{\"lineList\":[],\"nodeList\":[]}',NULL,NULL,'insert','admin','系统管理员','2022-08-26T13:39:12+08:00');
INSERT INTO `workflow` (`id`,`workflowId`,`workflowName`,`workflowForm`,`workflowConfig`,`workflowCategory`,`workflowRemark`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (23,'1001','ceshi ','[{\"id\":\"input_v5KqrcgN\",\"component\":{\"icon\":\"mdi-form-textarea\",\"type\":\"input\",\"title\":\"金额\",\"outline\":\"金额\",\"property\":{}}},{\"id\":\"input_npIModIb\",\"component\":{\"icon\":\"mdi-form-textarea\",\"type\":\"input\",\"title\":\"备注\",\"outline\":\"备注\",\"property\":{}}}]','{\"lineList\":[{\"id\":\"line-6e88ce2cc148\",\"to\":\"userTask-b7ac8a109948\",\"from\":\"receiveTask-0fee61790848\",\"type\":\"同意\",\"label\":\"通过审核\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-7af22202cd48\",\"to\":\"userTask-280f7cc4f948\",\"from\":\"receiveTask-d3cfbd2f2c48\",\"type\":\"同意\",\"label\":\"通过审核\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-56e65e1b6248\",\"to\":\"receiveTask-0fee61790848\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"移交\",\"label\":\"移交\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-f7a77463a148\",\"to\":\"receiveTask-d3cfbd2f2c48\",\"from\":\"start-b356baa16848\",\"type\":\"同意\",\"label\":\"连线名称\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-614ad15e7a48\",\"to\":\"receiveTask-d3cfbd2f2c48\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"拒绝\",\"label\":\"驳回\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-4c7d72debd48\",\"to\":\"receiveTask-0fee61790848\",\"from\":\"userTask-b7ac8a109948\",\"type\":\"拒绝\",\"label\":\"驳回\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-58a5bf293648\",\"to\":\"end-6455e366fe48\",\"from\":\"userTask-280f7cc4f948\",\"type\":\"同意\",\"label\":\"通过审批\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"id\":\"line-800303750748\",\"to\":\"end-6455e366fe48\",\"from\":\"userTask-b7ac8a109948\",\"type\":\"同意\",\"label\":\"通过审批\",\"Remark\":\"\",\"endpoint\":\"Dot\"}],\"nodeList\":[{\"id\":\"start-b356baa16848\",\"top\":\"59px\",\"left\":\"148px\",\"type\":\"start\",\"label\":\"申请报销\",\"Remark\":\"\",\"lineTypeList\":\"同意\"},{\"id\":\"end-6455e366fe48\",\"top\":\"369px\",\"left\":\"524px\",\"type\":\"end\",\"label\":\"完成报销\",\"lineTypeList\":\"\"},{\"id\":\"receiveTask-d3cfbd2f2c48\",\"top\":\"178px\",\"left\":\"149px\",\"type\":\"receiveTask\",\"label\":\"初步审核\",\"formId\":[\"input_h9_FzChA\",\"input_v5KqrcgN\",\"input_npIModIb\"],\"assignType\":\"person\",\"assignValue\":[\"W00001\"],\"lineTypeList\":\"同意,拒绝\",\"formIdHidden\":[]},{\"id\":\"receiveTask-0fee61790848\",\"top\":\"176px\",\"left\":\"454px\",\"type\":\"receiveTask\",\"label\":\"二次审核\",\"formId\":[\"input_h9_FzChA\"],\"assignType\":\"person\",\"assignValue\":[\"W00002\"],\"lineTypeList\":\"同意,拒绝\"},{\"id\":\"userTask-b7ac8a109948\",\"top\":\"292px\",\"left\":\"524px\",\"type\":\"userTask\",\"label\":\"审批节点\",\"formId\":[\"input_h9_FzChA\"],\"lineTypeList\":\"同意,拒绝\"},{\"id\":\"userTask-280f7cc4f948\",\"top\":\"289px\",\"left\":\"234px\",\"type\":\"userTask\",\"label\":\"审批节点\",\"formId\":[\"input_h9_FzChA\"],\"assignType\":\"person\",\"assignValue\":[\"admin\"],\"lineTypeList\":\"同意,拒绝,移交\"}]}','财务',NULL,'jhUpdate','admin','系统管理员','2022-09-06T14:46:19+08:00');
INSERT INTO `workflow` (`id`,`workflowId`,`workflowName`,`workflowForm`,`workflowConfig`,`workflowCategory`,`workflowRemark`,`operation`,`operationByUserId`,`operationByUser`,`operationAt`) VALUES (25,'1003','差旅报销审批流','[{\"id\":\"input_pFyJOHJ_\",\"component\":{\"title\":\"单行文本\",\"type\":\"input\",\"outline\":\"出发地\",\"property\":{},\"icon\":\"mdi-form-textarea\"}},{\"id\":\"input_ZhhMcBuu\",\"component\":{\"title\":\"单行文本\",\"type\":\"input\",\"outline\":\"目的地\",\"property\":{},\"icon\":\"mdi-form-textarea\"}},{\"id\":\"input_R2zzvdbt\",\"component\":{\"title\":\"单行文本\",\"type\":\"input\",\"outline\":\"报销金额\",\"property\":{},\"icon\":\"mdi-form-textarea\"}},{\"id\":\"singleSelect_uRYtR5Qd\",\"component\":{\"title\":\"单选\",\"type\":\"singleSelect\",\"outline\":\"项目\",\"property\":{\"selectOptionList\":[{\"value\":\"A项目\"},{\"value\":\"B项目\"},{\"value\":\"C项目\"},{\"value\":\"D项目\"}]},\"icon\":\"mdi-checkbox-marked-circle\"}}]','{\"lineList\":[{\"from\":\"start-65644f2d3448\",\"to\":\"userTask-03c49310f248\",\"label\":\"进入审批流(自动)\",\"type\":\"\",\"id\":\"line-d0f962b80948\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"from\":\"userTask-03c49310f248\",\"to\":\"userTask-aa4ea99a9f48\",\"label\":\"长老同意\",\"type\":\"同意\",\"id\":\"line-5cf3a4816548\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"from\":\"userTask-aa4ea99a9f48\",\"to\":\"end-3f55d5225d48\",\"label\":\"掌门同意\",\"type\":\"同意\",\"id\":\"line-44e482e2ef48\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"from\":\"userTask-03c49310f248\",\"to\":\"end-9680fce31948\",\"label\":\"长老拒绝\",\"type\":\"拒绝\",\"id\":\"line-2b7361c1be48\",\"Remark\":\"\",\"endpoint\":\"Dot\"},{\"from\":\"userTask-aa4ea99a9f48\",\"to\":\"end-9680fce31948\",\"label\":\"掌门拒绝\",\"type\":\"拒绝\",\"id\":\"line-e4146ac08e48\",\"Remark\":\"\",\"endpoint\":\"Dot\"}],\"nodeList\":[{\"id\":\"end-3f55d5225d48\",\"label\":\"差旅报销-同意申请\",\"top\":\"241px\",\"left\":\"645px\",\"type\":\"end\",\"lineTypeList\":\"\"},{\"id\":\"end-9680fce31948\",\"label\":\"差旅报销-拒绝申请\",\"top\":\"288px\",\"left\":\"417px\",\"type\":\"end\",\"lineTypeList\":\"\"},{\"id\":\"start-65644f2d3448\",\"label\":\"差旅报销-提交申请\",\"top\":\"31px\",\"left\":\"78px\",\"type\":\"start\",\"lineTypeList\":\"\",\"Remark\":\"\",\"formId\":[\"input_pFyJOHJ_\",\"input_ZhhMcBuu\",\"input_R2zzvdbt\",\"singleSelect_uRYtR5Qd\"]},{\"id\":\"userTask-03c49310f248\",\"label\":\"差旅报销-长老审批\",\"top\":\"96px\",\"left\":\"261px\",\"type\":\"userTask\",\"lineTypeList\":\"同意,拒绝\",\"assignType\":\"person\",\"assignValue\":[\"W00002\"]},{\"id\":\"userTask-aa4ea99a9f48\",\"label\":\"差旅报销-掌门审批\",\"top\":\"180px\",\"left\":\"493px\",\"type\":\"userTask\",\"lineTypeList\":\"同意,拒绝\",\"assignType\":\"person\",\"assignValue\":[\"W00001\"]}]}','财务',NULL,'jhUpdate','admin','系统管理员','2022-08-30T16:41:32+08:00');