"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[1292],{76293:function(e,o,t){t.r(o),t.d(o,{default:function(){return u}});var n=t(66252);const d={class:"do"},l=(0,n.Uk)("export JSON");function a(e,o,t,a,i,r){const s=(0,n.up)("el-page-header"),c=(0,n.up)("el-button"),u=(0,n.up)("el-header"),m=(0,n.up)("sc-workflow"),p=(0,n.up)("el-main"),f=(0,n.up)("el-container");return(0,n.wg)(),(0,n.j4)(f,null,{default:(0,n.w5)((()=>[(0,n.Wm)(u,null,{default:(0,n.w5)((()=>[(0,n.Wm)(s,{content:i.data.name},null,8,["content"]),(0,n._)("div",d,[(0,n.Wm)(c,{type:"primary",onClick:r.exportJson},{default:(0,n.w5)((()=>[l])),_:1},8,["onClick"])])])),_:1}),(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n.Wm)(m,{modelValue:i.data.nodeConfig,"onUpdate:modelValue":o[0]||(o[0]=e=>i.data.nodeConfig=e)},null,8,["modelValue"])])),_:1})])),_:1})}var i=t(95375),r={name:"workflow",components:{scWorkflow:i.Z},data(){return{data:{id:1,name:"请假审批",nodeConfig:{nodeName:"发起人",type:0,nodeRoleList:[],childNode:{nodeName:"条件路由",type:4,conditionNodes:[{nodeName:"长期",type:3,priorityLevel:1,conditionMode:1,conditionList:[{label:"请假天数",field:"day",operator:">",value:"7"}],childNode:{nodeName:"领导审批",type:1,setType:1,nodeUserList:[{id:"360000197302144442",name:"何敏"}],nodeRoleList:[],examineLevel:1,directorLevel:1,selectMode:1,termAuto:!1,term:0,termMode:1,examineMode:1,directorMode:0}},{nodeName:"短期",type:3,priorityLevel:2,conditionMode:1,conditionList:[],childNode:{nodeName:"直接主管审批",type:1,setType:2,nodeUserList:[],nodeRoleList:[],examineLevel:1,directorLevel:1,selectMode:1,termAuto:!1,term:0,termMode:1,examineMode:1,directorMode:0}}],childNode:{nodeName:"抄送人",type:2,userSelectFlag:!0,nodeUserList:[{id:"220000200908305857",name:"何秀英"}]}}}}}},mounted(){},methods:{exportJson(){this.$message("返回值请查看F12控制台console.log()"),console.log(this.data)}}},s=t(83744);const c=(0,s.Z)(r,[["render",a]]);var u=c}}]);