You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.9 KiB
JavaScript
2 lines
1.9 KiB
JavaScript
var i=(p,l,o)=>new Promise((r,t)=>{var c=e=>{try{a(o.next(e))}catch(n){t(n)}},m=e=>{try{a(o.throw(e))}catch(n){t(n)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(c,m);a((o=o.apply(p,l)).next())});import{a as M,B as y}from"./index-COQSZY7c.js";import{i as h}from"./index-2whCcYrW.js";import{u as I,_ as b}from"./useTable-BYZpzJPm.js";import"./index-BRqXDmQx.js";import{d as C,k as d,ad as D}from"./vue-aEZWZQSa.js";import"./entry/index-CT2bBVPU-1724922878694.js";import"./antd-BY-1PcYE.js";import"./useWindowSizeFn-BWwSyuoE.js";import"./useForm-koea_hsc.js";import"./FormItem.vue_vue_type_script_lang-fyvFSOLP.js";import"./componentMap-CWMsMsGY.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-RC179q1_.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./style-Cslz80qp.js";import"./helper-BqaPddWo.js";import"./BasicForm.vue_vue_type_style_index_0_lang-CUDTou-T.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-CKONboZ0.js";import"./download-Dzju1Gbo.js";import"./useLoading-CR9OIhwN.js";const J=C({name:"DeleteMultiInstanceModal",emits:["selectDone","register"],setup(p,{attrs:l,emit:o}){const[r,{modalLoading:t,closeModal:c}]=M(m);function m(s){return i(this,null,function*(){t(!0);const w=yield h(s);e(w),t(!1)})}const[a,{setTableData:e,getSelectRows:n,setSelectedRowKeys:f}]=I({showIndexColumn:!0,showTableSetting:!1,pagination:!1,size:"small",canResize:!1,rowKey:"assignee",clickToRowSelect:!0,columns:[{title:"任务名称",dataIndex:"name"},{title:"办理人",dataIndex:"assigneeName"}],rowSelection:{type:"checkbox"}});function g(){return i(this,null,function*(){try{t(!0);const s=n();if(!s.length)return;u(),o("selectDone",s)}catch(s){}finally{t(!1)}})}function u(){return i(this,null,function*(){c(),f([])})}return()=>d(y,D(l,{title:"减签人员",width:600,onRegister:r,onOk:g,onCancel:u}),{default:()=>[d(b,{onRegister:a},null)]})}});export{J as default};
|