huangzhe 3 gadi atpakaļ
vecāks
revīzija
8a60df9ba6
1 mainītis faili ar 18 papildinājumiem un 13 dzēšanām
  1. 18 13
      src/pages/case/appointment/appointment-form.vue

+ 18 - 13
src/pages/case/appointment/appointment-form.vue

xqd xqd xqd xqd xqd
@@ -5,22 +5,16 @@
 		<!-- <app-nav-bar v-if="true" :fixed="true" :background-color="''" :xStyle="1" :hasMallSetting="2" -->
 		<view class="main-between-y builInfo">
 			<view class="main-between cross-center" style="height: 72rpx;" >
-				<view class="hjx-ts-30 hjx-tw-600 hjx-tc-222">楼盘名称</view>
+				<view class="hjx-ts-30 hjx-tw-600 hjx-tc-222">活动名称</view>
 				<view class="hjx-ts-30 hjx-tc-222">
-					<view class="cross-center hjx-ts-28 t-omit" style="width: 510rpx;text-align: right;"
-						:class="{'hjx-tc-999':estate_name==''?true:false,'hjx-tc-000':estate_name!=''?true:false}">{{estate_name===''?'请选择':estate_name}}
-						<!-- <image style="width: 12.8rpx;height: 22.8rpx;margin-left: 20rpx;"
-							src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png" mode=""></image> -->
+					<view class="cross-center hjx-ts-28 t-omit hjx-tc-000" style="width: 510rpx;text-align: right;">{{dataDetail.name}}
 					</view>
 				</view>
 			</view>
 			<view class="main-between cross-center" style="height: 72rpx;" >
-				<view class="hjx-ts-30 hjx-tw-600 hjx-tc-222">楼盘地址</view>
+				<view class="hjx-ts-30 hjx-tw-600 hjx-tc-222">活动地址</view>
 				<view class="hjx-ts-30 hjx-tc-222">
-					<view class="cross-center hjx-ts-28 t-omit" style="width: 510rpx;text-align: right;"
-						:class="{'hjx-tc-999':estate_address==''?true:false,'hjx-tc-000':estate_address!=''?true:false}">{{estate_address===''?'请选择':estate_address}}
-						<!-- <image style="width: 12.8rpx;height: 22.8rpx;margin-left: 20rpx;"
-							src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png" mode=""></image> -->
+					<view class="cross-center hjx-ts-28 t-omit hjx-tc-000" style="width: 510rpx;text-align: right;">{{dataDetail.address}}
 					</view>
 				</view>
 			</view>
@@ -49,7 +43,7 @@
 				</view>
 			</view>
 			<view class="item main-between cross-center">
-				<view class="hjx-ts-28 hjx-tw-600 hjx-tc-000">看房日期</view>
+				<view class="hjx-ts-28 hjx-tw-600 hjx-tc-000">到访日期</view>
 				<view>
 					<picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
 						<view class="cross-center hjx-ts-28"
@@ -61,7 +55,7 @@
 				</view>
 			</view>
 			<view class="item main-between cross-center">
-				<view class="hjx-ts-28 hjx-tw-600 hjx-tc-000">看房时间</view>
+				<view class="hjx-ts-28 hjx-tw-600 hjx-tc-000">到访时间</view>
 				<view>
 					<picker mode="time" :value="time" start="09:01" end="21:01" @change="bindTimeChange">
 						<view class="cross-center hjx-ts-28"
@@ -95,6 +89,7 @@
 		},
 		data() {
 			return {
+				dataDetail:{},
 				estate_id:'',
 				estate_name:'',
 				estate_address:'',
@@ -107,7 +102,17 @@
 		},
 		onLoad(option) {
 			this.visit_id=option.id
-			
+			this.$request({
+				url: this.$api.user.visit_detail,
+				data: {
+					visit_id: option.id
+				},
+				method: 'post'
+			}).then(res => {
+				if (res.code === 0) {
+					this.dataDetail=res.data
+				}
+			});
 		},
 		methods: {
 			bindTimeChange(e) {