You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/js/user.5438b09c.js

3 lines
37 KiB

6 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user"],{"03ab":function(e,t,r){"use strict";r("42ea")},"0ea6":function(e,t,r){},1158:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("a-card",{attrs:{bordered:!1}},[t("div",{staticClass:"card-title"},[e._v(e._s(e.$route.meta.title))]),t("div",{staticClass:"table-operator"}),t("a-table",{attrs:{rowKey:function(e){return e.id},columns:e.columns,"data-source":e.list,scroll:{x:1300},bordered:"",pagination:!1},scopedSlots:e._u([{key:"main_info",fn:function(r){return t("span",{},[t("p",[e._v(e._s(r.user.nick_name))]),t("p",{staticClass:"c-p"},[e._v(e._s(r.user.mobile))])])}},{key:"type",fn:function(r){return t("span",{},[1==r.type?t("p",[e._v("普通")]):t("p",[e._v("增值税")])])}},{key:"source",fn:function(r){return t("span",{},[1==r.source?t("p",[e._v("个人")]):t("p",[e._v("单位")])])}}])}),t("a-pagination",{staticStyle:{float:"right"},attrs:{"default-page-size":e.queryParam.pageSize,pageSizes:e.queryParam.pageSize,total:e.total,showSizeChanger:!0,showQuickJumper:!0,pageSizeOptions:e.pageSizeOptions,layout:"total, sizes, prev, pager, next, jumper",showTotal:e.showTotal},on:{showSizeChange:e.handleSizeChange,change:e.handlePageChange},model:{value:e.queryParam.page,callback:function(t){e.$set(e.queryParam,"page",t)},expression:"queryParam.page"}})],1)},n=[],i=(r("d3b7"),r("b775")),o={list:"/user.invoice/index"};function s(e){return Object(i["b"])({url:o.list,method:"post",params:e})}var l=r("2af9"),c=[{title:"ID",dataIndex:"id",ellipsis:!0},{title:"会员昵称/手机号",scopedSlots:{customRender:"main_info"}},{title:"发票类型",dataIndex:"type",scopedSlots:{customRender:"type"}},{title:"抬头类型",dataIndex:"source",scopedSlots:{customRender:"source"}},{title:"单位名称",dataIndex:"header"},{title:"税号",dataIndex:"duty_no"},{title:"开户银行",dataIndex:"bank_name"},{title:"银行卡号",dataIndex:"bank_no"},{title:"单位地址",dataIndex:"address"},{title:"单位电话",dataIndex:"phone"}],u={name:"Index",components:{ContentHeader:l["a"],STable:l["d"]},data:function(){return{searchForm:this.$form.createForm(this),categoryList:[],orderStatusList:[],queryParam:{order_status:"0",recovery_name:"",category_id:"",order_no:"",page:1,pageSize:15},pageSizeOptions:["15","30","50","100","200","300","400","500"],showTotal:function(e){return"共 ".concat(e," 条记录")},total:0,isLoading:!1,columns:c,selectedRowKeys:[],list:[]}},created:function(){this.fetchData()},computed:{rowSelection:function(){return{selectedRowKeys:this.selectedRowKeys,onChange:this.onSelectChange}}},methods:{onSelectChange:function(e){this.selectedRowKeys=e},handleTabs:function(e){this.queryParam.page=1,this.queryParam.order_status=e.target.value,this.fetchData()},handleSearch:function(){this.queryParam.page=1,this.fetchData()},fetchData:function(){var e=this;this.isLoading=!0,s(this.queryParam).then((function(t){e.list=t.data.list,e.total=t.data.total})).finally((function(){return e.isLoading=!1}))},handleReset:function(){this.searchForm.resetFields()},handlePageChange:function(e,t){this.queryParam.page=e,this.queryParam.pageSize=t,this.fetchData()},handleSizeChange:function(e,t){this.queryParam.page=e,this.queryParam.pageSize=t,this.fetchData()},handleRefresh:function(){this.selectedRowKeys=[],this.fetchData()}}},d=u,f=(r("c4f0"),r("2877")),m=Object(f["a"])(d,a,n,!1,null,"ac058ce2",null);t["default"]=m.exports},"1da1":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("d3b7");function a(e,t,r,a,n,i,o){try{var s=e[i](o),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(a,n)}function n(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,l,"next",e)}function l(e){a(o,n,i,s,l,"throw",e)}s(void 0)}))}}},"42ea":function(e,t,r){},"565d":function(e,t,r){},"57af":function(e,t,r){"use strict";r("96e1")},"5f30":function(e,t,r){"use strict";r("565d")},"75f1":function(e,t,r){"use strict";r.r(t);r("b0c0");var a=function(){var e=this,t=e._self._c;retur
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
n=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function f(e,t,r,a){var n=t&&t.prototype instanceof y?t:y,i=Object.create(n.prototype),s=new T(a||[]);return o(i,"_invoke",{value:k(e,r,s)}),i}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",p="suspendedYield",v="executing",b="completed",g={};function y(){}function _(){}function C(){}var w={};d(w,l,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(F([])));L&&L!==r&&i.call(L,l)&&(w=L);var E=C.prototype=y.prototype=Object.create(w);function S(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function r(n,o,s,l){var c=m(e[n],e,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==Object(a["a"])(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var n;o(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(i,i):i()}})}function k(t,r,a){var n=h;return function(i,o){if(n===v)throw new Error("Generator is already running");if(n===b){if("throw"===i)throw o;return{value:e,done:!0}}for(a.method=i,a.arg=o;;){var s=a.delegate;if(s){var l=P(s,a);if(l){if(l===g)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===h)throw n=b,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=v;var c=m(t,r,a);if("normal"===c.type){if(n=a.done?b:p,c.arg===g)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=b,a.method="throw",a.arg=c.arg)}}}function P(t,r){var a=r.method,n=t.iterator[a];if(n===e)return r.delegate=null,"throw"===a&&t.iterator["return"]&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),g;var i=m(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function q(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(q,this),this.reset(!0)}function F(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(i.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(Object(a["a"])(t)+" is not iterable")}return _.prototype=C,o(E,"constructor",{value:C,configurable:!0}),o(C,"constructor",{value:_,configurable:!0}),_.displayName=d(C,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,d(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},S(R.prototype),d(R.prototype,c,(function(){return this})),t.AsyncIterator=R,t.async=function(e,r,a,n,i){void 0===i&&(i=Promise);var o=new R(f(e,r,a,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(E),d(E,u,"Generat