Browse Source

删除多余console

remotes/origin/HEAD
songsong428 5 years ago
parent
commit
b3b59204ab
  1. 1
      components/user-agreement/user-agreement.vue
  2. 1
      pages/add-stroke/add-stroke.vue
  3. 1
      pages/apply-code/apply-code.vue
  4. 1
      pages/get-code/get-code.vue
  5. 1
      pages/index/index.vue
  6. 1
      pages/punch-the-clock/punch-the-clock.vue
  7. 2
      pages/sign/sign.vue
  8. 2
      pages/statistics/statistics.vue
  9. 2
      pages/user-code/user-code.vue

1
components/user-agreement/user-agreement.vue

@ -69,7 +69,6 @@ export default {
// //
serviceAgreement(){ serviceAgreement(){
console.log('用户服务协议')
uni.navigateToMiniProgram({ uni.navigateToMiniProgram({
appId: 'wx5b97b0686831c076', appId: 'wx5b97b0686831c076',
path: 'pages/preview/preview?sid=&fid=60774991254', path: 'pages/preview/preview?sid=&fid=60774991254',

1
pages/add-stroke/add-stroke.vue

@ -175,7 +175,6 @@ export default {
agree1, agree1,
agree2, agree2,
} = this; } = this;
console.log(startTime,endTime)
const params = { const params = {
param: { param: {
carNo, carNo,

1
pages/apply-code/apply-code.vue

@ -302,7 +302,6 @@ export default {
title: '图片提交成功', title: '图片提交成功',
duration: 1000, duration: 1000,
}); });
console.log(this.fileIdList);
},fail: (err) => { },fail: (err) => {
console.log('uploadImage fail', err); console.log('uploadImage fail', err);
uni.showModal({ uni.showModal({

1
pages/get-code/get-code.vue

@ -204,7 +204,6 @@ export default {
showToast('请确定是否为本人填写'); showToast('请确定是否为本人填写');
return; return;
} }
console.log('信息提交');
uni.reLaunch({ uni.reLaunch({
url: `/pages/index/index`, url: `/pages/index/index`,
}); });

1
pages/index/index.vue

@ -48,7 +48,6 @@ export default {
onlyFromCamera: true, onlyFromCamera: true,
scanType: ['qrCode', 'wxCode'], scanType: ['qrCode', 'wxCode'],
success: res => { success: res => {
console.log('res: ', res);
// //
if (res && res.path) { if (res && res.path) {
const pathArr = res.path.split('?scene='); const pathArr = res.path.split('?scene=');

1
pages/punch-the-clock/punch-the-clock.vue

@ -298,7 +298,6 @@
title: '图片提交成功', title: '图片提交成功',
duration: 1000, duration: 1000,
}); });
console.log(this.fileIdList);
},fail: (err) => { },fail: (err) => {
console.log('uploadImage fail', err); console.log('uploadImage fail', err);
uni.showModal({ uni.showModal({

2
pages/sign/sign.vue

@ -42,7 +42,6 @@ export default {
}, },
onLoad(options) { onLoad(options) {
console.log('options: ', options);
this.init(options); this.init(options);
this.getLocation(); this.getLocation();
}, },
@ -53,7 +52,6 @@ export default {
init(options) { init(options) {
try { try {
const query = formatQuery(decodeURIComponent(options.scene)); const query = formatQuery(decodeURIComponent(options.scene));
console.log('query: ', query);
const { d, t } = query; const { d, t } = query;
if (!d || !t) { if (!d || !t) {
uni.showToast({ uni.showToast({

2
pages/statistics/statistics.vue

@ -34,7 +34,6 @@ export default {
* @param {string} end 截止时间 yy-mm-dd * @param {string} end 截止时间 yy-mm-dd
*/ */
getData(start, end) { getData(start, end) {
console.log('start, end: ', start, end);
const startTime = const startTime =
this.$moment(start) this.$moment(start)
.startOf('day') .startOf('day')
@ -43,7 +42,6 @@ export default {
this.$moment(end) this.$moment(end)
.endOf('day') .endOf('day')
.format('x') - 0; .format('x') - 0;
console.log('startTime, endTime: ', startTime, endTime);
// //
this.getSchoolSignsData(startTime, endTime); this.getSchoolSignsData(startTime, endTime);
// //

2
pages/user-code/user-code.vue

@ -83,7 +83,6 @@ export default {
post() { post() {
if (!this.userInfo) return '学生'; if (!this.userInfo) return '学生';
let str = '学生'; let str = '学生';
console.log('this.userInfo.post: ', this.userInfo.post);
switch (this.userInfo.post) { switch (this.userInfo.post) {
case 0: case 0:
str = '学生'; str = '学生';
@ -163,7 +162,6 @@ export default {
this.getUserInfoData(params); this.getUserInfoData(params);
}, 100); }, 100);
} else { } else {
console.log('params: ', params);
this.userInfo = await this.getUserInfo(params); this.userInfo = await this.getUserInfo(params);
if (!this.userInfo.healthCodeList.length) { if (!this.userInfo.healthCodeList.length) {
showToast('健康码信息有误, 请重新生成'); showToast('健康码信息有误, 请重新生成');

Loading…
Cancel
Save