This commit is contained in:
2023-10-16 11:28:16 +08:00
parent 619abedc69
commit dff68c1684
15 changed files with 40 additions and 30 deletions

View File

@ -22,7 +22,7 @@ export function getCurrentUser(openid, cityCode) {
})
}
// 获取签约信息
export function detail(identity, region) {
export function detail(identity) {
return request({
url: `/applet/signinfo/detail/${identity}`,
method: 'GET',
@ -34,7 +34,7 @@ export function detail(identity, region) {
}
//是否注册
export function checkSignApply(identity, region) {
export function checkSignApply(identity) {
return request({
url: `/applet/sign/apply/checkSignApply/${identity}`,
method: 'GET',

View File

@ -0,0 +1,12 @@
import request from "../../request.js"
export function prizeExchangelist(data) {
return request({
url: `/applet/score/prizeExchange/list`,
method: 'get',
data: data,
header: {
region: uni.getStorageSync('region'),
}
})
}

View File

@ -1,7 +1,7 @@
import request from "@/api/request.js"
export function getDoctorListtwo(pageNum, pageSize, teamNo, region,realname) {
export function getDoctorListtwo(pageNum, pageSize, teamNo,realname) {
return request({
url: `/applet/signinfo/getDoctorList?pageNum=${pageNum}&pageSize=${pageSize}&teamNo=${teamNo}&realname=${realname}`,
method: 'get',

View File

@ -1,6 +1,6 @@
import request from "@/api/request.js"
//解约
export function rescindapplysave(data, region) {
export function rescindapplysave(data) {
return request({
url: `/applet/rescind/apply/save`,
method: 'post',

View File

@ -1,7 +1,7 @@
import request from "@/api/request.js"
export function getPerformance(identity, region) {
export function getPerformance(identity) {
return request({
url: `/applet/signinfo/getPerformance/${identity}`,
method: 'get',

View File

@ -1,7 +1,7 @@
import request from "../../request.js"
// 服务预约
export function getForm(identity,region,projectName) {
export function getForm(identity,projectName) {
return request({
url: `/applet/service/apply/getForm/${identity}?projectName=${projectName}`,
method: 'GET',

View File

@ -1,7 +1,7 @@
import request from "@/api/request.js"
// 获取医生列表
export function getDoctorList(pageNum, orgNo, region,realname) {
export function getDoctorList(pageNum, orgNo,realname) {
return request({
url: `/applet/signinfo/getDoctorList?pageNum=${pageNum}&orgNo=${orgNo}&realname=${realname}`,
method: 'get',

View File

@ -1,7 +1,7 @@
import request from "@/api/request.js"
export function getContent(userNo, region) {
export function getContent(userNo) {
return request({
url: `/applet/signinfo/getContent/${userNo}`,
method: 'get',
@ -13,7 +13,7 @@ export function getContent(userNo, region) {
export function getSignProtocol(cardNo, region) {
export function getSignProtocol(cardNo) {
return request({
url: `/applet/signinfo/getSignProtocol/${cardNo}`,
method: 'get',

View File

@ -1,25 +1,25 @@
import request from "@/api/request.js"
export function getCounty(data, region) {
export function getCounty(data) {
return request({
url: `/applet/signinfo/getCounty`,
method: 'post',
data: data,
header: {
region: region
region: uni.getStorageSync('region'),
}
})
}
export function getNearbyOrg(data, region) {
export function getNearbyOrg(data) {
return request({
url: `/applet/signinfo/getNearbyOrg`,
method: 'get',
data: data,
header: {
region: region
region: uni.getStorageSync('region'),
}
})
}

View File

@ -182,7 +182,7 @@
filePath: that.meimage,
name: 'file',
header: {
region: '1'
region: uni.getStorageSync('region'),
},
timeout: 60000,
success(respp) {
@ -208,7 +208,7 @@
filePath: data,
name: 'file',
header: {
region: '1'
region: uni.getStorageSync('region'),
},
timeout: 60000,
success(res) {

View File

@ -47,7 +47,7 @@
},
methods: {
info() {
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, '1', this.realname).then(res => {
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, this.realname).then(res => {
this.list = res.rows
this.total = res.total
})
@ -62,7 +62,7 @@
onReachBottom() { //
if (this.list.length >= this.total) {} else {
this.pageNum++;
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, '1').then(res => {
getDoctorListtwo(this.pageNum, this.pageSize, this.teamNo, this.realname).then(res => {
res.rows.forEach(e => {
this.list.push(e)
})
@ -82,4 +82,4 @@
<style lang="scss">
@import './myfamilydoctorteam.scss';
</style>
</style>

View File

@ -549,7 +549,7 @@
that.query.userNo = item.userNo
that.query.teamNo = item.teamNo
that.query.teamName = item.teamName
getDoctorListtwo(1, 20, item.teamNo, '1').then(res => {
getDoctorListtwo(1, 20, item.teamNo).then(res => {
that.query.DoctorList = res.rows
})
uni.$off('doctordata')
@ -559,4 +559,4 @@
</script>
<style lang="scss">
@import "./Onlinesigning.scss";
</style>
</style>

View File

@ -39,7 +39,6 @@
},
projectName: '',
identity: '',
region: '',
listinfo: [],
appointlist: [],
packageNo: '',
@ -59,9 +58,8 @@
methods: {
getlist() {
this.userinfo = uni.getStorageSync('userinfo');
this.identity=this.userinfo.cardNo
this.region = this.userinfo.cityCode;
getForm(this.identity, this.region, this.projectName).then(res => {
this.identity = this.userinfo.cardNo
getForm(this.identity, this.projectName).then(res => {
this.listinfo = res.data
})
},

View File

@ -56,12 +56,12 @@
methods: {
getDoctorListinfo() {
if (this.orgNo) {
getDoctorList(this.pageNum, this.orgNo, '1', this.realname).then(res => {
getDoctorList(this.pageNum, this.orgNo, this.realname).then(res => {
this.doctorlist = res.rows
this.doctortotal = res.total
})
} else {
getDoctorListtwo(this.pageNum, 10, this.teamNo, '1', this.realname).then(res => {
getDoctorListtwo(this.pageNum, 10, this.teamNo, this.realname).then(res => {
this.doctorlist = res.rows
this.doctortotal = res.total
})
@ -90,14 +90,14 @@
if (this.doctorlist.length >= this.doctortotal) {} else {
this.pageNum++;
if (this.orgNo) {
getDoctorList(this.pageNum, this.orgNo, '1', this.realname).then(res => {
getDoctorList(this.pageNum, this.orgNo, this.realname).then(res => {
res.rows.forEach(e => {
this.doctorlist.push(e)
})
this.doctortotal = res.total
})
} else {
getDoctorListtwo(this.pageNum, 10, this.teamNo, '1', this.realname).then(res => {
getDoctorListtwo(this.pageNum, 10, this.teamNo, this.realname).then(res => {
res.rows.forEach(e => {
this.doctorlist.push(e)
})
@ -118,4 +118,4 @@
<style lang="scss">
@import './choosedoctor.scss';
</style>
</style>

View File

@ -170,7 +170,7 @@
filePath: tempFilePath,
name: 'file',
header: {
region: '1'
region: uni.getStorageSync('region'),
},
timeout: 10000,
success(respp) {