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-fya05jI8.js";import{i as h}from"./index-CAYHmA45.js";import{u as I,_ as b}from"./useTable-CUkvZ0go.js";import"./index-DVy1eUzr.js";import{d as C,k as d,ad as D}from"./vue-aEZWZQSa.js";import"./entry/index-C2Ijy48E-1723706691540.js";import"./antd-BY-1PcYE.js";import"./useWindowSizeFn-CjdUjzGl.js";import"./useForm-fILnWqWp.js";import"./FormItem.vue_vue_type_script_lang-CKJUw6EQ.js";import"./componentMap-zBHKqdNc.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-CVQ-sEzT.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./style-apcQnL4e.js";import"./helper-D0Efh3UP.js";import"./BasicForm.vue_vue_type_style_index_0_lang-D499EpF5.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-Bra4jKJL.js";import"./download-Cu3oizbN.js";import"./useLoading-C2GeNIUj.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};
|