From 904f83274ff6aa13378864732c9070b1ebe6eff3 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Fri, 6 Aug 2021 17:03:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Login.vue | 7 +------ src/views/customer/AddCustomer.vue | 1 - src/views/customer/customer.vue | 1 - src/views/order/AddOrder.vue | 11 ----------- src/views/order/Order.vue | 4 ---- src/views/user/User.vue | 3 --- 6 files changed, 1 insertion(+), 26 deletions(-) diff --git a/src/views/Login.vue b/src/views/Login.vue index 83da3f9..1691d6a 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -198,7 +198,7 @@ export default { }); localStorage.setItem('ms_username', this.param.username); }).catch(err => { - console.log(err,'reserr'); + console.log(err,'res-err'); if(err.status===30001){ this.phoneVisible = true }else if(err.status == 10004){ @@ -223,14 +223,11 @@ export default { this.verificationIMG = this.api.verification+'?random='+`${this.param.random}` }, phoneBlur(){ - console.log(this.phoneOrEmail.account,'this.phoneOrEmail.account'); if(!this.phoneOrEmail.account){ return this.PhoneVerificationIMG = '' } - console.log(123,'後續'); this.phoneOrEmail.random = Math.floor(Math.random()*999999999) this.PhoneVerificationIMG = this.api.verification+'?random='+`${this.phoneOrEmail.random}` - console.log(this.PhoneVerificationIMG,'this.PhoneVerificationIMG'); }, handleSelect(val){ this.activeIndex = val @@ -243,7 +240,6 @@ export default { types: 2 } this.$post(this.api.sendPhoneOrEmailCode,data).then(res => { - console.log(res,'当前绑定手机否'); this.phoneCountdown()// 倒计时 if(res.message.opener){ this.phoneOpener = res.message.opener @@ -281,7 +277,6 @@ export default { if(!this.phoneTimer){ this.phoneDisabled = true this.phoneTimer = setInterval(() => { - console.log('倒计时中') if(count > 0){ count-- this.phoneBtnText = `${count}秒后重试` diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index bfcfa99..6012266 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -577,7 +577,6 @@ export default { }, showContract(row){ if(!row.contractFile) return this.$message.warning('文件链接无效') - console.log(row.contractFile,'f'); let type = row.contractFile.split('.').pop() let img = ['jpg','gif','png','jepg'] diff --git a/src/views/customer/customer.vue b/src/views/customer/customer.vue index c8e3c81..1dcb4e8 100644 --- a/src/views/customer/customer.vue +++ b/src/views/customer/customer.vue @@ -133,7 +133,6 @@ export default { }, }, mounted() { - console.log(111,localStorage.getItem('token')) this.getData() this.getProvince() }, diff --git a/src/views/order/AddOrder.vue b/src/views/order/AddOrder.vue index 80e7866..5f4e3f5 100644 --- a/src/views/order/AddOrder.vue +++ b/src/views/order/AddOrder.vue @@ -684,7 +684,6 @@ export default { if(this.renewDisabled){/* 处于续费 */ let end = Date.parse(e.endTime); let now = +new Date() - console.log(end,now,'时间'); if(now{ - console.log(res,'调用查询接口'); this.dataPlatform.map(e=>{ res.orderOthers.map(el=>{ if(el.dataOrCourseId === e.dataOrCourseId){ @@ -998,7 +996,6 @@ export default { }, // 权限switch切换--计算天数 formSwitch (e,row) { - console.log(e,row,'switch切换'); }, // 数据平台--发货 deliverGoods (e,row) { @@ -1018,7 +1015,6 @@ export default { let day = nowDate.getDate(); let month = nowDate.getMonth() + 1; let year = nowDate.getFullYear(); - console.log(nowDate,'nowdata'); if(this.renewDisabled||row.renew){/* 处于续费状态 */ if(!e) return row.endTime = '' @@ -1026,10 +1022,7 @@ export default { let renewY = arr.shift()/* 年 */ let renewM = arr.shift()/* 月 */ let renewD = arr.shift()/* 日 */ - console.log(renewY,renewM,renewD,'拆分时间'); let endYear = +renewY + (parseInt((+renewM+(+e))/13)===0?0:parseInt((+renewM+(+e))/12))+ char + completeDate((+renewM+(+e))%12) + char + renewD; - // console.log((parseInt((+renewM(+e))/12)===0?0:parseInt((+renewM+(+e))/12)),renewY,'看下时间计算', +renewY + (parseInt((+renewM+(+e))/12)===0?0:parseInt((+renewM+(+e))/12))); - console.log(parseInt((+renewM+(+e))/13),'计算整除的年份',12/13,'+renewM+(+e)'); row.endTime = endYear // 计算剩余天数 @@ -1249,7 +1242,6 @@ export default { const size = file.size / 1024 / 1024 < 10; let type = file.name.split('.').pop() let str = ["jpg","jepg","gif","png","doc","docx","pdf"].includes(type.toLowerCase()) - console.log(type,str,'类型判断'); if(!str){ this.$message.error('只能上传图片,word文件和pdf文件!') }else if (!size) { @@ -1260,7 +1252,6 @@ export default { }, // 上传成功 uploadSuccess(response, file, fileList) { - console.log(file,'上传构子',response,); this.contract.contractFile = response.filesResult.fileUrl }, // 上传报错 @@ -1273,7 +1264,6 @@ export default { }, // 删除上传文件前的确认 beforeRemove(file, fileList) { - console.log(file,'删除钩子'); let type = file.name.split('.').pop() let str = ["jpg","jepg","gif","png","doc","pdf"].includes(type.toLowerCase()) const size = file.size / 1024 / 1024 < 10; @@ -1305,7 +1295,6 @@ export default { boolean = false } }) - console.log(boolean); return boolean } diff --git a/src/views/order/Order.vue b/src/views/order/Order.vue index d1a428e..d31ccb9 100644 --- a/src/views/order/Order.vue +++ b/src/views/order/Order.vue @@ -157,8 +157,6 @@ export default { if(val.length>5){ val = 5 } - console.log(this.value1,'value1'); - console.log(val,'val'); }, getData() { @@ -172,7 +170,6 @@ export default { provinceId: this.form.provinces, } this.$post(this.api.orderList,data).then(res => { - console.log(res,'list'); res.orderPage.orders.forEach(e => { e.orderType = this.orderTypeFn(e.orderType) e.orderStatus = this.orderStatusFn(e.orderStatus) @@ -231,7 +228,6 @@ export default { return row.orderId; }, handleSelectionChange(val) { - console.log(val,'xuan'); if(val.length>0){ this.multipleSelection = val.map(e=>e.orderId); }else{ diff --git a/src/views/user/User.vue b/src/views/user/User.vue index 08e216a..f450709 100644 --- a/src/views/user/User.vue +++ b/src/views/user/User.vue @@ -339,14 +339,11 @@ export default { }).catch(res => {}) }, handleSelectionChange(val) { - this.multipleSelection = val.filter(e=>{ if(e.userId===1){ } }) - - console.log(val,'val'); }, delAllSelection() { if(this.multipleSelection.length != ''){