Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 строки
1.4KB

  1. import v from"./flowRecord-8475b670.js";import y from"./sjFlowRecord-6ff99011.js";import{r as D,B as j,b as d,c as l,L as o,h as u,f,j as i,k as g}from"./index-dd5fae99.js";import"./index-33a0e6e3.js";import"./index-be0b3801.js";const k=g({name:"flowRecordDialog"}),x=Object.assign(k,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},sjFlowData:{type:String,default:void 0},detail:{type:Object,default:void 0}},emits:["close"],setup(n,{emit:r}){const e=n,c=r,a=D("1");return j(()=>e.visible,async p=>{console.log(e.flowData),a.value=e.sjFlowData?"2":"1"}),(p,t)=>{const m=d("el-tab-pane"),w=d("el-tabs"),_=d("el-dialog");return l(),o(_,{"model-value":n.visible,title:"审核记录",width:"70%","destroy-on-close":"",onClose:t[1]||(t[1]=s=>c("close"))},{default:u(()=>{var s;return[(s=e==null?void 0:e.sjFlowData)!=null&&s.length?(l(),o(w,{key:0,modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=b=>a.value=b),class:"mb-16"},{default:u(()=>[f(m,{label:"省级部门联审流程记录",name:"2"}),f(m,{label:"联审确认流程记录",name:"1"})]),_:1},8,["modelValue"])):i("",!0),a.value==="1"?(l(),o(v,{key:1,"flow-data":e.flowData||[],detail:n.detail},null,8,["flow-data","detail"])):i("",!0),a.value==="2"?(l(),o(y,{key:2,"flow-data":e.sjFlowData&&JSON.parse(e.sjFlowData)||[]},null,8,["flow-data"])):i("",!0)]}),_:1},8,["model-value"])}}});export{x as default};