渣渣宝 5 lat temu
rodzic
commit
073212ba11

+ 8 - 4
pages/index/index.vue

xqd xqd xqd xqd xqd
@@ -713,12 +713,13 @@
 			//跳转患者咨询
 			zixun() {
 				if (this.judgerenzheng()) {
-					if (this.twModel && this.dhModel) {
+					if (this.twModel || this.dhModel) {
 						uni.navigateTo({
 							url: '/pages/zixun/zixun'
 						})
 					} else {
 						uni.showToast({
+							duration:3000,
 							title: '您未开启图文和电话咨询',
 							icon: 'none'
 						})
@@ -736,6 +737,7 @@
 						})
 					} else {
 						uni.showToast({
+							duration:3000,
 							title: '您未开启门诊',
 							icon: 'none'
 						})
@@ -760,6 +762,7 @@
 						})
 					} else {
 						uni.showToast({
+							duration:3000,
 							title: '您未开启门诊',
 							icon: 'none'
 						})
@@ -769,9 +772,10 @@
 			},
 			//个人信息 右上角的编辑按钮
 			grxx() {
-
+				let status = 0
+				if (this.password == '' || this.password == null) {status=1}
 				uni.navigateTo({
-					url: '/pages/information/information'
+					url: '/pages/information/information?status='+status
 				})
 
 			},
@@ -816,7 +820,7 @@
 			// 联系我们
 			lxwm() {
 				uni.makePhoneCall({
-					phoneNumber: '110' //仅为示例
+					phoneNumber: '123456789' //仅为示例
 				});
 			}
 		},

+ 5 - 2
pages/information/information.vue

xqd xqd xqd
@@ -56,6 +56,7 @@
 	export default {
 			data() {
 				return {
+					status:0,
 					//弹窗
 					modalShow:false,
 					//头像数组
@@ -77,7 +78,9 @@
 					placeholder2:'请填写服务范围、经验等信息,用于展示给患者。'
 				}
 			},
-			onLoad() {
+			onLoad(data) {
+				console.log(data)
+				this.status = data.status
 				this.getInfo();
 			},
 			methods: {
@@ -92,7 +95,7 @@
 				//修改密码
 				next(){
 					uni.navigateTo({
-						url:'modifypassword'
+						url:'modifypassword?state='+this.status
 					})
 				},
 				//退出登录

+ 2 - 2
pages/login/doctorRenzheng.vue

xqd xqd
@@ -71,7 +71,7 @@
 					<view class="grid col-4 grid-square flex-sub">
 						<view class="bg-img" v-for="(item,index) in form.idPhoto" :key="index" :data-url="form.idPhoto[index]">
 							<image :src="imghost+form.idPhoto[index]" mode='aspectFill'></image>
-							<view class="cu-tag bg-red" v-if="iscertificate&&form.idPhoto.length<2" @click="idPhotoDelImg" :data-index="index">
+							<view class="cu-tag bg-red" v-if="iscertificate" @click="idPhotoDelImg" :data-index="index">
 								<text class="cuIcon-close"></text>
 							</view>
 						</view>
@@ -176,7 +176,7 @@
 		mounted() {},
 		data() {
 			return {
-				action: 'https://xiaoyunimg.top/api/v2/Common/uploadFile',
+				action: 'https://t11.swdz.com/api/v2/Common/uploadFile',
 				//保存选择的列数
 				form: {
 					name: '', //姓名

+ 1 - 1
pages/patient/patientxq.vue

xqd
@@ -325,7 +325,7 @@
 					// tclist渲染服务包
 					this.tclist = res.data.fuwu_arr
 				}else{
-					uni.showLoading({
+					uni.showToast({
 						title:"请求失败",
 						icon:'none'
 					})

+ 8 - 8
pages/service/more.vue

xqd xqd xqd xqd xqd xqd xqd xqd
@@ -25,7 +25,7 @@
 				</view>
 				<!-- 右 -->
 				<view class="right">
-					<u-input v-model="form.is_phone.base_price" type="number" :border="true" placeholder="请输入金额" />
+					<u-input v-model="form.is_phone.base_price" type="number" :border="true" placeholder="请输入金额" :clearable="false"/>
 				</view>
 			</view>
 			<!-- 步进价格 -->
@@ -37,7 +37,7 @@
 				</view>
 				<!-- 右 -->
 				<view class="right">
-					<u-input v-model="form.is_phone.step_price" type="number" :border="true" placeholder="请输入金额" />
+					<u-input v-model="form.is_phone.step_price" type="number" :border="true" placeholder="请输入金额" :clearable="false"/>
 				</view>
 			</view>
 			<!-- 服务时间 -->
@@ -92,7 +92,7 @@
 				</view>
 				<!-- 右 -->
 				<view class="right">
-					<u-input v-model="form.is_phone.person" type="number" :border="true" placeholder="请输入人次" />
+					<u-input v-model="form.is_phone.person" type="number" :border="true" placeholder="请输入人次" :clearable="false"/>
 				</view>
 			</view>
 
@@ -115,7 +115,7 @@
 				</view>
 				<!-- 右 -->
 				<view class="right">
-					<u-input v-model="form.is_chat.base_price" type="number" :border="true" placeholder="请输入金额" />
+					<u-input v-model="form.is_chat.base_price" type="number" :border="true" placeholder="请输入金额" :clearable="false"/>
 				</view>
 			</view>
 			<!-- 服务时间 -->
@@ -167,7 +167,7 @@
 				</view>
 				<!-- 右 -->
 				<view class="right">
-					<u-input v-model="form.is_chat.person" type="number" :border="true" placeholder="请输入人次" />
+					<u-input v-model="form.is_chat.person" type="number" :border="true" placeholder="请输入人次" :clearable="false" />
 				</view>
 			</view>
 		</view>
@@ -194,7 +194,7 @@
 					<!-- 右 -->
 					<view class="right">
 						<u-input v-model="form.is_appoint.hospitalList[hospitalcurrent].appoint_price" type="number" :border="true"
-						 placeholder="请输入金额" />
+						 placeholder="请输入金额" :clearable="false"/>
 					</view>
 				</view>
 				<!-- 服务时间 -->
@@ -271,7 +271,7 @@
 					</view>
 					<!-- 右 -->
 					<view class="right">
-						<u-input v-model="form.is_appoint.hospitalList[hospitalcurrent].service_num" type="number" :border="true"
+						<u-input v-model="form.is_appoint.hospitalList[hospitalcurrent].service_num" type="number" :border="true" :clearable="false"
 						 placeholder="请输入人次" @blur="change" />
 					</view>
 				</view>
@@ -284,7 +284,7 @@
 					</view>
 					<!-- 右 -->
 					<view class="right">
-						<u-input v-model="form.is_appoint.hospitalList[hospitalcurrent].show_days" type="number" :border="true"
+						<u-input v-model="form.is_appoint.hospitalList[hospitalcurrent].show_days" type="number" :border="true" :clearable="false"
 						 placeholder="请输入天数" />
 					</view>
 				</view>

+ 2 - 2
pages/service/setservice.vue

xqd xqd
@@ -127,7 +127,7 @@
 					data = JSON.stringify(data);
 				}
 				let res = await this.$request.post('doctor/saveSettingBase',{'type':1,'data':data});
-				console.log(res);
+				console.log("修改操作设置",res);
 				if(res.status==0){
 					uni.showToast({
 						title:'操作成功',
@@ -162,7 +162,7 @@
 					types = 3;
 				}
 				let res = await this.$request.post("ServiceApply/serviceExamine",{"service_type":types});
-				console.log('res,',res);
+				console.log("开通服务",res);
 				if(res.status==0){
 					uni.showToast({
 						'title':'请求成功',

+ 1 - 0
uview-ui/components/u-select/u-select.vue

xqd
@@ -391,6 +391,7 @@ export default {
 		justify-content: space-between;
 		height: 80rpx;
 		padding: 0 40rpx;
+		font-size: 38rpx;
 	}
 
 	&__body {