73

parent 94e93dd6
<!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_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.4a59b6edeed1f0cbf3a1.js></script><script type=text/javascript src=/static/js/vendor.c75c8ffdd44fcdb01df5.js></script><script type=text/javascript src=/static/js/app.34906f6c5b6497f69e87.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_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.2fe2b2f07025e133343f.js></script><script type=text/javascript src=/static/js/vendor.c75c8ffdd44fcdb01df5.js></script><script type=text/javascript src=/static/js/app.34906f6c5b6497f69e87.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 diff is collapsed.
This diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={60:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"74a3a1303c531557ec12",1:"e23c25c314cd8764e454",2:"eed81df9e44db4ab4d20",3:"15ed37fa9e5c5333dfd1",4:"acdd51ee0798c7c95813",5:"7ff758fa4f3c89e6df26",6:"4e8662f3abdc372b59c6",7:"01b632ae31bd4fc57445",8:"fcc3e438d4d28783421b",9:"70d497f94419c6d6110a",10:"185ea3eaf375a6fd482f",11:"a20981d23d1ed2e0b5f5",12:"66ce7a4dc011eb28911f",13:"a7138adf89baca9a4c48",14:"1b25f8632e3fa0dd173b",15:"72a6ad4d03fd7a5d78fc",16:"546865e903030cdea995",17:"92b6c3adf6088387a0f6",18:"903298e6358ceb8b5e74",19:"3281e71e9c3116197075",20:"d20de4412ffc1a41b262",21:"c64c0c82206f3558364d",22:"18d7a43198314ab94928",23:"350418cd110ae61d7dff",24:"3e3913baaaf6aab03dda",25:"62b76ef63d8020995954",26:"f7bdf5ee95c5c829d12b",27:"af9dea51397e51a523ba",28:"ddcb3a6fd32ce9fc92af",29:"0f906cb3cbf29136c5fd",30:"5f9083c3421a002e284c",31:"bc4d807082b528f47fa5",32:"524401c3ef0ed5737bdb",33:"279bcecb6a73bc0fe1ab",34:"69c42593fef8a275a654",35:"be27b1d353d28841f659",36:"22ad4a1c195576bd4155",37:"f72ceaed4d1903b79ef6",38:"aa791465950f8c547f3c",39:"4ac4a0192ad1bae8d022",40:"c635cc8fa9ef31e2af6f",41:"f5cbc80a06389832a034",42:"f9ac6f612b2e7298b0c5",43:"0376234624e24e166ef4",44:"5d3c70a5dc861b18eaa6",45:"48c97c63c57bef6413fd",46:"b78b00346c5632dd0303",47:"54fa3afbc1c6727bca31",48:"6d91b7fa38edc89db631",49:"0f034f5a181a0cdf3f6d",50:"82bb387148b6e4c12d0b",51:"66b4747776e993b7574b",52:"4021bbd0503e8dfe5b72",53:"16597f1a70c8d009b515",54:"3f63b26b349207411405",55:"56e321d86a9b29935930",56:"d4bdef192885f642498d",57:"7702daad8380fdc8be16"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="/",d.oe=function(e){throw console.error(e),e}}([]);
\ 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_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.2012e17afb023097e5a27789f3aea03e.css rel=stylesheet></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.3d19acaf67b3e2926d1f.js></script><script type=text/javascript src=/static/js/vendor.6c7b37f6719c90d0cedf.js></script><script type=text/javascript src=/static/js/app.12007ff8ede2fb9504e7.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_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.710565334ec5d3a76aa3293808a711d0.css rel=stylesheet></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.320e30b74db5e7b11c41.js></script><script type=text/javascript src=/static/js/vendor.6c7b37f6719c90d0cedf.js></script><script type=text/javascript src=/static/js/app.12007ff8ede2fb9504e7.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 diff is collapsed.
This diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={60:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"bfdac945f13497855b05",1:"877b4f862e2093735e90",2:"e9a13c672f824b307d44",3:"d86879078699f3936aac",4:"9dc04cff4d6c43ebf693",5:"02f3600a7d77789f5703",6:"f60b7580d38820fdd697",7:"32067484cbc9a018ac73",8:"49bdbf50f9d74e5a98cc",9:"2385217450291392ae13",10:"1b22a1a64fb980fc7833",11:"e82bc4b66955e231402e",12:"0f137637e2abc24bd6b0",13:"712a8d7b433db74cd25a",14:"a9fd1b22058fac1a00bb",15:"eac9302a3680e17b8547",16:"dccab9ff2a2fdcaf31ed",17:"b61fa4df7ca57bb953ba",18:"b0af4519b142de11c68f",19:"a87966882918665eebac",20:"9e34aefea0191cb61842",21:"467bb031fef3ba7ab5b9",22:"aa9a88f80d01dd9bb12d",23:"3cdaa717e7ac9de9de1c",24:"61dc701dfa2c14b8deca",25:"610f2bc976dd41176652",26:"d1a032a980bb704625af",27:"5fbcf36849b1a8493513",28:"6ea767ac9338b1f58cdf",29:"a756a22d4991f53da769",30:"cc3f6ff3bd50b073181e",31:"1c3f1b652018be655519",32:"13aeed2b28479896ee91",33:"4687e68f1d4eb3ff0e10",34:"442040847633de6a63ba",35:"79f4db5f2b19965b208a",36:"bfd0ac6a396bd4e02930",37:"f9d3165dc95a5a46c0d6",38:"fc64ab327fc55e4b6822",39:"ccb1f7e46236bf754502",40:"167db633e27cb4241027",41:"5aad612bc520e8ee994f",42:"bf7d4898f0d2e816ff36",43:"118664f1493b0a707dff",44:"6c8cd78aa7179b01cb1b",45:"de4e2b13e8c359cb1b54",46:"b02fbd7ffb8ad3fe5f16",47:"5e94d434e28fa71416fc",48:"1c0335f069c1ffd0f346",49:"55513c59ea3c8bbdcb3c",50:"a74836ae4641b53af395",51:"e36985c8d3748e66e45c",52:"b6197bc2c9963bf695cf",53:"b3a32bd32e26116e4ecb",54:"fcac3a6ac265ec7d3e13",55:"7d0fa53037e4dd08e029",56:"1e02089e3862add69fa6",57:"c0d13adfc84a24eb8574"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
let filtered = list.filter((item) => { let filtered = list.filter((item) => {
return item.value === value return item.value === value
}) })
// console.log(value) console.log(value)
// console.log(list,75) // console.log(list,75)
// console.log(filtered) // console.log(filtered)
return filtered[0].children return filtered[0].children
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
mounted() { mounted() {
let vm = this let vm = this
vm.show = vm.showAddressPicker vm.show = vm.showAddressPicker
console.log(88) console.log(this.form)
}, },
computed: { computed: {
cities: function () { cities: function () {
...@@ -137,36 +137,37 @@ ...@@ -137,36 +137,37 @@
}, },
name: { name: {
handler: function (val) { handler: function (val) {
this.$emit('change', val); console.log(val)
// console.log(this.name) // this.$emit('change', val);
// console.log(this.city)
// if(this.province){ // if(this.province){
// this.form.province = this.province // this.form.province = this.province
// } // }
console.log(this.form) // if(this.city){
if(this.city){ // this.form.city = this.city
this.form.city = this.city
}
if(this.district){
this.form.district = this.district
}
if(this.detail){
this.form.detail = this.detail
}
if(this.name){
this.form.name = this.name
}
if(this.mobile){
this.form.mobile = this.mobile
}
// this.form={
// province: this.province,
// city: this.city,
// district: this.district,
// detail: this.detail,
// name: this.name,
// mobile: this.mobile
// } // }
// if(this.district){
// this.form.district = this.district
// }
// if(this.detail){
// this.form.detail = this.detail
// }
// if(this.name){
// this.form.name = this.name
// }
// if(this.mobile){
// this.form.mobile = this.mobile
// }
// console.log(this.form)
this.form={
province: this.province,
city: this.city,
district: this.district,
detail: this.detail,
name: this.name,
mobile: this.mobile
}
console.log(this.form)
}, },
deep: true deep: true
} }
...@@ -177,10 +178,12 @@ ...@@ -177,10 +178,12 @@
this.form.city = ''; this.form.city = '';
this.form.district = ''; this.form.district = '';
} }
console.log(this.form) // console.log(this.val)
// console.log(this.oldVal)
// console.log(this.form)
this.form.city = this.cities[0].value; this.form.city = this.cities[0].value;
this.form.district = this.districts[0].value; this.form.district = this.districts[0].value;
console.log(this.province)
}, },
cityChange: function (val, oldVal) { cityChange: function (val, oldVal) {
this.form.district = this.districts[0].value; this.form.district = this.districts[0].value;
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<vue-address :province="form.province_name" :city="form.city" :district="form.area" :detail="form.address" :mobile="form.receive_mobile" :name="form.receive_name" @change="handlerAddressChange"> <vue-address :province="form.province" :city="form.city" :district="form.district" :detail="form.address" :mobile="form.receive_mobile" :name="form.receive_name" @change="handlerAddressChange">
</vue-address> </vue-address>
</el-col> </el-col>
</el-row> </el-row>
...@@ -224,7 +224,6 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -224,7 +224,6 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
buy_type:"", buy_type:"",
invite_id:"", invite_id:"",
desc:"", desc:"",
province_name:"", province_name:"",
city:"", city:"",
area:"", area:"",
...@@ -237,7 +236,6 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -237,7 +236,6 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
receive_name:"", receive_name:"",
order_type:"", order_type:"",
pay_at:"", pay_at:"",
}, },
goodsList:[], goodsList:[],
periodsList:[], periodsList:[],
...@@ -331,11 +329,10 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -331,11 +329,10 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
setOrderApi(json).then(res=>{ setOrderApi(json).then(res=>{
this.newdialogObj.show=false this.newdialogObj.show=false
this.$emit("reflash"); this.$emit("reflash");
this.$message({
this.$message({ message: '添加成功',
message: '添加成功', type: 'success'
type: 'success' });
});
}) })
}else{ }else{
this.$message({ this.$message({
...@@ -353,6 +350,7 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -353,6 +350,7 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
if(!val.province || !val.city || !val.district){ if(!val.province || !val.city || !val.district){
return return
} }
console.log(val)
this.form.address = val.detail; this.form.address = val.detail;
this.form.province = val.province; this.form.province = val.province;
this.form.city = val.city; this.form.city = val.city;
...@@ -437,6 +435,27 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -437,6 +435,27 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
if(val){ if(val){
this.getGoodsOption(); this.getGoodsOption();
this.getTeacherList(); this.getTeacherList();
// this.form={
// periods_id:"",
// goods_id:"",
// user_id:"",
// money:"",
// buy_type:"",
// invite_id:"",
// desc:"",
// province_name:"",
// city:"",
// area:"",
// city_name:"",
// district_name:"",
// district:"",
// province:"",
// address:"",
// receive_mobile:"",
// receive_name:"",
// order_type:"",
// pay_at:"",
// };
} }
} }
}, },
......
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