← Back
Editing: index-legacy325.js
!function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(e){s=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof b?r:b,i=Object.create(o.prototype),u=new T(n||[]);return a(i,"_invoke",{value:k(t,e,u)}),i}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",m="completed",g={};function b(){}function w(){}function _(){}var x={};s(x,c,(function(){return this}));var L=Object.getPrototypeOf,E=L&&L(L(G([])));E&&E!==o&&i.call(E,c)&&(x=E);var j=_.prototype=b.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function S(r,e){function n(o,a,u,c){var l=p(r[o],r,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==t(s)&&i.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(s).then((function(t){f.value=t,u(f)}),(function(t){return n("throw",t,u,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function k(t,r,n){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=P(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=p(t,r,n);if("normal"===l.type){if(o=n.done?m:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function B(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function N(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(B,this),this.reset(!0)}function G(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function t(){for(;++o<r.length;)if(i.call(r,o))return t.value=r[o],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(r)+" is not iterable")}return w.prototype=_,a(j,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:w,configurable:!0}),w.displayName=s(_,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===w||"GeneratorFunction"===(r.displayName||r.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},n.awrap=function(t){return{__await:t}},O(S.prototype),s(S.prototype,l,(function(){return this})),n.AsyncIterator=S,n.async=function(t,r,e,o,i){void 0===i&&(i=Promise);var a=new S(h(t,r,e,o),i);return n.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(j),s(j,f,"Generator"),s(j,c,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=G,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),N(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;N(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:G(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},n}function e(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./useMethod-legacy7.js?v=VERSION_NUMBER","./index-legacy103.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var o,i,a,u,c,l,f,s,h,p,d,y,v,m,g,b,w,_,x,L,E,j,O,S,k,P,B;return{setters:[function(t){o=t.a6,i=t.iv,a=t.R,u=t.n,c=t.L,l=t.e},function(t){f=t.c,s=t.q,h=t.M,p=t.A,d=t.e,y=t.x,v=t.ar,m=t.g,g=t.aM,b=t.v,w=t.B,_=t.z,x=t.F,L=t.a_,E=t.y,j=t.bN,O=t.ba,S=t.bK,k=t.bM},function(t){P=t.a},function(t){B=t._}],execute:function(){var N=t("_",f({__name:"index",props:{compData:{}},setup:function(t){var n,u,c=t.compData.id,l=o({request:(n=r().mark((function t(e){var n,o,a;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={task_id:c,p:e.p,size:e.limit},t.next=3,i(n);case 3:return o=t.sent,a=o.data,t.abrupt("return",{data:a.data,total:a.total});case 6:case"end":return t.stop()}}),t)})),u=function(){var t=this,r=arguments;return new Promise((function(o,i){var a=n.apply(t,r);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))},function(t){return u.apply(this,arguments)}),columns:[{prop:"recipient",label:"邮箱"},{prop:"created",label:"退订时间",align:"right",render:function(t){return a(t.created)}}]}),f=l.BtTable,v=l.BtPage;l.BtRefresh,l.BtTableCategory,l.BtRecommendSearch,l.BtColumn,l.BtBatch,l.BtErrorMask,l.refresh;return function(t,r){var e=B;return s(),h(e,{class:"p-16px"},{content:p((function(){return[d(y(f))]})),"footer-right":p((function(){return[d(y(v))]})),_:1})}}})),T={class:"p-20px"},G=l(f({__name:"index",props:{compData:{}},emits:["add"],setup:function(t,r){var e=r.expose,o=r.emit,i=v(t,"compData"),a=P(""),l=function(){u({title:"退订【".concat(i.value.row.subject,"】"),area:55,compData:{id:i.value.row.id},component:function(){return c((function(){return n.import("./index-legacy469.js?v=VERSION_NUMBER")}),void 0,n.meta.url)}})},f=m((function(){return i.value.row.mail_type.map((function(t){return Object.values(t)[0]}))}));return e({onConfirm:function(){o("add",i.value.row)}}),function(t,r){var e=j,n=O,o=S,u=k,c=g("bt-modal");return s(),b("div",T,[d(u,{column:1,border:"",class:"table-descriptions"},{default:p((function(){return[d(e,{label:"显示名称"},{default:p((function(){return[w(_(y(i).row.full_name),1)]})),_:1}),d(e,{label:"发件人"},{default:p((function(){return[w(_(y(i).row.addresser),1)]})),_:1}),d(e,{label:"邮件主题"},{default:p((function(){return[w(_(y(i).row.subject),1)]})),_:1}),d(e,{label:"保存在发件箱"},{default:p((function(){return[w(_(1===y(i).row.is_record?"是":"否"),1)]})),_:1}),d(e,{label:"分组"},{default:p((function(){return[d(o,{wrap:""},{default:p((function(){return[(s(!0),b(x,null,L(y(f),(function(t){return s(),h(n,{type:"info",key:t,size:"small"},{default:p((function(){return[w(_(t),1)]})),_:2},1024)})),128))]})),_:1})]})),_:1}),d(e,{label:"退订者"},{default:p((function(){return[E("span",{class:"bt-link",onClick:l},"点击查看")]})),_:1}),d(e,{label:"退订链接"},{default:p((function(){return[w(_(1===y(i).row.unsubscribe?"是":"否"),1)]})),_:1}),d(e,{label:"线程数"},{default:p((function(){return[w(_(0===y(i).row.threads?"自动":y(i).row.threads),1)]})),_:1})]})),_:1}),d(c,{show:y(a).show,"onUpdate:show":r[0]||(r[0]=function(t){return y(a).show=t}),title:y(a).title,data:y(a).data,width:550,"min-height":280,component:N},null,8,["show","title","data"])])}}}),[["__scopeId","data-v-941ac94f"]]),F=Object.freeze(Object.defineProperty({__proto__:null,default:G},Symbol.toStringTag,{value:"Module"}));t("i",F)}}}))}();
Save File
Cancel