25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

2 satır
1.6KB

  1. var _=(s,m,e)=>new Promise((r,t)=>{var u=a=>{try{o(e.next(a))}catch(n){t(n)}},l=a=>{try{o(e.throw(a))}catch(n){t(n)}},o=a=>a.done?r(a.value):Promise.resolve(a.value).then(u,l);o((e=e.apply(s,m)).next())});import y from"./flowRecord.64230ca2.js";import D from"./sjFlowRecord.3f28d943.js";import{d as g,r as j,L as k,c,e as d,I as i,i as w,h as v,k as p}from"./index.3fb2f955.js";import"./index.688c9de6.js";import"./index.d01619e4.js";const C=g({name:"flowRecordDialog"}),h=Object.assign(C,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},sjFlowData:{type:String,default:void 0}},emits:["close"],setup(s,{emit:m}){const e=s,r=m,t=j("1");return k(()=>e.visible,u=>_(this,null,function*(){t.value=e.sjFlowData?"2":"1"})),(u,l)=>{const o=c("el-tab-pane"),a=c("el-tabs"),n=c("el-dialog");return d(),i(n,{"model-value":s.visible,title:"\u5BA1\u6838\u8BB0\u5F55",width:"70%","destroy-on-close":"",onClose:l[1]||(l[1]=f=>r("close"))},{default:w(()=>{var f;return[(f=e==null?void 0:e.sjFlowData)!=null&&f.length?(d(),i(a,{key:0,modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=b=>t.value=b),class:"mb-16"},{default:w(()=>[v(o,{label:"\u7701\u7EA7\u90E8\u95E8\u8054\u5BA1\u6D41\u7A0B\u8BB0\u5F55",name:"2"}),v(o,{label:"\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B\u8BB0\u5F55",name:"1"})]),_:1},8,["modelValue"])):p("",!0),t.value==="1"?(d(),i(y,{key:1,"flow-data":e.flowData||[]},null,8,["flow-data"])):p("",!0),t.value==="2"?(d(),i(D,{key:2,"flow-data":e.sjFlowData&&JSON.parse(e.sjFlowData)||[]},null,8,["flow-data"])):p("",!0)]}),_:1},8,["model-value"])}}});export{h as default};