Kaynağa Gözat

更新商户添加时默认值问题

嘀嘀嘀 2 yıl önce
ebeveyn
işleme
441daaf04e

+ 3 - 3
src/views/riderScheduling/riderScheduling.vue

@@ -161,11 +161,11 @@
 									console.log('nnnnnnnn',latlngs[n].styleId)
 									console.log('nnnnnnnn',latlngs[n].styleId)
 									var that = this
 									var that = this
                   console.log("window.location.href",window.location.href)
                   console.log("window.location.href",window.location.href)
-                //   if(window.location.href=='https://www.daweilinli.com/wm-admin/'){
-				  if(window.location.href=='https://mxys.chuanghai-tech.com/wm-admin/'){
+                //   if(window.location.href=='https://www.daweilinli.com/wm-admin/#/riderScheduling'){
+				  if(window.location.href=='https://mxys.chuanghai-tech.com/wm-admin/#/riderScheduling'){
                     window.location.href="/wm-admin/#/userDetail?userId="+latlngs[n].styleId;
                     window.location.href="/wm-admin/#/userDetail?userId="+latlngs[n].styleId;
                   }else{
                   }else{
-                    window.location.href="/userDetail?userId="+latlngs[n].styleId;
+                    window.location.href="/#/userDetail?userId="+latlngs[n].styleId;
                   }
                   }
 
 
 										 // hash变化时触发
 										 // hash变化时触发

+ 2 - 2
src/views/shopsList/shopDatas.vue

@@ -121,9 +121,9 @@
       </el-table-column>
       </el-table-column>
       <el-table-column prop="phone" label="手机号"></el-table-column>
       <el-table-column prop="phone" label="手机号"></el-table-column>
       <el-table-column prop="shopName" label="商铺"></el-table-column>
       <el-table-column prop="shopName" label="商铺"></el-table-column>
-      <el-table-column prop="orderType" label="订单类型">
+      <el-table-column prop="orderTypeExtra" label="订单类型">
         <template slot-scope="scope">
         <template slot-scope="scope">
-          <div>{{scope.row.orderType==1?'到店取餐':'外卖配送'}}</div>
+          <div>{{scope.row.orderTypeExtra==1?'到店取餐':scope.row.orderTypeExtra==2?'骑手配送':scope.row.orderTypeExtra==3?'商家配送':''}}</div>
         </template>
         </template>
       </el-table-column>
       </el-table-column>
       <el-table-column prop="orderType" label="配送信息" width="300">
       <el-table-column prop="orderType" label="配送信息" width="300">

Dosya farkı çok büyük olduğundan ihmal edildi
+ 2241 - 2241
src/views/shopsList/shopsList.vue