INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) VALUES (1347066574619590668, 1347061240995815427, 'wf_design_model_scope', '权限', 'menu', '', 'iconfont iconicon_roundadd', 1, 2, 0, 1, '', 0);

UPDATE `blade_wf_form` SET `key` = 'leave', `name` = '请假流程表单', `content` = '{column:[{type:\'datetimerange\',label:\'请假时间\',span:12,display:true,format:\'yyyy-MM-dd HH:mm:ss\',valueFormat:\'yyyy-MM-dd HH:mm:ss\',prop:\'datetime\',required:true,rules:[{required:true,message:\'开始时间必须填写\'}],change:({value}) => {\r\n  if (!value || value.length == 0) {\r\n    this.$set(this.form, \'days\', undefined)\r\n  } else {\r\n    const d1 = Date.parse(value[0])\r\n    const d2 = Date.parse(value[1])\r\n    const day = (d2-d1)/(1*24*60*60*1000)\r\n    this.$set(this.form, \'days\', day.toFixed(2))\r\n  }\r\n}},{type:\'number\',label:\'请假天数\',span:12,display:true,prop:\'days\',required:true,rules:[{required:true,message:\'请假天数必须填写\'}],controls:true,controlsPosition:\'right\',change:({value}) => {\nthis.$set(this.form, \'reason\',\'请假\' + value + \'天\' )\n}},{type:\'textarea\',label:\'请假理由\',span:24,display:true,prop:\'reason\',required:true,rules:[{required:true,message:\'请假理由必须填写\'}]}],labelPosition:\'left\',labelSuffix:\'：\',labelWidth:120,gutter:0,menuBtn:true,submitBtn:true,submitText:\'提交\',emptyBtn:true,emptyText:\'清空\',menuPosition:\'center\'}', `version` = 1, `remark` = '', `create_user` = 1123598821738675201, `create_dept` = 1123598813738675201, `create_time` = '2021-06-01 22:06:20', `update_user` = 1123598821738675201, `update_time` = '2021-07-29 20:59:26', `status` = 1, `is_deleted` = 0, `tenant_id` = '000000' WHERE `id` = 1399729025840140290;
INSERT INTO `blade_wf_form` (`id`, `key`, `name`, `content`, `version`, `remark`, `create_user`, `create_dept`, `create_time`, `update_user`, `update_time`, `status`, `is_deleted`, `tenant_id`) VALUES (1399729025840140290, 'leave', '请假流程表单', '{column:[{type:\'datetimerange\',label:\'请假时间\',span:12,display:true,format:\'yyyy-MM-dd HH:mm:ss\',valueFormat:\'yyyy-MM-dd HH:mm:ss\',prop:\'datetime\',required:true,rules:[{required:true,message:\'开始时间必须填写\'}],change:({value}) => {\r\n  if (!value || value.length == 0) {\r\n    this.$set(this.form, \'days\', undefined)\r\n  } else {\r\n    const d1 = Date.parse(value[0])\r\n    const d2 = Date.parse(value[1])\r\n    const day = (d2-d1)/(1*24*60*60*1000)\r\n    this.$set(this.form, \'days\', day.toFixed(2))\r\n  }\r\n}},{type:\'number\',label:\'请假天数\',span:12,display:true,prop:\'days\',required:true,rules:[{required:true,message:\'请假天数必须填写\'}],controls:true,controlsPosition:\'right\',change:({value}) => {\nthis.$set(this.form, \'reason\',\'请假\' + value + \'天\' )\n}},{type:\'textarea\',label:\'请假理由\',span:24,display:true,prop:\'reason\',required:true,rules:[{required:true,message:\'请假理由必须填写\'}]}],labelPosition:\'left\',labelSuffix:\'：\',labelWidth:120,gutter:0,menuBtn:true,submitBtn:true,submitText:\'提交\',emptyBtn:true,emptyText:\'清空\',menuPosition:\'center\'}', 1, '', 1123598821738675201, 1123598813738675201, '2021-06-01 22:06:20', 1123598821738675201, '2021-07-29 20:59:26', 1, 0, '000000');
