| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["card-Activation"],{"1a7f":function(t,e,a){},"59f2":function(t,e,a){"use strict";a.r(e);a("ac1f"),a("841c");var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"custom_Recording"}},[e("div",{staticClass:"crm-title-box"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:"card.tab15",expression:"'card.tab15'"}]})])]),e("div",{staticClass:"main-content"},[e("div",{staticClass:"search crm_search"},[e("div",{staticClass:"search-btn"},[e("el-form",{ref:"form",attrs:{"label-position":"top",model:t.search,"label-width":"80px"}},[e("el-form-item",[e("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":t.$t("placeholder.Start"),"end-placeholder":t.$t("placeholder.End")},model:{value:t.search.date,callback:function(e){t.$set(t.search,"date",e)},expression:"search.date"}}),e("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.handleSearch}})],1)],1)],1)]),e("div",{staticClass:"tab"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[e("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.CidAccount")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",{staticClass:"crm-text-underline",on:{click:function(e){return t.accountOpen(a.row.cId)}}},[t._v(t._s(a.row.cId||"--"))])]}}])}),e("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.Name")},scopedSlots:t._u([{key:"default",fn:function(a){return[a.row.firstName?e("span",[t._v(t._s(a.row.firstName+" "))]):t._e(),a.row.middle?e("span",[t._v(t._s(a.row.middle+" "))]):t._e(),a.row.lastName?e("span",[t._v(t._s(a.row.lastName))]):t._e(),a.row.firstName||a.row.lastName||a.row.middle?t._e():e("span",[t._v(t._s("--"))])]}}])}),e("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.Email")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.email||"--")+" ")]}}])}),e("el-table-column",{attrs:{prop:"mobile",align:"left",label:t.$t("Label.Phone")}}),e("el-table-column",{attrs:{prop:"cardName",align:"left",label:t.$t("card.Form.f49")}}),e("el-table-column",{attrs:{prop:"type",align:"left",label:t.$t("card.Form.f48")}}),e("el-table-column",{attrs:{prop:"addTime",align:"left",label:t.$t("card.Form.f51")}}),e("el-table-column",{attrs:{prop:"tradeStatus",align:"left",label:t.$t("card.Form.f47")},scopedSlots:t._u([{key:"default",fn:function(a){return["1"==a.row.tradeType?["2"==a.row.tradeStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t8",expression:"'card.Status.t8'"}]}):"3"==a.row.tradeStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t9",expression:"'card.Status.t9'"}]}):e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t5",expression:"'card.Status.t5'"}]})]:t._e(),"2"==a.row.tradeType?["2"==a.row.tradeStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t10",expression:"'card.Status.t10'"}]}):"3"==a.row.tradeStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t11",expression:"'card.Status.t11'"}]}):e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t12",expression:"'card.Status.t12'"}]})]:t._e()]}}])}),e("el-table-column",{attrs:{prop:"approveStatus",align:"left",label:t.$t("card.Form.f53")},scopedSlots:t._u([{key:"default",fn:function(t){return["2"==t.row.approveStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t14",expression:"'card.Status.t14'"}]}):"3"==t.row.approveStatus?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t15",expression:"'card.Status.t15'"}]}):e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t13",expression:"'card.Status.t13'"}]})]}}])}),e("el-table-column",{attrs:{prop:"status",align:"left",label:t.$t("card.Info.s41")},scopedSlots:t._u([{key:"default",fn:function(t){return["success"===t.row.status?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t6",expression:"'card.Status.t6'"}]}):"fail"===t.row.status?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t7",expression:"'card.Status.t7'"}]}):"processing"===t.row.status?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t5",expression:"'card.Status.t5'"}]}):"cancel"===t.row.status?e("span",{directives:[{name:"t",rawName:"v-t",value:"card.New2.p3",expression:"'card.New2.p3'"}]}):e("span",{directives:[{name:"t",rawName:"v-t",value:"card.Status.t5",expression:"'card.Status.t5'"}]})]}}])}),e("el-table-column",{attrs:{prop:"remark",align:"left",label:t.$t("card.Form.f27")},scopedSlots:t._u([{key:"default",fn:function(a){return[a.row.remark?e("span",[t._v(t._s(a.row.remark))]):t._e(),a.row.note?e("span",[t._v(t._s(a.row.note))]):t.reasons[a.row.approveDesc]?e("span",[t._v(t._s("cn"==t.lang?t.reasons[a.row.approveDesc].content:t.reasons[a.row.approveDesc].enContent))]):e("span",[t._v("--")])]}}])})],1)],1),t.pagerInfo.rowTotal?e("div",{staticClass:"crm_pagination"},[e("el-pagination",{staticClass:"page",attrs:{background:"",layout:"prev, pager, next","page-size":t.pagerInfo.row,total:t.pagerInfo.rowTotal},on:{"current-change":t.handleCurrentChange}})],1):t._e()])])},n=[],s=a("5530"),i=a("c7eb"),c=a("1da1"),o=(a("b64b"),a("c6e4")),u=a("f121"),l=a.n(u),d=a("5a0c"),f=a.n(d),p=l.a.Code,h={name:"Recording",data:function(){return{flag:!1,reasons:{},pictLoading:!1,tableData:[],search:{date:[],startDate:"",endDate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{lang:function(){return this.Session.Get("lang")},getInfoId:function(){return JSON.parse(this.Session.Get("user",!0)).customInfo.cId},getInfoAgentTransfer:function(){return JSON.parse(this.Session.Get("user",!0)).customInfo.agentTransfer}},methods:{searchReasons:function(){var t=this;return Object(c["a"])(Object(i["a"])().mark((function e(){var a;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].reasonsRefusalList({type:15});case 2:a=e.sent,a.code==p.StatusOK?null==a.data?t.reasons={}:t.reasons=a.data:t.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e)})))()},setDate:function(t){return f()(t).format("YYYY-MM-DD HH:mm:ss")},handleSearch:function(){this.pagerInfo.current=1,this.searchFunc()},searchFunc:function(){var t=this;return Object(c["a"])(Object(i["a"])().mark((function e(){var a;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.flag){e.next=4;break}return e.abrupt("return");case 4:t.flag=!0;case 5:return t.pictLoading=!0,null==t.search.date||0==t.search.date.length?(t.search.startDate="",t.search.endDate=""):(t.search.startDate=t.search.date[0],t.search.endDate=t.search.date[1]),e.next=9,o["a"].applyList(Object(s["a"])(Object(s["a"])({},t.search),{},{cId:t.getInfoId,page:{current:t.pagerInfo.current,row:t.pagerInfo.row}}));case 9:a=e.sent,a.code==p.StatusOK?(t.tableData=a.data,console.log(t.tableData),t.pagerInfo.rowTotal=a.page.rowTotal,t.pagerInfo.pageTotal=a.page.pageTotal,t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess")),t.pictLoading=!1,t.flag=!1):(t.$pigeon.MessageError(a.msg),t.pictLoading=!1,t.flag=!1);case 11:case"end":return e.stop()}}),e)})))()},handleSizeChange:function(t){this.pagerInfo.row=t,this.searchFunc()},handleCurrentChange:function(t){this.pagerInfo.current=t,this.searchFunc()}},mounted:function(){this.searchReasons(),this.searchFunc()},watch:{"search.type":function(){this.searchFunc()}}},m=h,v=(a("bea2"),a("e989"),a("2877")),g=Object(v["a"])(m,r,n,!1,null,"a93b0b32",null);e["default"]=g.exports},"5a0c":function(t,e,a){!function(e,a){t.exports=a()}(0,(function(){"use strict";var t=1e3,e=6e4,a=36e5,r="millisecond",n="second",s="minute",i="hour",c="day",o="week",u="month",l="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],a=t%100;return"["+t+(e[(a-20)%10]||e[a]||e[0])+"]"}},g=function(t,e,a){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(a)+t},w={s:g,z:function(t){var e=-t.utcOffset(),a=Math.abs(e),r=Math.floor(a/60),n=a%60;return(e<=0?"+":"-")+g(r,2,"0")+":"+g(n,2,"0")},m:function t(e,a){if(e.date()<a.date())return-t(a,e);var r=12*(a.year()-e.year())+(a.month()-e.month()),n=e.clone().add(r,u),s=a-n<0,i=e.clone().add(r+(s?-1:1),u);return+(-(r+(a-n)/(s?n-i:i-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:o,d:c,D:f,h:i,m:s,s:n,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$="en",S={};S[$]=v;var b="$isDayjsObject",_=function(t){return t instanceof O||!(!t||!t[b])},y=function t(e,a,r){var n;if(!e)return $;if("string"==typeof e){var s=e.toLowerCase();S[s]&&(n=s),a&&(S[s]=a,n=s);var i=e.split("-");if(!n&&i.length>1)return t(i[0])}else{var c=e.name;S[c]=e,n=c}return!r&&n&&($=n),n||!r&&$},D=function(t,e){if(_(t))return t.clone();var a="object"==typeof e?e:{};return a.date=t,a.args=arguments,new O(a)},M=w;M.l=y,M.i=_,M.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var O=function(){function v(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,a=t.utc;if(null===e)return new Date(NaN);if(M.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var n=r[2]-1||0,s=(r[7]||"0").substring(0,3);return a?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return M},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(t,e){var a=D(t);return this.startOf(e)<=a&&a<=this.endOf(e)},g.isAfter=function(t,e){return D(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<D(t)},g.$g=function(t,e,a){return M.u(t)?this[e]:this.set(a,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var a=this,r=!!M.u(e)||e,l=M.p(t),p=function(t,e){var n=M.w(a.$u?Date.UTC(a.$y,e,t):new Date(a.$y,e,t),a);return r?n:n.endOf(c)},h=function(t,e){return M.w(a.toDate()[t].apply(a.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),a)},m=this.$W,v=this.$M,g=this.$D,w="set"+(this.$u?"UTC":"");switch(l){case d:return r?p(1,0):p(31,11);case u:return r?p(1,v):p(0,v+1);case o:var $=this.$locale().weekStart||0,S=(m<$?m+7:m)-$;return p(r?g-S:g+(6-S),v);case c:case f:return h(w+"Hours",0);case i:return h(w+"Minutes",1);case s:return h(w+"Seconds",2);case n:return h(w+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var a,o=M.p(t),l="set"+(this.$u?"UTC":""),p=(a={},a[c]=l+"Date",a[f]=l+"Date",a[u]=l+"Month",a[d]=l+"FullYear",a[i]=l+"Hours",a[s]=l+"Minutes",a[n]=l+"Seconds",a[r]=l+"Milliseconds",a)[o],h=o===c?this.$D+(e-this.$W):e;if(o===u||o===d){var m=this.clone().set(f,1);m.$d[p](h),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[M.p(t)]()},g.add=function(r,l){var f,p=this;r=Number(r);var h=M.p(l),m=function(t){var e=D(p);return M.w(e.date(e.date()+Math.round(t*r)),p)};if(h===u)return this.set(u,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===c)return m(1);if(h===o)return m(7);var v=(f={},f[s]=e,f[i]=a,f[n]=t,f)[h]||1,g=this.$d.getTime()+r*v;return M.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,a=this.$locale();if(!this.isValid())return a.invalidDate||p;var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=M.z(this),s=this.$H,i=this.$m,c=this.$M,o=a.weekdays,u=a.months,l=a.meridiem,d=function(t,a,n,s){return t&&(t[a]||t(e,r))||n[a].slice(0,s)},f=function(t){return M.s(s%12||12,t,"0")},h=l||function(t,e,a){var r=t<12?"AM":"PM";return a?r.toLowerCase():r};return r.replace(m,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return M.s(e.$y,4,"0");case"M":return c+1;case"MM":return M.s(c+1,2,"0");case"MMM":return d(a.monthsShort,c,u,3);case"MMMM":return d(u,c);case"D":return e.$D;case"DD":return M.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(a.weekdaysMin,e.$W,o,2);case"ddd":return d(a.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return M.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(s,i,!0);case"A":return h(s,i,!1);case"m":return String(i);case"mm":return M.s(i,2,"0");case"s":return String(e.$s);case"ss":return M.s(e.$s,2,"0");case"SSS":return M.s(e.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,f,p){var h,m=this,v=M.p(f),g=D(r),w=(g.utcOffset()-this.utcOffset())*e,$=this-g,S=function(){return M.m(m,g)};switch(v){case d:h=S()/12;break;case u:h=S();break;case l:h=S()/3;break;case o:h=($-w)/6048e5;break;case c:h=($-w)/864e5;break;case i:h=$/a;break;case s:h=$/e;break;case n:h=$/t;break;default:h=$}return p?h:M.a(h)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return S[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var a=this.clone(),r=y(t,e,!0);return r&&(a.$L=r),a},g.clone=function(){return M.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),k=O.prototype;return D.prototype=k,[["$ms",r],["$s",n],["$m",s],["$H",i],["$W",c],["$M",u],["$y",d],["$D",f]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,O,D),t.$i=!0),D},D.locale=y,D.isDayjs=_,D.unix=function(t){return D(1e3*t)},D.en=S[$],D.Ls=S,D.p={},D}))},a293:function(t,e,a){},bea2:function(t,e,a){"use strict";a("1a7f")},e989:function(t,e,a){"use strict";a("a293")}}]);
|