Commit 4606d604 by liang ce

注销账户修改

parent d173615e
.title[data-v-99e06596]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-99e06596]{margin-left:10px}
\ No newline at end of file
.title[data-v-2853fec8]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-2853fec8]{margin-left:10px}
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Pragma content=no-cache><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>mingpay</title><link href=css/chunk-13ec64c5.52ec5803.css rel=prefetch><link href=css/chunk-28723f13.90e02cb9.css rel=prefetch><link href=css/chunk-331ae0d2.f532e316.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-3f3336d0.33fb771c.css rel=prefetch><link href=css/chunk-42323b98.64f24c7d.css rel=prefetch><link href=css/chunk-49a19ba8.67939e51.css rel=prefetch><link href=css/chunk-4ba7f26b.8079c706.css rel=prefetch><link href=css/chunk-5095efbe.58f409ad.css rel=prefetch><link href=css/chunk-570f9528.289dca7b.css rel=prefetch><link href=css/chunk-58a22374.bf3cd3b1.css rel=prefetch><link href=css/chunk-6658342b.d8c3d9b5.css rel=prefetch><link href=css/chunk-6cec962d.698e1e67.css rel=prefetch><link href=css/chunk-7026f433.625e47b3.css rel=prefetch><link href=css/chunk-90b83a0c.23b21a79.css rel=prefetch><link href=css/chunk-a0a95438.3fbca111.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd53178.611b074a.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.feb2838f.js rel=prefetch><link href=js/chunk-28723f13.a258c368.js rel=prefetch><link href=js/chunk-2d0bd16e.de89ee9c.js rel=prefetch><link href=js/chunk-331ae0d2.432b46f5.js rel=prefetch><link href=js/chunk-3599003e.77d9b8d9.js rel=prefetch><link href=js/chunk-3f3336d0.f22a8e38.js rel=prefetch><link href=js/chunk-42323b98.ca0331ff.js rel=prefetch><link href=js/chunk-49a19ba8.c9a5f78f.js rel=prefetch><link href=js/chunk-4ba7f26b.1ce70aaf.js rel=prefetch><link href=js/chunk-5095efbe.ae3a92ac.js rel=prefetch><link href=js/chunk-570f9528.101eb842.js rel=prefetch><link href=js/chunk-58a22374.ed08740f.js rel=prefetch><link href=js/chunk-6658342b.c9f90e1d.js rel=prefetch><link href=js/chunk-6cec962d.8347aa7f.js rel=prefetch><link href=js/chunk-7026f433.7fa23e7c.js rel=prefetch><link href=js/chunk-90b83a0c.e3338d42.js rel=prefetch><link href=js/chunk-a0a95438.2299ce8a.js rel=prefetch><link href=js/chunk-b788ccac.1c9e8d29.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd53178.1e85550d.js rel=prefetch><link href=js/chunk-edd5b888.bf1fe3a3.js rel=prefetch><link href=js/chunk-fb6b8140.64b0f1cf.js rel=prefetch><link href=css/app.2887c0b5.css rel=preload as=style><link href=css/chunk-vendors.abc56c7c.css rel=preload as=style><link href=js/app.68671163.js rel=preload as=script><link href=js/chunk-vendors.5f733cf2.js rel=preload as=script><link href=css/chunk-vendors.abc56c7c.css rel=stylesheet><link href=css/app.2887c0b5.css rel=stylesheet></head><body><noscript><strong>We're sorry but mingpay doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5f733cf2.js></script><script src=js/app.68671163.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Pragma content=no-cache><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>mingpay</title><link href=css/chunk-13ec64c5.52ec5803.css rel=prefetch><link href=css/chunk-28723f13.90e02cb9.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-3f3336d0.33fb771c.css rel=prefetch><link href=css/chunk-42323b98.64f24c7d.css rel=prefetch><link href=css/chunk-49a19ba8.67939e51.css rel=prefetch><link href=css/chunk-4ba7f26b.8079c706.css rel=prefetch><link href=css/chunk-5095efbe.58f409ad.css rel=prefetch><link href=css/chunk-56890f8c.b58ddb49.css rel=prefetch><link href=css/chunk-570f9528.289dca7b.css rel=prefetch><link href=css/chunk-58a22374.bf3cd3b1.css rel=prefetch><link href=css/chunk-6658342b.d8c3d9b5.css rel=prefetch><link href=css/chunk-6cec962d.698e1e67.css rel=prefetch><link href=css/chunk-7026f433.625e47b3.css rel=prefetch><link href=css/chunk-90b83a0c.23b21a79.css rel=prefetch><link href=css/chunk-a0a95438.3fbca111.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd53178.611b074a.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.feb2838f.js rel=prefetch><link href=js/chunk-28723f13.a258c368.js rel=prefetch><link href=js/chunk-2d0bd16e.de89ee9c.js rel=prefetch><link href=js/chunk-3599003e.77d9b8d9.js rel=prefetch><link href=js/chunk-3f3336d0.f22a8e38.js rel=prefetch><link href=js/chunk-42323b98.ca0331ff.js rel=prefetch><link href=js/chunk-49a19ba8.c9a5f78f.js rel=prefetch><link href=js/chunk-4ba7f26b.1ce70aaf.js rel=prefetch><link href=js/chunk-5095efbe.ae3a92ac.js rel=prefetch><link href=js/chunk-56890f8c.5b0cfe4d.js rel=prefetch><link href=js/chunk-570f9528.101eb842.js rel=prefetch><link href=js/chunk-58a22374.ed08740f.js rel=prefetch><link href=js/chunk-6658342b.c9f90e1d.js rel=prefetch><link href=js/chunk-6cec962d.8347aa7f.js rel=prefetch><link href=js/chunk-7026f433.7fa23e7c.js rel=prefetch><link href=js/chunk-90b83a0c.e3338d42.js rel=prefetch><link href=js/chunk-a0a95438.2299ce8a.js rel=prefetch><link href=js/chunk-b788ccac.1c9e8d29.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd53178.1e85550d.js rel=prefetch><link href=js/chunk-edd5b888.bf1fe3a3.js rel=prefetch><link href=js/chunk-fb6b8140.64b0f1cf.js rel=prefetch><link href=css/app.2887c0b5.css rel=preload as=style><link href=css/chunk-vendors.abc56c7c.css rel=preload as=style><link href=js/app.2d064d1f.js rel=preload as=script><link href=js/chunk-vendors.5f733cf2.js rel=preload as=script><link href=css/chunk-vendors.abc56c7c.css rel=stylesheet><link href=css/app.2887c0b5.css rel=stylesheet></head><body><noscript><strong>We're sorry but mingpay doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5f733cf2.js></script><script src=js/app.2d064d1f.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-331ae0d2"],{"0d5e":function(t,e,a){"use strict";a.d(e,"a",function(){return d});var n,o=a("7f43"),r=a.n(o),c=a("4328"),i=a.n(c),s=a("9f82"),u=a("f64c"),l="https://gateway.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return n.close(),Promise.reject(t)}),r.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,a){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),a(new Error(t))}else u["a"].error("未知问题"),e(t)})});var d={post:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":e;r.a.post("".concat(l).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return a(t)})})},get:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);r.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},"13f6":function(t,e,a){},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(t){a("2aba")(RegExp.prototype,c,t,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?o.call(t):void 0)}):i.name!=c&&s(function(){return i.call(this)})},e112:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"consumptionStatistics"},[a("div",{staticClass:"searchBox"},[a("a-date-picker",{attrs:{disabledDate:t.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:t.onChangeStartValue,openChange:t.handleStartOpenChange},model:{value:t.startValue,callback:function(e){t.startValue=e},expression:"startValue"}}),t._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:t.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:t.endOpen},on:{change:t.onChangeEndValue,openChange:t.handleEndOpenChange},model:{value:t.endValue,callback:function(e){t.endValue=e},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:t.getStatisticalProductPage}},[t._v("查询")])],1),a("div",{staticClass:"title"},[t._v("账单汇总")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"productIcon",fn:function(t){return a("span",{},[a("img",{staticStyle:{width:"100px"},attrs:{src:t,alt:""}})])}}])},[a("span",{attrs:{slot:"productName"},slot:"productName"}),a("span",{attrs:{slot:"productStatisticalQuantity"},slot:"productStatisticalQuantity"})])],1)},o=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),s={name:"consumptionStatistics",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=new Date(e,a,0).getDate().toString().length>1?new Date(e,a,0).getDate():"0"+new Date(e,a,0).getDate();this.startTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.getStatisticalProductPage()},methods:{moment:i.a,disabledStartDate:function(t){var e=this.endValue;return!(!t||!e)&&(t.valueOf()>e.valueOf()||t.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(t){var e=this.startValue;return!(!t||!e)&&(e.valueOf()>t.valueOf()||t.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(t){t||(this.endOpen=!0)},handleEndOpenChange:function(t){this.endOpen=t},onChangeStartValue:function(t,e){this.startTime=e},onChangeEndValue:function(t,e){this.endTime=e},getStatisticalProductPage:function(){var t=this,e={startTime:this.startTime,endTime:this.endTime,pageNumber:10,currentPage:this.pagination.current};r["a"].post("/mingpay/v1/isv/order/statistical_product_page",e).then(function(e){0===e.data.resultCode?(t.dataSource=e.data.data.list,t.pagination.total=e.data.data.total):t.$message.error(e.data.message)})},handleTableChange:function(t,e,a){this.pagination.current=t.current,this.getStatisticalProductPage()}}},u=s,l=(a("f7f0"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"99e06596",null);e["default"]=d.exports},f7f0:function(t,e,a){"use strict";var n=a("13f6"),o=a.n(n);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56890f8c"],{"0d5e":function(t,e,a){"use strict";a.d(e,"a",function(){return d});var n,o=a("7f43"),r=a.n(o),c=a("4328"),i=a.n(c),s=a("9f82"),u=a("f64c"),l="https://gateway.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return n.close(),Promise.reject(t)}),r.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,a){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),a(new Error(t))}else u["a"].error("未知问题"),e(t)})});var d={post:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":e;r.a.post("".concat(l).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return a(t)})})},get:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);r.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"5eee":function(t,e,a){"use strict";var n=a("84af"),o=a.n(n);o.a},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(t){a("2aba")(RegExp.prototype,c,t,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?o.call(t):void 0)}):i.name!=c&&s(function(){return i.call(this)})},"84af":function(t,e,a){},e112:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"consumptionStatistics"},[a("div",{staticClass:"searchBox"},[a("a-date-picker",{attrs:{disabledDate:t.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:t.onChangeStartValue,openChange:t.handleStartOpenChange},model:{value:t.startValue,callback:function(e){t.startValue=e},expression:"startValue"}}),t._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:t.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:t.endOpen},on:{change:t.onChangeEndValue,openChange:t.handleEndOpenChange},model:{value:t.endValue,callback:function(e){t.endValue=e},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:t.getStatisticalProductPage}},[t._v("查询")])],1),a("div",{staticClass:"title"},[t._v("账单汇总")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"productIcon",fn:function(t){return a("span",{},[a("img",{staticStyle:{width:"100px"},attrs:{src:t,alt:""}})])}}])},[a("span",{attrs:{slot:"productName"},slot:"productName"}),a("span",{attrs:{slot:"productStatisticalQuantity"},slot:"productStatisticalQuantity"})])],1)},o=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),s={name:"consumptionStatistics",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=new Date(e,a,0).getDate().toString().length>1?new Date(e,a,0).getDate():"0"+new Date(e,a,0).getDate();this.startTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.getStatisticalProductPage()},methods:{moment:i.a,disabledStartDate:function(t){var e=this.endValue;return!(!t||!e)&&(t.valueOf()>e.valueOf()||t.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(t){var e=this.startValue;return!(!t||!e)&&(e.valueOf()>t.valueOf()||t.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(t){t||(this.endOpen=!0)},handleEndOpenChange:function(t){this.endOpen=t},onChangeStartValue:function(t,e){this.startTime=e},onChangeEndValue:function(t,e){this.endTime=e},getStatisticalProductPage:function(){var t=this,e={startTime:"".concat(this.startTime," 00:00:00"),endTime:"".concat(this.endTime," 23:59:59"),pageNumber:10,currentPage:this.pagination.current};r["a"].post("/mingpay/v1/isv/order/statistical_product_page",e).then(function(e){0===e.data.resultCode?(t.dataSource=e.data.data.list,t.pagination.total=e.data.data.total):t.$message.error(e.data.message)})},handleTableChange:function(t,e,a){this.pagination.current=t.current,this.getStatisticalProductPage()}}},u=s,l=(a("5eee"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"2853fec8",null);e["default"]=d.exports}}]);
\ No newline at end of file
......@@ -111,8 +111,8 @@ export default {
},
getStatisticalProductPage () {
let SubsidyListData = {
startTime: this.startTime,
endTime: this.endTime,
startTime: `${this.startTime} 00:00:00`,
endTime: `${this.endTime} 23:59:59`,
pageNumber: 10,
currentPage: this.pagination.current
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment