This commit is contained in:
wangweidong 2026-03-09 11:03:31 +08:00
parent 0571610651
commit f49b26b87a
10 changed files with 51 additions and 45 deletions

View File

@ -10,7 +10,7 @@
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="uni.navigateBack({delta:2})">
<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 :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>

View File

@ -10,7 +10,7 @@
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="goBack">
<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 :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
@ -455,15 +455,18 @@
}
const alldata = ref({})
onLoad((e) => {
if (uni.getStorageSync('baddata')||e.element) {
let data = uni.getStorageSync('baddata')||JSON.parse(e.element);
let data = JSON.parse(e.element);
if(e.element){
alldata.value = JSON.parse(e.element);
uni.setStorageSync('baddata',alldata.value)
uni.setStorageSync('backhuancun',alldata.value)
uni.setStorageSync('tel',alldata.value.tel)
}else{
data = uni.getStorageSync('baddata')
}
if(!data){
return
}
console.log(uni.getStorageSync('baddata'))
textArray[0] = data.name;
textArray[1] = data.sex;
textArray[2] = data.idCard;
@ -476,7 +479,6 @@
backImge.value = `${media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath
endphoto.value = data.cardFmPath
}
})
onShow(() => {

View File

@ -53,7 +53,7 @@
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="uni.navigateBack({delta:3})">
<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 :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
@ -306,6 +306,10 @@
// } else {
// data.status = form.status
// }
uni.showLoading({
title:"加载中..",
icon:'none'
})
uni.setStorageSync("backhuancun", data)
if (allNonEmpty) {
let data = uni.getStorageSync('backhuancun')
@ -313,7 +317,7 @@
if (data.endTime == '长期') {
data.endTime = swapLongTerm(data.endTime);
}
if(!flag.value){
if(!flag.value&&!data.flag){
if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){
//
data.status = `1`
@ -330,15 +334,18 @@
uni.setStorageSync("backhuancun", data)
changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => {
uni.hideLoading();
if (res.success ) {
uni.requestSubscribeMessage({
// templateId
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
success: (res) => {
uni.setStorageSync('specicalid', data.optType == "bg"?true:false);
uni.setStorageSync('jgxxbgsq', data.optType == "bg"?true:false);
uni.reLaunch({
url: `/pages/login/specialsmall?type=1&special=${uni.getStorageSync('backhuancun').id===null}`
});
data.flag = false;
uni.setStorageSync("backhuancun", data)
},
fail: (err) => {
console.error('订阅接口调用失败:', err);
@ -363,6 +370,7 @@
}
})
} else {
uni.hideLoading();
uni.showToast({
title: '请完善信息',
icon: 'none'
@ -370,6 +378,9 @@
}
}
const go = (e)=>{
let data = uni.getStorageSync('backhuancun')
data.flag = true;
uni.setStorageSync("backhuancun", data)
if (e==1) {
flag.value = true;
exitshow.value = false;

View File

@ -263,21 +263,27 @@
},
data: data,
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({
title: `重复提交`,
title: res.data.message,
icon: 'none'
})
return
}
if (res.data.result == '未做变更') {
uni.showToast({
title: `当前无变更,无需提交`,
icon: 'none'
})
return
}
if (res.data.success) {
}else {
getMessage(uni.getStorageSync('openid')).then(res => {
uni.setStorageSync('allinfo', res.result);
uni.reLaunch({

View File

@ -363,7 +363,7 @@
uni.setStorageSync('specicalid', item.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
});
}
const jumpTo = () => {

View File

@ -6,7 +6,8 @@
提交成功
</view>
<view class="white-font">
{{ uni.getStorageSync('isstaffchange') ? `尊敬的用户,您的机构变更信息申请已成功提交,我们将尽快处理反馈审核结果,期待与您继续携手同行!`:`尊敬的用户,您的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!` }}
{{ uni.getStorageSync('jgxxbgsq') ? `尊敬的用户,您的机构变更信息申请已成功提交,我们将尽快处理反馈审核结果,期待与您继续携手同行!`
:`尊敬的用户,您的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!` }}
</view>
<view class="normal">
<text>

View File

@ -114,7 +114,7 @@
uni.setStorageSync('specicalid', item.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
});
}

View File

@ -146,7 +146,7 @@
uni.setStorageSync('specicalid', trans.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
url: `/pages/addjigou/name?element=${JSON.stringify(item)}`
});
}

View File

@ -20,10 +20,9 @@
<view class="white-content-father">
<view class="chuo-ball" @click="loadingData"
v-if="!item.modifyStatus && item.applyStatus==`1`">
<image class="ball-img"
:src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
<image class="ball-img" :src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
</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;"
:src="`https://www.focusnu.com/media/directive/index/yuangonginvited.png`"
lazy-load="false" />
@ -94,9 +93,7 @@
</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-top">
<view style="display: flex;">
@ -189,17 +186,6 @@
</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;"
v-if="item.applyStatus==`-1`">
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">

View File

@ -1,6 +1,6 @@
// 全局请求封装
export const base_url = 'http://192.168.2.17:8081/opeapi/'
// export const base_url = 'https://www.focusnu.com/opeapi'
// export const base_url = 'http://192.168.2.17:8081/opeapi/'
export const base_url = 'https://www.focusnu.com/opeapi'
export const media_base_url = 'https://www.focusnu.com/media/'
// export const base_url = 'http://192.168.2.24:8081/opeapi'