小程序前端改完

This commit is contained in:
Teng 2025-10-28 14:36:13 +08:00
parent 45c1063858
commit 2294266983
40 changed files with 303 additions and 187 deletions

View File

@ -221,7 +221,7 @@
textArray0[2] = data.comCreditCode;
textArray0[3] = data.comLegalPerson;
headImge0.value = `${media_base_url}${data.comBusinessLicense}`;
console.log("!!!!!",headImge0.value)
// console.log("!!!!!",headImge0.value)
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``);
textArray1[1] = data.orgAddress;
textArray1[2] = data.orgLeader;

View File

@ -84,8 +84,8 @@
base_url
} from '@/request/index.js'
import {
changemessage
} from './api/addjigou.js'
media_base_url
} from '@/request/index.js';
import model from "@/compontent/public/model.vue"
const show = ref(false);
@ -272,7 +272,7 @@
textArray[2] = data.comCreditCode;
textArray[3] = data.comLegalPerson;
if (data.comBusinessLicense) {
headImge.value = `${base_url}/sys/common/static/${data.comBusinessLicense}`;
headImge.value = `${media_base_url}${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense
}
}
@ -287,7 +287,7 @@
data0.comName = data.id
uni.setStorageSync("backhuancun", data)
if (data.comBusinessLicense) {
headImge.value = `${base_url}/sys/common/static/${data.comBusinessLicense}`;
headImge.value = `${media_base_url}${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense
}
}

View File

@ -26,7 +26,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
:src="fontphoto ? `${media_base_url}${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="fontphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!fontphoto"
@ -47,7 +47,7 @@
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" /> -->
<image class="photo"
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="endphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!endphoto"
@ -98,6 +98,7 @@
onShow
} from '@dcloudio/uni-app';
import {
media_base_url,
base_url
} from '@/request/index.js';
import {
@ -409,8 +410,8 @@
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${media_base_url}${data.cardZmPath}`;
backImge.value = `${media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath
endphoto.value = data.cardFmPath
}

View File

@ -31,7 +31,7 @@
</view>
<view class="one">
<view class="one-left">监护人电话</view>
<input class="one-right" maxlength="11" placeholder="请输入监护人电话" v-model="form.tel" />
<input class="one-right" type="number" maxlength="11" placeholder="请输入监护人电话" v-model="form.tel" />
</view>
<view class="one">
<view class="one-left">身份证号</view>
@ -67,7 +67,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
:src="fontphoto ? `${media_base_url}${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="fontphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!fontphoto"
@ -83,7 +83,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="endphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!endphoto"
@ -144,6 +144,7 @@
onShow
} from '@dcloudio/uni-app';
import {
media_base_url,
base_url
} from '@/request/index.js';

View File

@ -35,14 +35,14 @@
</view>
<view class="white-content">
<view class="white-photo" @click="getMessage(`${base_url}/sys/common/static/${fontphoto}`)">
<view class="white-photo" @click="getMessage(`${media_base_url}${fontphoto}`)">
<view class="photo-left">
<view class="photo-weight">人像面</view>
<view class="photo-font">请上传身份证人像面</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
:src="fontphoto ? `${media_base_url}${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
<image v-if="!fontphoto"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
@ -50,14 +50,14 @@
</view>
<view class="white-photo" style="margin-top: 30rpx;"
@click="getMessage(`${base_url}/sys/common/static/${endphoto}`)">
@click="getMessage(`${media_base_url}${endphoto}`)">
<view class="photo-left">
<view class="photo-weight">国徽面</view>
<view class="photo-font">请上传身份证国徽面</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
<image v-if="!endphoto"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
@ -93,7 +93,7 @@
onLoad
} from '@dcloudio/uni-app';
import {
base_url
media_base_url
} from '@/request/index.js';
import {
getrel

View File

@ -27,7 +27,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
:src="fontphoto ? `${media_base_url}${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="fontphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!fontphoto"
@ -43,7 +43,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/IDend.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="endphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!endphoto"
@ -102,6 +102,7 @@
onShow
} from '@dcloudio/uni-app';
import {
media_base_url,
base_url
} from '@/request/index.js';
import {
@ -427,8 +428,8 @@
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${data.endTime == '长期' ? swapLongTerm(data.endTime) : data.endTime}`;
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${media_base_url}${data.cardZmPath}`;
backImge.value = `${media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath
endphoto.value = data.cardFmPath
} else if (uni.getStorageSync('baddata')) {
@ -441,8 +442,8 @@
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${data.endTime == '长期' ? swapLongTerm(data.endTime) : data.endTime}`;
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${media_base_url}${data.cardZmPath}`;
backImge.value = `${media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath
endphoto.value = data.cardFmPath
} else {

View File

@ -149,13 +149,13 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[0] ? `${base_url}/sys/common/static/${imgArray[0]}` : '')">
@click="getMessage(imgArray[0] ? `${media_base_url}${imgArray[0]}` : '')">
<view class="photo-left">
<view class="photo-weight">健康证正面</view>
<view class="photo-font">请上传健康证正面</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[0] ? `${base_url}/sys/common/static/${imgArray[0]}` : ``" />
<image class="photo" :src="imgArray[0] ? `${media_base_url}${imgArray[0]}` : ``" />
<!-- <image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[0] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!imgArray[0]"
@ -189,13 +189,13 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[2] ? `${base_url}/sys/common/static/${imgArray[2]}` : '')">
@click="getMessage(imgArray[2] ? `${media_base_url}${imgArray[2]}` : '')">
<view class="photo-left">
<view class="photo-weight">资质证</view>
<view class="photo-font">请上传资质证</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[2] ? `${base_url}/sys/common/static/${imgArray[2]}` : ``" />
<image class="photo" :src="imgArray[2] ? `${media_base_url}${imgArray[2]}` : ``" />
<!-- <image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[2] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" /> -->
<!-- <image v-if="!imgArray[2]"
@ -212,13 +212,13 @@
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[3] ? `${base_url}/sys/common/static/${imgArray[3]}` : '')">
@click="getMessage(imgArray[3] ? `${media_base_url}${imgArray[3]}` : '')">
<view class="photo-left">
<view class="photo-weight">无犯罪证明</view>
<view class="photo-font">请上传无犯罪证明</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[3] ? `${base_url}/sys/common/static/${imgArray[3]}` : ``" />
<image class="photo" :src="imgArray[3] ? `${media_base_url}${imgArray[3]}` : ``" />
<!-- <image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[3] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!imgArray[3]"
@ -242,7 +242,7 @@
onLoad
} from '@dcloudio/uni-app';
import {
base_url
media_base_url
} from '@/request/index.js';
import {
getrel
@ -271,8 +271,8 @@
const nameArray0 = ["开户行", "开户行卡号"];
const textArray0 = reactive(["", "", ]);
const nameArray1 = ["婚否", "联系电话", "身高", "体重", "健康状态", "政治面貌", "紧急联系人", "紧急联系人电话", "联系人与本人关系", "户口性质", ];
const textArray1 = reactive(["", "", "", "", "", "", "", "", "", ""]);
const nameArray1 = ["婚否", "联系电话", "身高", "体重", "健康状态", "政治面貌", "紧急联系人", "紧急联系人电话", "联系人与本人关系", "户口性质",'现住址' ];
const textArray1 = reactive(["", "", "", "", "", "", "", "", "", "",""]);
const backImge = ref("");
@ -340,12 +340,12 @@
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
headImge.value = `${base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${media_base_url}${data.cardZmPath}`;
backImge.value = `${media_base_url}${data.cardFmPath}`;
textArray0[0] = data.openingBank;
textArray0[1] = data.bankCard;
fontphoto0.value = `${base_url}/sys/common/static/${data.bankZmPath}`;
endphoto0.value = `${base_url}/sys/common/static/${data.bankFmPath}`;
fontphoto0.value = `${media_base_url}${data.bankZmPath}`;
endphoto0.value = `${media_base_url}${data.bankFmPath}`;
imgArray.value[0] = data.healthZmPath
imgArray.value[1] = data.healthFmPath
imgArray.value[2] = data.qualificationPath
@ -362,14 +362,16 @@
"contactName",
"contactTel",
"contactRelationship",
"hukouType"
"hukouType",
"currentAddress"
]
keys.forEach((key, index) => {
textArray1[index] = data[key] || ""
})
textArray1[2] += "cm"
textArray1[3] += 'kg'
textArray1[2] = Number(textArray1[2]) + "cm"
textArray1[3] = Number(textArray1[3]) + "kg"
})
const changeMessage = () => {
console.log("????", alldata.value)

View File

@ -27,7 +27,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/bankfront.png`" />
:src="fontphoto ? `${media_base_url}${fontphoto}` : `https://www.focusnu.com/media/directive/index/bankfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="fontphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!fontphoto"
@ -43,7 +43,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/bankend.png`" />
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/bankend.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="endphoto ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!endphoto"
@ -88,6 +88,7 @@
onShow
} from '@dcloudio/uni-app';
import {
media_base_url,
base_url
} from '@/request/index.js';
import {

View File

@ -27,7 +27,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="imgArray[0] ? `${base_url}/sys/common/static/${imgArray[0]}` : `https://www.focusnu.com/media/directive/index/healfront.png`" />
:src="imgArray[0] ? `${media_base_url}${imgArray[0]}` : `https://www.focusnu.com/media/directive/index/healfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[0] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!imgArray[0]"
@ -66,7 +66,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="imgArray[2] ? `${base_url}/sys/common/static/${imgArray[2]}` : `https://www.focusnu.com/media/directive/index/zizhi.png`" />
:src="imgArray[2] ? `${media_base_url}${imgArray[2]}` : `https://www.focusnu.com/media/directive/index/zizhi.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[2] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!imgArray[2]"
@ -89,7 +89,7 @@
</view>
<view style="position: relative;">
<image class="photo"
:src="imgArray[3] ? `${base_url}/sys/common/static/${imgArray[3]}` : `https://www.focusnu.com/media/directive/index/fanzui.png`" />
:src="imgArray[3] ? `${media_base_url}${imgArray[3]}` : `https://www.focusnu.com/media/directive/index/fanzui.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="imgArray[3] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!imgArray[3]"
@ -122,7 +122,7 @@
onShow
} from '@dcloudio/uni-app';
import {
base_url
media_base_url
} from '@/request/index.js'
import {
changemessage
@ -174,7 +174,7 @@
const photoclick = (element) => {
if (element) {
uni.previewImage({
urls: [`${base_url}/sys/common/static/${imgArray[imgetarget.value]}`], //
urls: [`${media_base_url}${imgArray[imgetarget.value]}`], //
// current: headImge.value, // urls[0]
indicator: 'default', // H5/App 'default' 'number'
longPressActions: { // App

View File

@ -38,23 +38,27 @@
</view>
<view class="one" style="position: relative;" @click="showshengao=true">
<view class="one-left">身高</view>
<input disabled class="one-right" type="number" maxlength="3" placeholder="请输入身高"
v-model="form.height" />
<view class="triangle-down-mi">
<input disabled class="one-right" type="number" maxlength="10" placeholder="请输入身高"
v-model="form.showheight" />
<!-- <view class="triangle-down-mi">
cm
</view>
</view> -->
<image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" />
</view>
<u-select style="font-size: 35rpx;" v-model="showshengao" :list="showshengaolist"
:default-value="[showshengaolist.findIndex(item => item.value == form.height)]"
@confirm="confirmshowshengao"></u-select>
<view class="one" style="position: relative;" @click="showtizhong=true">
<view class="one-left">体重</view>
<input disabled class="one-right" type="number" maxlength="3" placeholder="请输入体重"
v-model="form.weight" />
<view class="triangle-down-mi">
<input disabled class="one-right" type="number" maxlength="10" placeholder="请输入体重"
v-model="form.showweight" />
<!-- <view class="triangle-down-mi">
kg
</view>
</view> -->
<image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" />
</view>
<u-select style="font-size: 35rpx;" v-model="showtizhong" :list="showtizhonglist"
:default-value="[showtizhonglist.findIndex(item => item.value == form.weight)]"
@confirm="confirmshowtizhong"></u-select>
<view class="one" style="position: relative;" @click="showhealth = true">
<view class="one-left">健康状况</view>
@ -96,7 +100,11 @@
placeholder="请选择户口性质" v-model="form.hukouType" />
<image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" />
</view>
<view class="one">
<view class="one-left">现住址</view>
<input class="one-right" maxlength="30" placeholder="请输入现住址"
v-model="form.currentAddress" />
</view>
<u-select style="font-size: 35rpx;" v-model="showform" :list="showformlist"
@confirm="confirmshowform"></u-select>
</view>
@ -161,23 +169,35 @@
)
const showshengao = ref(false);
const showshengaolist = reactive(
Array.from({ length: 61 }, (_, i) => {
Array.from({
length: 61
}, (_, i) => {
const v = 140 + i
return { value: String(v), label: `${v}cm` }
return {
value: String(v),
label: `${v}cm`
}
})
)
const confirmshowshengao = (item) => {
form.height = item[0].value
form.showheight = item[0].label
}
const showtizhong = ref(false);
const showtizhonglist = reactive(
Array.from({ length: 41 }, (_, i) => {
Array.from({
length: 41
}, (_, i) => {
const v = 40 + i
return { value: String(v), label: `${v}kg` }
return {
value: String(v),
label: `${v}kg`
}
})
)
const confirmshowtizhong = (item) => {
form.weight = item[0].value
form.showweight = item[0].label
}
const showface = ref(false);
const showfacelist = reactive(
@ -341,12 +361,17 @@
"contactName",
"contactTel",
"contactRelationship",
"hukouType"
"hukouType",
"currentAddress"
]
keys.forEach(key => {
form[key] = data[key] || ""
})
form.height = Number(form.height)
form.weight = Number(form.weight)
form.showheight = form.height + 'cm';
form.showweight = form.weight + 'kg';
} else {
uni.setStorageSync("isstaffchange", false)
}

View File

@ -126,9 +126,12 @@
</view>
<view class="normal">
<text>
<text v-if="!uni.getStorageSync('firstlogin')">
已成功绑定,期待您早日加入护理单元大家庭
</text>
<text v-else>
已成功绑定,欢迎加入护理单元大家庭
</text>
</view>
</view>
<view class="bottom-button" @click="jumpto">
@ -151,11 +154,13 @@
uni.reLaunch({
url: `/pages/login/callback`
});
uni.setStorageSync('firstlogin', true);
}
const phone = ref("");
onLoad((options) => {
phone.value = uni.getStorageSync('tel');
})
</script>

View File

@ -298,8 +298,12 @@
import {
getIndex,
isRead,
queryElders
queryElders,
getOrgNuId
} from './api.js'
// import {
// getOrgNuId
// } from './api.js'
import request from '@/request/index.js'
import downMenu from '@/compontent/public/oldmandownmenu.vue'
import model from "@/compontent/public/model.vue"
@ -334,6 +338,7 @@
weekday: weekdayMap[d.getDay()],
}
}
function parseToDate(dateInput) {
if (!dateInput) return null;
if (dateInput instanceof Date) return dateInput;
@ -420,10 +425,38 @@
}
}
const jumpSaoyisao = () => {
function isAtLeastTenChars(str) {
return typeof str === "string" && str.length >= 10;
}
async function jumpSaoyisao() {
// uni.navigateTo({
// url: "/pages/oldmanindex/saoyisao"
// })
const res = await uni.scanCode();
// console.log("res",res.result)
if (isAtLeastTenChars(res.result)) {
// console.log("res1111",res.result)
getOrgNuId(res.result).then(res0 => {
if (res0.result) {
// console.log("<><><",res0.result)
uni.navigateTo({
url: "/pages/oldmanindex/saoyisao"
url: `/pages/oldmanindex/saoyisaothen?element=${JSON.stringify(res0.result)}`
})
} else {
uni.showToast({
title: '扫描的二维码有误',
icon: 'none', //
duration: 2000
});
}
})
} else {
uni.showToast({
title: '扫描的二维码有误',
icon: 'none', //
duration: 2000
});
}
}
const jumpInput = () => {
uni.navigateTo({

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -85,7 +85,6 @@ const _sfc_main = {
textArray0[2] = data.comCreditCode;
textArray0[3] = data.comLegalPerson;
headImge0.value = `${request_index.media_base_url}${data.comBusinessLicense}`;
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:224", "!!!!!", headImge0.value);
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText != null ? data.orgCity_dictText : ``) + (data.orgDistrict_dictText != null ? data.orgDistrict_dictText : ``);
textArray1[1] = data.orgAddress;
textArray1[2] = data.orgLeader;

View File

@ -193,7 +193,7 @@ const _sfc_main = {
textArray[2] = data.comCreditCode;
textArray[3] = data.comLegalPerson;
if (data.comBusinessLicense) {
headImge.value = `${request_index.base_url}/sys/common/static/${data.comBusinessLicense}`;
headImge.value = `${request_index.media_base_url}${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense;
}
}
@ -208,7 +208,7 @@ const _sfc_main = {
data0.comName = data.id;
common_vendor.index.setStorageSync("backhuancun", data);
if (data.comBusinessLicense) {
headImge.value = `${request_index.base_url}/sys/common/static/${data.comBusinessLicense}`;
headImge.value = `${request_index.media_base_url}${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense;
}
}

View File

@ -71,7 +71,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:180", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:181", "拍照失败:", err);
}
});
}
@ -100,7 +100,7 @@ const _sfc_main = {
},
formData: {},
success: (uploadRes) => {
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:230", "token", common_vendor.index.getStorageSync("token"));
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:231", "token", common_vendor.index.getStorageSync("token"));
if (!JSON.parse(uploadRes.data).success) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
@ -278,8 +278,8 @@ const _sfc_main = {
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${compontent_public_long.swapLongTerm(data.endTime)}`;
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${request_index.media_base_url}${data.cardZmPath}`;
backImge.value = `${request_index.media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath;
endphoto.value = data.cardFmPath;
}
@ -301,12 +301,12 @@ const _sfc_main = {
c: common_vendor.o(goBack),
d: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
f: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
f: fontphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
g: fontphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
h: !fontphoto.value
}, !fontphoto.value ? {} : {}, {
i: common_vendor.o(($event) => selectphoto(0)),
j: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
j: endphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
k: endphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
l: !endphoto.value
}, !endphoto.value ? {} : {}, {

View File

@ -80,7 +80,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addoldman/oldIDcard.vue:240", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addoldman/oldIDcard.vue:241", "拍照失败:", err);
}
});
}
@ -358,7 +358,7 @@ const _sfc_main = {
});
},
fail: (e) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:558", "????", e);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:559", "????", e);
}
});
} else {
@ -441,7 +441,7 @@ const _sfc_main = {
textArray[1] = data.sex;
textArray[2] = data.idCard;
textArray[3] = data.national;
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:701", "????", data.dateOfBirth);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:702", "????", data.dateOfBirth);
textArray[4] = data.dateOfBirth;
textArray[5] = data.houseAddress;
textArray[6] = data.issuingAuthority;
@ -484,12 +484,12 @@ const _sfc_main = {
q: form.workUnit,
r: common_vendor.o(($event) => form.workUnit = $event.detail.value)
} : {}, {
s: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
s: fontphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
t: fontphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
v: !fontphoto.value
}, !fontphoto.value ? {} : {}, {
w: common_vendor.o(($event) => selectphoto(0)),
x: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
x: endphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
y: endphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
z: !endphoto.value
}, !endphoto.value ? {} : {}, {

File diff suppressed because one or more lines are too long

View File

@ -118,14 +118,14 @@ const _sfc_main = {
}, !applyStatus.value ? {
h: common_vendor.o(changeMessage)
} : {}, {
i: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDcard.png`,
i: fontphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDcard.png`,
j: !fontphoto.value
}, !fontphoto.value ? {} : {}, {
k: common_vendor.o(($event) => getMessage(`${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}`)),
l: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
k: common_vendor.o(($event) => getMessage(`${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}`)),
l: endphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${endphoto.value}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
m: !endphoto.value
}, !endphoto.value ? {} : {}, {
n: common_vendor.o(($event) => getMessage(`${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}`)),
n: common_vendor.o(($event) => getMessage(`${common_vendor.unref(request_index.media_base_url)}${endphoto.value}`)),
o: common_vendor.f(nameArray, (item, index, i0) => {
return {
a: common_vendor.t(item),

View File

@ -71,7 +71,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addstaff/IDcard.vue:186", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addstaff/IDcard.vue:187", "拍照失败:", err);
}
});
}
@ -278,7 +278,7 @@ const _sfc_main = {
common_vendor.index.navigateBack();
};
common_vendor.onLoad(() => {
common_vendor.index.__f__("log", "at pages/addstaff/IDcard.vue:417", "11", common_vendor.index.getStorageSync("backhuancun"));
common_vendor.index.__f__("log", "at pages/addstaff/IDcard.vue:418", "11", common_vendor.index.getStorageSync("backhuancun"));
if (common_vendor.index.getStorageSync("backhuancun").name) {
let data = common_vendor.index.getStorageSync("backhuancun");
textArray[0] = data.name;
@ -289,8 +289,8 @@ const _sfc_main = {
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${data.endTime == "长期" ? compontent_public_long.swapLongTerm(data.endTime) : data.endTime}`;
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${request_index.media_base_url}${data.cardZmPath}`;
backImge.value = `${request_index.media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath;
endphoto.value = data.cardFmPath;
} else if (common_vendor.index.getStorageSync("baddata")) {
@ -303,8 +303,8 @@ const _sfc_main = {
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${data.endTime == "长期" ? compontent_public_long.swapLongTerm(data.endTime) : data.endTime}`;
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${request_index.media_base_url}${data.cardZmPath}`;
backImge.value = `${request_index.media_base_url}${data.cardFmPath}`;
fontphoto.value = data.cardZmPath;
endphoto.value = data.cardFmPath;
} else
@ -327,12 +327,12 @@ const _sfc_main = {
c: common_vendor.o(goBack),
d: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
f: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
f: fontphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDfront.png`,
g: fontphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
h: !fontphoto.value
}, !fontphoto.value ? {} : {}, {
i: common_vendor.o(($event) => selectphoto(0)),
j: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
j: endphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${endphoto.value}` : `https://www.focusnu.com/media/directive/index/IDend.png`,
k: endphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
l: !endphoto.value
}, !endphoto.value ? {} : {}, {

View File

@ -21,8 +21,8 @@ const _sfc_main = {
const imgArray = common_vendor.ref(["", "", "", ""]);
const nameArray0 = ["开户行", "开户行卡号"];
const textArray0 = common_vendor.reactive(["", ""]);
const nameArray1 = ["婚否", "联系电话", "身高", "体重", "健康状态", "政治面貌", "紧急联系人", "紧急联系人电话", "联系人与本人关系", "户口性质"];
const textArray1 = common_vendor.reactive(["", "", "", "", "", "", "", "", "", ""]);
const nameArray1 = ["婚否", "联系电话", "身高", "体重", "健康状态", "政治面貌", "紧急联系人", "紧急联系人电话", "联系人与本人关系", "户口性质", "现住址"];
const textArray1 = common_vendor.reactive(["", "", "", "", "", "", "", "", "", "", ""]);
const backImge = common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref("");
@ -84,12 +84,12 @@ const _sfc_main = {
textArray[5] = data.idCardAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${compontent_public_long.swapLongTerm(data.endTime)}`;
headImge.value = `${request_index.base_url}/sys/common/static/${data.cardZmPath}`;
backImge.value = `${request_index.base_url}/sys/common/static/${data.cardFmPath}`;
headImge.value = `${request_index.media_base_url}${data.cardZmPath}`;
backImge.value = `${request_index.media_base_url}${data.cardFmPath}`;
textArray0[0] = data.openingBank;
textArray0[1] = data.bankCard;
fontphoto0.value = `${request_index.base_url}/sys/common/static/${data.bankZmPath}`;
endphoto0.value = `${request_index.base_url}/sys/common/static/${data.bankFmPath}`;
fontphoto0.value = `${request_index.media_base_url}${data.bankZmPath}`;
endphoto0.value = `${request_index.media_base_url}${data.bankFmPath}`;
imgArray.value[0] = data.healthZmPath;
imgArray.value[1] = data.healthFmPath;
imgArray.value[2] = data.qualificationPath;
@ -104,16 +104,17 @@ const _sfc_main = {
"contactName",
"contactTel",
"contactRelationship",
"hukouType"
"hukouType",
"currentAddress"
];
keys.forEach((key, index) => {
textArray1[index] = data[key] || "";
});
textArray1[2] += "cm";
textArray1[3] += "kg";
textArray1[2] = Number(textArray1[2]) + "cm";
textArray1[3] = Number(textArray1[3]) + "kg";
});
const changeMessage = () => {
common_vendor.index.__f__("log", "at pages/addstaff/all.vue:375", "????", alldata.value);
common_vendor.index.__f__("log", "at pages/addstaff/all.vue:377", "????", alldata.value);
if (alldata.value.modifyState == "1") {
openLook("该信息正在审核中,请等待");
} else {
@ -187,12 +188,12 @@ const _sfc_main = {
d: common_vendor.o(($event) => openLook(textArray0[index]), index)
};
}),
B: imgArray.value[0] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[0]}` : ``,
C: common_vendor.o(($event) => getMessage(imgArray.value[0] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[0]}` : "")),
D: imgArray.value[2] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[2]}` : ``,
E: common_vendor.o(($event) => getMessage(imgArray.value[2] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[2]}` : "")),
F: imgArray.value[3] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[3]}` : ``,
G: common_vendor.o(($event) => getMessage(imgArray.value[3] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray.value[3]}` : ""))
B: imgArray.value[0] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[0]}` : ``,
C: common_vendor.o(($event) => getMessage(imgArray.value[0] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[0]}` : "")),
D: imgArray.value[2] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[2]}` : ``,
E: common_vendor.o(($event) => getMessage(imgArray.value[2] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[2]}` : "")),
F: imgArray.value[3] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[3]}` : ``,
G: common_vendor.o(($event) => getMessage(imgArray.value[3] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray.value[3]}` : ""))
});
};
}

View File

@ -53,7 +53,7 @@ const _sfc_main = {
return;
}
targetphoto.value = number;
common_vendor.index.__f__("log", "at pages/addstaff/bankcard.vue:148", "????", backImge.value, headImge.value);
common_vendor.index.__f__("log", "at pages/addstaff/bankcard.vue:149", "????", backImge.value, headImge.value);
if (backImge.value && headImge.value) {
bottomshow.value = true;
} else {
@ -71,7 +71,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addstaff/bankcard.vue:171", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addstaff/bankcard.vue:172", "拍照失败:", err);
}
});
}
@ -248,12 +248,12 @@ const _sfc_main = {
c: common_vendor.o(goBack),
d: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
f: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/bankfront.png`,
f: fontphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/bankfront.png`,
g: fontphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
h: !fontphoto.value
}, !fontphoto.value ? {} : {}, {
i: common_vendor.o(($event) => selectphoto(0)),
j: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/bankend.png`,
j: endphoto.value ? `${common_vendor.unref(request_index.media_base_url)}${endphoto.value}` : `https://www.focusnu.com/media/directive/index/bankend.png`,
k: endphoto.value ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
l: !endphoto.value
}, !endphoto.value ? {} : {}, {

View File

@ -43,7 +43,7 @@ const _sfc_main = {
const photoclick = (element) => {
if (element) {
common_vendor.index.previewImage({
urls: [`${request_index.base_url}/sys/common/static/${imgArray[imgetarget.value]}`],
urls: [`${request_index.media_base_url}${imgArray[imgetarget.value]}`],
// 必填,所有要预览的图片地址数组
// current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
indicator: "default",
@ -79,7 +79,7 @@ const _sfc_main = {
const savephoto = (filePath) => {
uping.value = false;
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
url: `${base_url}/sys/common/upload`,
// 替换为您的POST接口地址
filePath,
name: "file",
@ -257,17 +257,17 @@ const _sfc_main = {
c: common_vendor.o(goBack),
d: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
f: imgArray[0] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray[0]}` : `https://www.focusnu.com/media/directive/index/healfront.png`,
f: imgArray[0] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray[0]}` : `https://www.focusnu.com/media/directive/index/healfront.png`,
g: imgArray[0] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
h: !imgArray[0]
}, !imgArray[0] ? {} : {}, {
i: common_vendor.o(($event) => selectphoto(0)),
j: imgArray[2] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray[2]}` : `https://www.focusnu.com/media/directive/index/zizhi.png`,
j: imgArray[2] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray[2]}` : `https://www.focusnu.com/media/directive/index/zizhi.png`,
k: imgArray[2] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
l: !imgArray[2]
}, !imgArray[2] ? {} : {}, {
m: common_vendor.o(($event) => selectphoto(2)),
n: imgArray[3] ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${imgArray[3]}` : `https://www.focusnu.com/media/directive/index/fanzui.png`,
n: imgArray[3] ? `${common_vendor.unref(request_index.media_base_url)}${imgArray[3]}` : `https://www.focusnu.com/media/directive/index/fanzui.png`,
o: imgArray[3] ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
p: !imgArray[3]
}, !imgArray[3] ? {} : {}, {

View File

@ -40,23 +40,35 @@ const _sfc_main = {
);
const showshengao = common_vendor.ref(false);
const showshengaolist = common_vendor.reactive(
Array.from({ length: 61 }, (_, i) => {
Array.from({
length: 61
}, (_, i) => {
const v = 140 + i;
return { value: String(v), label: `${v}cm` };
return {
value: String(v),
label: `${v}cm`
};
})
);
const confirmshowshengao = (item) => {
form.height = item[0].value;
form.showheight = item[0].label;
};
const showtizhong = common_vendor.ref(false);
const showtizhonglist = common_vendor.reactive(
Array.from({ length: 41 }, (_, i) => {
Array.from({
length: 41
}, (_, i) => {
const v = 40 + i;
return { value: String(v), label: `${v}kg` };
return {
value: String(v),
label: `${v}kg`
};
})
);
const confirmshowtizhong = (item) => {
form.weight = item[0].value;
form.showweight = item[0].label;
};
const showface = common_vendor.ref(false);
const showfacelist = common_vendor.reactive(
@ -212,11 +224,16 @@ const _sfc_main = {
"contactName",
"contactTel",
"contactRelationship",
"hukouType"
"hukouType",
"currentAddress"
];
keys.forEach((key) => {
form[key] = data[key] || "";
});
form.height = Number(form.height);
form.weight = Number(form.weight);
form.showheight = form.height + "cm";
form.showweight = form.weight + "kg";
} else {
common_vendor.index.setStorageSync("isstaffchange", false);
}
@ -237,22 +254,24 @@ const _sfc_main = {
}),
j: form.tel,
k: common_vendor.o(($event) => form.tel = $event.detail.value),
l: form.height,
m: common_vendor.o(($event) => form.height = $event.detail.value),
l: form.showheight,
m: common_vendor.o(($event) => form.showheight = $event.detail.value),
n: common_vendor.o(($event) => showshengao.value = true),
o: common_vendor.o(confirmshowshengao),
p: common_vendor.o(($event) => showshengao.value = $event),
q: common_vendor.p({
list: showshengaolist,
["default-value"]: [showshengaolist.findIndex((item) => item.value == form.height)],
modelValue: showshengao.value
}),
r: form.weight,
s: common_vendor.o(($event) => form.weight = $event.detail.value),
r: form.showweight,
s: common_vendor.o(($event) => form.showweight = $event.detail.value),
t: common_vendor.o(($event) => showtizhong.value = true),
v: common_vendor.o(confirmshowtizhong),
w: common_vendor.o(($event) => showtizhong.value = $event),
x: common_vendor.p({
list: showtizhonglist,
["default-value"]: [showtizhonglist.findIndex((item) => item.value == form.weight)],
modelValue: showtizhong.value
}),
y: form.healthStatus,
@ -282,13 +301,15 @@ const _sfc_main = {
Q: form.hukouType,
R: common_vendor.o(($event) => form.hukouType = $event.detail.value),
S: common_vendor.o(($event) => showform.value = true),
T: common_vendor.o(confirmshowform),
U: common_vendor.o(($event) => showform.value = $event),
V: common_vendor.p({
T: form.currentAddress,
U: common_vendor.o(($event) => form.currentAddress = $event.detail.value),
V: common_vendor.o(confirmshowform),
W: common_vendor.o(($event) => showform.value = $event),
X: common_vendor.p({
list: showformlist,
modelValue: showform.value
}),
W: common_vendor.o(next)
Y: common_vendor.o(next)
};
};
}

File diff suppressed because one or more lines are too long

View File

@ -7,16 +7,19 @@ const _sfc_main = {
common_vendor.index.reLaunch({
url: `/pages/login/callback`
});
common_vendor.index.setStorageSync("firstlogin", true);
};
const phone = common_vendor.ref("");
common_vendor.onLoad((options) => {
phone.value = common_vendor.index.getStorageSync("tel");
});
return (_ctx, _cache) => {
return {
return common_vendor.e({
a: common_vendor.t(phone.value),
b: common_vendor.o(jumpto)
};
b: !common_vendor.index.getStorageSync("firstlogin")
}, !common_vendor.index.getStorageSync("firstlogin") ? {} : {}, {
c: common_vendor.o(jumpto)
});
};
}
};

View File

@ -1 +1 @@
<view class="font-father data-v-186dd127"><view class="fixed data-v-186dd127"><image class="title-photo data-v-186dd127" style="width:200rpx;height:200rpx" src="https://www.focusnu.com/media/directive/index/jumpImge/bangding.png"/><view class="data-v-186dd127" style="font-size:35rpx;font-weight:600;margin:30rpx 0"> 尊敬的用户,您的手机 </view><view class="small-title data-v-186dd127">{{a}}</view><view class="normal data-v-186dd127"><text class="data-v-186dd127"> 已成功绑定,期待您早日加入护理单元大家庭! </text></view></view><view class="bottom-button data-v-186dd127" bindtap="{{b}}"> 我的机构 </view></view>
<view class="font-father data-v-186dd127"><view class="fixed data-v-186dd127"><image class="title-photo data-v-186dd127" style="width:200rpx;height:200rpx" src="https://www.focusnu.com/media/directive/index/jumpImge/bangding.png"/><view class="data-v-186dd127" style="font-size:35rpx;font-weight:600;margin:30rpx 0"> 尊敬的用户,您的手机 </view><view class="small-title data-v-186dd127">{{a}}</view><view class="normal data-v-186dd127"><text wx:if="{{b}}" class="data-v-186dd127"> 已成功绑定,期待您早日加入护理单元大家庭! </text><text wx:else class="data-v-186dd127"> 已成功绑定,欢迎加入护理单元大家庭! </text></view></view><view class="bottom-button data-v-186dd127" bindtap="{{c}}"> 我的机构 </view></view>

View File

@ -100,11 +100,35 @@ const _sfc_main = {
break;
}
};
const jumpSaoyisao = () => {
function isAtLeastTenChars(str) {
return typeof str === "string" && str.length >= 10;
}
async function jumpSaoyisao() {
const res = await common_vendor.index.scanCode();
if (isAtLeastTenChars(res.result)) {
pages_oldmanindex_api.getOrgNuId(res.result).then((res0) => {
if (res0.result) {
common_vendor.index.navigateTo({
url: "/pages/oldmanindex/saoyisao"
url: `/pages/oldmanindex/saoyisaothen?element=${JSON.stringify(res0.result)}`
});
};
} else {
common_vendor.index.showToast({
title: "扫描的二维码有误",
icon: "none",
// 不显示对勾图标
duration: 2e3
});
}
});
} else {
common_vendor.index.showToast({
title: "扫描的二维码有误",
icon: "none",
// 不显示对勾图标
duration: 2e3
});
}
}
const jumpInput = () => {
common_vendor.index.navigateTo({
url: "/pages/oldmanindex/input"

View File

@ -5,12 +5,11 @@
},
"setting": {
"urlCheck": false,
"es6": true,
"es6": false,
"postcss": false,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"enhance": true
"bigPackageSizeSupport": true
},
"compileType": "miniprogram",
"libVersion": "latest",