wangxy пре 2 дана
родитељ
комит
b2c639ac5a

+ 1 - 0
pages/admin/Hetong/addSanfangHetong.vue

@@ -121,6 +121,7 @@
 			xinyongdaima: '', // 统一社会信用代码
 			xinyongdaima: '', // 统一社会信用代码
 			xiuxi: '', // 休息天数
 			xiuxi: '', // 休息天数
 			khUserName: '', // 客户电话
 			khUserName: '', // 客户电话
+			shentizhuangkuang:1,// 身体状态,1 能自理 ,2半自理, 3不能自理
 		},
 		},
 		qita: '',
 		qita: '',
 		qianming: '',
 		qianming: '',

+ 13 - 2
pages/admin/Hetong/components/fuWuBaoChou.vue

@@ -1,13 +1,24 @@
 <template>
 <template>
 	<uni-collapse class="sfht-collapse-box"  @change="handleChange">
 	<uni-collapse class="sfht-collapse-box"  @change="handleChange">
 		<uni-collapse-item title="服务报酬" :open="true">
 		<uni-collapse-item title="服务报酬" :open="true">
-			服务报酬
-			
+			<view class="form-label-input">
+				<view class="phone-form-label"><text class="form-label-require"></text>乙方基本月报酬(元)</view>
+				<uni-easyinput v-model="data.hetong.baochou" placeholder="请输入金额" />
+			</view>
 		</uni-collapse-item>
 		</uni-collapse-item>
 	</uni-collapse>
 	</uni-collapse>
 </template>
 </template>
 
 
 <script setup>
 <script setup>
+	import {
+		useHetong
+	} from "../useHetong.js"
+	
+	const {
+		injectHetong
+	} = useHetong();
+	
+	const data = injectHetong();
 	const emits = defineEmits(['change'])
 	const emits = defineEmits(['change'])
 	function handleChange() {
 	function handleChange() {
 		emits('change')
 		emits('change')

+ 26 - 3
pages/admin/Hetong/components/fuWuNeiRong.vue

@@ -1,18 +1,41 @@
 <template>
 <template>
 	<uni-collapse ref="collapse" class="fwnr-collapse-box" @change="handleChange">
 	<uni-collapse ref="collapse" class="fwnr-collapse-box" @change="handleChange">
 		<uni-collapse-item title="服务内容" :open="true">
 		<uni-collapse-item title="服务内容" :open="true">
-			
+			<!-- 一般家务 -->
 			<jiawuItemVue></jiawuItemVue>
 			<jiawuItemVue></jiawuItemVue>
 			
 			
-			
+			<!-- 辅助照顾小孩 -->
 			<fuzhuXiaohai @change="onChange"></fuzhuXiaohai>
 			<fuzhuXiaohai @change="onChange"></fuzhuXiaohai>
+			
+			<!-- 全职照顾小孩 -->
+			<quanzhiXiaohai @change="onChange"></quanzhiXiaohai>
+			
+			<!-- 照顾老人 -->
+			<zhaoguLaoren @change="onChange"></zhaoguLaoren>
+			
+			<!-- 照顾病人 -->
+			<zhaoguBingren></zhaoguBingren>
+			
+			<!-- 孕妇 -->
+			<zhaoguYunfu></zhaoguYunfu>
+			
+			<!-- 其他服务内容 -->
+			<qitaFuwu></qitaFuwu>
+			
 		</uni-collapse-item>
 		</uni-collapse-item>
 	</uni-collapse>
 	</uni-collapse>
 </template>
 </template>
 
 
 <script setup>
 <script setup>
 	import jiawuItemVue from './jiawuItem.vue';
 	import jiawuItemVue from './jiawuItem.vue';
-	import fuzhuXiaohai from './fuzhuXiaohai.vue'
+	import fuzhuXiaohai from './fuzhuXiaohai.vue';
+	import quanzhiXiaohai from "./quanzhiXiaohai.vue";
+	import zhaoguLaoren from "./zhaoguLaoren.vue";
+	import zhaoguBingren from "./zhaoguBingren.vue";
+	import zhaoguYunfu from "./zhaoguYunfu.vue";
+	import qitaFuwu from "./qitaFuwu.vue"
+	
+	
 	import {ref} from "vue"
 	import {ref} from "vue"
 
 
 	const emits = defineEmits(['change'])
 	const emits = defineEmits(['change'])

+ 12 - 2
pages/admin/Hetong/components/qitaFuwu.vue

@@ -1,11 +1,21 @@
 <template>
 <template>
-	<view></view>
+	<view class="fwnr-item-box">
+		<view class="title-row-box">
+			<text>其他服务内容</text> 
+			 <view class="title-del-btn">
+				 <icon class="del-icon"></icon>
+			 </view>
+		</view>
+		<view class="fwnr-label-input">
+			<uni-easyinput v-model="data.hetong.lxName" placeholder="请输入其他服务内容" />
+		</view>
+	</view>
 </template>
 </template>
 
 
 <script setup>
 <script setup>
 	import {
 	import {
 		useHetong
 		useHetong
-	} from "./useHetong.js"
+	} from "../useHetong.js"
 	const {
 	const {
 		injectHetong
 		injectHetong
 	} = useHetong();
 	} = useHetong();

+ 1 - 1
pages/admin/Hetong/components/quanzhiXiaohai.vue

@@ -5,7 +5,7 @@
 <script setup>
 <script setup>
 	import {
 	import {
 		useHetong
 		useHetong
-	} from "./useHetong.js"
+	} from "../useHetong.js"
 	const {
 	const {
 		injectHetong
 		injectHetong
 	} = useHetong();
 	} = useHetong();

+ 13 - 2
pages/admin/Hetong/components/zhaoguBingren.vue

@@ -1,11 +1,22 @@
 <template>
 <template>
-	<view></view>
+	<view class="fwnr-item-box">
+		<view class="title-row-box">
+			<text>照顾病人</text> 
+			 <view class="title-del-btn">
+				 <icon class="del-icon"></icon>
+			 </view>
+		</view>
+		<view class="fwnr-label-input">
+			<view class="fwnr-form-label"><text class="form-label-require"></text>病人病情</view>
+			<uni-easyinput v-model="data.hetong.lxName" placeholder="请输入病人病情" />
+		</view>
+	</view>
 </template>
 </template>
 
 
 <script setup>
 <script setup>
 	import {
 	import {
 		useHetong
 		useHetong
-	} from "./useHetong.js"
+	} from "../useHetong.js"
 	const {
 	const {
 		injectHetong
 		injectHetong
 	} = useHetong();
 	} = useHetong();

+ 46 - 3
pages/admin/Hetong/components/zhaoguLaoren.vue

@@ -1,16 +1,59 @@
 <template>
 <template>
-	<view></view>
+	<view class="fwnr-item-box">
+		<view class="title-row-box">
+			<text>照顾老人:</text>
+			<view class="title-del-btn">
+				<icon class="del-icon"></icon>
+			</view>
+		</view>
+		<view class="fwnr-label-input">
+			<view class="fwnr-form-label"><text class="form-label-require"></text>老人身体情况</view>
+			
+			<radio-group @change="radioChange">
+				<label class="uni-list-cell uni-list-cell-pd" v-for="item in items" :key="item.value">
+					<view>
+						<radio :value="item.value" :checked="item.value === data.shentizhuangkuang" />
+					</view>
+					<view>{{item.text}}</view>
+				</label>
+			</radio-group>
+		</view>
+		<laorenNianling @change="onChange"></laorenNianling>
+	</view>
 </template>
 </template>
 
 
 <script setup>
 <script setup>
 	import {
 	import {
 		useHetong
 		useHetong
-	} from "./useHetong.js"
+	} from "../useHetong.js"
+	import laorenNianling from "./laorenNianling.vue"
+	import {ref} from "vue"
 	const {
 	const {
 		injectHetong
 		injectHetong
 	} = useHetong();
 	} = useHetong();
-	
+
 	const data = injectHetong()
 	const data = injectHetong()
+	
+	const emits = defineEmits(['change'])
+	
+	const items = [
+		{
+			value: 1,
+			text: '能自理'
+		},{
+			value: 2,
+			text: '半自理'
+		},{
+			value: 3,
+			text: '不能自理'
+		},
+	]	
+	
+	function onChange() {
+		emits('change')
+	}
+	
+	function radioChange() {}
 </script>
 </script>