2912631854@qq.com hace 1 año
padre
commit
7ee209a19c
Se han modificado 2 ficheros con 20 adiciones y 21 borrados
  1. 18 19
      pagesHouse/Mine/Businesses/Businesses.vue
  2. 2 2
      pagesHouse/Mine/ordersList/index.vue

+ 18 - 19
pagesHouse/Mine/Businesses/Businesses.vue

@@ -11,7 +11,7 @@
 				</view>
 				<!-- <u--input v-model="realName" border="none" pl ></u--input> -->
 				<view class="right">
-					<input type="text" v-model="dto.realName" border="none" placeholder="请输入昵称" />
+					<input type="text" v-model="list.name" border="none" placeholder="请输入昵称" />
 				</view>
 			</view>
 
@@ -28,8 +28,7 @@
 					企业名称
 				</view>
 				<view class="right">
-					<input type="text" v-model="dto.modifyPhone" border="none" placeholder="请输入"
-						style="height: 48rpx;" />
+					<input type="text" v-model="list.busName" border="none" placeholder="请输入" style="height: 48rpx;" />
 				</view>
 			</view>
 
@@ -47,7 +46,7 @@
 					企业法人
 				</view>
 				<view class="right">
-					浙江省舟
+					{{list.legalPerson}}
 				</view>
 			</view>
 
@@ -56,7 +55,7 @@
 					法人身份证号码
 				</view>
 				<view class="right">
-					89
+					{{list.idCard}}
 				</view>
 			</view>
 
@@ -65,7 +64,7 @@
 					统一社区信用代码
 				</view>
 				<view class="right">
-					89号
+					{{list.creditCode}}
 				</view>
 			</view>
 
@@ -74,7 +73,7 @@
 					企业地址
 				</view>
 				<view class="right">
-					嵊泗县菜园镇东海路89号
+					{{list.areaDetail}}
 				</view>
 			</view>
 
@@ -89,7 +88,7 @@
 					联系人姓名
 				</view>
 				<view class="right">
-					89号
+					{{list.linkName}}
 				</view>
 			</view>
 
@@ -98,7 +97,7 @@
 					联系人号码
 				</view>
 				<view class="right">
-					21332189
+					{{list.phone}}
 				</view>
 			</view>
 		</view>
@@ -109,27 +108,27 @@
 		<view class="from-content" style="padding: 30rpx;">
 			<view class="tenant-image">
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.idCardFront" mode=""></image>
 					<view>法人身份证国徽面</view>
 				</view>
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.idCardReverse" mode=""></image>
 					<view>法人身份证人像面</view>
 				</view>
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.licensePic" mode=""></image>
 					<view>营业执照</view>
 				</view>
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.usccl" mode=""></image>
 					<view>统一社会信息代码证</view>
 				</view>
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.shopSign" mode=""></image>
 					<view>门头照</view>
 				</view>
 				<view>
-					<image src="" mode=""></image>
+					<image :src="list.shopImgs" mode=""></image>
 					<view>店铺照片</view>
 				</view>
 
@@ -159,9 +158,8 @@
 					idCode: '', // 证件号
 					id: ''
 				},
-				homestayId: uni.getStorageSync('homestayId'),
-				picList: [],
-				objList: {}
+				fishermanId: uni.getStorageSync('merchantId'),
+				list: {}
 			}
 		},
 		onLoad() {
@@ -200,9 +198,10 @@
 				// this.$api.get('/merchant/merchantFisherman/home?id=' + this.homestayId).then(res => {
 				// 	console.log(res.data);
 				// })
-				let id = this.homestayId
+				let id = this.fishermanId
 				this.$api.get(`/merchant/merchantFisherman/home/${id}`).then(res => {
 					console.log(res.data);
+					this.list = res.data.data
 				})
 			}
 

+ 2 - 2
pagesHouse/Mine/ordersList/index.vue

@@ -77,7 +77,7 @@
 				limit: 10,
 				page: 1,
 				state: '',
-				homestayId: uni.getStorageSync('homestayId'),
+				fishermanId: uni.getStorageSync('merchantId'),
 				statusClass: [
 					'',
 					'green',
@@ -162,7 +162,7 @@
 			},
 			getOrderList(state) {
 				this.$api.get('/merchant/merchantFisherman/home/queryMyOrderPage', {
-					// fishermanId:this.homestayId,
+					fishermanId: this.fishermanId,
 					limit: this.limit,
 					page: this.page,
 					state: state ? state : ''