twt 5 months ago
parent
commit
5cbcf226af
3 changed files with 9 additions and 9 deletions
  1. 5 5
      common/request.js
  2. 3 3
      pages/index/car.vue
  3. 1 1
      pages/index/index.vue

+ 5 - 5
common/request.js

@@ -1,15 +1,15 @@
 //测试地址
- const baseUrl = 'http://dms.66km.com.cn/'
+ //const baseUrl = 'http://api.dms.66km.com.cn/'
 //const baseUrl = 'http://192.168.0.10:20187/'
-const configUrl='http://qw.66km.com.cn/' 
+//const configUrl='http://qw.66km.com.cn/' 
 //正式地址
 
 //66 dmsqw.66km.com 
-/* const baseUrl = 'http://apidms.66km.com/'
+ /* const baseUrl = 'http://apidms.66km.com/'
 const configUrl='http://dmsqw.66km.com/' */
 //欧洲维修
-/* const baseUrl = 'https://crm.eurorepar.cn/'
-const configUrl='http://dmshf.eurorepar.cn/'  */
+const baseUrl = 'https://crm.eurorepar.cn/'
+const configUrl='http://dmshf.eurorepar.cn/'  
 
 const http = (url = '', date = {}, type = 'POST', header = {
 }) => {

+ 3 - 3
pages/index/car.vue

@@ -78,8 +78,8 @@
 							
 						</view>
 					</view>
-					<view class="" style="border-top: 1px solid #EEEEEE;">
-						<view class="lineTop" v-show="item.carDetailInfo.NextCareTime" @click.stop="carDfn5(item)">
+					<view class="" style="border-top: 1px solid #EEEEEE;"  v-show="item.carDetailInfo.NextCareTime">
+						<view class="lineTop" @click.stop="carDfn5(item)">
 							<view class="lineTop1">
 								<view class="lineTopNs">
 									<view class="nsTxt">保养提醒</view>
@@ -105,7 +105,7 @@
 								</view>
 								
 								<view class="chaoqi">
-									<span v-if="!isDateGreater(item.carDetailInfo.NextCareTime)">超期天数:{{daysUntilDate(item.carDetailInfo.NextAuditTime)}}天</span>
+									<span v-if="!isDateGreater(item.carDetailInfo.NextCareTime)">超期天数:{{daysUntilDate(item.carDetailInfo.NextCareTime)}}天</span>
 									
 									</view>
 									<view>

+ 1 - 1
pages/index/index.vue

@@ -100,7 +100,7 @@
 			 //this.token='065BAA93971FEB1A37A08D682FCDB41CC69E76FC36BB038790FB99C5CD71C28EAF945459643F62A3A6FD87751E6880BB'
 		    //this.userId='wmMGjbBgAAeKTdCmEN0CLKPNwJ4ACTxw'
 			//this.token='0A809B6077F4044EDECFC49762B59668E9508B2CA4C6C4791C8894B2B1A7338AAF945459643F62A3A6FD87751E6880BB'
-			 /* uni.setStorage({
+			/*  uni.setStorage({
 				key: 'token',
 				data: that.token,
 				 success: function () {