Commit 7f69c320 authored by wangwei's avatar wangwei

兼容修改

parent b2e202d8
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css><title>唱唱启蒙-后台</title><link href=/static/css/app.1295c42d8334d473da7d78ac3f2c8c0a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.6757c7f5405fb44fc806.js></script><script type=text/javascript src=/static/js/vendor.10deb8fe2556772a9df9.js></script><script type=text/javascript src=/static/js/app.f586b544c7f8cb775202.js></script></body><script>let el = document.getElementsByTagName("script"); <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css><title>唱唱启蒙-后台</title><link href=/static/css/app.1295c42d8334d473da7d78ac3f2c8c0a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.931152e26de6aa2df2bd.js></script><script type=text/javascript src=/static/js/vendor.10deb8fe2556772a9df9.js></script><script type=text/javascript src=/static/js/app.f586b544c7f8cb775202.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){ el.onerror = function(a,b,c){
console.log('error:',a,b,c); console.log('error:',a,b,c);
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var b,o,d,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(b in f)Object.prototype.hasOwnProperty.call(f,b)&&(e[b]=f[b]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=r(r.s=t[i]);return d};var a={},n={38:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"6bbd6a7944dc74fb93f9",1:"2b36079fc56c0b8a42ce",2:"7f8c090fd7fbafaa304b",3:"3fe4fc3fa37a3aa9eddc",4:"ea415ca6eb30f3c91073",5:"1dfbd226c7be6f1ab8e9",6:"190da1f60b71ebf0a857",7:"e95c3227533de3ac5156",8:"9e16f4375dc3631bc477",9:"5c38c9858097f57c7696",10:"5fc06d76ca543381e223",11:"b15bc850ddc303440463",12:"44941198164a3f15da8c",13:"edecd5f921f5d3e99ed6",14:"8b8cc6e4d490c43c947c",15:"bdbae22208fc16e23932",16:"b294b230cb8e08beb1cf",17:"c2389dfc86734a7b784d",18:"b93dda69bf2addbbd2d6",19:"1d113606515578161184",20:"83f450a1cdc9328f0383",21:"f1e38544b880f4e6cca7",22:"7bfda9a873ccfc84017d",23:"9e1b9a325903ba40e221",24:"656464b9d570014a9895",25:"09c710bebb4be89e3e9d",26:"8b97e8cefd38ca9bb0ba",27:"17f1ceab8e17519ecb63",28:"6ecc898a32606d748b0a",29:"055d27965a920f8217b4",30:"549675513e134f68aaf7",31:"6fbe14c92ea189069284",32:"4ce08b660340af0db1b1",33:"b7f8f2ca13fbbeeb998e",34:"5e103bf61edf3e714018",35:"449990e5c889cca5b170"}[e]+".js";var b=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(b);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=o,f.appendChild(t),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="/",r.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var b,o,d,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(b in f)Object.prototype.hasOwnProperty.call(f,b)&&(e[b]=f[b]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)d=r(r.s=t[i]);return d};var a={},n={38:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,r.nc&&t.setAttribute("nonce",r.nc),t.src=r.p+"static/js/"+e+"."+{0:"6bbd6a7944dc74fb93f9",1:"2b36079fc56c0b8a42ce",2:"7f8c090fd7fbafaa304b",3:"9cfda8a88808e429d072",4:"699f4ba57f9b9e1d6d98",5:"1dfbd226c7be6f1ab8e9",6:"190da1f60b71ebf0a857",7:"e95c3227533de3ac5156",8:"9e16f4375dc3631bc477",9:"5c38c9858097f57c7696",10:"5fc06d76ca543381e223",11:"b15bc850ddc303440463",12:"44941198164a3f15da8c",13:"edecd5f921f5d3e99ed6",14:"8b8cc6e4d490c43c947c",15:"bdbae22208fc16e23932",16:"b294b230cb8e08beb1cf",17:"c2389dfc86734a7b784d",18:"b93dda69bf2addbbd2d6",19:"1d113606515578161184",20:"83f450a1cdc9328f0383",21:"f1e38544b880f4e6cca7",22:"7bfda9a873ccfc84017d",23:"9e1b9a325903ba40e221",24:"656464b9d570014a9895",25:"09c710bebb4be89e3e9d",26:"8b97e8cefd38ca9bb0ba",27:"17f1ceab8e17519ecb63",28:"6ecc898a32606d748b0a",29:"055d27965a920f8217b4",30:"549675513e134f68aaf7",31:"6fbe14c92ea189069284",32:"4ce08b660340af0db1b1",33:"b7f8f2ca13fbbeeb998e",34:"5e103bf61edf3e714018",35:"449990e5c889cca5b170"}[e]+".js";var b=setTimeout(o,12e4);function o(){t.onerror=t.onload=null,clearTimeout(b);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return t.onerror=t.onload=o,f.appendChild(t),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="/",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css><title>唱唱启蒙-后台</title><link href=/static/css/app.a04789b8a6323e2a8d30c2341bf327d9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.8402b441869453547f3e.js></script><script type=text/javascript src=/static/js/vendor.aad21a7bb65c7aa25a4d.js></script><script type=text/javascript src=/static/js/app.e271b9696bb95981b293.js></script></body><script>let el = document.getElementsByTagName("script"); <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css><title>唱唱启蒙-后台</title><link href=/static/css/app.96cc09236001f3da77c3d125c269f575.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.4a7b80e26da72d8c30e7.js></script><script type=text/javascript src=/static/js/vendor.aad21a7bb65c7aa25a4d.js></script><script type=text/javascript src=/static/js/app.d1d6bd70f44c535f6e49.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){ el.onerror = function(a,b,c){
console.log('error:',a,b,c); console.log('error:',a,b,c);
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([23],{Uj1Q:function(t,e){},XxBP:function(t,e){},"sg/1":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("CCn6"),o=(s("+TkF"),{name:"dialogObj",props:["dialogObj"],data:function(){return{show:!1,id:"",title:"",loading:!0,form:{key:"no_lesson_date",value:"no_lesson_date",desc:[]},noLessonDate:[],rules:{noLessonDate:[{required:!0,message:"请选择日期",trigger:"change"}]},pickerOptions1:{disabledDate:function(t){return!(t.getTime()>Date.now())}}}},components:{page:s("kmJW").a},methods:{save:function(){var t=this;if(0!==this.noLessonDate.length){var e={key:this.form.key,value:this.form.value},s=this.form.desc||[];this.noLessonDate.length>0&&(s=s.concat(this.noLessonDate),s=this.dedupe(s)),e.desc=JSON.stringify(s),this.id?Object(i._52)(this.id,e).then(function(e){t.$message({type:"success",message:"新增成功!"}),t.noLessonDate=s,t.$emit("reflash"),t.show=!1}):Object(i._45)(e).then(function(e){t.$message({type:"success",message:"新增成功!"}),t.noLessonDate=s,t.$emit("reflash"),t.show=!1})}else this.$message({type:"error",message:"请选择不上课时间!"})},initDialog:function(){this.show=this.dialogObj.show,this.dialogObj.id&&(this.id=this.dialogObj.id),this.title=this.dialogObj.title,this.form.desc=this.dialogObj.desc,this.noLessonDate=this.form.desc,this.loading=!1},dedupe:function(t){return Array.from(new Set(t))}},watch:{dialogObj:{handler:function(){this.loading=!0,this.initDialog()},deep:!0},show:function(t){this.$emit("changeShow",t)}}}),n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t.title,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,"append-to-body":"",visible:t.show,width:"800px"},on:{"update:visible":function(e){t.show=e}}},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[s("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules}},[s("el-row",[s("el-col",{attrs:{span:4}},[s("label",[t._v("不上课日期")])]),t._v(" "),s("el-col",{attrs:{span:20}},[s("el-form-item",[s("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"dates","value-format":"yyyy-MM-dd","picker-options":t.pickerOptions1,placeholder:"选择日期"},model:{value:t.noLessonDate,callback:function(e){t.noLessonDate=e},expression:"noLessonDate"}})],1)],1)],1)],1),t._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){t.show=!1}}},[t._v("取 消")]),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("确 定")])],1)],1)])},staticRenderFns:[]};var a={name:"index",data:function(){return{dialogObj:{value:"",desc:"",show:!1,id:""},list:[],id:""}},components:{dialogCom:s("VU/8")(o,n,!1,function(t){s("Uj1Q")},"data-v-e9aa269a",null).exports},mounted:function(){this.getList()},methods:{changeShow:function(t){this.dialogObj.show=t},getList:function(){var t=this;Object(i._11)({key:"no_lesson_date"}).then(function(e){if(e.list.length>0){var s=e.list[0].desc;t.id=e.list[0].id,t.list=s?JSON.parse(s):[]}})},add:function(){this.dialogObj.title="添加不上课日期",this.dialogObj.desc=this.list||[],this.dialogObj.show=!0,this.list.length>0?this.dialogObj.id=this.id:this.dialogObj.id=""},edit:function(t){var e=this;Object(i._10)(t.id).then(function(t){e.dialogObj.title="修改不上课日期",e.dialogObj.desc=t.desc,e.dialogObj.show=!0})},del:function(t){var e=this;this.$confirm("此操作将删除该记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var s={key:"no_lesson_date",value:"no_lesson_date"},o=[];e.list.forEach(function(e){e!==t&&o.push(e)}),s.desc=JSON.stringify(o),Object(i._52)(e.id,s).then(function(t){e.$message({type:"success",message:"删除成功!"}),e.getList()})})}}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{classs:"noLesson"}},[s("el-row",{staticClass:"add-btn",attrs:{type:"flex",justify:"end"}},[s("el-col",{attrs:{span:6}},[t.$store.state.readonly?t._e():s("el-button",{attrs:{type:"success",plain:""},on:{click:t.add}},[t._v("添加不上课日期")])],1)],1),t._v(" "),s("div",{staticClass:"card"},t._l(t.list,function(e,i){return s("el-card",{key:i,attrs:{"body-style":{padding:"0px"}}},[s("span",{staticClass:"time"},[t._v(t._s(e))]),t._v(" "),s("div",{staticClass:"bottom clearfix"},[t.$store.state.deletePermission&&!t.$store.state.readonly?s("el-button",{staticClass:"button",attrs:{type:"text"},on:{click:function(s){t.del(e)}}},[t._v("删除")]):t._e()],1)])})),t._v(" "),s("dialog-com",{attrs:{dialogObj:t.dialogObj},on:{changeShow:t.changeShow,reflash:t.getList}})],1)},staticRenderFns:[]};var d=s("VU/8")(a,l,!1,function(t){s("XxBP")},"data-v-4c22ba2e",null);e.default=d.exports}}); webpackJsonp([22],{Uj1Q:function(t,e){},XxBP:function(t,e){},"sg/1":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("CCn6"),o=(s("+TkF"),{name:"dialogObj",props:["dialogObj"],data:function(){return{show:!1,id:"",title:"",loading:!0,form:{key:"no_lesson_date",value:"no_lesson_date",desc:[]},noLessonDate:[],rules:{noLessonDate:[{required:!0,message:"请选择日期",trigger:"change"}]},pickerOptions1:{disabledDate:function(t){return!(t.getTime()>Date.now())}}}},components:{page:s("kmJW").a},methods:{save:function(){var t=this;if(0!==this.noLessonDate.length){var e={key:this.form.key,value:this.form.value},s=this.form.desc||[];this.noLessonDate.length>0&&(s=s.concat(this.noLessonDate),s=this.dedupe(s)),e.desc=JSON.stringify(s),this.id?Object(i._52)(this.id,e).then(function(e){t.$message({type:"success",message:"新增成功!"}),t.noLessonDate=s,t.$emit("reflash"),t.show=!1}):Object(i._45)(e).then(function(e){t.$message({type:"success",message:"新增成功!"}),t.noLessonDate=s,t.$emit("reflash"),t.show=!1})}else this.$message({type:"error",message:"请选择不上课时间!"})},initDialog:function(){this.show=this.dialogObj.show,this.dialogObj.id&&(this.id=this.dialogObj.id),this.title=this.dialogObj.title,this.form.desc=this.dialogObj.desc,this.noLessonDate=this.form.desc,this.loading=!1},dedupe:function(t){return Array.from(new Set(t))}},watch:{dialogObj:{handler:function(){this.loading=!0,this.initDialog()},deep:!0},show:function(t){this.$emit("changeShow",t)}}}),n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t.title,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,"append-to-body":"",visible:t.show,width:"800px"},on:{"update:visible":function(e){t.show=e}}},[s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[s("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules}},[s("el-row",[s("el-col",{attrs:{span:4}},[s("label",[t._v("不上课日期")])]),t._v(" "),s("el-col",{attrs:{span:20}},[s("el-form-item",[s("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"dates","value-format":"yyyy-MM-dd","picker-options":t.pickerOptions1,placeholder:"选择日期"},model:{value:t.noLessonDate,callback:function(e){t.noLessonDate=e},expression:"noLessonDate"}})],1)],1)],1)],1),t._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){t.show=!1}}},[t._v("取 消")]),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("确 定")])],1)],1)])},staticRenderFns:[]};var a={name:"index",data:function(){return{dialogObj:{value:"",desc:"",show:!1,id:""},list:[],id:""}},components:{dialogCom:s("VU/8")(o,n,!1,function(t){s("Uj1Q")},"data-v-e9aa269a",null).exports},mounted:function(){this.getList()},methods:{changeShow:function(t){this.dialogObj.show=t},getList:function(){var t=this;Object(i._11)({key:"no_lesson_date"}).then(function(e){if(e.list.length>0){var s=e.list[0].desc;t.id=e.list[0].id,t.list=s?JSON.parse(s):[]}})},add:function(){this.dialogObj.title="添加不上课日期",this.dialogObj.desc=this.list||[],this.dialogObj.show=!0,this.list.length>0?this.dialogObj.id=this.id:this.dialogObj.id=""},edit:function(t){var e=this;Object(i._10)(t.id).then(function(t){e.dialogObj.title="修改不上课日期",e.dialogObj.desc=t.desc,e.dialogObj.show=!0})},del:function(t){var e=this;this.$confirm("此操作将删除该记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var s={key:"no_lesson_date",value:"no_lesson_date"},o=[];e.list.forEach(function(e){e!==t&&o.push(e)}),s.desc=JSON.stringify(o),Object(i._52)(e.id,s).then(function(t){e.$message({type:"success",message:"删除成功!"}),e.getList()})})}}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{classs:"noLesson"}},[s("el-row",{staticClass:"add-btn",attrs:{type:"flex",justify:"end"}},[s("el-col",{attrs:{span:6}},[t.$store.state.readonly?t._e():s("el-button",{attrs:{type:"success",plain:""},on:{click:t.add}},[t._v("添加不上课日期")])],1)],1),t._v(" "),s("div",{staticClass:"card"},t._l(t.list,function(e,i){return s("el-card",{key:i,attrs:{"body-style":{padding:"0px"}}},[s("span",{staticClass:"time"},[t._v(t._s(e))]),t._v(" "),s("div",{staticClass:"bottom clearfix"},[t.$store.state.deletePermission&&!t.$store.state.readonly?s("el-button",{staticClass:"button",attrs:{type:"text"},on:{click:function(s){t.del(e)}}},[t._v("删除")]):t._e()],1)])})),t._v(" "),s("dialog-com",{attrs:{dialogObj:t.dialogObj},on:{changeShow:t.changeShow,reflash:t.getList}})],1)},staticRenderFns:[]};var d=s("VU/8")(a,l,!1,function(t){s("XxBP")},"data-v-4c22ba2e",null);e.default=d.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{"3BAZ":function(e,t){},"89rD":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("CCn6"),r={name:"index",components:{page:a("kmJW").a},data:function(){return{nowPage:1,total:0,limit:10,refundTypeList:[{id:0,value:"退款中"},{id:1,value:"退款成功"},{id:2,value:"退款失败"}],searchFrom:{nickname:"",user_id:"",out_trade_no:"",status:1},list:[]}},filters:{filterStatus:function(e){var t="";return 0===e?t="退款中":1===e?t="退款成功":2===e&&(t="退款失败"),t}},mounted:function(){this.getRefundList()},methods:{editComment:function(e,t){var a=this;this.$prompt("编辑备注","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputType:"textarea",inputValue:t}).then(function(t){var r=t.value;Object(n.S)(e,"refund",{desc:r}).then(function(e){a.$message({type:"success",message:"编辑备注成功"}),a.getRefundList()})})},onPageChange:function(e){this.nowPage=e,this.getRefundList()},getRefundList:function(){var e=this,t={limit:this.limit,page:this.nowPage};this.searchFrom.nickname&&(t.nickname=this.searchFrom.nickname),this.searchFrom.user_id&&(t.user_id=this.searchFrom.user_id),this.searchFrom.status&&(t.status=this.searchFrom.status),this.searchFrom.out_trade_no&&(t.out_trade_no=this.searchFrom.out_trade_no),Object(n._28)(t).then(function(t){e.total=t.total,e.list=t.list})}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"refund"},[a("el-form",{ref:"searchFrom",attrs:{model:e.searchFrom,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:4}},[a("el-form-item",{attrs:{label:"用户昵称"}},[a("el-input",{model:{value:e.searchFrom.nickname,callback:function(t){e.$set(e.searchFrom,"nickname",t)},expression:"searchFrom.nickname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{model:{value:e.searchFrom.user_id,callback:function(t){e.$set(e.searchFrom,"user_id",t)},expression:"searchFrom.user_id"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"订单编号"}},[a("el-input",{model:{value:e.searchFrom.out_trade_no,callback:function(t){e.$set(e.searchFrom,"out_trade_no",t)},expression:"searchFrom.out_trade_no"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"退款状态"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.getRefundList},model:{value:e.searchFrom.status,callback:function(t){e.$set(e.searchFrom,"status",t)},expression:"searchFrom.status"}},e._l(e.refundTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.value,value:e.id}})}))],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getRefundList}},[e._v("搜索")])],1)],1)],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.list}},[a("el-table-column",{attrs:{prop:"refund_no",label:"退款编号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"订单号"}}),e._v(" "),a("el-table-column",{attrs:{label:"用户信息","min-width":"140",className:"userInfo"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v("\n "+e._s(t.row.user_nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"order_money",label:"订单金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(parseFloat(t.row.order_money/100))+"元\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"refund_money",label:"退款金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(parseFloat(t.row.refund_money/100))+"元\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"备注"}}),e._v(" "),a("el-table-column",{attrs:{label:"退款状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("filterStatus")(t.row.status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"success_at",label:"退款成功时间"}}),e._v(" "),e.$store.state.readonly?e._e():a("el-table-column",{attrs:{label:"操作","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"warning",plain:"",size:"mini"},on:{click:function(a){e.editComment(t.row.id,t.row.desc)}}},[e._v("\n 备注\n ")])]}}])})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total},on:{pageChange:e.onPageChange}})],1)},staticRenderFns:[]};var o=a("VU/8")(r,s,!1,function(e){a("ZZRF"),a("3BAZ")},"data-v-5d3a2641",null);t.default=o.exports},ZZRF:function(e,t){}});
\ No newline at end of file
webpackJsonp([23],{"89rD":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("CCn6"),s={name:"index",components:{page:a("kmJW").a},data:function(){return{nowPage:1,total:0,limit:10,refundTypeList:[{id:0,value:"退款中"},{id:1,value:"退款成功"},{id:2,value:"退款失败"}],searchFrom:{nickname:"",user_id:"",out_trade_no:"",status:1},list:[]}},filters:{filterStatus:function(e){var t="";return 0===e?t="退款中":1===e?t="退款成功":2===e&&(t="退款失败"),t}},mounted:function(){this.getRefundList()},methods:{editComment:function(e,t){var a=this;this.$prompt("编辑备注","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputType:"textarea",inputValue:t}).then(function(t){var s=t.value;Object(n.S)(e,"refund",{desc:s}).then(function(e){a.$message({type:"success",message:"编辑备注成功"}),a.getRefundList()})})},onPageChange:function(e){this.nowPage=e,this.getRefundList()},getRefundList:function(){var e=this,t={limit:this.limit,page:this.nowPage};this.searchFrom.nickname&&(t.nickname=this.searchFrom.nickname),this.searchFrom.user_id&&(t.user_id=this.searchFrom.user_id),this.searchFrom.status&&(t.status=this.searchFrom.status),this.searchFrom.out_trade_no&&(t.out_trade_no=this.searchFrom.out_trade_no),Object(n._28)(t).then(function(t){e.total=t.total,e.list=t.list})}}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"refund"},[a("el-form",{ref:"searchFrom",attrs:{model:e.searchFrom,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:4}},[a("el-form-item",{attrs:{label:"用户昵称"}},[a("el-input",{model:{value:e.searchFrom.nickname,callback:function(t){e.$set(e.searchFrom,"nickname",t)},expression:"searchFrom.nickname"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{model:{value:e.searchFrom.user_id,callback:function(t){e.$set(e.searchFrom,"user_id",t)},expression:"searchFrom.user_id"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"订单编号"}},[a("el-input",{model:{value:e.searchFrom.out_trade_no,callback:function(t){e.$set(e.searchFrom,"out_trade_no",t)},expression:"searchFrom.out_trade_no"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"退款状态"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.getRefundList},model:{value:e.searchFrom.status,callback:function(t){e.$set(e.searchFrom,"status",t)},expression:"searchFrom.status"}},e._l(e.refundTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.value,value:e.id}})}))],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getRefundList}},[e._v("搜索")])],1)],1)],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.list}},[a("el-table-column",{attrs:{prop:"refund_no",label:"退款编号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"订单号"}}),e._v(" "),a("el-table-column",{attrs:{label:"用户信息","min-width":"140",className:"userInfo"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v("\n "+e._s(t.row.user_nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"order_money",label:"订单金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(parseFloat(t.row.order_money/100))+"元\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"refund_money",label:"退款金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(parseFloat(t.row.refund_money/100))+"元\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"备注"}}),e._v(" "),a("el-table-column",{attrs:{label:"退款状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("filterStatus")(t.row.status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"success_at",label:"退款成功时间"}}),e._v(" "),e.$store.state.readonly?e._e():a("el-table-column",{attrs:{label:"操作","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"warning",plain:"",size:"mini"},on:{click:function(a){e.editComment(t.row.id,t.row.desc)}}},[e._v("\n 备注\n ")])]}}])})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total},on:{pageChange:e.onPageChange}})],1)},staticRenderFns:[]};var o=a("VU/8")(s,r,!1,function(e){a("Vs4R"),a("Gxpe")},"data-v-3cd77d0a",null);t.default=o.exports},Gxpe:function(e,t){},Vs4R:function(e,t){}});
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],c[d]&&u.push(c[d][0]),c[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(f&&f(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},c={38:0};function n(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,n){f=c[e]=[a,n]});f[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"0f0281942b1754cf2036",1:"ec058f132fa4ef734567",2:"2275d740982a076cdfee",3:"3d07f4456781d6e5864e",4:"f7de107bf23fce922b15",5:"24cb97512c5df41873a0",6:"7201f333724ae7207d35",7:"c0e52713574734ce9eac",8:"43ef010ade3aa570c553",9:"78c29459e992a1b88ff6",10:"0cd0bf42ee4108a9fc4e",11:"0771776c2f28a00b8c7e",12:"60880b2444730b12d5f9",13:"be980668183e06c728cb",14:"644247967e0164669b91",15:"2ddb0b7f8f224bd98d30",16:"8aa7df15d7c6023c91e9",17:"d36c227df20f24b057fd",18:"4932b628a6ccd1b17f1d",19:"a1254998e863eb38a42f",20:"d8772f9cd9eaf66f1255",21:"efc896bed1b7548d1c92",22:"d8e81f6783287edca353",23:"728316a6ffba92ff98c2",24:"6e890a3fd45dfdf319f6",25:"1176663a67ba615ed2e9",26:"3d3d07188480e23bfe4a",27:"09d5902f5c205fe68e54",28:"57a12e4534774690bc4f",29:"5515aea9714e07c41a4a",30:"85487149e2252439ff7e",31:"9b11f4d2b90dcb6f883c",32:"d79202a290e50051f4aa",33:"8d9f2464a40f09af60da",34:"33e4d8f2417f7e56d675",35:"e8463498b6f5bfcf0593"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,f,a){n.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(f,"a",f),f},n.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},n.p="/",n.oe=function(e){throw console.error(e),e}}([]); !function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var o,d,b,i=0,u=[];i<a.length;i++)d=a[i],c[d]&&u.push(c[d][0]),c[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(f&&f(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var a={},c={38:0};function n(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,n){f=c[e]=[a,n]});f[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"0f0281942b1754cf2036",1:"ec058f132fa4ef734567",2:"2275d740982a076cdfee",3:"d306fd5c300de139afe9",4:"f7de107bf23fce922b15",5:"24cb97512c5df41873a0",6:"79ee082ca1d54a2abf38",7:"c0e52713574734ce9eac",8:"43ef010ade3aa570c553",9:"78c29459e992a1b88ff6",10:"0cd0bf42ee4108a9fc4e",11:"0771776c2f28a00b8c7e",12:"86d5ed33585d878bf413",13:"be980668183e06c728cb",14:"644247967e0164669b91",15:"2ddb0b7f8f224bd98d30",16:"8aa7df15d7c6023c91e9",17:"d36c227df20f24b057fd",18:"4932b628a6ccd1b17f1d",19:"a1254998e863eb38a42f",20:"d8772f9cd9eaf66f1255",21:"efc896bed1b7548d1c92",22:"3d66b757999bf8e612aa",23:"1e3883f109896c8f1e04",24:"6e890a3fd45dfdf319f6",25:"1176663a67ba615ed2e9",26:"3d3d07188480e23bfe4a",27:"09d5902f5c205fe68e54",28:"57a12e4534774690bc4f",29:"5515aea9714e07c41a4a",30:"85487149e2252439ff7e",31:"9b11f4d2b90dcb6f883c",32:"d79202a290e50051f4aa",33:"8d9f2464a40f09af60da",34:"33e4d8f2417f7e56d675",35:"e8463498b6f5bfcf0593"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,f,a){n.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(f,"a",f),f},n.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},n.p="/",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
display: flex; display: flex;
height: 100%; height: 100%;
.router-block{ .router-block{
flex: 1; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
.child-view{ .child-view{
......
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