签约提示 首页
This commit is contained in:
parent
4e27046523
commit
b1da38edef
@ -171,7 +171,7 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '当前绑定地市不支持',
|
title: '当前绑定地市不支持',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: '3000',
|
duration: '1500',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 家医签约
|
// 家医签约
|
||||||
@ -189,11 +189,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
|
duration:'1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -221,12 +223,14 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -304,11 +308,13 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
|
duration:'1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -335,13 +341,16 @@
|
|||||||
if (this.checkSign == "0") {
|
if (this.checkSign == "0") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
|
duration:'1500',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -367,12 +376,14 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未签约,请先签约',
|
title: '未签约,请先签约',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
})
|
})
|
||||||
} else if (this.checkSign == "01") {
|
} else if (this.checkSign == "01") {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: this.infotitle,
|
title: this.infotitle,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
duration:'1500',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -391,4 +402,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "./homepage.scss";
|
@import "./homepage.scss";
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -136,6 +136,11 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
line-height: 38rpx;
|
line-height: 38rpx;
|
||||||
|
.asterisk{
|
||||||
|
color: red;
|
||||||
|
position: relative;
|
||||||
|
top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
::v-deep .u-input {
|
::v-deep .u-input {
|
||||||
width: 636rpx;
|
width: 636rpx;
|
||||||
|
|||||||
@ -19,18 +19,22 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="contentbottom" v-if="stepnumber==1">
|
<view class="contentbottom" v-if="stepnumber==1">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
姓名
|
姓名
|
||||||
<u-input v-model="query.residentName" :border="true" placeholder="请输入姓名" />
|
<u-input v-model="query.residentName" :border="true" placeholder="请输入姓名" />
|
||||||
</view>
|
</view>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
身份证号
|
身份证号
|
||||||
<u-input v-model="query.identity" :border="true" placeholder="请输入身份证号" />
|
<u-input v-model="query.identity" :border="true" placeholder="请输入身份证号" />
|
||||||
</view>
|
</view>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
手机号码
|
手机号码
|
||||||
<u-input v-model="query.phone" :border="true" placeholder="请输入手机号码" />
|
<u-input v-model="query.phone" :border="true" placeholder="请输入手机号码" />
|
||||||
</view>
|
</view>
|
||||||
<view class="name" @tap='countyshow=true'>
|
<view class="name" @tap='countyshow=true'>
|
||||||
|
<text class="asterisk">*</text>
|
||||||
现住区县
|
现住区县
|
||||||
<view class="select">
|
<view class="select">
|
||||||
<text v-if="query.countyName" style="font-size: 26rpx;color: #303133;">{{query.countyName}}</text>
|
<text v-if="query.countyName" style="font-size: 26rpx;color: #303133;">{{query.countyName}}</text>
|
||||||
@ -62,6 +66,7 @@
|
|||||||
<u-select v-model="villageshow" mode="single-column" :list="villagelist" @confirm="villageconfirm"
|
<u-select v-model="villageshow" mode="single-column" :list="villagelist" @confirm="villageconfirm"
|
||||||
value-name='committeeCode' label-name='name'></u-select>
|
value-name='committeeCode' label-name='name'></u-select>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
详细地址
|
详细地址
|
||||||
<u-input v-model="query.address" :border="true" placeholder="请输入详细地址" />
|
<u-input v-model="query.address" :border="true" placeholder="请输入详细地址" />
|
||||||
</view>
|
</view>
|
||||||
@ -71,6 +76,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="contentbottom" v-if="stepnumber==2">
|
<view class="contentbottom" v-if="stepnumber==2">
|
||||||
<view class="name" @tap='goselectInstitution'>
|
<view class="name" @tap='goselectInstitution'>
|
||||||
|
<text class="asterisk">*</text>
|
||||||
签约机构
|
签约机构
|
||||||
<view class="select">
|
<view class="select">
|
||||||
<text v-if="query.orgName" style="font-size: 26rpx;color: #303133;">{{query.orgName}}</text>
|
<text v-if="query.orgName" style="font-size: 26rpx;color: #303133;">{{query.orgName}}</text>
|
||||||
@ -79,6 +85,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="name" @tap='gochoosedoctor'>
|
<view class="name" @tap='gochoosedoctor'>
|
||||||
|
<text class="asterisk">*</text>
|
||||||
医生
|
医生
|
||||||
<view class="select">
|
<view class="select">
|
||||||
<text v-if="query.userName" style="font-size: 26rpx;color: #303133;">{{query.userName}}</text>
|
<text v-if="query.userName" style="font-size: 26rpx;color: #303133;">{{query.userName}}</text>
|
||||||
@ -87,6 +94,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="name" @tap='changeCrowd'>
|
<view class="name" @tap='changeCrowd'>
|
||||||
|
<text class="asterisk">*</text>
|
||||||
所属人群
|
所属人群
|
||||||
<view class="select" style="height: 100%;">
|
<view class="select" style="height: 100%;">
|
||||||
<text v-if="query.crowdsName" style="font-size: 26rpx;color: #303133;">{{query.crowdsName}}</text>
|
<text v-if="query.crowdsName" style="font-size: 26rpx;color: #303133;">{{query.crowdsName}}</text>
|
||||||
@ -95,6 +103,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="name" @tap='changePackages'>
|
<view class="name" @tap='changePackages'>
|
||||||
|
<text class="asterisk">*</text>
|
||||||
服务包
|
服务包
|
||||||
<view class="select" style="height: 100%;">
|
<view class="select" style="height: 100%;">
|
||||||
<text v-if="query.packagesName"
|
<text v-if="query.packagesName"
|
||||||
@ -104,12 +113,14 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
签约时间
|
签约时间
|
||||||
<view class="select" style="height: 100%;">
|
<view class="select" style="height: 100%;">
|
||||||
<text style="font-size: 26rpx;color: #303133;">{{query.signTime}}</text>
|
<text style="font-size: 26rpx;color: #303133;">{{query.signTime}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
|
<text class="asterisk">*</text>
|
||||||
签约周期(年)
|
签约周期(年)
|
||||||
<u-input v-model="query.signYears" type='number' :border="true" placeholder="请输入签约周期(单位年)" />
|
<u-input v-model="query.signYears" type='number' :border="true" placeholder="请输入签约周期(单位年)" />
|
||||||
</view>
|
</view>
|
||||||
@ -245,43 +256,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
protocolshowtrue(e) {
|
protocolshowtrue(e) {
|
||||||
if (!this.query.residentName) {
|
if (!this.query.orgName) {
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '请输入名字',
|
|
||||||
type: 'error',
|
|
||||||
})
|
|
||||||
} else if (!this.query.identity) {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '请输入身份证号',
|
|
||||||
type: 'error',
|
|
||||||
})
|
|
||||||
} else if (!this.query.phone) {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '请输入手机号',
|
|
||||||
type: 'error',
|
|
||||||
})
|
|
||||||
} else if (!this.query.countyName) {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '请选择现住区县',
|
|
||||||
type: 'error',
|
|
||||||
})
|
|
||||||
// }
|
|
||||||
// else if (!this.query.townName) {
|
|
||||||
// this.$refs.uToast.show({
|
|
||||||
// title: '请选择乡镇/街道',
|
|
||||||
// type: 'error',
|
|
||||||
// })
|
|
||||||
// } else if (!this.query.committeeName) {
|
|
||||||
// this.$refs.uToast.show({
|
|
||||||
// title: '请选择村/社区',
|
|
||||||
// type: 'error',
|
|
||||||
// })
|
|
||||||
} else if (!this.query.address) {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '请输入详细地址',
|
|
||||||
type: 'error',
|
|
||||||
})
|
|
||||||
} else if (!this.query.orgName) {
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '请选择签约机构',
|
title: '请选择签约机构',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
@ -420,7 +395,46 @@
|
|||||||
} else if (val == 2) {
|
} else if (val == 2) {
|
||||||
this.stepnumber = 2
|
this.stepnumber = 2
|
||||||
} else if (val == '+') {
|
} else if (val == '+') {
|
||||||
this.stepnumber++
|
if (!this.query.residentName) {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '请输入名字',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
} else if (!this.query.identity) {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '请输入身份证号',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
} else if (!this.query.phone) {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '请输入手机号',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
} else if (!this.query.countyName) {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '请选择现住区县',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
// }
|
||||||
|
// else if (!this.query.townName) {
|
||||||
|
// this.$refs.uToast.show({
|
||||||
|
// title: '请选择乡镇/街道',
|
||||||
|
// type: 'error',
|
||||||
|
// })
|
||||||
|
// } else if (!this.query.committeeName) {
|
||||||
|
// this.$refs.uToast.show({
|
||||||
|
// title: '请选择村/社区',
|
||||||
|
// type: 'error',
|
||||||
|
// })
|
||||||
|
} else if (!this.query.address) {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '请输入详细地址',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
this.stepnumber++
|
||||||
|
}
|
||||||
|
|
||||||
} else if (val == '-') {
|
} else if (val == '-') {
|
||||||
this.stepnumber--
|
this.stepnumber--
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user