Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

2 rindas
1.7KB

  1. import D from"./ruleFormCom.51bb3bf0.js";import{c as V}from"./reviewMeeting.e10341c1.js";import{a4 as v,r as f,a5 as k,x,J as b,L as w,c as p,e as _,G as j,i as r,h as u,j as c}from"./index.35a9731b.js";import J from"./avoidCom.d1fb2d95.js";import"./expertStore.19e31da5.js";import"./addExpertDialog.a1cb2aad.js";import"./index.e24e435d.js";import"./unitManage.685da432.js";const I={__name:"RefillDialogCopy",props:v({detailData:Object,mettingDetail:Object},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:v(["refresh"],["update:modelValue"]),setup(s,{emit:g}){const m=f(),d=f(),n=f([{}]),l=k(s,"modelValue"),C=x();async function R(){m.value.handleParmas();const i={meetingId:C.query.id,avoidRule:d.value.getAvoidRule(),randomRules:m.value.handleParmas()};console.log(s.mettingDetail),await V(i),l.value=!1,y("refresh")}const y=g;return b(()=>l.value,(i,e)=>{if(i){const a=[];s.detailData.randomRules.forEach(t=>{let o={};t.formEditJson&&(o=JSON.parse(t.formEditJson)),a.push({...o,id:t.id})}),w(()=>{n.value=a,console.log(n),d.value.setNewData(s.detailData)})}}),(i,e)=>{const a=p("el-button"),t=p("el-dialog");return _(),j(t,{"model-value":l.value,title:"\u7EED\u62BD",width:"840px","destroy-on-close":"",onClose:e[2]||(e[2]=o=>l.value=!1)},{footer:r(()=>[u(a,{type:"primary",size:"small",onClick:R},{default:r(()=>e[3]||(e[3]=[c(" \u786E\u5B9A ")])),_:1}),u(a,{size:"small",onClick:e[1]||(e[1]=o=>l.value=!1)},{default:r(()=>e[4]||(e[4]=[c(" \u5173\u95ED ")])),_:1})]),default:r(()=>[u(D,{ref_key:"ruleFormComRef",ref:m,modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=o=>n.value=o)},null,8,["modelValue"]),u(J,{ref_key:"avoidConRef",ref:d},null,512)]),_:1},8,["model-value"])}}};export{I as default};