| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["card-Activation"],{"1a7f":function(t,e,a){},"59f2":function(t,e,a){"use strict";a.r(e);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()])])},s=[],n=a("c6e4"),i=a("f121"),o=a.n(i),c=a("5a0c"),u=a.n(c);let{Code:l}=o.a;var d={name:"Recording",data(){return{flag:!1,reasons:{},pictLoading:!1,tableData:[],search:{date:[],startDate:"",endDate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{lang(){return this.Session.Get("lang")},getInfoId(){return JSON.parse(this.Session.Get("user",!0)).customInfo.cId},getInfoAgentTransfer(){return JSON.parse(this.Session.Get("user",!0)).customInfo.agentTransfer}},methods:{async searchReasons(){let t=await n["a"].reasonsRefusalList({type:15});t.code==l.StatusOK?null==t.data?this.reasons={}:this.reasons=t.data:this.$pigeon.MessageError(t.msg)},setDate(t){return u()(t).format("YYYY-MM-DD HH:mm:ss")},handleSearch(){this.pagerInfo.current=1,this.searchFunc()},async searchFunc(){if(this.flag)return;this.flag=!0,this.pictLoading=!0,null==this.search.date||0==this.search.date.length?(this.search.startDate="",this.search.endDate=""):(this.search.startDate=this.search.date[0],this.search.endDate=this.search.date[1]);let t=await n["a"].applyList({...this.search,cId:this.getInfoId,page:{current:this.pagerInfo.current,row:this.pagerInfo.row}});t.code==l.StatusOK?(this.tableData=t.data,console.log(this.tableData),this.pagerInfo.rowTotal=t.page.rowTotal,this.pagerInfo.pageTotal=t.page.pageTotal,this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess")),this.pictLoading=!1,this.flag=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1,this.flag=!1)},handleSizeChange(t){this.pagerInfo.row=t,this.searchFunc()},handleCurrentChange(t){this.pagerInfo.current=t,this.searchFunc()}},mounted(){this.searchReasons(),this.searchFunc()},watch:{"search.type":function(){this.searchFunc()}}},f=d,h=(a("bea2"),a("e989"),a("2877")),p=Object(h["a"])(f,r,s,!1,null,"a93b0b32",null);e["default"]=p.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",s="second",n="minute",i="hour",o="day",c="week",u="month",l="quarter",d="year",f="date",h="Invalid Date",p=/^(\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,g={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])+"]"}},v=function(t,e,a){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(a)+t},$={s:v,z:function(t){var e=-t.utcOffset(),a=Math.abs(e),r=Math.floor(a/60),s=a%60;return(e<=0?"+":"-")+v(r,2,"0")+":"+v(s,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()),s=e.clone().add(r,u),n=a-s<0,i=e.clone().add(r+(n?-1:1),u);return+(-(r+(a-s)/(n?s-i:i-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:o,D:f,h:i,m:n,s:s,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},w="en",S={};S[w]=g;var b="$isDayjsObject",y=function(t){return t instanceof k||!(!t||!t[b])},_=function t(e,a,r){var s;if(!e)return w;if("string"==typeof e){var n=e.toLowerCase();S[n]&&(s=n),a&&(S[n]=a,s=n);var i=e.split("-");if(!s&&i.length>1)return t(i[0])}else{var o=e.name;S[o]=e,s=o}return!r&&s&&(w=s),s||!r&&w},D=function(t,e){if(y(t))return t.clone();var a="object"==typeof e?e:{};return a.date=t,a.args=arguments,new k(a)},M=$;M.l=_,M.i=y,M.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function g(t){this.$L=_(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var v=g.prototype;return v.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(p);if(r){var s=r[2]-1||0,n=(r[7]||"0").substring(0,3);return a?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,n)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,n)}}return new Date(e)}(t),this.init()},v.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()},v.$utils=function(){return M},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(t,e){var a=D(t);return this.startOf(e)<=a&&a<=this.endOf(e)},v.isAfter=function(t,e){return D(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<D(t)},v.$g=function(t,e,a){return M.u(t)?this[e]:this.set(a,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var a=this,r=!!M.u(e)||e,l=M.p(t),h=function(t,e){var s=M.w(a.$u?Date.UTC(a.$y,e,t):new Date(a.$y,e,t),a);return r?s:s.endOf(o)},p=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,g=this.$M,v=this.$D,$="set"+(this.$u?"UTC":"");switch(l){case d:return r?h(1,0):h(31,11);case u:return r?h(1,g):h(0,g+1);case c:var w=this.$locale().weekStart||0,S=(m<w?m+7:m)-w;return h(r?v-S:v+(6-S),g);case o:case f:return p($+"Hours",0);case i:return p($+"Minutes",1);case n:return p($+"Seconds",2);case s:return p($+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var a,c=M.p(t),l="set"+(this.$u?"UTC":""),h=(a={},a[o]=l+"Date",a[f]=l+"Date",a[u]=l+"Month",a[d]=l+"FullYear",a[i]=l+"Hours",a[n]=l+"Minutes",a[s]=l+"Seconds",a[r]=l+"Milliseconds",a)[c],p=c===o?this.$D+(e-this.$W):e;if(c===u||c===d){var m=this.clone().set(f,1);m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[M.p(t)]()},v.add=function(r,l){var f,h=this;r=Number(r);var p=M.p(l),m=function(t){var e=D(h);return M.w(e.date(e.date()+Math.round(t*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===o)return m(1);if(p===c)return m(7);var g=(f={},f[n]=e,f[i]=a,f[s]=t,f)[p]||1,v=this.$d.getTime()+r*g;return M.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,a=this.$locale();if(!this.isValid())return a.invalidDate||h;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=M.z(this),n=this.$H,i=this.$m,o=this.$M,c=a.weekdays,u=a.months,l=a.meridiem,d=function(t,a,s,n){return t&&(t[a]||t(e,r))||s[a].slice(0,n)},f=function(t){return M.s(n%12||12,t,"0")},p=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 o+1;case"MM":return M.s(o+1,2,"0");case"MMM":return d(a.monthsShort,o,u,3);case"MMMM":return d(u,o);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,c,2);case"ddd":return d(a.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(n);case"HH":return M.s(n,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(n,i,!0);case"A":return p(n,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 s}return null}(t)||s.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,h){var p,m=this,g=M.p(f),v=D(r),$=(v.utcOffset()-this.utcOffset())*e,w=this-v,S=function(){return M.m(m,v)};switch(g){case d:p=S()/12;break;case u:p=S();break;case l:p=S()/3;break;case c:p=(w-$)/6048e5;break;case o:p=(w-$)/864e5;break;case i:p=w/a;break;case n:p=w/e;break;case s:p=w/t;break;default:p=w}return h?p:M.a(p)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return S[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var a=this.clone(),r=_(t,e,!0);return r&&(a.$L=r),a},v.clone=function(){return M.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),N=k.prototype;return D.prototype=N,[["$ms",r],["$s",s],["$m",n],["$H",i],["$W",o],["$M",u],["$y",d],["$D",f]].forEach((function(t){N[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,k,D),t.$i=!0),D},D.locale=_,D.isDayjs=y,D.unix=function(t){return D(1e3*t)},D.en=S[w],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")}}]);
|