This commit is contained in:
parent
0571610651
commit
f49b26b87a
|
|
@ -10,7 +10,7 @@
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="uni.navigateBack({delta:2})">
|
<view class="left-father" @click="uni.navigateBack({delta:2})">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||||
<view style="font-size: 30rpx;">机构加盟登记表</view>
|
<view style="font-size: 30rpx;">机构登记表</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="goBack">
|
<view class="left-father" @click="goBack">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||||
<view style="font-size: 30rpx;">机构加盟登记表</view>
|
<view style="font-size: 30rpx;">机构登记表</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
||||||
|
|
@ -455,15 +455,18 @@
|
||||||
}
|
}
|
||||||
const alldata = ref({})
|
const alldata = ref({})
|
||||||
onLoad((e) => {
|
onLoad((e) => {
|
||||||
if (uni.getStorageSync('baddata')||e.element) {
|
let data = JSON.parse(e.element);
|
||||||
let data = uni.getStorageSync('baddata')||JSON.parse(e.element);
|
|
||||||
if(e.element){
|
if(e.element){
|
||||||
alldata.value = JSON.parse(e.element);
|
alldata.value = JSON.parse(e.element);
|
||||||
uni.setStorageSync('baddata',alldata.value)
|
uni.setStorageSync('baddata',alldata.value)
|
||||||
uni.setStorageSync('backhuancun',alldata.value)
|
uni.setStorageSync('backhuancun',alldata.value)
|
||||||
uni.setStorageSync('tel',alldata.value.tel)
|
uni.setStorageSync('tel',alldata.value.tel)
|
||||||
|
}else{
|
||||||
|
data = uni.getStorageSync('baddata')
|
||||||
|
}
|
||||||
|
if(!data){
|
||||||
|
return
|
||||||
}
|
}
|
||||||
console.log(uni.getStorageSync('baddata'))
|
|
||||||
textArray[0] = data.name;
|
textArray[0] = data.name;
|
||||||
textArray[1] = data.sex;
|
textArray[1] = data.sex;
|
||||||
textArray[2] = data.idCard;
|
textArray[2] = data.idCard;
|
||||||
|
|
@ -476,7 +479,6 @@
|
||||||
backImge.value = `${media_base_url}${data.cardFmPath}`;
|
backImge.value = `${media_base_url}${data.cardFmPath}`;
|
||||||
fontphoto.value = data.cardZmPath
|
fontphoto.value = data.cardZmPath
|
||||||
endphoto.value = data.cardFmPath
|
endphoto.value = data.cardFmPath
|
||||||
}
|
|
||||||
|
|
||||||
})
|
})
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="uni.navigateBack({delta:3})">
|
<view class="left-father" @click="uni.navigateBack({delta:3})">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||||
<view style="font-size: 30rpx;">机构加盟登记表</view>
|
<view style="font-size: 30rpx;">机构登记表</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
||||||
|
|
@ -306,6 +306,10 @@
|
||||||
// } else {
|
// } else {
|
||||||
// data.status = form.status
|
// data.status = form.status
|
||||||
// }
|
// }
|
||||||
|
uni.showLoading({
|
||||||
|
title:"加载中..",
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
uni.setStorageSync("backhuancun", data)
|
uni.setStorageSync("backhuancun", data)
|
||||||
if (allNonEmpty) {
|
if (allNonEmpty) {
|
||||||
let data = uni.getStorageSync('backhuancun')
|
let data = uni.getStorageSync('backhuancun')
|
||||||
|
|
@ -313,7 +317,7 @@
|
||||||
if (data.endTime == '长期') {
|
if (data.endTime == '长期') {
|
||||||
data.endTime = swapLongTerm(data.endTime);
|
data.endTime = swapLongTerm(data.endTime);
|
||||||
}
|
}
|
||||||
if(!flag.value){
|
if(!flag.value&&!data.flag){
|
||||||
if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){
|
if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){
|
||||||
// 入驻重新提交
|
// 入驻重新提交
|
||||||
data.status = `1`
|
data.status = `1`
|
||||||
|
|
@ -330,15 +334,18 @@
|
||||||
|
|
||||||
uni.setStorageSync("backhuancun", data)
|
uni.setStorageSync("backhuancun", data)
|
||||||
changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => {
|
changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => {
|
||||||
|
uni.hideLoading();
|
||||||
if (res.success ) {
|
if (res.success ) {
|
||||||
uni.requestSubscribeMessage({
|
uni.requestSubscribeMessage({
|
||||||
// 这里填后台申请好的 templateId 数组
|
// 这里填后台申请好的 templateId 数组
|
||||||
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
|
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
uni.setStorageSync('specicalid', data.optType == "bg"?true:false);
|
uni.setStorageSync('jgxxbgsq', data.optType == "bg"?true:false);
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: `/pages/login/specialsmall?type=1&special=${uni.getStorageSync('backhuancun').id===null}`
|
url: `/pages/login/specialsmall?type=1&special=${uni.getStorageSync('backhuancun').id===null}`
|
||||||
});
|
});
|
||||||
|
data.flag = false;
|
||||||
|
uni.setStorageSync("backhuancun", data)
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
console.error('订阅接口调用失败:', err);
|
console.error('订阅接口调用失败:', err);
|
||||||
|
|
@ -363,6 +370,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
uni.hideLoading();
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请完善信息',
|
title: '请完善信息',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|
@ -370,6 +378,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const go = (e)=>{
|
const go = (e)=>{
|
||||||
|
let data = uni.getStorageSync('backhuancun')
|
||||||
|
data.flag = true;
|
||||||
|
uni.setStorageSync("backhuancun", data)
|
||||||
if (e==1) {
|
if (e==1) {
|
||||||
flag.value = true;
|
flag.value = true;
|
||||||
exitshow.value = false;
|
exitshow.value = false;
|
||||||
|
|
|
||||||
|
|
@ -263,21 +263,27 @@
|
||||||
},
|
},
|
||||||
data: data,
|
data: data,
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.data.result == '重复提交') {
|
// if (res.data.result == '重复提交') {
|
||||||
|
// uni.showToast({
|
||||||
|
// title: `重复提交`,
|
||||||
|
// icon: 'none'
|
||||||
|
// })
|
||||||
|
// return
|
||||||
|
// }
|
||||||
|
// if (res.data.result == '未做变更') {
|
||||||
|
// uni.showToast({
|
||||||
|
// title: `当前无变更,无需提交`,
|
||||||
|
// icon: 'none'
|
||||||
|
// })
|
||||||
|
// return
|
||||||
|
// }
|
||||||
|
if (!res.data.success) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: `重复提交`,
|
title: res.data.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}else {
|
||||||
if (res.data.result == '未做变更') {
|
|
||||||
uni.showToast({
|
|
||||||
title: `当前无变更,无需提交`,
|
|
||||||
icon: 'none'
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (res.data.success) {
|
|
||||||
getMessage(uni.getStorageSync('openid')).then(res => {
|
getMessage(uni.getStorageSync('openid')).then(res => {
|
||||||
uni.setStorageSync('allinfo', res.result);
|
uni.setStorageSync('allinfo', res.result);
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
|
|
|
||||||
|
|
@ -363,7 +363,7 @@
|
||||||
uni.setStorageSync('specicalid', item.id);
|
uni.setStorageSync('specicalid', item.id);
|
||||||
uni.setStorageSync("backhuancun", {})
|
uni.setStorageSync("backhuancun", {})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/addjigou/name`
|
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const jumpTo = () => {
|
const jumpTo = () => {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
提交成功
|
提交成功
|
||||||
</view>
|
</view>
|
||||||
<view class="white-font">
|
<view class="white-font">
|
||||||
{{ uni.getStorageSync('isstaffchange') ? `尊敬的用户,您的机构变更信息申请已成功提交,我们将尽快处理反馈审核结果,期待与您继续携手同行!`:`尊敬的用户,您的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!` }}
|
{{ uni.getStorageSync('jgxxbgsq') ? `尊敬的用户,您的机构变更信息申请已成功提交,我们将尽快处理反馈审核结果,期待与您继续携手同行!`
|
||||||
|
:`尊敬的用户,您的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!` }}
|
||||||
</view>
|
</view>
|
||||||
<view class="normal">
|
<view class="normal">
|
||||||
<text>
|
<text>
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@
|
||||||
uni.setStorageSync('specicalid', item.id);
|
uni.setStorageSync('specicalid', item.id);
|
||||||
uni.setStorageSync("backhuancun", {})
|
uni.setStorageSync("backhuancun", {})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/addjigou/name`
|
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@
|
||||||
uni.setStorageSync('specicalid', trans.id);
|
uni.setStorageSync('specicalid', trans.id);
|
||||||
uni.setStorageSync("backhuancun", {})
|
uni.setStorageSync("backhuancun", {})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/addjigou/name`
|
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,9 @@
|
||||||
<view class="white-content-father">
|
<view class="white-content-father">
|
||||||
<view class="chuo-ball" @click="loadingData"
|
<view class="chuo-ball" @click="loadingData"
|
||||||
v-if="!item.modifyStatus && item.applyStatus==`1`">
|
v-if="!item.modifyStatus && item.applyStatus==`1`">
|
||||||
<image class="ball-img"
|
<image class="ball-img" :src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
|
||||||
:src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="white-content" v-if="item.applyType =='0' && item.applyStatus==`1`">
|
<view class="white-content" v-if="item.applyType =='0' && item.applyStatus==`1` ">
|
||||||
<image class="white-content-img" style="height: 200rpx;"
|
<image class="white-content-img" style="height: 200rpx;"
|
||||||
:src="`https://www.focusnu.com/media/directive/index/yuangonginvited.png`"
|
:src="`https://www.focusnu.com/media/directive/index/yuangonginvited.png`"
|
||||||
lazy-load="false" />
|
lazy-load="false" />
|
||||||
|
|
@ -94,9 +93,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
<view style="z-index: 1;width: 100%;margin-top: 100rpx;" v-if=" item.applyStatus==`2`||item.modifyStatus ">
|
||||||
<view style="z-index: 1;width: 100%;margin-top: 100rpx;"
|
|
||||||
v-if=" item.applyStatus==`2`||item.modifyStatus ">
|
|
||||||
<view class="fuwu-button">
|
<view class="fuwu-button">
|
||||||
<view class="fuwu-button-top">
|
<view class="fuwu-button-top">
|
||||||
<view style="display: flex;">
|
<view style="display: flex;">
|
||||||
|
|
@ -188,18 +185,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="zhiling-box" v-if=" item.applyStatus==`-1`">
|
|
||||||
<view class="zhiling-box">
|
|
||||||
<view class="">
|
|
||||||
暂无信息
|
|
||||||
</view>
|
|
||||||
<image class="zhiling-img" v-show="false"
|
|
||||||
src="https://www.focusnu.com/media/directive/index/mine/more.png" />
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
<view class="white-content" style="margin: 0 auto;margin-top: 0rpx;height: 740rpx;"
|
<view class="white-content" style="margin: 0 auto;margin-top: 0rpx;height: 740rpx;"
|
||||||
v-if="item.applyStatus==`-1`">
|
v-if="item.applyStatus==`-1`">
|
||||||
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">
|
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// 全局请求封装
|
// 全局请求封装
|
||||||
export const base_url = 'http://192.168.2.17:8081/opeapi/'
|
// export const base_url = 'http://192.168.2.17:8081/opeapi/'
|
||||||
// export const base_url = 'https://www.focusnu.com/opeapi'
|
export const base_url = 'https://www.focusnu.com/opeapi'
|
||||||
|
|
||||||
export const media_base_url = 'https://www.focusnu.com/media/'
|
export const media_base_url = 'https://www.focusnu.com/media/'
|
||||||
// export const base_url = 'http://192.168.2.24:8081/opeapi'
|
// export const base_url = 'http://192.168.2.24:8081/opeapi'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue