Przeglądaj źródła

清理控制台

Joe 3 lat temu
rodzic
commit
7cc74a75da

+ 0 - 1
src/components/PermissionContainer/index.vue

@@ -27,7 +27,6 @@ export default {
   async created() {
     try {
       this.pageStatus = await this.queryPageStatus(this.jiBieArr,this.type)
-      console.log('返回码',this.pageStatus)
     } catch (error) {
       console.log(error);
       this.pageStatus = 3  

+ 0 - 2
src/components/SelectDay/index.vue

@@ -169,7 +169,6 @@ export default {
           val = []
         }
         val = [...val]
-        console.log(val);
         this.$emit("update:day", val);
       },
     },
@@ -183,7 +182,6 @@ export default {
           val = []
         }
         val = [...val]
-        console.log(val);
         this.$emit("update:cycle", val);
       },
     },

+ 0 - 1
src/components/SelectDept/index.vue

@@ -297,7 +297,6 @@ export default {
         proArr.push(this.$store.dispatch("tagsView/delCachedView", view))
         // this.$store.dispatch("tagsView/delCachedView", view).then(() => {
         //   const { fullPath } = view;
-        //   console.log(fullPath);
         //   // this.$nextTick(() => {
         //   //   this.$router.replace({
         //   //     path: "/redirect" + fullPath,

+ 0 - 7
src/views/coupon/Coupon_CreateCoupon.vue

@@ -682,7 +682,6 @@ export default {
   name: "Coupon_CreateCoupon",
   data() {
     let validateOilNameList = (rule, value, callback) => {
-      console.log(value);
       if (value.length == 0) {
         callback(new Error("请选择优惠券的使用油品"));
         return;
@@ -912,7 +911,6 @@ export default {
        listInfo(this.addDateRange(this.queryForm, this.dateRangeCreatedDate))
         .then((res) => {
           if (res.code == 200) {
-            console.log(res);
             if (res.rows == null) {
               this.total = 0;
               this.couponList = [];
@@ -936,7 +934,6 @@ export default {
       let s = date.getDate().toString();
       m = "" + (m.length == 1 ? "0" : "") + m;
       s = "" + (s.length == 1 ? "0" : "") + s;
-      console.log("" + h + ":" + m + ":" + s);
       return "" + y + ":" + m + ":" + s;
     },
     availableControlChange() {
@@ -945,7 +942,6 @@ export default {
       this.createForm = { ...this.createForm };
     },
     handleMoveLabel(direction, row) {
-      console.log(row);
       if (this.createForm.verificationList == null) {
         this.createForm.verificationList = [];
       }
@@ -1021,7 +1017,6 @@ export default {
       listInfo(this.queryForm)
         .then((res) => {
           if (res.code == 200) {
-            console.log(res);
             if (res.rows == null) {
               this.total = 0;
               this.couponList = [];
@@ -1084,10 +1079,8 @@ export default {
       val.map((ele) => {
         changeArr.push(ele.deptId);
       });
-      console.log(changeArr);
       this.moveLeftData = [];
       this.moveRightData = changeArr;
-      // console.log(this.moveRightData);
       this.$refs.rightTable.clearSelection();
     },
     handleRightChange(val) {

+ 2 - 11
src/views/coupon/Coupon_CreateIssue.vue

@@ -854,11 +854,7 @@ export default {
     VueClipboard: VueClipboard,
   },
   created() {
-    console.log("哈哈");
-    console.log("settings", settings);
-    // this.init();
-    this.getCoupon();
-    this.getIssueList();
+    this.init();
   },
   computed: {
     toggleable() {
@@ -890,7 +886,6 @@ export default {
       let s = date.getDate().toString();
       m = "" + (m.length == 1 ? "0" : "") + m;
       s = "" + (s.length == 1 ? "0" : "") + s;
-      console.log("" + h + ":" + m + ":" + s);
       return "" + y + ":" + m + ":" + s;
     },
   },
@@ -922,7 +917,6 @@ export default {
         settings.baseURL + this.deptId + "/" + trimEqualStr;
     },
     downloadImg() {
-      console.log("");
     },
     translateTime(row) {
       let timeString = "";
@@ -997,7 +991,6 @@ export default {
       this.createForm = { ...this.createForm };
     },
     handleMoveLabel(direction, row) {
-      console.log(row);
       if (this.createForm.couponIssueRelationList == null) {
         this.createForm.couponIssueRelationList = [];
       }
@@ -1083,10 +1076,8 @@ export default {
       val.map((ele) => {
         changeArr.push(ele.id);
       });
-      console.log(changeArr);
       this.moveLeftData = [];
       this.moveRightData = changeArr;
-      // console.log(this.moveRightData);
       this.$refs.rightTable.clearSelection();
     },
     handleRightChange(val) {
@@ -1102,6 +1093,7 @@ export default {
       this.getOilList();
       this.getCoupon();
       this.getVerificationList();
+      this.getIssueList();
     },
     // 取消按钮
     cancel() {
@@ -1169,7 +1161,6 @@ export default {
 
     /** 提交按钮 */
     submitForm() {
-      console.log(123);
       this.$refs["dialogForm"].validate((valid) => {
         if (valid) {
           if (!!this.createForm.id) {

+ 0 - 1
src/views/coupon/Coupon_Grant.vue

@@ -32,7 +32,6 @@ export default {
         return;
       }
       if (start >= end) {
-        console.log(start, end);
         callback(new Error("请检查数字逻辑有效性"));
         return;
       }

+ 0 - 2
src/views/coupon/Coupon_Statistics/issue.vue

@@ -480,8 +480,6 @@ export default {
     },
      /** 查看优惠券信息 */
     handlequeryCouponUserList(row) {
-      console.log(row);
-      console.log(this.queryCouponUserFrom.issueId);
       this.queryCouponUserFrom.issueId=row;
         
      queryCouponUserList(

+ 0 - 2
src/views/coupon/Coupon_Statistics/model.vue

@@ -476,7 +476,6 @@ export default {
       listInfo(this.queryForm)
         .then((res) => {
           if (res.code == 200) {
-            console.log(res);
             if (res.rows == null) {
               this.total = 0;
               this.couponList = [];
@@ -535,7 +534,6 @@ export default {
        listInfo(this.addDateRange(this.queryForm, this.dateRangeCreatedDate))
         .then((res) => {
           if (res.code == 200) {
-            console.log(res);
             if (res.rows == null) {
               this.total = 0;
               this.couponList = [];

+ 3 - 11
src/views/coupon/Coupon_Statistics1.vue

@@ -839,11 +839,8 @@ export default {
     VueClipboard: VueClipboard,
   },
   created() {
-    console.log("哈哈");
-    console.log("settings", settings);
-    // this.init();
-    this.getCoupon();
-    this.getIssueList();
+    this.init();
+    
   },
   computed: {
     toggleable() {
@@ -875,7 +872,6 @@ export default {
       let s = date.getDate().toString();
       m = "" + (m.length == 1 ? "0" : "") + m;
       s = "" + (s.length == 1 ? "0" : "") + s;
-      console.log("" + h + ":" + m + ":" + s);
       return "" + y + ":" + m + ":" + s;
     },
   },
@@ -907,7 +903,6 @@ export default {
         settings.baseURL + this.deptId + "/" + trimEqualStr;
     },
     downloadImg() {
-      console.log('');
     },
     translateTime(row) {
       let timeString = "";
@@ -982,7 +977,6 @@ export default {
       this.createForm = { ...this.createForm };
     },
     handleMoveLabel(direction, row) {
-      console.log(row);
       if (this.createForm.couponIssueRelationList == null) {
         this.createForm.couponIssueRelationList = [];
       }
@@ -1068,10 +1062,8 @@ export default {
       val.map((ele) => {
         changeArr.push(ele.id);
       });
-      console.log(changeArr);
       this.moveLeftData = [];
       this.moveRightData = changeArr;
-      // console.log(this.moveRightData);
       this.$refs.rightTable.clearSelection();
     },
     handleRightChange(val) {
@@ -1087,6 +1079,7 @@ export default {
       this.getOilList();
       this.getCoupon();
       this.getVerificationList();
+      this.getIssueList();
     },
     setPageStatus() {
       this.queryPageStatus([2]).then((res) => {
@@ -1159,7 +1152,6 @@ export default {
 
     /** 提交按钮 */
     submitForm() {
-      console.log(123);
       this.$refs["dialogForm"].validate((valid) => {
         if (valid) {
           if (!!this.createForm.id) {

+ 0 - 1
src/views/customer/Customer_Grade.vue

@@ -141,7 +141,6 @@ export default {
         return;
       }
       if (start >= end) {
-        console.log(start, end);
         callback(new Error("请检查数字逻辑有效性"));
         return;
       }

+ 0 - 1
src/views/customer/manage/index.vue

@@ -188,7 +188,6 @@ export default {
     /** 查询客户管理列表 */
     getList() {
       listManage(this.queryParams).then(response => {
-        console.log("response",response);
         this.manageList = response.rows;
         this.total = response.total;
       });

+ 0 - 6
src/views/dev/Dev_Test copy 2.vue

@@ -771,10 +771,6 @@ export default {
       this.updateForm = { ...this.updateForm };
     },
     test(e) {
-      console.log("---");
-      console.log(e);
-      console.log(123);
-      console.log(this.testd);
     },
     init() {
       listPrice().then((response) => {
@@ -861,7 +857,6 @@ export default {
       });
     },
     discountSettingChang(e) {
-      console.log(e);
       this.discountSetting = e;
       this.getList();
     },
@@ -928,7 +923,6 @@ export default {
           // 阶梯直降
           if(this.discountSetting == "4"){
             addMarketPlanInfo(this.updateForm).then((res) => {
-              console.log("哈哈112",res);
             }).then((res) => {
               this.msgSuccess("新增成功");
               this.openDialog = false;

+ 0 - 1
src/views/dev/Dev_Test copy.vue

@@ -734,7 +734,6 @@ export default {
       });
     },
     discountSettingChang(e) {
-      console.log(e);
       this.discountSetting = e;
       this.getList();
     },

+ 0 - 6
src/views/dev/Dev_Test.vue

@@ -1069,10 +1069,6 @@ export default {
       this.updateForm = { ...this.updateForm };
     },
     test(e) {
-      console.log("---");
-      console.log(e);
-      console.log(123);
-      console.log(this.testd);
     },
     init() {
       listPrice().then((response) => {
@@ -1228,10 +1224,8 @@ export default {
                 this.updateForm.collectClickDay.toString();
             }
           }
-          console.log("发送了1");
           // 阶梯直降
           if (this.discountSetting == "4") {
-            console.log("发送了2");
             addMarketPlanInfo(this.updateForm)
               .then((res) => {
                 this.msgSuccess("新增成功");

+ 0 - 1
src/views/dzk/Dzk_RuleList.vue

@@ -202,7 +202,6 @@ export default {
           timeString += this.timeSelect[discountTimeType][ele] + "、";
         });
       } else if (discountTimeType == 3) {
-        console.log(this.sumForm.discountTime);
         timeString += this.sumForm.discountTime.toString();
       }
 

+ 0 - 1
src/views/label/Label_AddLabel.vue

@@ -404,7 +404,6 @@ export default {
       // // const iconUrl = this.$refs['Qrcode'].$el.src
       // const a = document.createElement('a')
       // const event = new MouseEvent('click')
-      // console.log()
       // a.download = '标签支付码'
       // a.href = iconUrl
       // a.dispatchEvent(event)

+ 0 - 3
src/views/label/Label_AddUser.vue

@@ -341,7 +341,6 @@ export default {
       };
     },
     clearRightQuery(labelId = this.rightQuery.labelId) {
-      console.log(this.rightQuery);
       this.rightQuery = {
         pageNum: 1,
         pageSize: 10,
@@ -407,8 +406,6 @@ export default {
     //     });
     // },
     toggleLabel() {
-      console.log(this.moveLeftData);
-      console.log(this.moveRightData);
       if (this.moveLeftData.length !== 0) {
         this.handleMoveLabel("left", 2, null, this.moveLeftData);
         return;

+ 0 - 1
src/views/label/Label_Batch.vue

@@ -893,7 +893,6 @@ export default {
         this.queryParams.secondBeginDate = this.searchParams.secondDate[0];
         this.queryParams.secondEndDate = this.searchParams.secondDate[1];
       }
-      console.log(this.queryParams);
       getLabelUser(this.queryParams).then((response) => {
         this.userList = response.rows;
         this.total = response.total;

+ 0 - 2
src/views/lng/Lng_GroupSet.vue

@@ -203,10 +203,8 @@ export default {
       }
     },
     submitForm(ele, index) {
-      console.log(12);
       updateInfo(ele)
         .then((res) => {
-          console.log(12);
           if (res.code == 200) {
             this.getLngSingle(ele.id, index).then((res) => {
               this.editFlag = false;

+ 0 - 7
src/views/market/Market_Discount.vue

@@ -849,10 +849,6 @@ export default {
       this.updateForm = { ...this.updateForm };
     },
     test(e) {
-      // console.log("---");
-      // console.log(e);
-      // console.log(123);
-      // console.log(this.testd);
     },
     init() {
       listPrice().then((response) => {
@@ -1061,11 +1057,8 @@ export default {
     /** 修改按钮操作 */
     handleUpdate(row) {
       const id = row.id;
-      console.log('--------',row);
       this.ladderUp = true;
       row = JSON.parse(JSON.stringify(row));
-       console.log(row);
-      console.log('this.updateForm.discountDate',this.updateForm.discountDate);
       if(row.discountType == 1||row.discountType == 2){
         row.collectClickCalendar = row.discountDate.split(',').filter(ele=>ele!=='').map(ele=>+ele)
         row.collectClickDay = [];

+ 0 - 2
src/views/overview/Overview_LngSummary.vue

@@ -268,7 +268,6 @@ export default {
   },
   created() {
     this.getData(0);
-    console.log('1111111111',this.jiBie)
   },
   methods: {
     /** 查询优惠劵管理列表 */
@@ -305,7 +304,6 @@ export default {
             return ele.oilType == '4'
           })[0]
           this.lngData = this.lngData == undefined ?  {} : this.lngData
-          console.log(this.lngData.orderLiters)
         }else{
           throw new Error("")
         }

+ 0 - 4
src/views/point/Point_RuleList.vue

@@ -160,7 +160,6 @@ export default {
 
       let timeString = "";
       const datePicker = this.sumForm.datePicker;
-      console.log("time", this.sumForm.datePickerTime);
 
       if (datePicker == 1) {
         timeString += "每周的";
@@ -176,7 +175,6 @@ export default {
           timeString += this.timeSelect[datePicker][ele] + "、";
         });
       } else if (datePicker == 3) {
-        console.log(this.sumForm.datePickerTime);
         timeString += this.sumForm.datePickerTime.toString();
       }
 
@@ -215,9 +213,7 @@ export default {
     getList() {
       //积分规则信息
       listRuleInfo(this.queryParams).then((response) => {
-        console.log("getList", response);
         this.ruleList = response.rows;
-        console.log(this.ruleList);
         this.total = response.total;
       });
     },

+ 0 - 4
src/views/station/Station_Employee.vue

@@ -319,8 +319,6 @@ export default {
   created() {
     const base = new Base64();
     const a = base.encode("12李哈哈");
-    console.log("加密", a);
-    console.log("解密", base.decode(a));
     this.init();
     this.setPageStatus();
   },
@@ -366,7 +364,6 @@ export default {
         stationId: this.deptId,
       }).then((response) => {
         this.allGunList = response.rows;
-        console.log('this.allGunList',this.allGunList);
       });
     },
     // 取消按钮
@@ -453,7 +450,6 @@ export default {
         cancelButtonText: "取消",
         type: "warning",
       }).then(() => {
-        console.log(123);
         delPersonnel(this.deletePersonnelId)
           .then(() => {
             this.getList();

+ 0 - 3
src/views/station/gun/index.vue

@@ -292,11 +292,9 @@ export default {
     onOilNameChang(e){
       let obj = {};
       if(e!=null &&e !=""){
-        console.log("e",e);
         obj = this.oilNameOptions.find((item)=>{//这里的userList就是上面遍历的数据源
           return item.oilName === e;//筛选出匹配数据
         });
-         console.log("obj",obj);
         if(obj.hasOwnProperty('oilName')){
           if(obj.oilName==="非油品"){
             this.form.oilGunType ="2";
@@ -305,7 +303,6 @@ export default {
           }
           if(obj.hasOwnProperty('oilPriceId')){
             // getPrice(obj.oilPriceId).then(response => {
-            //    console.log("objoilPriceId",response);
             //   this.form.oilPrice = response.data.oilPrice;
             // });
             this.queryOilPrice(obj.oilPriceId);

+ 0 - 1
src/views/station/manage/index.vue

@@ -306,7 +306,6 @@ export default {
         this.form.stationName = this.deptInfo.deptName;
         this.queryInfo.stationId = this.deptInfo.deptId;
         listGun(this.queryInfo).then((response) => {
-          console.log(response);
           this.checkList = response.rows;
         });
       } else {

+ 0 - 1
src/views/system/user/index.vue

@@ -918,7 +918,6 @@ export default {
           throw new Error("")
         }
         this.agent.value = rightDataPro.data
-        console.log(this.agent.value);
         return Promise.resolve()
 
       } catch (error) {