wangxy před 1 dnem
rodič
revize
54869a7a86

+ 5 - 5
pages/admin/Hetong/addSanfangHetong.vue

@@ -19,15 +19,15 @@
 			</view>
 			
 			<!-- 客户信息 -->
-			<kehuCardVue :info="data.kehu" @select-kehu="onSelectKehu"></kehuCardVue>
+			<kehuCardVue  @select-kehu="onSelectKehu"></kehuCardVue>
 			<!-- 家政人员 -->
-			<jiazhengCardVue :info="data.jiazheng" @select-jzry="onSelectJzry"></jiazhengCardVue>
+			<jiazhengCardVue @select-jzry="onSelectJzry"></jiazhengCardVue>
 			<!-- 合同信息 -->
-			<hetongCardVue :info="data.hetong" @fuwuleixing="onSelectFuwuLeixing"></hetongCardVue>
+			<hetongCardVue @fuwuleixing="onSelectFuwuLeixing"></hetongCardVue>
 			<!-- 其他约定 -->
-			<qiTaYueDingVue :info="data.qita" @qita="handleUpQita"></qiTaYueDingVue>
+			<qiTaYueDingVue @qita="handleUpQita"></qiTaYueDingVue>
 			<!-- 家政签名 -->
-			<qianMingVue :info="data.qianming" @qianming="handleQianming"></qianMingVue>
+			<qianMingVue @qianming="handleQianming"></qianMingVue>
 		</view>
 		
 		<view class="sfht-info-btn-box">

+ 1 - 2
pages/admin/Hetong/components/selectJz.vue

@@ -67,7 +67,6 @@
 	function goback2() {
 		popupRef.value.close();
 	}
-
 	const searchDialogRef = ref(null);
 	const popupRef = ref(null)
 	const data = reactive({
@@ -176,7 +175,7 @@
 		popupRef.value.open();
 		onRefresh();
 	}
-	
+
 	defineExpose({
 		handleShow
 	})

+ 50 - 47
pages/admin/Hetong/components/selectKh.vue

@@ -1,54 +1,57 @@
 <template>
-	<uni-popup ref="popupRef" type="bottom" background-color="#fff" :is-mask-click="false" :mask-click="false">
-		<view class="kehu-select-list">
-			<view class="phone-navBar-box">
-				<view @click="goback2" class="nav-bar-icon"></view>
-				<text>选择客户</text>
-				<uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20"
-					@click="toggle('top')"></uni-icons>
-			</view>
-			<view>
-				<search-dialog ref="searchDialogRef" shenfen="kh" @search-btn="dialogSearchBtn"
-					@reset-search="dialogSearchReset"></search-dialog>
-			</view>
-
-			<view class="kh-new-btn-box">
-				<button type="default" class="phone-green-btn" @click="handleAddKehu">新增客户</button>
-			</view>
-
-			<!-- 无限滚动容器 -->
-			<view>
-				<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
-					:refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
-					@refresherrefresh="onRefresh" class="jz-scroll-view">
-					<uni-list class="admin-list-box">
-						<radio-group @change="radioChange">
-							<uni-list-item v-for="item in data.list" class="kh-list-item-box">
-								<template v-slot:body>
-									<view class="kh-select-card">
-										<radio :value="item.id && item.id.toString()" activeBackgroundColor="#3fd2a1"
-										:checked="item.id == data.activeData&&data.activeData.id" />
-										<view class="select-card-body-row">
-											<view class="body-row"><icon class="user-icon"></icon>{{item.realName}}</view>
-											<view class="body-row"><icon class="tel-icon"></icon>{{item.userName}}</view>
-											<view class="body-row" v-if="item.idcard"><icon class="idcard-icon"></icon>{{item.idcard}}</view>
+	<view>
+		<uni-popup ref="popupRef" type="bottom" background-color="#fff" :is-mask-click="false" :mask-click="false">
+			<view class="kehu-select-list">
+				<view class="phone-navBar-box">
+					<view @click="goback2" class="nav-bar-icon"></view>
+					<text>选择客户</text>
+					<uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20"
+						@click="toggle('top')"></uni-icons>
+				</view>
+				<view>
+					<search-dialog ref="searchDialogRef" shenfen="kh" @search-btn="dialogSearchBtn"
+						@reset-search="dialogSearchReset"></search-dialog>
+				</view>
+		
+				<view class="kh-new-btn-box">
+					<button type="default" class="phone-green-btn" @click="handleAddKehu">新增客户</button>
+				</view>
+		
+				<!-- 无限滚动容器 -->
+				<view>
+					<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
+						:refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
+						@refresherrefresh="onRefresh" class="jz-scroll-view">
+						<uni-list class="admin-list-box">
+							<radio-group @change="radioChange">
+								<uni-list-item v-for="item in data.list" class="kh-list-item-box">
+									<template v-slot:body>
+										<view class="kh-select-card">
+											<radio :value="item.id && item.id.toString()" activeBackgroundColor="#3fd2a1"
+											:checked="item.id == data.activeData&&data.activeData.id" />
+											<view class="select-card-body-row">
+												<view class="body-row"><icon class="user-icon"></icon>{{item.realName}}</view>
+												<view class="body-row"><icon class="tel-icon"></icon>{{item.userName}}</view>
+												<view class="body-row" v-if="item.idcard"><icon class="idcard-icon"></icon>{{item.idcard}}</view>
+											</view>
 										</view>
-									</view>
-								</template>
-							</uni-list-item>
-						</radio-group>
-						<uni-load-more :status="data.state" @click="getMore(0)"
-							:contentText="data.contentText"></uni-load-more>
-					</uni-list>
-				</scroll-view>
-			</view>
-			<view>
-				<button @click="handleSelect">选择此客户</button>
+									</template>
+								</uni-list-item>
+							</radio-group>
+							<uni-load-more :status="data.state" @click="getMore(0)"
+								:contentText="data.contentText"></uni-load-more>
+						</uni-list>
+					</scroll-view>
+				</view>
+				<view>
+					<button @click="handleSelect">选择此客户</button>
+				</view>
 			</view>
-		</view>
-	</uni-popup>
+		</uni-popup>
+		
+		<addKh ref="addKhRef"></addKh>
+	</view>
 
-	<addKh ref="addKhRef"></addKh>
 
 </template>