This commit is contained in:
Teng 2025-06-11 17:33:34 +08:00
parent 68b362a313
commit e4dbba6a1d
104 changed files with 1752 additions and 489 deletions

63
api/main.js Normal file
View File

@ -0,0 +1,63 @@
// src/composables/useWeChatAuth.js
import { ref } from 'vue';
import request from '@/request/index.js';
//解决跨域
export function proxy(res){
return request({
url: `/api/proxy/get?apiUrl=${res.apiUrl}&params=${res.other}`,
method: 'get',
})
}
export const jsonp = function (url, data) {
return new Promise((resolve, reject) => {
// 1.初始化url
let dataString = url.indexOf('?') === -1 ? '?' : '&'
let callbackName = `jsonpCB_${Date.now()}`;
url += `${dataString}`
if (data) {
// 2.有请求参数依次添加到url
for (let k in data) {
url += `&${k}=${data[k]}`
}
}
let scriptNode = document.createElement('script');
scriptNode.src = url;
// 3. callback
window[callbackName] = (result) => {
result ? resolve(result) : reject('没有返回数据');
delete window[callbackName];
document.body.removeChild(scriptNode);
}
// 4. 异常情况
scriptNode.addEventListener('error', () => {
reject('接口返回数据失败');
delete window[callbackName];
document.body.removeChild(scriptNode);
}, false)
// 5. 开始请求
document.body.appendChild(scriptNode)
})
}
//验证码是否正确
// export function checkPhoneCode(data){
// return request({
// url: `/sys/checkPhoneCode`,
// method: 'post',
// data,
// })
// }
// //不知道干啥的
// export function getList(){
// return request({
// url: `/NuBizAdvisoryInfo/nuBizAdvisoryInfo/list`,
// method: 'get',
// })
// }

View File

@ -10,7 +10,7 @@
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<script
src="https://map.qq.com/api/js?v=2.exp&key=WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G"
src="https://map.qq.com/api/js?v=2.exp&key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC"
crossorigin="anonymous">
</script>

View File

@ -0,0 +1,20 @@
// src/composables/useWeChatAuth.js
import { ref } from 'vue';
import request from '@/request/index.js';
//新增/编辑机构加盟申请信息
export function changemessage(data){
return request({
url: `/api/orgApplyInfo/save`,
method: 'post',
data,
})
}
//根据手机号获取机构加盟申请信息
export function getMessageList(tel){
return request({
url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,
method: 'get',
})
}

View File

@ -71,12 +71,15 @@
import {
base_url
} from '@/request/index.js'
import {
changemessage
} from './api/addjigou.js'
const show = ref(false);
const content = ref("");
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
const textArray = reactive(["", "", "", "", "", "", "", ""]);
const textArray = reactive(["", "", "", ""]);
//
const tempImagePath = ref('')
@ -130,6 +133,7 @@
textArray[2] = father.creditCode;
textArray[3] = father.legalPerson;
headImge.value = filePath;
savephoto(filePath);
uni.hideLoading()
// textArray[4] = father.birthDate;
// textArray[5] = father.address;
@ -158,7 +162,8 @@
}
})
}
const savephoto = () => {
const fontphoto = ref("");
const savephoto = (filePath) => {
uni.uploadFile({
url: `${base_url}/sys/common/upload`, // POST
filePath,
@ -166,9 +171,11 @@
header: {
'X-Access-Token': uni.getStorageSync('token') || '',
},
formData: {},
formData: {
biz: `temp`
},
success: uploadRes => {
console.log("?????", uploadRes)
fontphoto.value = JSON.parse(uploadRes.data).message
},
fail: err => {
uni.showToast({
@ -186,9 +193,47 @@
}
}
const next = () => {
uni.navigateTo({
url: "/pages/addjigou/where"
const allNonEmpty = textArray.every(item => {
// item.trim() !== ''
return item !== '';
});
if (allNonEmpty) {
let pushMessage = {
id: uni.getStorageSync('specicalid') || "",
tel: uni.getStorageSync('tel'),
comName: textArray[0],
comRegisterAddress: textArray[1],
comCreditCode: textArray[2],
comLegalPerson: textArray[3],
comBusinessLicense:fontphoto.value,
}
// console.log("????",pushMessage)
changemessage(pushMessage).then(res => {
if(res.success){
if(res.message==`保存成功!`){
uni.navigateTo({
url: "/pages/addjigou/where"
});
}else{
uni.navigateTo({
url: "/pages/addjigou/where"
});
}
}else{
uni.showToast({
title: res.message,
icon: 'error'
})
}
})
} else {
uni.showToast({
title: '请完善信息',
icon: 'error'
})
}
}
const goBack = () => {
uni.navigateBack()

View File

@ -6,9 +6,9 @@
<image class="back-img" src="@/static/index/left.png" />
<view style="font-size: 30rpx;">返回</view>
</view>
<view :class="!statesTarget? `rightStautes`:statesTarget==1? `rightStautesred`:`rightStautesblue`" @click="shenhe">
<!-- <view :class="!statesTarget? `rightStautes`:statesTarget==1? `rightStautesred`:`rightStautesblue`" @click="shenhe">
{{ states[statesTarget] }}
</view>
</view> -->
</view>
<view class="white-content">
<view class="content-title">
@ -34,10 +34,12 @@
<view class="photo-font">请上传身份证国徽面</view>
</view>
<view style="position: relative;">
<image class="photo" :src="backImge ? backImge : `/static/index/backIDcard.png`" />
<image v-show="!backImge" style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);" src="@/static/index/takephoto.png" />
<image class="photo" :src="backImge ? backImge : `/static/index/backIDcard.png`" />
<image v-show="!backImge"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="@/static/index/takephoto.png" />
</view>
</view>
<view class="white-message">
<view class="message-title">
@ -69,7 +71,7 @@
下一步
</view>
</view>
</div>
</template>
@ -81,30 +83,38 @@
import {
onLoad
} from '@dcloudio/uni-app';
import { base_url } from '@/request/index.js'
import {
base_url
} from '@/request/index.js';
import {
changemessage
} from './api/addjigou.js'
const show = ref(false);
const content = ref("");
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const textArray = reactive(["", "", "", "", "", "", "", ""]);
const states = ["审核中","审核未通过","审核通过" ];
const states = ["审核中", "审核未通过", "审核通过"];
const fontphoto = ref("");
const endphoto = ref("");
const statesTarget = ref(0);
const shenhe = () => {
if(statesTarget.value==2){
statesTarget.value=0
}else{
if (statesTarget.value == 2) {
statesTarget.value = 0
} else {
statesTarget.value++
}
}
//
const tempImagePath = ref('')
//
function getMessage() {
// wx.ready(() => {
// wx.chooseAddress({
// success(res) {
@ -132,7 +142,24 @@
const headImge = ref("");
const backImge = ref("");
//
function formatChineseDate(chineseDate) {
return chineseDate.replace(/(\d+)年(\d+)月(\d+)日/, (_, y, m, d) => {
return `${y}.${m}.${d}`;
});
}
function toIsoDate(dateStr) {
return dateStr.replace(
/(\d{2,4})\.(\d{1,2})\.(\d{1,2})/,
(_, y, m, d) => {
//
const mm = m.padStart(2, '0');
const dd = d.padStart(2, '0');
return `${y}-${mm}-${dd}`;
}
);
}
//
function uploadImage(filePath) {
uni.showLoading()
@ -145,7 +172,7 @@
},
formData: {},
success: uploadRes => {
console.log("token",uni.getStorageSync('token'))
console.log("token", uni.getStorageSync('token'))
if (!JSON.parse(uploadRes.data).success) {
uni.showToast({
title: '识别失败',
@ -154,7 +181,7 @@
uni.hideLoading()
return
}
savephoto(filePath);
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.face) {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.face.data;
textArray[0] = father.name;
@ -167,6 +194,8 @@
title: '识别成功',
})
headImge.value = filePath;
savephoto(filePath, 0);
uni.hideLoading()
} else {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.back.data;
@ -176,6 +205,7 @@
title: '识别成功',
})
backImge.value = filePath;
savephoto(filePath, 1);
uni.hideLoading()
}
},
@ -188,7 +218,7 @@
}
})
}
const savephoto = (filePath) => {
const savephoto = (filePath, type) => {
uni.uploadFile({
url: `${base_url}/sys/common/upload`, // POST
filePath,
@ -200,7 +230,11 @@
biz: `temp`
},
success: uploadRes => {
console.log("?????",uploadRes)
if (!type) {
fontphoto.value = JSON.parse(uploadRes.data).message
} else {
endphoto.value = JSON.parse(uploadRes.data).message
}
},
fail: err => {
uni.showToast({
@ -217,10 +251,57 @@
show.value = true
}
}
const next = () => {
uni.navigateTo({
url: "/pages/addjigou/card"
const allNonEmpty = textArray.every(item => {
// item.trim() !== ''
return item !== '';
});
if (allNonEmpty) {
const range = textArray[7];
const [start, end] = range.split('-');
let pushMessage = {
id: uni.getStorageSync('specicalid') || "",
tel: uni.getStorageSync('tel'),
name: textArray[0],
sex: textArray[1],
idCard: textArray[2],
national: textArray[3],
birthDate: textArray[4],
idCardAddress: textArray[5],
issuingAuthority: textArray[6],
startTime: start,
endTime: end,
cardZmPath:fontphoto.value,
cardFmPath:endphoto.value
}
// console.log("????",pushMessage)
changemessage(pushMessage).then(res => {
if(res.success){
if(res.message==`保存成功!`){
uni.navigateTo({
url: "/pages/addjigou/card"
});
}else{
uni.setStorageSync('specicalid', res.result.id);
uni.navigateTo({
url: "/pages/addjigou/card"
});
}
}else{
uni.showToast({
title: res.message,
icon: 'error'
})
}
})
} else {
uni.showToast({
title: '请完善信息',
icon: 'error'
})
}
}
// 1. JSSDK
// async function loadWxJSSDK() {
@ -233,7 +314,7 @@
// getapi()
// })
// }
// const getapi = () => {
// const post = `${uni.getStorageSync('serverUrl')}/weiXinPay/getJsApiInfo`;
// const pay = {
@ -264,8 +345,8 @@
// /* */
// ]
// })
// })
// .catch(err => {
// console.error(':', err);
@ -277,7 +358,7 @@
onLoad(() => {
// loadWxJSSDK()
// URL # signature
})
</script>
@ -433,24 +514,28 @@
border-radius: 50rpx;
font-size: 35rpx;
}
.title-back{
.title-back {
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father{
.left-father {
display: flex;
align-items: center;
.back-img{
.back-img {
width: 50rpx;
height: 50rpx;
margin-left: 40rpx;
margin-right: 5rpx;
}
}
.rightStautes{
.rightStautes {
width: 170rpx;
height: 62rpx;
border-radius: 60rpx;
@ -461,22 +546,24 @@
color: #fff;
margin-right: 30rpx;
}
.rightStautesred{
.rightStautesred {
width: 170rpx;
height: 62rpx;
border-radius: 60rpx;
background: linear-gradient(to right,#FF4A76 ,#FF553A);
background: linear-gradient(to right, #FF4A76, #FF553A);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
margin-right: 30rpx;
}
.rightStautesblue{
.rightStautesblue {
width: 170rpx;
height: 62rpx;
border-radius: 60rpx;
background: linear-gradient(to right,#00C9FF ,#0076FF);
background: linear-gradient(to right, #00C9FF, #0076FF);
display: flex;
justify-content: center;
align-items: center;

View File

@ -7,11 +7,15 @@
<view>
<view class="one">
<view class="one-left">机构位置</view>
<view style="display: flex;align-items: center;">
<view class="one-right">请选择机构位置</view>
<image class="one-img" src="@/static/index/norelmap.png" @click="jumpToMap" />
<view class="special">
<view class="one-right"
style="width: 170rpx;justify-content: flex-start;"
@click="openLook(jigouweizhi)">
{{ jigouweizhi ? jigouweizhi : `请选择机构位置` }}
</view>
<image class="one-img" src="@/static/index/norelmap.png" @click="jumpToMap" />
</view>
</view>
</view>
<view>
@ -23,7 +27,7 @@
<view>
<view class="one">
<view class="one-left">机构负责人电话</view>
<input class="one-right" type="text" placeholder="请输入机构负责人电话" v-model="form.orgLeaderPhone" />
<input class="one-right" type="number" placeholder="请输入机构负责人电话" v-model="form.orgLeaderPhone" />
</view>
</view>
<view>
@ -42,46 +46,56 @@
<view class="one" style="position: relative;">
<view class="one-left">建筑面积</view>
<input class="one-right" type="number" placeholder="请输入建筑面积" v-model="form.orgBuildingArea" />
<view class="pingfangmi">
<!-- <view class="pingfangmi">
平方米
</view>
</view> -->
</view>
</view>
</view>
</view>
<view style="display: flex;width: 100%;">
<view class="finish-button" @click="goBack">
上一步
<view style="display: flex;width: 100%;">
<view class="finish-button" @click="goBack">
上一步
</view>
<view class="finish-button" @click="next">
确认并提交
</view>
</view>
<view class="finish-button" @click="next">
确认并提交
</view>
</view>
</div>
</template>
<script setup>
import {
ref,
reactive
reactive,
} from 'vue'
import {
onLoad
onLoad,
onShow
} from '@dcloudio/uni-app';
import {
base_url
} from '@/request/index.js'
import {
changemessage
} from './api/addjigou.js'
const show = ref(false);
const content = ref("");
const jigouweizhi = ref("");
const form = reactive({
orgLeader:"",
orgLeaderPhone:"",
orgBuildingNumber:"",
orgPropertyType:"",
orgBuildingArea:""
orgLeader: "",
orgLeaderPhone: "",
orgBuildingNumber: "",
orgPropertyType: "",
orgBuildingArea: "",
orgAddress: "",
orgCoordinateLo: "",
orgCoordinateLa: "",
id: uni.getStorageSync('specicalid') || "",
tel: uni.getStorageSync('tel'),
})
//
const tempImagePath = ref('')
@ -96,9 +110,37 @@
}
}
const next = () => {
// uni.navigateTo({
// url: "/pages/addjigou/where"
// });
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgBuildingNumber && form.orgPropertyType &&
form.orgBuildingArea && form.orgAddress && form.orgCoordinateLo && form.orgCoordinateLa
if (allNonEmpty) {
changemessage(form).then(res => {
if (res.success) {
if (res.message == `保存成功!`) {
uni.setStorageSync('specicalid', "");
uni.reLaunch({
url: `/pages/login/workjoin?type=1`
});
} else {
uni.setStorageSync('specicalid', res.result.id);
uni.reLaunch({
url: `/pages/login/workjoin?type=1`
});
}
} else {
uni.showToast({
title: res.message,
icon: 'error'
})
}
})
} else {
uni.showToast({
title: '请完善信息',
icon: 'error'
})
}
}
const goBack = () => {
@ -109,6 +151,18 @@
url: "/pages/map/index"
});
}
onShow(() => {
//
const data = uni.getStorageSync('dingwei')
if (data) {
console.log("data", data)
jigouweizhi.value = data.name
form.orgAddress = data.name
form.orgCoordinateLo = data.lng
form.orgCoordinateLa = data.lat
uni.removeStorageSync('dingwei')
}
})
</script>
<style lang="scss" scoped>
@ -261,16 +315,29 @@
border-radius: 50rpx;
font-size: 35rpx;
}
.one-img{
.one-img {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10rpx;
width: 60rpx;
height: 50rpx;
margin-right: 10rpx;
margin-left: 35rpx;
// margin-right: 10rpx;
// margin-left: 35rpx;
}
.pingfangmi{
.pingfangmi {
position: absolute;
top: 50%;
right: 5rpx;
transform: translateY(-50%);
}
.special {
display: flex;
align-items: center;
width: 280rpx;
position: relative;
}
</style>

View File

@ -160,6 +160,7 @@
uni.redirectTo({
url: `/pages/login/threeselectone`
});
uni.setStorageSync('tel', data.result.tel);
}
getjigou()
})

View File

@ -170,7 +170,7 @@
}).then(res => {
if (res.success) {
uni.redirectTo({
url: `/pages/login/threeselectone`
url: `/pages/login/callback`
});
} else {
uni.showToast({

View File

@ -86,7 +86,7 @@
}
const ceshi = () =>{
uni.navigateTo({
url: `/pages/addjigou/name`
url: "/pages/addjigou/where"
});
}

View File

@ -26,10 +26,10 @@
<scroll-view scroll-y style="height: 100%;width: 100%;">
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small">
<view style="width: 100%;margin-bottom: 80rpx;font-size: 25rpx;white-space: normal;word-break: keep-all;overflow-wrap: break-word;">
xx员工申请入驻xx护理机构提交时间:2025.05.01审核结果:{{item.success ? "审核成功" :"审核失败" }}</view>
<view style="width: 100%;margin-bottom: 80rpx;font-size: 25rpx;">
{{item.comName}}申请入驻加盟护理单元提交时间:{{item.updateTime}}审核结果:{{item.status==1 ? "审核中" :item.status==2?`审核完成`:`驳回` }}</view>
<view class="button-heng">
<view class="blue-button" v-if="!item.success">
<view class="blue-button" v-if="item.status==2">
重新提交
</view>
<view class="white-button">
@ -51,29 +51,21 @@
ref
} from 'vue';
import { onLoad } from '@dcloudio/uni-app'
import { getMessageList } from '@/pages/addjigou/api/addjigou.js'
const type = ref(0)
const workArray = ref([])
// URL
onLoad((options) => {
// options.type URL number
type.value = options.type || ''
if(!type.value){
getMessageList(uni.getStorageSync('tel')).then(res=>{
workArray.value = res.result
})
}
})
const workArray = [{
success: true,
}, {
success: true,
},
{
success: true,
},
{
success: true,
},
{
success: false,
}
]
const goback = () => {
uni.navigateBack()

View File

@ -2,168 +2,592 @@
<view class="container">
<!-- 顶部搜索框 -->
<view class="search-bar">
<input type="text" v-model="keyword" placeholder="搜索地点" @confirm="onSearch" />
<button @click="onSearch">搜索</button>
<view class="search-bar-left">
<image class="left-imge" src="/static/index/chahao.png" />
<view style="margin-left: 15rpx;" @click="jumpBack">
取消
</view>
</view>
<!-- <view class="" @click="dingwei">复位</view> -->
<view class="search-bar-right" @click="jumpBackValue" v-show="listTarget!=-1">完成</view>
<view class="search-bar-right-bad" v-show="listTarget==-1">
请选择
</view>
</view>
<!-- 地图展示区 -->
<view id="map" class="map"></view>
<!-- 地图展示区 -->
<view id="map" class="map" @touchend.stop.prevent="onMapDragCancel">
<image class="map-dian" src="/static/index/tuding.png" />
</view>
<view class="goback" @click="dingwei">
<image class="goback-imge" src="/static/index/dingwei.png" />
</view>
<!-- 搜索结果列表 -->
<view class="result-list" v-if="pois.length">
<view class="poi-item" v-for="(poi, idx) in pois" :key="idx" @click="selectPoi(poi)">
<text class="poi-name">{{ poi.name }}</text>
<text class="poi-address">{{ poi.address }}</text>
<view class="result-list">
<view class="sousuo-bgc" @click="openinput = true;pois=[];listTarget=-1;" v-show="!openinput">
<image class="sousuo-imge" src="/static/index/fangda.png" />
<view class="">搜索地点</view>
</view>
<view class="input-father" v-show="openinput">
<input ref="inputRef" class="input" type="text" v-model="keyword" placeholder="搜索地点" @input="onInput" />
<uview class="input-button" @click="close">取消</uview>
</view>
<!-- <view class="search-bar">
<input type="text" v-model="keyword" placeholder="搜索地点" @confirm="onSearch" />
<button @click="onSearch">搜索</button>
</view> -->
<view class="poi-item">
<view v-for="(poi, idx) in pois" :key="idx" @click="selectPoi(poi,idx)">
<view class="poi-card">
<view class="card-title">{{poi.name}}</view>
<view class="card-text">
{{ poi.juli }} | {{ poi.where }}
</view>
<view class="target" v-if="idx==listTarget">
</view>
</view>
<!-- <text class="poi-name">{{ poi.name }}</text>
<text class="poi-address">{{ poi.address }}</text> -->
</view>
</view>
</view>
<!-- 默认提示区 -->
<view class="info" v-else>
<!-- <view class="info" v-else>
<text>请选择或搜索地点</text>
</view>
</view> -->
</view>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import {
onMounted,
ref,
reactive,
onBeforeUnmount
} from 'vue';
import {
base_url
} from '@/request/index.js';
import {
proxy,
jsonp
} from '@/api/main.js'
// const route = useRoute();
const defaultLat = 39.9042;
const defaultLng = 116.4074;
const keyword = ref('');
const pois = ref([]);
let map = null;
let marker = null;
function initMap(lat, lng) {
const center = new qq.maps.LatLng(lat, lng);
map = new qq.maps.Map(document.getElementById('map'), {
center,
zoom: 15,
});
marker = new qq.maps.Marker({
position: center,
map,
});
}
// Web API Key
// const TENCENT_MAP_KEY = 'WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G';
async function onSearch() {
const kw = keyword.value.trim();
if (!kw) {
uni.showToast({
title: '请输入搜索内容',
icon: 'none',
});
return;
}
pois.value = [];
//
const center = map.getCenter();
const lat = center.getLat();
const lng = center.getLng();
console.log("????",url)
const url = `https://apis.map.qq.com/ws/place/v1/search?keyword=${encodeURIComponent(kw)}&boundary=nearby(${lat},${lng},1000)&key=WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G`;
//
const defaultLat = 39.9042;
const defaultLng = 116.4074;
const inputRef = ref(null)
try {
const res = await fetch(url);
const data = await res.json();
if (data.status === 0 && data.data && data.data.length > 0) {
// 便
pois.value = data.data.map(item => ({
name: item.title,
address: item.address,
lat: item.location.lat,
lng: item.location.lng,
}));
} else {
uni.showToast({
title: '未搜索到结果',
icon: 'none',
});
}
} catch (error) {
console.error('搜索失败:', error);
uni.showToast({
title: '搜索失败',
icon: 'none',
const keyword = ref('');
const pois = ref([]);
const openinput = ref(false);
let map = null;
let marker = null;
//
function initMap(lat, lng) {
const center = new qq.maps.LatLng(lat, lng);
map = new qq.maps.Map(document.getElementById('map'), {
center,
zoom: 15,
zoomControl: false, //
panControl: false, //
mapTypeControl: false //
});
marker = new qq.maps.Marker({
position: center,
map,
});
}
}
function selectPoi(poi) {
const pos = new qq.maps.LatLng(poi.lat, poi.lng);
map.setCenter(pos);
marker.setPosition(pos);
}
// JSSDK resolve
function loadWxJSSDK() {
return new Promise(resolve => {
if (window.wx && typeof wx.config === 'function') {
return resolve();
}
const script = document.createElement('script');
script.src = 'https://res.wx.qq.com/open/js/jweixin-1.6.0.js';
script.onload = () => {
// wx
const checkWx = () => {
if (window.wx && typeof wx.config === 'function') {
resolve();
} else {
setTimeout(checkWx, 50);
}
};
checkWx();
};
script.onerror = () => {
console.error('加载微信 JSSDK 脚本失败');
resolve();
};
document.head.appendChild(script);
});
}
onMounted(() => {
initMap(defaultLat, defaultLng);
});
// 使 JSSDK
async function initLocation() {
// 1. JSSDK
await loadWxJSSDK();
// 2.
try {
const res = await fetch(`${base_url}/weixin/getJsApiInfo`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
url: location.href.split('#')[0]
})
});
const data = await res.json();
if (window.wx && typeof wx.config === 'function') {
wx.config({
debug: false,
appId: 'wx8fc3e4305d2fbf0b',
timestamp: data.timestamp,
nonceStr: data.nonceStr,
signature: data.signature,
jsApiList: ['getLocation', 'openLocation']
});
wx.ready(() => {
wx.getLocation({
type: 'wgs84',
success(ret) {
initMap(ret.latitude, ret.longitude);
fujinGet(ret.latitude, ret.longitude)
},
fail(err) {
console.warn('微信定位失败,使用默认位置', err);
uni.showToast({
title: '定位失败,使用默认位置',
icon: 'none'
});
initMap(defaultLat, defaultLng);
fujinGet(defaultLat, defaultLng)
}
});
});
wx.error(err => {
console.error('wx.config 验证失败:', err);
initMap(defaultLat, defaultLng);
});
} else {
console.warn('wx.config 不可用,使用默认位置');
initMap(defaultLat, defaultLng);
}
} catch (err) {
console.error('获取 JSSDK 签名失败:', err);
initMap(defaultLat, defaultLng);
}
}
const dingwei = () => {
// wx.ready(() => {
wx.getLocation({
type: 'wgs84',
success(ret) {
initMap(ret.latitude, ret.longitude);
fujinGet(ret.latitude, ret.longitude)
},
fail(err) {
console.warn('微信定位失败,使用默认位置', err);
uni.showToast({
title: err.errMsg,
icon: 'none'
});
initMap(defaultLat, defaultLng);
fujinGet(defaultLat, defaultLng);
}
});
// });
}
const jumpBack = () => {
uni.navigateBack()
}
const jumpBackValue = () => {
const payload = {
name: pois.value[listTarget.value].name,
lat: pois.value[listTarget.value].lat,
lng: pois.value[listTarget.value].lng,
}
uni.setStorageSync('dingwei', payload)
uni.navigateBack()
}
// POI
async function onSearch() {
const kw = keyword.value.trim();
if (!kw) {
uni.showToast({
title: '请输入搜索内容',
icon: 'none'
});
return;
}
pois.value = [];
const center = map.getCenter();
const lat = center.getLat();
const lng = center.getLng();
let inIt = {
apiUrl: `https://apis.map.qq.com/ws/place/v1/search`,
other: `keyword=${encodeURIComponent(kw)}%26boundary=nearby(${lat},${lng},1000)%26key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC`
}
proxy(inIt).then(data => {
if (data.status === 0 && data.data.length) {
data.data.map(item => {
let element = {
name: item.title,
juli: `${item._distance}km`,
where: item.address,
lat: item.location.lat,
lng: item.location.lng,
}
pois.value.push(element)
})
} else {
uni.showToast({
title: '未搜索到结果',
icon: 'none'
});
}
})
}
const fujinGet = (lat, lng) => {
let inIt = {
apiUrl: `https://apis.map.qq.com/ws/geocoder/v1`,
other: `location=${lat},${lng}%26key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC%26get_poi=1%26radius=1000%26poi_options=page_size=10;radius=1000;policy=distance;address_format=short`
}
proxy(inIt).then(data => {
if (data.status === 0) {
pois.value = [];
data.result.pois.map(item => {
let element = {
name: item.title,
juli: `${item._distance}km`,
where: item.address,
lat: item.location.lat,
lng: item.location.lng,
}
pois.value.push(element)
})
} else {
uni.showToast({
title: '未搜索到结果',
icon: 'none'
});
}
})
}
function focusInput() {
inputRef.value?.focus()
}
const listTarget = ref(0);
// POI
function selectPoi(poi, ids) {
listTarget.value = ids
const pos = new qq.maps.LatLng(poi.lat, poi.lng);
map.setCenter(pos);
marker.setPosition(pos);
}
// delay
function debounce(fn, delay = 500) {
let timer;
return function(...args) {
clearTimeout(timer);
timer = setTimeout(() => fn.apply(this, args), delay);
};
}
const onMapDragCancel = () => {
const center = map.getCenter();
const lat = center.getLat();
const lng = center.getLng();
listTarget.value = 0
fujinGet(lat, lng)
}
//
const query = ref('')
// id
let timerId = null
//
const DEBOUNCE_DELAY = 500
//
function doSearch(val) {
//
console.log('发起搜索请求:', val)
// uni.request({ url: '...', data: { q: val }, ... })
}
// input
function onInput(e) {
// uni-app H5
query.value = e.detail?.value ?? e.target.value
//
if (timerId) {
clearTimeout(timerId)
}
//
if (/[A-Za-z]/.test(query.value)) {
return
}
// 500ms doSearch
timerId = setTimeout(() => {
const val = query.value.trim()
if (val) {
onSearch()
}
}, DEBOUNCE_DELAY)
}
const close = () => {
openinput.value = false;
listTarget.value = -1;
if (!pois.value.length) {
onMapDragCancel()
}
}
onMounted(async () => {
await initLocation();
});
//
onBeforeUnmount(() => {
if (timerId) {
clearTimeout(timerId)
}
})
</script>
<style scoped>
.container {
display: flex;
flex-direction: column;
height: 100vh;
}
<style scoped lang="scss">
.container {
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
}
.search-bar {
display: flex;
padding: 8px;
background: #fff;
}
.search-bar {
position: absolute;
top: 0;
left: 0;
display: flex;
width: 100%;
height: 120rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 3;
/* background: #fff; */
}
.search-bar input {
flex: 1;
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
}
.search-bar input {
flex: 1;
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
}
.search-bar button {
margin-left: 8px;
padding: 6px 12px;
background-color: #1aad19;
color: #fff;
border: none;
border-radius: 4px;
}
.map {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
.map {
flex: 1;
}
.map-dian {
// background-color: black;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
z-index: 2;
margin-bottom: 65rpx;
}
}
.result-list {
max-height: 200px;
overflow-y: auto;
background: #fff;
}
.goback {
position: fixed;
bottom: 43vh;
right: 40rpx;
width: 100rpx;
height: 100rpx;
background-color: #fff;
border-radius: 20rpx;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
.poi-item {
padding: 8px;
border-bottom: 1px solid #eee;
}
.goback-imge {
width: 55rpx;
height: 55rpx;
}
}
.poi-name {
font-weight: bold;
}
.result-list {
position: fixed;
bottom: 0;
left: 0;
height: 40vh;
width: 94%;
margin-left: 3%;
border-top-right-radius: 35rpx;
border-top-left-radius: 35rpx;
// overflow-y: auto;
background: #fff;
display: flex;
flex-direction: column;
align-items: center;
}
.poi-address {
font-size: 12px;
color: #666;
}
.poi-item {
margin-top: 30rpx;
height: calc(40vh - 110rpx);
width: 100%;
overflow-y: auto;
}
.info {
padding: 16px;
background: #fff;
text-align: center;
color: #999;
}
</style>
.poi-name {
font-weight: bold;
}
.poi-address {
font-size: 12px;
color: #666;
}
.info {
padding: 16px;
background: #fff;
text-align: center;
color: #999;
}
.search-bar-left {
margin-left: 30rpx;
font-size: 32rpx;
font-weight: 600;
display: flex;
// margin-top: -10rpx;
align-items: center;
}
.search-bar-right {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: #fff;
background-color: rgb(1, 168, 255);
}
.search-bar-right-bad {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: rgb(238, 238, 238);
background-color: #fff;
}
.sousuo-bgc {
width: 90%;
background-color: rgb(238, 238, 238);
border-radius: 15rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin-top: 30rpx;
color: rgb(153, 153, 153);
.sousuo-imge {
width: 50rpx;
height: 50rpx;
margin-right: 20rpx;
}
}
.input-father {
width: 100%;
display: flex;
align-items: center;
margin-top: 30rpx;
// justify-content: center;
.input {
margin: 0 5%;
padding-left: 5%;
width: 70%;
background-color: rgb(238, 238, 238);
border-radius: 15rpx;
height: 75rpx;
color: rgb(153, 153, 153);
}
.input-button {
font-size: 25rpx;
}
}
.left-imge {
width: 30rpx;
height: 30rpx;
}
.poi-card {
width: 100%;
height: 150rpx;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 50rpx;
position: relative;
.card-title {
font-size: 28rpx;
margin-bottom: 20rpx;
}
.card-text {
font-size: 25rpx;
color: rgb(167, 167, 167);
display: block;
width: calc(100% - 10rpx);
/* 视需要调整 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.target {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 80rpx;
font-size: 40rpx;
color: skyblue;
}
</style>

BIN
static/index/chahao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/index/dingwei.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
static/index/fangda.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/index/tuding.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1 @@
import"./index-BWFbK6MW.js";import{r as o}from"./index.DHEE3adT.js";function r(r){return o({url:"/api/orgApplyInfo/save",method:"post",data:r})}function t(r){return o({url:`/api/orgApplyInfo/queryAuditInfo?tel=${r}`,method:"get"})}export{r as c,t as g};

View File

@ -0,0 +1 @@
.callback-container[data-v-2e590b37]{padding:24px}.avatar[data-v-2e590b37]{width:80px;height:80px;border-radius:40px;margin-top:12px}.login-container[data-v-2e590b37]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;justify-content:center;align-items:center}.array-father[data-v-2e590b37]{width:33%;position:relative}.botton-view[data-v-2e590b37]{position:fixed;bottom:0;left:0;height:6.25rem;width:100%;display:flex;justify-content:space-between;font-weight:500}.botton-view .bottom-button[data-v-2e590b37]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.botton-view .bottom-button-target[data-v-2e590b37]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#2a85eb}.botton-view .blue-heng[data-v-2e590b37]{height:.1875rem;width:4.6875rem;background-color:#2a85eb;position:absolute;bottom:1.71875rem;left:50%;transform:translate(-50%)}.imge[data-v-2e590b37]{width:7.5rem;height:7.5rem;margin-bottom:1.5625rem}.font[data-v-2e590b37]{font-weight:600;font-size:1.09375rem}

View File

@ -1 +0,0 @@
.callback-container[data-v-57f61afd]{padding:24px}.avatar[data-v-57f61afd]{width:80px;height:80px;border-radius:40px;margin-top:12px}.login-container[data-v-57f61afd]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;justify-content:center;align-items:center}.array-father[data-v-57f61afd]{width:33%;position:relative}.botton-view[data-v-57f61afd]{position:fixed;bottom:0;left:0;height:6.25rem;width:100%;display:flex;justify-content:space-between;font-weight:500}.botton-view .bottom-button[data-v-57f61afd]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.botton-view .bottom-button-target[data-v-57f61afd]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#2a85eb}.botton-view .blue-heng[data-v-57f61afd]{height:.1875rem;width:4.6875rem;background-color:#2a85eb;position:absolute;bottom:1.71875rem;left:50%;transform:translate(-50%)}.imge[data-v-57f61afd]{width:7.5rem;height:7.5rem;margin-bottom:1.5625rem}.font[data-v-57f61afd]{font-weight:600;font-size:1.09375rem}

View File

@ -1 +0,0 @@
.container[data-v-a3459b26]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-a3459b26]{width:90%;margin-left:5%;margin-top:.9375rem;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-a3459b26]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-a3459b26]{font-weight:600;margin-left:1.25rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-a3459b26]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-a3459b26]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-a3459b26]{width:9.375rem;height:6.25rem}.container .white-message[data-v-a3459b26]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-a3459b26]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-a3459b26]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-a3459b26]{font-size:.9375rem}.container .white-message .one[data-v-a3459b26]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-a3459b26]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-a3459b26]{margin-right:.3125rem;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:9.375rem}.photo-left .photo-weight[data-v-a3459b26]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-a3459b26]{font-size:.71875rem;margin-top:.3125rem}.gray-font[data-v-a3459b26]{padding:.9375rem 1.875rem;color:#999}.finish-button[data-v-a3459b26]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.gray-text[data-v-a3459b26]{margin:.3125rem 0}

View File

@ -0,0 +1 @@
.container[data-v-6ebcdcae]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-6ebcdcae]{width:90%;margin-left:5%;margin-top:.9375rem;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-6ebcdcae]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-6ebcdcae]{font-weight:600;margin-left:1.25rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-6ebcdcae]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-6ebcdcae]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-6ebcdcae]{width:9.375rem;height:6.25rem}.container .white-message[data-v-6ebcdcae]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-6ebcdcae]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-6ebcdcae]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-6ebcdcae]{font-size:.9375rem}.container .white-message .one[data-v-6ebcdcae]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-6ebcdcae]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-6ebcdcae]{margin-right:.3125rem;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:9.375rem}.photo-left .photo-weight[data-v-6ebcdcae]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-6ebcdcae]{font-size:.71875rem;margin-top:.3125rem}.gray-font[data-v-6ebcdcae]{padding:.9375rem 1.875rem;color:#999}.finish-button[data-v-6ebcdcae]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.gray-text[data-v-6ebcdcae]{margin:.3125rem 0}

View File

@ -1 +0,0 @@
.login-container[data-v-60745c42]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-60745c42]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-60745c42]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-60745c42]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-60745c42]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-60745c42]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-60745c42]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;color:#5a607f}.login-container .under-container .radio-circle[data-v-60745c42],.login-container .under-container .radio-circle-target[data-v-60745c42]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-60745c42]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-60745c42]{margin-top:1.5625rem;margin-bottom:.625rem;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .code-title[data-v-60745c42]{margin-left:2.5rem;font-size:1.09375rem;color:#000;font-weight:500;margin-bottom:.625rem}.under-container-title .code-number[data-v-60745c42]{margin-left:2.5rem;font-size:.875rem;margin-bottom:.625rem}.captcha-container[data-v-60745c42]{display:flex;flex-direction:column;align-items:center;margin-top:.625rem}.captcha-box[data-v-60745c42]{display:flex;justify-content:space-between;margin-bottom:.625rem}.captcha-item[data-v-60745c42]{display:flex;justify-content:center;align-items:center}.captcha-input[data-v-60745c42]{width:3.4375rem;height:3.4375rem;border:.09375rem solid #C0C5D9;border-radius:.9375rem;font-size:1.5625rem;font-weight:700;text-align:center;margin-right:1.25rem;outline:none}.captcha-input[data-v-60745c42]:focus{border-color:#00c9ff}.right-blue[data-v-60745c42]{color:#0083ff;margin-left:1.875rem}.right-white[data-v-60745c42]{color:#c2c6d3;margin-left:1.875rem}.right-black[data-v-60745c42]{margin-right:2.5rem;color:#000}.under-view[data-v-60745c42]{width:100%;margin-top:.3125rem;display:flex;justify-content:space-between}.overlay[data-v-60745c42]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-60745c42]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-60745c42]{font-size:1rem;font-weight:700;margin:1.5625rem 0 .9375rem}.modal .model-p[data-v-60745c42]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-60745c42]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-60745c42]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-60745c42]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-60745c42],.fade-leave-active[data-v-60745c42]{transition:opacity .3s}.fade-enter-from[data-v-60745c42],.fade-leave-to[data-v-60745c42]{opacity:0}.fade-enter-to[data-v-60745c42],.fade-leave-from[data-v-60745c42]{opacity:1}.slide-up-enter-active[data-v-60745c42],.slide-up-leave-active[data-v-60745c42]{transition:transform .3s}.slide-up-enter-from[data-v-60745c42],.slide-up-leave-to[data-v-60745c42]{transform:translateY(100%)}.slide-up-enter-to[data-v-60745c42],.slide-up-leave-from[data-v-60745c42]{transform:translateY(0)}.text-view[data-v-60745c42]{margin-bottom:.625rem}

View File

@ -0,0 +1 @@
.login-container[data-v-7d2aa252]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-7d2aa252]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-7d2aa252]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-7d2aa252]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-7d2aa252]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-7d2aa252]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-7d2aa252]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;color:#5a607f}.login-container .under-container .radio-circle[data-v-7d2aa252],.login-container .under-container .radio-circle-target[data-v-7d2aa252]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-7d2aa252]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-7d2aa252]{margin-top:1.5625rem;margin-bottom:.625rem;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .code-title[data-v-7d2aa252]{margin-left:2.5rem;font-size:1.09375rem;color:#000;font-weight:500;margin-bottom:.625rem}.under-container-title .code-number[data-v-7d2aa252]{margin-left:2.5rem;font-size:.875rem;margin-bottom:.625rem}.captcha-container[data-v-7d2aa252]{display:flex;flex-direction:column;align-items:center;margin-top:.625rem}.captcha-box[data-v-7d2aa252]{display:flex;justify-content:space-between;margin-bottom:.625rem}.captcha-item[data-v-7d2aa252]{display:flex;justify-content:center;align-items:center}.captcha-input[data-v-7d2aa252]{width:3.4375rem;height:3.4375rem;border:.09375rem solid #C0C5D9;border-radius:.9375rem;font-size:1.5625rem;font-weight:700;text-align:center;margin-right:1.25rem;outline:none}.captcha-input[data-v-7d2aa252]:focus{border-color:#00c9ff}.right-blue[data-v-7d2aa252]{color:#0083ff;margin-left:1.875rem}.right-white[data-v-7d2aa252]{color:#c2c6d3;margin-left:1.875rem}.right-black[data-v-7d2aa252]{margin-right:2.5rem;color:#000}.under-view[data-v-7d2aa252]{width:100%;margin-top:.3125rem;display:flex;justify-content:space-between}.overlay[data-v-7d2aa252]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-7d2aa252]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-7d2aa252]{font-size:1rem;font-weight:700;margin:1.5625rem 0 .9375rem}.modal .model-p[data-v-7d2aa252]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-7d2aa252]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-7d2aa252]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-7d2aa252]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-7d2aa252],.fade-leave-active[data-v-7d2aa252]{transition:opacity .3s}.fade-enter-from[data-v-7d2aa252],.fade-leave-to[data-v-7d2aa252]{opacity:0}.fade-enter-to[data-v-7d2aa252],.fade-leave-from[data-v-7d2aa252]{opacity:1}.slide-up-enter-active[data-v-7d2aa252],.slide-up-leave-active[data-v-7d2aa252]{transition:transform .3s}.slide-up-enter-from[data-v-7d2aa252],.slide-up-leave-to[data-v-7d2aa252]{transform:translateY(100%)}.slide-up-enter-to[data-v-7d2aa252],.slide-up-leave-from[data-v-7d2aa252]{transform:translateY(0)}.text-view[data-v-7d2aa252]{margin-bottom:.625rem}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.login-container[data-v-f7f4cc3c]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-f7f4cc3c]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-f7f4cc3c]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-f7f4cc3c]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-f7f4cc3c]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-f7f4cc3c]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-f7f4cc3c]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-f7f4cc3c],.login-container .under-container .radio-circle-target[data-v-f7f4cc3c]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-f7f4cc3c]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-f7f4cc3c]{display:flex;margin-top:1.875rem;margin-bottom:1.25rem;align-items:center;font-size:.78125rem;font-weight:500}.under-container-title .radio-circle-blue[data-v-f7f4cc3c]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-f7f4cc3c]{color:#5a607f;margin-top:.09375rem}.button-blue[data-v-f7f4cc3c]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.overlay[data-v-f7f4cc3c]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-f7f4cc3c]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-f7f4cc3c]{font-size:1rem;font-weight:700;margin:1.5625rem 0}.modal .model-p[data-v-f7f4cc3c]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-f7f4cc3c]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-f7f4cc3c]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-f7f4cc3c]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-f7f4cc3c],.fade-leave-active[data-v-f7f4cc3c]{transition:opacity .3s}.fade-enter-from[data-v-f7f4cc3c],.fade-leave-to[data-v-f7f4cc3c]{opacity:0}.fade-enter-to[data-v-f7f4cc3c],.fade-leave-from[data-v-f7f4cc3c]{opacity:1}.slide-up-enter-active[data-v-f7f4cc3c],.slide-up-leave-active[data-v-f7f4cc3c]{transition:transform .3s}.slide-up-enter-from[data-v-f7f4cc3c],.slide-up-leave-to[data-v-f7f4cc3c]{transform:translateY(100%)}.slide-up-enter-to[data-v-f7f4cc3c],.slide-up-leave-from[data-v-f7f4cc3c]{transform:translateY(0)}

View File

@ -1 +0,0 @@
.login-container[data-v-0ea83cc3]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-0ea83cc3]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-0ea83cc3]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-0ea83cc3]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-0ea83cc3]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-0ea83cc3]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-0ea83cc3]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-0ea83cc3],.login-container .under-container .radio-circle-target[data-v-0ea83cc3]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-0ea83cc3]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-0ea83cc3]{display:flex;margin-top:1.875rem;margin-bottom:1.25rem;align-items:center;font-size:.78125rem;font-weight:500}.under-container-title .radio-circle-blue[data-v-0ea83cc3]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-0ea83cc3]{color:#5a607f;margin-top:.09375rem}.button-blue[data-v-0ea83cc3]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.overlay[data-v-0ea83cc3]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-0ea83cc3]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-0ea83cc3]{font-size:1rem;font-weight:700;margin:1.5625rem 0}.modal .model-p[data-v-0ea83cc3]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-0ea83cc3]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-0ea83cc3]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-0ea83cc3]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-0ea83cc3],.fade-leave-active[data-v-0ea83cc3]{transition:opacity .3s}.fade-enter-from[data-v-0ea83cc3],.fade-leave-to[data-v-0ea83cc3]{opacity:0}.fade-enter-to[data-v-0ea83cc3],.fade-leave-from[data-v-0ea83cc3]{opacity:1}.slide-up-enter-active[data-v-0ea83cc3],.slide-up-leave-active[data-v-0ea83cc3]{transition:transform .3s}.slide-up-enter-from[data-v-0ea83cc3],.slide-up-leave-to[data-v-0ea83cc3]{transform:translateY(100%)}.slide-up-enter-to[data-v-0ea83cc3],.slide-up-leave-from[data-v-0ea83cc3]{transform:translateY(0)}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.container[data-v-3c3af77e]{display:flex;flex-direction:column;height:100vh}.search-bar[data-v-3c3af77e]{display:flex;padding:8px;background:#fff}.search-bar uni-input[data-v-3c3af77e]{flex:1;padding:6px;border:1px solid #ccc;border-radius:4px}.search-bar uni-button[data-v-3c3af77e]{margin-left:8px;padding:6px 12px;background-color:#1aad19;color:#fff;border:none;border-radius:4px}.map[data-v-3c3af77e]{flex:1}.result-list[data-v-3c3af77e]{max-height:200px;overflow-y:auto;background:#fff}.poi-item[data-v-3c3af77e]{padding:8px;border-bottom:1px solid #eee}.poi-name[data-v-3c3af77e]{font-weight:700}.poi-address[data-v-3c3af77e]{font-size:12px;color:#666}.info[data-v-3c3af77e]{padding:16px;background:#fff;text-align:center;color:#999}

View File

@ -0,0 +1 @@
.container[data-v-3f25cbea]{display:flex;flex-direction:column;height:100vh;position:relative}.search-bar[data-v-3f25cbea]{position:absolute;top:0;left:0;width:100%;height:3.75rem;display:flex;justify-content:space-between;align-items:center;z-index:3}.search-bar uni-input[data-v-3f25cbea]{flex:1;padding:6px;border:1px solid #ccc;border-radius:4px}.map[data-v-3f25cbea]{flex:1;display:flex;justify-content:center;align-items:center}.map .map-dian[data-v-3f25cbea]{width:1.875rem;height:1.875rem;border-radius:50%;z-index:2;margin-bottom:2.03125rem}.goback[data-v-3f25cbea]{position:fixed;bottom:43vh;right:1.25rem;width:3.125rem;height:3.125rem;background-color:#fff;border-radius:.625rem;display:flex;justify-content:center;align-items:center;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1)}.goback .goback-imge[data-v-3f25cbea]{width:1.71875rem;height:1.71875rem}.result-list[data-v-3f25cbea]{position:fixed;bottom:0;left:0;height:40vh;width:94%;margin-left:3%;border-top-right-radius:1.09375rem;border-top-left-radius:1.09375rem;background:#fff;display:flex;flex-direction:column;align-items:center}.poi-item[data-v-3f25cbea]{margin-top:.9375rem;height:calc(40vh - 3.4375rem);width:100%;overflow-y:auto}.poi-name[data-v-3f25cbea]{font-weight:700}.poi-address[data-v-3f25cbea]{font-size:12px;color:#666}.info[data-v-3f25cbea]{padding:16px;background:#fff;text-align:center;color:#999}.search-bar-left[data-v-3f25cbea]{margin-left:.9375rem;font-size:1rem;font-weight:600;display:flex;align-items:center}.search-bar-right[data-v-3f25cbea]{margin-right:.9375rem;width:3.75rem;height:1.875rem;display:flex;justify-content:center;align-items:center;border-radius:.625rem;color:#fff;background-color:#01a8ff}.search-bar-right-bad[data-v-3f25cbea]{margin-right:.9375rem;width:3.75rem;height:1.875rem;display:flex;justify-content:center;align-items:center;border-radius:.625rem;color:#eee;background-color:#fff}.sousuo-bgc[data-v-3f25cbea]{width:90%;background-color:#eee;border-radius:.46875rem;height:2.5rem;display:flex;justify-content:center;align-items:center;margin-top:.9375rem;color:#999}.sousuo-bgc .sousuo-imge[data-v-3f25cbea]{width:1.5625rem;height:1.5625rem;margin-right:.625rem}.input-father[data-v-3f25cbea]{width:100%;display:flex;align-items:center;margin-top:.9375rem}.input-father .input[data-v-3f25cbea]{margin:0 5%;padding-left:5%;width:70%;background-color:#eee;border-radius:.46875rem;height:2.34375rem;color:#999}.input-father .input-button[data-v-3f25cbea]{font-size:.78125rem}.left-imge[data-v-3f25cbea]{width:.9375rem;height:.9375rem}.poi-card[data-v-3f25cbea]{width:100%;height:4.6875rem;display:flex;flex-direction:column;justify-content:center;padding:0 1.5625rem;position:relative}.poi-card .card-title[data-v-3f25cbea]{font-size:.875rem;margin-bottom:.625rem}.poi-card .card-text[data-v-3f25cbea]{font-size:.78125rem;color:#a7a7a7;display:block;width:calc(100% - .3125rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.target[data-v-3f25cbea]{position:absolute;top:50%;transform:translateY(-50%);right:2.5rem;font-size:1.25rem;color:#87ceeb}

View File

@ -1 +0,0 @@
import{C as e,V as t,W as s,s as a,X as o,f as i,U as n,Y as c}from"./index-DBAIfIdy.js";const r="https://www.focusnu.com/nursing-unit",u=u=>{let l=u.url,d=u.method||"get",h=u.data||{},m={"X-Access-Token":e("token")||"","Content-Type":"application/json;charset=UTF-8",Authorization:"Basic c2FiZXI6c2FiZXJfc2VjcmV0",...u.header};return new Promise(((e,u)=>{t({url:r+l,method:d,header:m,data:h,timeout:5e3,success(t){const n=t;if(200==n.statusCode)e(n.data);else switch(s(),n.statusCode){case 401:o({title:"提示",content:"请登录",showCancel:!1,success(){setTimeout((()=>{i({url:"/pages/login/index"})}),1e3)}});break;case 404:a({title:"请求地址不存在...",duration:2e3});break;default:a({title:"请重试...",duration:2e3})}},fail(e){console.log(e),-1!==e.errMsg.indexOf("request:fail")?a({title:"网络异常",icon:"error",duration:2e3}):a({title:"未知异常",duration:2e3}),u(e)},complete(){n(),c()}})})).catch((()=>{}))};export{r as b,u as r};

View File

@ -0,0 +1 @@
import{z as e,a5 as t,a6 as a,s,a7 as o,f as i,U as n,a8 as c}from"./index-BWFbK6MW.js";const r="https://www.focusnu.com/nursing-unit",u=u=>{let l=u.url,d=u.method||"get",h=u.data||{},m={"X-Access-Token":e("token")||"","Content-Type":"application/json;charset=UTF-8",Authorization:"Basic c2FiZXI6c2FiZXJfc2VjcmV0",...u.header};return new Promise(((e,u)=>{t({url:r+l,method:d,header:m,data:h,timeout:5e3,success(t){const n=t;if(200==n.statusCode)e(n.data);else switch(a(),n.statusCode){case 401:o({title:"提示",content:"请登录",showCancel:!1,success(){setTimeout((()=>{i({url:"/pages/login/index"})}),1e3)}});break;case 404:s({title:"请求地址不存在...",duration:2e3});break;default:s({title:"请重试...",duration:2e3})}},fail(e){console.log(e),-1!==e.errMsg.indexOf("request:fail")?s({title:"网络异常",icon:"error",duration:2e3}):s({title:"未知异常",duration:2e3}),u(e)},complete(){n(),c()}})})).catch((()=>{}))};export{r as b,u as r};

View File

@ -1 +1 @@
import"./index-DBAIfIdy.js";import{r as t}from"./index.CA0mK-bX.js";function s(s){return t({url:"/sys/getHkCode",method:"post",data:s})}function o(s){return t({url:"/sys/smsCode",method:"post",data:s})}function e(s){return t({url:"/sys/checkPhoneCode",method:"post",data:s})}export{e as c,s as g,o as s};
import"./index-BWFbK6MW.js";import{r as t}from"./index.DHEE3adT.js";function s(s){return t({url:"/sys/getHkCode",method:"post",data:s})}function o(s){return t({url:"/sys/smsCode",method:"post",data:s})}function e(s){return t({url:"/sys/checkPhoneCode",method:"post",data:s})}export{e as c,s as g,o as s};

View File

@ -1 +1 @@
.container[data-v-48c07d0e]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-48c07d0e]{width:90%;margin-left:5%;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-48c07d0e]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-48c07d0e]{font-weight:600;margin-left:2.1875rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-48c07d0e]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-48c07d0e]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-48c07d0e]{width:9.375rem;height:6.25rem}.container .white-message[data-v-48c07d0e]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-48c07d0e]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-48c07d0e]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-48c07d0e]{font-size:.9375rem}.container .white-message .one[data-v-48c07d0e]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-48c07d0e]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-48c07d0e]{margin-right:.3125rem;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:9.375rem}.photo-left .photo-weight[data-v-48c07d0e]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-48c07d0e]{font-size:.71875rem;margin-top:.3125rem}.gray-font[data-v-48c07d0e]{padding:.9375rem 1.875rem;color:#999}.finish-button[data-v-48c07d0e]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.title-back[data-v-48c07d0e]{width:100%;height:3.125rem;display:flex;justify-content:space-between;align-items:center}.left-father[data-v-48c07d0e]{display:flex;align-items:center}.left-father .back-img[data-v-48c07d0e]{width:1.5625rem;height:1.5625rem;margin-left:1.25rem;margin-right:.15625rem}.rightStautes[data-v-48c07d0e]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background-color:#ff913a;display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}.rightStautesred[data-v-48c07d0e]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background:linear-gradient(to right,#ff4a76,#ff553a);display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}.rightStautesblue[data-v-48c07d0e]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background:linear-gradient(to right,#00c9ff,#0076ff);display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}
.container[data-v-36cd4fe8]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-36cd4fe8]{width:90%;margin-left:5%;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-36cd4fe8]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-36cd4fe8]{font-weight:600;margin-left:2.1875rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-36cd4fe8]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-36cd4fe8]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-36cd4fe8]{width:9.375rem;height:6.25rem}.container .white-message[data-v-36cd4fe8]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-36cd4fe8]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-36cd4fe8]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-36cd4fe8]{font-size:.9375rem}.container .white-message .one[data-v-36cd4fe8]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-36cd4fe8]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-36cd4fe8]{margin-right:.3125rem;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:9.375rem}.photo-left .photo-weight[data-v-36cd4fe8]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-36cd4fe8]{font-size:.71875rem;margin-top:.3125rem}.gray-font[data-v-36cd4fe8]{padding:.9375rem 1.875rem;color:#999}.finish-button[data-v-36cd4fe8]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.title-back[data-v-36cd4fe8]{width:100%;height:3.125rem;display:flex;justify-content:space-between;align-items:center}.left-father[data-v-36cd4fe8]{display:flex;align-items:center}.left-father .back-img[data-v-36cd4fe8]{width:1.5625rem;height:1.5625rem;margin-left:1.25rem;margin-right:.15625rem}.rightStautes[data-v-36cd4fe8]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background-color:#ff913a;display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}.rightStautesred[data-v-36cd4fe8]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background:linear-gradient(to right,#ff4a76,#ff553a);display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}.rightStautesblue[data-v-36cd4fe8]{width:5.3125rem;height:1.9375rem;border-radius:1.875rem;background:linear-gradient(to right,#00c9ff,#0076ff);display:flex;justify-content:center;align-items:center;color:#fff;margin-right:.9375rem}

View File

@ -0,0 +1 @@
import{r as e,D as s,Q as a,t,a as l,w as o,i as r,o as c,b as i,m as n,v as u,F as d,u as f,O as m,R as p,P as _,z as h,s as g,U as v,f as y,A as x,g as b,x as k}from"./index-BWFbK6MW.js";import{_ as j}from"./u-modal.6_il0Lfl.js";import{r as w}from"./uni-app.es.Bupuy4O7.js";import{_ as C}from"./bian.L32B-imx.js";import{_ as N}from"./takephoto.D2GFN-q_.js";import{b as O}from"./index.DHEE3adT.js";import{c as J}from"./addjigou.FgrbFSi3.js";import{_ as P}from"./_plugin-vue_export-helper.BCo6x5W8.js";const S=P({__name:"card",setup(P){const S=e(!1),A=e(""),z=["企业名称","注册地址","信用代码","法人"],D=s(["","","",""]),L=e("");function T(){m({count:1,sourceType:["camera"],success:e=>{var s;L.value=e.tempFilePaths[0],s=L.value,p(),_({url:`${O}/api/ocr/businessLicense`,filePath:s,name:"file",header:{"X-Access-Token":h("token")||""},formData:{},success:e=>{if(!JSON.parse(e.data).success)return g({title:"识别失败",icon:"error"}),void v();console.log("营业执照",JSON.parse(JSON.parse(e.data).result.data).data);let a=JSON.parse(JSON.parse(e.data).result.data).data;D[0]=a.companyName,D[1]=a.businessAddress,D[2]=a.creditCode,D[3]=a.legalPerson,V.value=s,R(s),v()},fail:e=>{g({title:"上传出错",icon:"error"}),v()}})},fail:e=>{console.error("拍照失败:",e)}})}const V=e("");e("");const F=e(""),R=e=>{_({url:`${O}/sys/common/upload`,filePath:e,name:"file",header:{"X-Access-Token":h("token")||""},formData:{biz:"temp"},success:e=>{F.value=JSON.parse(e.data).message},fail:e=>{g({title:"上传出错",icon:"error"}),v()}})},U=()=>{if(D.every((e=>""!==e))){let e={id:h("specicalid")||"",tel:h("tel"),comName:D[0],comRegisterAddress:D[1],comCreditCode:D[2],comLegalPerson:D[3],comBusinessLicense:F.value};J(e).then((e=>{e.success?(e.message,y({url:"/pages/addjigou/where"})):g({title:e.message,icon:"error"})}))}else g({title:"请完善信息",icon:"error"})},X=()=>{x()};return(e,s)=>{const m=w(a("u-modal"),j),p=r,_=b;return c(),t("div",{class:"container"},[l(m,{modelValue:S.value,"onUpdate:modelValue":s[0]||(s[0]=e=>S.value=e),content:A.value},null,8,["modelValue","content"]),l(p,{class:"white-content"},{default:o((()=>[l(p,{class:"content-title"},{default:o((()=>[l(p,{class:"content-weight"},{default:o((()=>[i("营业执照上传")])),_:1}),l(_,{class:"content-img",src:C})])),_:1}),l(p,{class:"white-photo",onClick:T},{default:o((()=>[l(p,{class:"photo-left"},{default:o((()=>[l(p,{class:"photo-weight"},{default:o((()=>[i("营业执照")])),_:1}),l(p,{class:"photo-font"},{default:o((()=>[i("请上传营业执照")])),_:1})])),_:1}),l(p,{style:{position:"relative"}},{default:o((()=>[l(_,{class:"photo",src:V.value?V.value:"/static/index/zhizhao.png"},null,8,["src"]),n(l(_,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:N},null,512),[[u,!V.value]])])),_:1})])),_:1}),l(p,{class:"white-message"},{default:o((()=>[l(p,{class:"message-title"},{default:o((()=>[l(p,{class:"shu"}),l(p,{class:"message-weight"},{default:o((()=>[i(" 确认企业信息 ")])),_:1})])),_:1}),l(p,{style:{"margin-bottom":"20rpx"}},{default:o((()=>[(c(),t(d,null,f(z,((e,s)=>l(p,{key:s,class:"one",onClick:e=>{var a;(a=D[s])&&(A.value=a,S.value=!0)}},{default:o((()=>[l(p,{class:"one-left"},{default:o((()=>[i(k(e),1)])),_:2},1024),l(p,{class:"one-right"},{default:o((()=>[i(k(D[s]?D[s]:"自动获取"),1)])),_:2},1024)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1})])),_:1}),l(p,{class:"gray-font"},{default:o((()=>[l(p,{class:""},{default:o((()=>[i("注意事项:")])),_:1}),l(p,{class:"gray-text"},{default:o((()=>[i(" 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 ")])),_:1}),l(p,{class:"gray-text"},{default:o((()=>[i(" 2.一个企业信息主体默认可认证1个账号。 ")])),_:1}),l(p,{class:"gray-text"},{default:o((()=>[i(" 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 ")])),_:1})])),_:1}),l(p,{style:{display:"flex",width:"100%"}},{default:o((()=>[l(p,{class:"finish-button",onClick:X},{default:o((()=>[i(" 上一步 ")])),_:1}),l(p,{class:"finish-button",onClick:U},{default:o((()=>[i(" 下一步 ")])),_:1})])),_:1})])}}},[["__scopeId","data-v-6ebcdcae"]]);export{S as default};

View File

@ -1 +0,0 @@
import{r as a,D as s,Q as e,t,a as l,w as o,i as r,o as n,b as u,m as c,v as i,F as d,u as f,O as p,R as m,P as _,C as h,s as g,U as v,f as x,z as y,g as b,x as w}from"./index-DBAIfIdy.js";import{_ as k}from"./u-modal.DQfl66k7.js";import{r as j}from"./uni-app.es.pRPQMweL.js";import{_ as C}from"./bian.L32B-imx.js";import{_ as N}from"./takephoto.D2GFN-q_.js";import{b as O}from"./index.CA0mK-bX.js";import{_ as J}from"./_plugin-vue_export-helper.BCo6x5W8.js";const S=J({__name:"card",setup(J){const S=a(!1),P=a(""),z=["企业名称","注册地址","信用代码","法人"],V=s(["","","","","","","",""]),A=a("");function D(){p({count:1,sourceType:["camera"],success:a=>{var s;A.value=a.tempFilePaths[0],s=A.value,m(),_({url:`${O}/api/ocr/businessLicense`,filePath:s,name:"file",header:{"X-Access-Token":h("token")||""},formData:{},success:a=>{if(!JSON.parse(a.data).success)return g({title:"识别失败",icon:"error"}),void v();console.log("营业执照",JSON.parse(JSON.parse(a.data).result.data).data);let e=JSON.parse(JSON.parse(a.data).result.data).data;V[0]=e.companyName,V[1]=e.businessAddress,V[2]=e.creditCode,V[3]=e.legalPerson,F.value=s,v()},fail:a=>{g({title:"上传出错",icon:"error"}),v()}})},fail:a=>{console.error("拍照失败:",a)}})}const F=a("");a("");const T=()=>{x({url:"/pages/addjigou/where"})},U=()=>{y()};return(a,s)=>{const p=j(e("u-modal"),k),m=r,_=b;return n(),t("div",{class:"container"},[l(p,{modelValue:S.value,"onUpdate:modelValue":s[0]||(s[0]=a=>S.value=a),content:P.value},null,8,["modelValue","content"]),l(m,{class:"white-content"},{default:o((()=>[l(m,{class:"content-title"},{default:o((()=>[l(m,{class:"content-weight"},{default:o((()=>[u("营业执照上传")])),_:1}),l(_,{class:"content-img",src:C})])),_:1}),l(m,{class:"white-photo",onClick:D},{default:o((()=>[l(m,{class:"photo-left"},{default:o((()=>[l(m,{class:"photo-weight"},{default:o((()=>[u("营业执照")])),_:1}),l(m,{class:"photo-font"},{default:o((()=>[u("请上传营业执照")])),_:1})])),_:1}),l(m,{style:{position:"relative"}},{default:o((()=>[l(_,{class:"photo",src:F.value?F.value:"/static/index/zhizhao.png"},null,8,["src"]),c(l(_,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:N},null,512),[[i,!F.value]])])),_:1})])),_:1}),l(m,{class:"white-message"},{default:o((()=>[l(m,{class:"message-title"},{default:o((()=>[l(m,{class:"shu"}),l(m,{class:"message-weight"},{default:o((()=>[u(" 确认企业信息 ")])),_:1})])),_:1}),l(m,{style:{"margin-bottom":"20rpx"}},{default:o((()=>[(n(),t(d,null,f(z,((a,s)=>l(m,{key:s,class:"one",onClick:a=>{var e;(e=V[s])&&(P.value=e,S.value=!0)}},{default:o((()=>[l(m,{class:"one-left"},{default:o((()=>[u(w(a),1)])),_:2},1024),l(m,{class:"one-right"},{default:o((()=>[u(w(V[s]?V[s]:"自动获取"),1)])),_:2},1024)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1})])),_:1}),l(m,{class:"gray-font"},{default:o((()=>[l(m,{class:""},{default:o((()=>[u("注意事项:")])),_:1}),l(m,{class:"gray-text"},{default:o((()=>[u(" 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 ")])),_:1}),l(m,{class:"gray-text"},{default:o((()=>[u(" 2.一个企业信息主体默认可认证1个账号。 ")])),_:1}),l(m,{class:"gray-text"},{default:o((()=>[u(" 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 ")])),_:1})])),_:1}),l(m,{style:{display:"flex",width:"100%"}},{default:o((()=>[l(m,{class:"finish-button",onClick:U},{default:o((()=>[u(" 上一步 ")])),_:1}),l(m,{class:"finish-button",onClick:T},{default:o((()=>[u(" 下一步 ")])),_:1})])),_:1})])}}},[["__scopeId","data-v-a3459b26"]]);export{S as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{r as e,D as l,Q as a,t,a as o,w as s,i as n,o as d,b as u,z as r,f as i,g as c,I as f}from"./index-DBAIfIdy.js";import{_ as p}from"./u-modal.DQfl66k7.js";import{r as m}from"./uni-app.es.pRPQMweL.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const _=g({__name:"where",setup(g){const _=e(!1),h=e(""),y=l({orgLeader:"",orgLeaderPhone:"",orgBuildingNumber:"",orgPropertyType:"",orgBuildingArea:""});e(""),e(""),e("");const V=()=>{},x=()=>{r()},b=()=>{i({url:"/pages/map/index"})};return(e,l)=>{const r=m(a("u-modal"),p),i=n,g=c,v=f;return d(),t("div",{class:"container"},[o(r,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=e=>_.value=e),content:h.value},null,8,["modelValue","content"]),o(i,{class:"white-content"},{default:s((()=>[o(i,{class:"white-message"},{default:s((()=>[o(i,null,{default:s((()=>[o(i,{class:"one"},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("机构位置")])),_:1}),o(i,{style:{display:"flex","align-items":"center"}},{default:s((()=>[o(i,{class:"one-right"},{default:s((()=>[u("请选择机构位置")])),_:1}),o(g,{class:"one-img",src:"/wechat/thd/assets/norelmap-57ydYQMt.png",onClick:b})])),_:1})])),_:1})])),_:1}),o(i,null,{default:s((()=>[o(i,{class:"one"},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("机构负责人")])),_:1}),o(v,{class:"one-right",type:"text",placeholder:"请输入机构负责人姓名",modelValue:y.orgLeader,"onUpdate:modelValue":l[1]||(l[1]=e=>y.orgLeader=e)},null,8,["modelValue"])])),_:1})])),_:1}),o(i,null,{default:s((()=>[o(i,{class:"one"},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("机构负责人电话")])),_:1}),o(v,{class:"one-right",type:"text",placeholder:"请输入机构负责人电话",modelValue:y.orgLeaderPhone,"onUpdate:modelValue":l[2]||(l[2]=e=>y.orgLeaderPhone=e)},null,8,["modelValue"])])),_:1})])),_:1}),o(i,null,{default:s((()=>[o(i,{class:"one"},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("楼宇牌号")])),_:1}),o(v,{class:"one-right",type:"text",placeholder:"请输入楼宇牌号",modelValue:y.orgBuildingNumber,"onUpdate:modelValue":l[3]||(l[3]=e=>y.orgBuildingNumber=e)},null,8,["modelValue"])])),_:1})])),_:1}),o(i,null,{default:s((()=>[o(i,{class:"one"},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("房屋性质")])),_:1}),o(v,{class:"one-right",type:"text",placeholder:"请输入房屋性质",modelValue:y.orgPropertyType,"onUpdate:modelValue":l[4]||(l[4]=e=>y.orgPropertyType=e)},null,8,["modelValue"])])),_:1})])),_:1}),o(i,{style:{"margin-bottom":"20rpx"}},{default:s((()=>[o(i,{class:"one",style:{position:"relative"}},{default:s((()=>[o(i,{class:"one-left"},{default:s((()=>[u("建筑面积")])),_:1}),o(v,{class:"one-right",type:"number",placeholder:"请输入建筑面积",modelValue:y.orgBuildingArea,"onUpdate:modelValue":l[5]||(l[5]=e=>y.orgBuildingArea=e)},null,8,["modelValue"]),o(i,{class:"pingfangmi"},{default:s((()=>[u(" 平方米 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),o(i,{style:{display:"flex",width:"100%"}},{default:s((()=>[o(i,{class:"finish-button",onClick:x},{default:s((()=>[u(" 上一步 ")])),_:1}),o(i,{class:"finish-button",onClick:V},{default:s((()=>[u(" 确认并提交 ")])),_:1})])),_:1})])}}},[["__scopeId","data-v-a313a36c"]]);export{_ as default};

View File

@ -0,0 +1 @@
import{r as e,D as l,z as a,V as o,Q as s,t,a as r,w as d,i as n,o as u,b as i,x as g,G as c,W as p,s as m,A as f,f as _,g as h,I as y}from"./index-BWFbK6MW.js";import{_ as V}from"./u-modal.6_il0Lfl.js";import{a as v,r as L}from"./uni-app.es.Bupuy4O7.js";import{c as x}from"./addjigou.FgrbFSi3.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.DHEE3adT.js";const b=w({__name:"where",setup(w){const b=e(!1),j=e(""),C=e(""),A=l({orgLeader:"",orgLeaderPhone:"",orgBuildingNumber:"",orgPropertyType:"",orgBuildingArea:"",orgAddress:"",orgCoordinateLo:"",orgCoordinateLa:"",id:a("specicalid")||"",tel:a("tel")});e(""),e(""),e("");const B=()=>{A.orgLeader&&A.orgLeaderPhone&&A.orgBuildingNumber&&A.orgPropertyType&&A.orgBuildingArea&&A.orgAddress&&A.orgCoordinateLo&&A.orgCoordinateLa?x(A).then((e=>{e.success?"保存成功!"==e.message?(c("specicalid",""),p({url:"/pages/login/workjoin?type=1"})):(c("specicalid",e.result.id),p({url:"/pages/login/workjoin?type=1"})):m({title:e.message,icon:"error"})})):m({title:"请完善信息",icon:"error"})},P=()=>{f()},k=()=>{_({url:"/pages/map/index"})};return v((()=>{const e=a("dingwei");e&&(console.log("data",e),C.value=e.name,A.orgAddress=e.name,A.orgCoordinateLo=e.lng,A.orgCoordinateLa=e.lat,o("dingwei"))})),(e,l)=>{const a=L(s("u-modal"),V),o=n,c=h,p=y;return u(),t("div",{class:"container"},[r(a,{modelValue:b.value,"onUpdate:modelValue":l[0]||(l[0]=e=>b.value=e),content:j.value},null,8,["modelValue","content"]),r(o,{class:"white-content"},{default:d((()=>[r(o,{class:"white-message"},{default:d((()=>[r(o,null,{default:d((()=>[r(o,{class:"one"},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("机构位置")])),_:1}),r(o,{class:"special"},{default:d((()=>[r(o,{class:"one-right",style:{width:"170rpx","justify-content":"flex-start"},onClick:l[1]||(l[1]=e=>{var l;(l=C.value)&&(j.value=l,b.value=!0)})},{default:d((()=>[i(g(C.value?C.value:"请选择机构位置"),1)])),_:1}),r(c,{class:"one-img",src:"/wechat/thd/assets/norelmap-57ydYQMt.png",onClick:k})])),_:1})])),_:1})])),_:1}),r(o,null,{default:d((()=>[r(o,{class:"one"},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("机构负责人")])),_:1}),r(p,{class:"one-right",type:"text",placeholder:"请输入机构负责人姓名",modelValue:A.orgLeader,"onUpdate:modelValue":l[2]||(l[2]=e=>A.orgLeader=e)},null,8,["modelValue"])])),_:1})])),_:1}),r(o,null,{default:d((()=>[r(o,{class:"one"},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("机构负责人电话")])),_:1}),r(p,{class:"one-right",type:"number",placeholder:"请输入机构负责人电话",modelValue:A.orgLeaderPhone,"onUpdate:modelValue":l[3]||(l[3]=e=>A.orgLeaderPhone=e)},null,8,["modelValue"])])),_:1})])),_:1}),r(o,null,{default:d((()=>[r(o,{class:"one"},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("楼宇牌号")])),_:1}),r(p,{class:"one-right",type:"text",placeholder:"请输入楼宇牌号",modelValue:A.orgBuildingNumber,"onUpdate:modelValue":l[4]||(l[4]=e=>A.orgBuildingNumber=e)},null,8,["modelValue"])])),_:1})])),_:1}),r(o,null,{default:d((()=>[r(o,{class:"one"},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("房屋性质")])),_:1}),r(p,{class:"one-right",type:"text",placeholder:"请输入房屋性质",modelValue:A.orgPropertyType,"onUpdate:modelValue":l[5]||(l[5]=e=>A.orgPropertyType=e)},null,8,["modelValue"])])),_:1})])),_:1}),r(o,{style:{"margin-bottom":"20rpx"}},{default:d((()=>[r(o,{class:"one",style:{position:"relative"}},{default:d((()=>[r(o,{class:"one-left"},{default:d((()=>[i("建筑面积")])),_:1}),r(p,{class:"one-right",type:"number",placeholder:"请输入建筑面积",modelValue:A.orgBuildingArea,"onUpdate:modelValue":l[6]||(l[6]=e=>A.orgBuildingArea=e)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1}),r(o,{style:{display:"flex",width:"100%"}},{default:d((()=>[r(o,{class:"finish-button",onClick:P},{default:d((()=>[i(" 上一步 ")])),_:1}),r(o,{class:"finish-button",onClick:B},{default:d((()=>[i(" 确认并提交 ")])),_:1})])),_:1})])}}},[["__scopeId","data-v-6077651d"]]);export{b as default};

View File

@ -1 +1 @@
import{r as a,D as t,Q as e,t as s,a as l,w as o,f as r,i as c,o as i,b as u,m as n,v as d,F as f,u as p,O as m,R as h,P as _,C as v,s as g,U as x,g as y,x as b}from"./index-DBAIfIdy.js";import{_ as k}from"./u-modal.DQfl66k7.js";import{r as w}from"./uni-app.es.pRPQMweL.js";import{_ as N}from"./bian.L32B-imx.js";import{_ as O}from"./takephoto.D2GFN-q_.js";import{_ as C}from"./_plugin-vue_export-helper.BCo6x5W8.js";const J=C({__name:"IDcard",setup(C){const J=a(!1),S=a(""),j=["姓名","性别","身份证号码","民族","出生日期","住址","签发机关","有效期限"],D=t(["","","","","","","",""]),I=a("");function P(){m({count:1,sourceType:["camera"],success:a=>{var t;I.value=a.tempFilePaths[0],t=I.value,h(),_({url:`${v("serverUrl")}/api/ocr/idCard`,filePath:t,name:"file",header:{"X-Access-Token":v("token")||""},formData:{},success:a=>{if(!JSON.parse(a.data).success)return g({title:"识别失败",icon:"error"}),void x();if(JSON.parse(JSON.parse(a.data).result.data).data.face){let e=JSON.parse(JSON.parse(a.data).result.data).data.face.data;D[0]=e.name,D[1]=e.sex,D[2]=e.idNumber,D[3]=e.ethnicity,D[4]=e.birthDate,D[5]=e.address,g({title:"识别成功"}),U.value=t,x()}else{let e=JSON.parse(JSON.parse(a.data).result.data).data.back.data;D[6]=e.issueAuthority,D[7]=e.validPeriod,g({title:"识别成功"}),V.value=t,x()}},fail:a=>{g({title:"上传出错",icon:"error"}),x()}})},fail:a=>{console.error("拍照失败:",a)}})}const U=a(""),V=a("");const A=()=>{r({url:"/pages/addoldman/yibao"})};return(a,t)=>{const r=w(e("u-modal"),k),m=c,h=y;return i(),s("div",{class:"container"},[l(r,{modelValue:J.value,"onUpdate:modelValue":t[0]||(t[0]=a=>J.value=a),content:S.value},null,8,["modelValue","content"]),l(m,{class:"white-content"},{default:o((()=>[l(m,{class:"content-title"},{default:o((()=>[l(m,{class:"content-weight"},{default:o((()=>[u("身份证上传")])),_:1}),l(h,{class:"content-img",src:N})])),_:1}),l(m,{class:"white-photo",onClick:P},{default:o((()=>[l(m,{class:"photo-left"},{default:o((()=>[l(m,{class:"photo-weight"},{default:o((()=>[u("人像面")])),_:1}),l(m,{class:"photo-font"},{default:o((()=>[u("请上传身份证人像面")])),_:1})])),_:1}),l(m,{style:{position:"relative"}},{default:o((()=>[l(h,{class:"photo",src:U.value?U.value:"/static/index/IDcard.png"},null,8,["src"]),n(l(h,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:O},null,512),[[d,!U.value]])])),_:1})])),_:1}),l(m,{class:"white-photo",style:{"margin-top":"30rpx"},onClick:P},{default:o((()=>[l(m,{class:"photo-left"},{default:o((()=>[l(m,{class:"photo-weight"},{default:o((()=>[u("国徽面")])),_:1}),l(m,{class:"photo-font"},{default:o((()=>[u("请上传身份证国徽面")])),_:1})])),_:1}),l(m,{style:{position:"relative"}},{default:o((()=>[l(h,{class:"photo",src:V.value?V.value:"/static/index/backIDcard.png"},null,8,["src"]),n(l(h,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:O},null,512),[[d,!V.value]])])),_:1})])),_:1}),l(m,{class:"white-message"},{default:o((()=>[l(m,{class:"message-title"},{default:o((()=>[l(m,{class:"shu"}),l(m,{class:"message-weight"},{default:o((()=>[u(" 确认户口本本人页信息 ")])),_:1})])),_:1}),l(m,{style:{"margin-bottom":"20rpx"}},{default:o((()=>[(i(),s(f,null,p(j,((a,t)=>l(m,{key:t,class:"one",onClick:a=>{var e;(e=D[t])&&(S.value=e,J.value=!0)}},{default:o((()=>[l(m,{class:"one-left"},{default:o((()=>[u(b(a),1)])),_:2},1024),l(m,{class:"one-right"},{default:o((()=>[u(b(D[t]?D[t]:"自动获取"),1)])),_:2},1024)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1})])),_:1}),l(m,{class:"gray-font"},{default:o((()=>[l(m,{class:""},{default:o((()=>[u("注意事项:")])),_:1}),l(m,{class:""},{default:o((()=>[u(" 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。")])),_:1})])),_:1}),l(m,{class:"finish-button",onClick:A},{default:o((()=>[u(" 下一步 ")])),_:1})])}}},[["__scopeId","data-v-a282c316"]]);export{J as default};
import{r as a,D as t,Q as e,t as s,a as l,w as o,f as r,i as c,o as i,b as u,m as n,v as d,F as f,u as p,O as m,R as h,P as _,z as v,s as g,U as x,g as y,x as b}from"./index-BWFbK6MW.js";import{_ as k}from"./u-modal.6_il0Lfl.js";import{r as w}from"./uni-app.es.Bupuy4O7.js";import{_ as N}from"./bian.L32B-imx.js";import{_ as O}from"./takephoto.D2GFN-q_.js";import{_ as J}from"./_plugin-vue_export-helper.BCo6x5W8.js";const S=J({__name:"IDcard",setup(J){const S=a(!1),j=a(""),C=["姓名","性别","身份证号码","民族","出生日期","住址","签发机关","有效期限"],D=t(["","","","","","","",""]),I=a("");function P(){m({count:1,sourceType:["camera"],success:a=>{var t;I.value=a.tempFilePaths[0],t=I.value,h(),_({url:`${v("serverUrl")}/api/ocr/idCard`,filePath:t,name:"file",header:{"X-Access-Token":v("token")||""},formData:{},success:a=>{if(!JSON.parse(a.data).success)return g({title:"识别失败",icon:"error"}),void x();if(JSON.parse(JSON.parse(a.data).result.data).data.face){let e=JSON.parse(JSON.parse(a.data).result.data).data.face.data;D[0]=e.name,D[1]=e.sex,D[2]=e.idNumber,D[3]=e.ethnicity,D[4]=e.birthDate,D[5]=e.address,g({title:"识别成功"}),U.value=t,x()}else{let e=JSON.parse(JSON.parse(a.data).result.data).data.back.data;D[6]=e.issueAuthority,D[7]=e.validPeriod,g({title:"识别成功"}),V.value=t,x()}},fail:a=>{g({title:"上传出错",icon:"error"}),x()}})},fail:a=>{console.error("拍照失败:",a)}})}const U=a(""),V=a("");const A=()=>{r({url:"/pages/addoldman/yibao"})};return(a,t)=>{const r=w(e("u-modal"),k),m=c,h=y;return i(),s("div",{class:"container"},[l(r,{modelValue:S.value,"onUpdate:modelValue":t[0]||(t[0]=a=>S.value=a),content:j.value},null,8,["modelValue","content"]),l(m,{class:"white-content"},{default:o((()=>[l(m,{class:"content-title"},{default:o((()=>[l(m,{class:"content-weight"},{default:o((()=>[u("身份证上传")])),_:1}),l(h,{class:"content-img",src:N})])),_:1}),l(m,{class:"white-photo",onClick:P},{default:o((()=>[l(m,{class:"photo-left"},{default:o((()=>[l(m,{class:"photo-weight"},{default:o((()=>[u("人像面")])),_:1}),l(m,{class:"photo-font"},{default:o((()=>[u("请上传身份证人像面")])),_:1})])),_:1}),l(m,{style:{position:"relative"}},{default:o((()=>[l(h,{class:"photo",src:U.value?U.value:"/static/index/IDcard.png"},null,8,["src"]),n(l(h,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:O},null,512),[[d,!U.value]])])),_:1})])),_:1}),l(m,{class:"white-photo",style:{"margin-top":"30rpx"},onClick:P},{default:o((()=>[l(m,{class:"photo-left"},{default:o((()=>[l(m,{class:"photo-weight"},{default:o((()=>[u("国徽面")])),_:1}),l(m,{class:"photo-font"},{default:o((()=>[u("请上传身份证国徽面")])),_:1})])),_:1}),l(m,{style:{position:"relative"}},{default:o((()=>[l(h,{class:"photo",src:V.value?V.value:"/static/index/backIDcard.png"},null,8,["src"]),n(l(h,{style:{position:"absolute",top:"50%",left:"50%",width:"70rpx",height:"60rpx",transform:"translate(-50%,-50%)"},src:O},null,512),[[d,!V.value]])])),_:1})])),_:1}),l(m,{class:"white-message"},{default:o((()=>[l(m,{class:"message-title"},{default:o((()=>[l(m,{class:"shu"}),l(m,{class:"message-weight"},{default:o((()=>[u(" 确认户口本本人页信息 ")])),_:1})])),_:1}),l(m,{style:{"margin-bottom":"20rpx"}},{default:o((()=>[(i(),s(f,null,p(C,((a,t)=>l(m,{key:t,class:"one",onClick:a=>{var e;(e=D[t])&&(j.value=e,S.value=!0)}},{default:o((()=>[l(m,{class:"one-left"},{default:o((()=>[u(b(a),1)])),_:2},1024),l(m,{class:"one-right"},{default:o((()=>[u(b(D[t]?D[t]:"自动获取"),1)])),_:2},1024)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1})])),_:1}),l(m,{class:"gray-font"},{default:o((()=>[l(m,{class:""},{default:o((()=>[u("注意事项:")])),_:1}),l(m,{class:""},{default:o((()=>[u(" 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。")])),_:1})])),_:1}),l(m,{class:"finish-button",onClick:A},{default:o((()=>[u(" 下一步 ")])),_:1})])}}},[["__scopeId","data-v-a282c316"]]);export{S as default};

View File

@ -1 +1 @@
import{a4 as a,r as e,j as t,o as s,c as n,w as i,m as l,v as o,a as r,d as c,b as u,e as d,s as v,z as f,a5 as m,a6 as p,a7 as g,g as h,a3 as _,i as w}from"./index-DBAIfIdy.js";import{_ as y}from"./nu.C7Ggybbs.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=k(a({__name:"CustomCamera",setup(a){const k=e(),b=e(),j=e(!1);let C,x=null;async function D(){var a;if(null==(a=navigator.mediaDevices)?void 0:a.getUserMedia)try{x=await navigator.mediaDevices.getUserMedia({video:{facingMode:{ideal:"environment"}},audio:!1});const a=k.value;a.srcObject=x,await a.play(),M(),j.value=!0}catch(e){console.error(e),v({title:"无法获取摄像头权限",icon:"none"})}else v({title:"当前浏览器不支持实时相机",icon:"none"})}function M(){if(!j.value)return;const a=k.value,e=b.value,t=e.getContext("2d");a.videoWidth&&a.videoHeight&&(e.width!==window.innerWidth&&(e.width=window.innerWidth,e.height=window.innerHeight),t.drawImage(a,0,0,e.width,e.height)),C=requestAnimationFrame(M)}function U(){const a=b.value.toDataURL("image/jpeg",.9);f(),m("photoTaken",a)}function W(){A(),f()}function A(){cancelAnimationFrame(C),x&&x.getTracks().forEach((a=>a.stop()))}return t(A),(a,e)=>{const t=p,v=g,f=h,m=_,C=w;return s(),n(C,{class:"page"},{default:i((()=>[l(r(t,{ref_key:"video",ref:k,class:"video",playsinline:"","webkit-playsinline":"","x5-playsinline":"",muted:""},null,512),[[o,j.value]]),l(r(v,{ref_key:"canvas",ref:b,class:"canvas"},null,512),[[o,j.value]]),r(f,{class:"overlay",src:y,style:c({opacity:j.value?1:0})},null,8,["style"]),j.value?(s(),n(C,{key:0,class:"btn-bar"},{default:i((()=>[r(m,{class:"btn close",onClick:W},{default:i((()=>[u("关闭")])),_:1}),r(m,{class:"btn shoot",onClick:U})])),_:1})):d("",!0),j.value?d("",!0):(s(),n(C,{key:1,class:"starter"},{default:i((()=>[r(m,{class:"btn start",onClick:D},{default:i((()=>[u("开始拍照")])),_:1})])),_:1}))])),_:1})}}}),[["__scopeId","data-v-768474b2"]]);export{b as default};
import{a9 as a,r as e,j as t,o as s,c as n,w as i,m as l,v as o,a as r,d as c,b as u,e as d,s as v,A as f,aa as m,ab as p,ac as g,g as h,a2 as _,i as w}from"./index-BWFbK6MW.js";import{_ as y}from"./nu.C7Ggybbs.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=k(a({__name:"CustomCamera",setup(a){const k=e(),b=e(),j=e(!1);let C,x=null;async function A(){var a;if(null==(a=navigator.mediaDevices)?void 0:a.getUserMedia)try{x=await navigator.mediaDevices.getUserMedia({video:{facingMode:{ideal:"environment"}},audio:!1});const a=k.value;a.srcObject=x,await a.play(),D(),j.value=!0}catch(e){console.error(e),v({title:"无法获取摄像头权限",icon:"none"})}else v({title:"当前浏览器不支持实时相机",icon:"none"})}function D(){if(!j.value)return;const a=k.value,e=b.value,t=e.getContext("2d");a.videoWidth&&a.videoHeight&&(e.width!==window.innerWidth&&(e.width=window.innerWidth,e.height=window.innerHeight),t.drawImage(a,0,0,e.width,e.height)),C=requestAnimationFrame(D)}function M(){const a=b.value.toDataURL("image/jpeg",.9);f(),m("photoTaken",a)}function U(){W(),f()}function W(){cancelAnimationFrame(C),x&&x.getTracks().forEach((a=>a.stop()))}return t(W),(a,e)=>{const t=p,v=g,f=h,m=_,C=w;return s(),n(C,{class:"page"},{default:i((()=>[l(r(t,{ref_key:"video",ref:k,class:"video",playsinline:"","webkit-playsinline":"","x5-playsinline":"",muted:""},null,512),[[o,j.value]]),l(r(v,{ref_key:"canvas",ref:b,class:"canvas"},null,512),[[o,j.value]]),r(f,{class:"overlay",src:y,style:c({opacity:j.value?1:0})},null,8,["style"]),j.value?(s(),n(C,{key:0,class:"btn-bar"},{default:i((()=>[r(m,{class:"btn close",onClick:U},{default:i((()=>[u("关闭")])),_:1}),r(m,{class:"btn shoot",onClick:M})])),_:1})):d("",!0),j.value?d("",!0):(s(),n(C,{key:1,class:"starter"},{default:i((()=>[r(m,{class:"btn start",onClick:A},{default:i((()=>[u("开始拍照")])),_:1})])),_:1}))])),_:1})}}}),[["__scopeId","data-v-768474b2"]]);export{b as default};

View File

@ -1 +0,0 @@
import{r as e,D as o,c as s,w as n,E as t,G as a,y as c,i as r,o as l,a as i,b as p,g as d}from"./index-DBAIfIdy.js";import{_ as u}from"./nu.C7Ggybbs.js";import{o as m}from"./uni-app.es.pRPQMweL.js";import{b as f}from"./index.CA0mK-bX.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=h({__name:"callback",setup(h){e(0);const k=o({name:"",openid:"",accessToken:""});e("");const g=()=>{const e=`${f}/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(k.openid)}`;fetch(e).then((e=>e.json())).then((e=>{console.log("个人信息打印",e),a("token",e.result.token),a("serverUrl",e.result.serverUrl),console.log("???token存储",e.result.token),e.result.tel?c({url:"/pages/login/threeselectone"}):c({url:"/pages/login/phonebumber"}),v()}))},_=e([]),v=()=>{fetch(`${f}/sys/sysDepart/queryInstitutionsList`).then((e=>e.json())).then((e=>{_.value=[...e],console.log("机构打印",_.value)}))};return e([]),m((()=>{var e;const o=null==(e=window.location.href.split("?")[1])?void 0:e.split("#")[0],s={};o&&o.split("&").forEach((e=>{const[o,n]=e.split("=");s[o]=decodeURIComponent(n)})),console.log("解析到的 query 参数:",s),s.code&&(e=>{const o=`${f}/weixin/wechat/callback?code=${encodeURIComponent(e)}`;fetch(o).then((e=>e.json())).then((e=>{k.name=e.data.nickname,k.openid=e.data.openid,k.accessToken=e.accessToken,t({key:"openid",data:{openid:e.data.openid,accessToken:e.accessToken}}),g()})).catch((e=>{console.error("❌ 获取用户信息失败:",e)}))})(s.code)})),(e,o)=>{const t=d,a=r;return l(),s(a,{class:"login-container"},{default:n((()=>[i(t,{class:"imge",src:u}),i(a,{class:"font"},{default:n((()=>[p(" 页面跳转中,请稍后... ")])),_:1})])),_:1})}}},[["__scopeId","data-v-57f61afd"]]);export{k as default};

View File

@ -0,0 +1 @@
import{r as e,D as o,c as s,w as n,E as t,G as a,y as c,i as l,o as r,a as i,b as p,g as d}from"./index-BWFbK6MW.js";import{_ as u}from"./nu.C7Ggybbs.js";import{o as m}from"./uni-app.es.Bupuy4O7.js";import{b as h}from"./index.DHEE3adT.js";import{_ as f}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=f({__name:"callback",setup(f){e(0);const k=o({name:"",openid:"",accessToken:""});e("");const g=()=>{const e=`${h}/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(k.openid)}`;fetch(e).then((e=>e.json())).then((e=>{console.log("个人信息打印",e),a("token",e.result.token),a("serverUrl",e.result.serverUrl),console.log("???token存储",e.result.token),e.result.tel?(c({url:"/pages/login/threeselectone"}),a("tel",e.result.tel)):c({url:"/pages/login/phonebumber"}),v()}))},_=e([]),v=()=>{fetch(`${h}/sys/sysDepart/queryInstitutionsList`).then((e=>e.json())).then((e=>{_.value=[...e],console.log("机构打印",_.value)}))};return e([]),m((()=>{var e;const o=null==(e=window.location.href.split("?")[1])?void 0:e.split("#")[0],s={};o&&o.split("&").forEach((e=>{const[o,n]=e.split("=");s[o]=decodeURIComponent(n)})),console.log("解析到的 query 参数:",s),s.code&&(e=>{const o=`${h}/weixin/wechat/callback?code=${encodeURIComponent(e)}`;fetch(o).then((e=>e.json())).then((e=>{k.name=e.data.nickname,k.openid=e.data.openid,k.accessToken=e.accessToken,t({key:"openid",data:{openid:e.data.openid,accessToken:e.accessToken}}),g()})).catch((e=>{console.error("❌ 获取用户信息失败:",e)}))})(s.code)})),(e,o)=>{const t=d,a=l;return r(),s(a,{class:"login-container"},{default:n((()=>[i(t,{class:"imge",src:u}),i(a,{class:"font"},{default:n((()=>[p(" 页面跳转中,请稍后... ")])),_:1})])),_:1})}}},[["__scopeId","data-v-2e590b37"]]);export{k as default};

View File

@ -1 +0,0 @@
import{r as e,A as a,c as l,w as s,s as t,i as o,o as u,a as n,b as c,x as d,t as i,u as r,F as v,m as f,v as m,d as p,e as _,T as g,g as h,B as k,I as y,C as b,y as x}from"./index-DBAIfIdy.js";import{_ as w}from"./nu.C7Ggybbs.js";import{_ as I,a as j}from"./old.DL_W-GvU.js";import{o as C}from"./uni-app.es.pRPQMweL.js";import{s as S,c as V}from"./loginApi.mnKMuPqy.js";import{_ as A}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.CA0mK-bX.js";const B=A({__name:"code",setup(A){const B=e(""),E=e(""),K=e(["","","",""]),U=e(-1),F=e(!1),M=e("rgba(0, 0, 0, 0.5)");function T(){F.value=!1}const q=e(""),z=()=>{const e=K.value.join("");4===e.length?(console.log("提交验证码:",e),q.value!=e&&(q.value=e,V({mobile:B.value,openId:b("openid").openid,smscode:e}).then((e=>{e.success?x({url:"/pages/login/threeselectone"}):t({title:"验证码错误",icon:"none",duration:2e3})})))):console.log("验证码未输入完整")},D=()=>{S({mobile:B.value,hkcode:E.value,smsmode:1}).then((e=>{e.success?(t({title:"发送成功",icon:"none",duration:2e3}),U.value=0,G.value=60,H=setInterval((()=>{G.value>0?G.value--:(clearInterval(H),H=null)}),1e3)):t({title:e.message,icon:"none",duration:2e3})}))},G=e(0);let H=null;return a((()=>{H&&clearInterval(H)})),C((e=>{B.value=e.mobile,E.value=e.hkcode,D()})),(e,a)=>{const t=h,b=o,x=y;return u(),l(b,{class:"login-container"},{default:s((()=>[n(b,{class:"title"},{default:s((()=>[n(t,{class:"title-imge",src:w}),n(b,{class:"title-font"},{default:s((()=>[n(b,{class:""},{default:s((()=>[c("您好,")])),_:1}),n(b,{class:""},{default:s((()=>[c("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),n(t,{class:"photo-imge",src:I}),n(t,{class:"old-imge",src:j}),n(b,{class:"under-container"},{default:s((()=>[n(b,{class:"under-container-title"},{default:s((()=>[n(b,{class:"code-title"},{default:s((()=>[c(" 请输入验证码 ")])),_:1}),n(b,{class:"code-number"},{default:s((()=>[c(" 验证码已发送至"+d(B.value),1)])),_:1})])),_:1}),n(b,{class:"captcha-container"},{default:s((()=>[n(b,{class:"captcha-box"},{default:s((()=>[(u(!0),i(v,null,r(K.value,((e,a)=>(u(),l(b,{key:a,class:"captcha-item"},{default:s((()=>[n(x,{modelValue:K.value[a],"onUpdate:modelValue":e=>K.value[a]=e,class:"captcha-input",type:"number",maxlength:"4",placeholder:a<3?"":" ",onInput:e=>((e,a)=>{const l=a.detail.value||"";if(console.log("??????",a),4==l.length){const e=a.detail.value.toString().padStart(4,"0");K.value=e.split(""),U.value=3,k((()=>{z()}))}else if(2==l.length){K.value[e]="number"==typeof(s=K.value[e])?s%10:s,K.value[e]&&e<3&&(U.value=e+1);let a=!0;K.value.forEach((e=>{e||(a=!1)})),k((()=>{a&&z()}))}else{K.value[e]&&e<3&&(U.value=e+1);let a=!0;K.value.forEach((e=>{e||(a=!1)})),k((()=>{a&&z()}))}var s})(a,e),onKeydown:e=>((e,a)=>{"Backspace"!==a.key||K.value[e]||e>0&&(U.value=e-1)})(a,e),focus:U.value===a},null,8,["modelValue","onUpdate:modelValue","placeholder","onInput","onKeydown","focus"])])),_:2},1024)))),128))])),_:1})])),_:1}),n(b,{class:"under-view"},{default:s((()=>[f(n(b,{class:"right-blue",onClick:D},{default:s((()=>[c(" 重新发送 ")])),_:1},512),[[m,!G.value]]),f(n(b,{class:"right-white"},{default:s((()=>[c(d(G.value)+"S后重新发送 ",1)])),_:1},512),[[m,G.value]]),n(b,{class:"right-black",onClick:a[0]||(a[0]=e=>F.value=!0)},{default:s((()=>[c(" 收不到验证码 ")])),_:1})])),_:1})])),_:1}),n(g,{name:"fade"},{default:s((()=>[F.value?(u(),l(b,{key:0,class:"overlay",onClick:T,style:p({backgroundColor:M.value})},null,8,["style"])):_("",!0)])),_:1}),n(g,{name:"slide-up"},{default:s((()=>[F.value?(u(),l(b,{key:0,class:"modal"},{default:s((()=>[n(b,{class:"modal-title"},{default:s((()=>[c("收不到验证码")])),_:1}),n(b,{class:"model-p"},{default:s((()=>[n(b,{class:"text-view",style:{"font-weight":"600"}},{default:s((()=>[c("手机号可正常使用:")])),_:1}),n(b,{class:"text-view"},{default:s((()=>[c("1 是否输错手机号")])),_:1}),n(b,{class:"text-view"},{default:s((()=>[c("2 手机是否设置短信拦截/欠费/信号不好")])),_:1}),n(b,{class:"text-view"},{default:s((()=>[c("3 手机内存是否满了")])),_:1}),n(b,{class:"text-view"},{default:s((()=>[c("4 手机卡是否为物联卡而非SIM卡")])),_:1})])),_:1})])),_:1})):_("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-60745c42"]]);export{B as default};

View File

@ -0,0 +1 @@
import{r as e,B as a,c as l,w as s,s as t,i as u,o,a as c,b as n,x as d,t as i,u as r,F as v,m as f,v as m,d as p,e as _,T as g,g as h,C as k,I as b,z as y,y as x}from"./index-BWFbK6MW.js";import{_ as w}from"./nu.C7Ggybbs.js";import{_ as I,a as j}from"./old.DL_W-GvU.js";import{o as C}from"./uni-app.es.Bupuy4O7.js";import{s as S,c as V}from"./loginApi.CwwrSv7b.js";import{_ as B}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.DHEE3adT.js";const E=B({__name:"code",setup(B){const E=e(""),K=e(""),U=e(["","","",""]),z=e(-1),A=e(!1),F=e("rgba(0, 0, 0, 0.5)");function M(){A.value=!1}const T=e(""),q=()=>{const e=U.value.join("");4===e.length?(console.log("提交验证码:",e),T.value!=e&&(T.value=e,V({mobile:E.value,openId:y("openid").openid,smscode:e}).then((e=>{e.success?x({url:"/pages/login/callback"}):t({title:"验证码错误",icon:"none",duration:2e3})})))):console.log("验证码未输入完整")},D=()=>{S({mobile:E.value,hkcode:K.value,smsmode:1}).then((e=>{e.success?(t({title:"发送成功",icon:"none",duration:2e3}),z.value=0,G.value=60,H=setInterval((()=>{G.value>0?G.value--:(clearInterval(H),H=null)}),1e3)):t({title:e.message,icon:"none",duration:2e3})}))},G=e(0);let H=null;return a((()=>{H&&clearInterval(H)})),C((e=>{E.value=e.mobile,K.value=e.hkcode,D()})),(e,a)=>{const t=h,y=u,x=b;return o(),l(y,{class:"login-container"},{default:s((()=>[c(y,{class:"title"},{default:s((()=>[c(t,{class:"title-imge",src:w}),c(y,{class:"title-font"},{default:s((()=>[c(y,{class:""},{default:s((()=>[n("您好,")])),_:1}),c(y,{class:""},{default:s((()=>[n("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),c(t,{class:"photo-imge",src:I}),c(t,{class:"old-imge",src:j}),c(y,{class:"under-container"},{default:s((()=>[c(y,{class:"under-container-title"},{default:s((()=>[c(y,{class:"code-title"},{default:s((()=>[n(" 请输入验证码 ")])),_:1}),c(y,{class:"code-number"},{default:s((()=>[n(" 验证码已发送至"+d(E.value),1)])),_:1})])),_:1}),c(y,{class:"captcha-container"},{default:s((()=>[c(y,{class:"captcha-box"},{default:s((()=>[(o(!0),i(v,null,r(U.value,((e,a)=>(o(),l(y,{key:a,class:"captcha-item"},{default:s((()=>[c(x,{modelValue:U.value[a],"onUpdate:modelValue":e=>U.value[a]=e,class:"captcha-input",type:"number",maxlength:"4",placeholder:a<3?"":" ",onInput:e=>((e,a)=>{const l=a.detail.value||"";if(console.log("??????",a),4==l.length){const e=a.detail.value.toString().padStart(4,"0");U.value=e.split(""),z.value=3,k((()=>{q()}))}else if(2==l.length){U.value[e]="number"==typeof(s=U.value[e])?s%10:s,U.value[e]&&e<3&&(z.value=e+1);let a=!0;U.value.forEach((e=>{e||(a=!1)})),k((()=>{a&&q()}))}else{U.value[e]&&e<3&&(z.value=e+1);let a=!0;U.value.forEach((e=>{e||(a=!1)})),k((()=>{a&&q()}))}var s})(a,e),onKeydown:e=>((e,a)=>{"Backspace"!==a.key||U.value[e]||e>0&&(z.value=e-1)})(a,e),focus:z.value===a},null,8,["modelValue","onUpdate:modelValue","placeholder","onInput","onKeydown","focus"])])),_:2},1024)))),128))])),_:1})])),_:1}),c(y,{class:"under-view"},{default:s((()=>[f(c(y,{class:"right-blue",onClick:D},{default:s((()=>[n(" 重新发送 ")])),_:1},512),[[m,!G.value]]),f(c(y,{class:"right-white"},{default:s((()=>[n(d(G.value)+"S后重新发送 ",1)])),_:1},512),[[m,G.value]]),c(y,{class:"right-black",onClick:a[0]||(a[0]=e=>A.value=!0)},{default:s((()=>[n(" 收不到验证码 ")])),_:1})])),_:1})])),_:1}),c(g,{name:"fade"},{default:s((()=>[A.value?(o(),l(y,{key:0,class:"overlay",onClick:M,style:p({backgroundColor:F.value})},null,8,["style"])):_("",!0)])),_:1}),c(g,{name:"slide-up"},{default:s((()=>[A.value?(o(),l(y,{key:0,class:"modal"},{default:s((()=>[c(y,{class:"modal-title"},{default:s((()=>[n("收不到验证码")])),_:1}),c(y,{class:"model-p"},{default:s((()=>[c(y,{class:"text-view",style:{"font-weight":"600"}},{default:s((()=>[n("手机号可正常使用:")])),_:1}),c(y,{class:"text-view"},{default:s((()=>[n("1 是否输错手机号")])),_:1}),c(y,{class:"text-view"},{default:s((()=>[n("2 手机是否设置短信拦截/欠费/信号不好")])),_:1}),c(y,{class:"text-view"},{default:s((()=>[n("3 手机内存是否满了")])),_:1}),c(y,{class:"text-view"},{default:s((()=>[n("4 手机卡是否为物联卡而非SIM卡")])),_:1})])),_:1})])),_:1})):_("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-7d2aa252"]]);export{E as default};

View File

@ -1 +0,0 @@
import{r as l,c as a,w as e,i as s,o as t,a as o,b as c,n,d as u,e as i,T as d,f as r,g as f,h as _}from"./index-DBAIfIdy.js";import{_ as p}from"./nu.C7Ggybbs.js";import{_ as m,a as g}from"./old.DL_W-GvU.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=encodeURIComponent("https://www.focusnu.com/wechat/thd/#/pages/login/callback");const C=v({__name:"index",setup(v){const C=l(!1),h=l(!1),{login:w}=(l(""),l(""),l(null),{login:function(l="snsapi_userinfo",a=""){const e=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8fc3e4305d2fbf0b&redirect_uri=${k}&response_type=code&scope=${l}&state=${a}#wechat_redirect`;window.location.href=e}}),b=l("rgba(0, 0, 0, 0.5)");function y(){h.value=!1}const x=()=>{C.value?w():h.value=!0},j=()=>{r({url:"/pages/login/protocol"})},$=()=>{r({url:"/pages/addjigou/name"})},q=()=>{r({url:"/pages/selectunit/map"})};return(l,r)=>{const v=f,k=s,w=_;return t(),a(k,{class:"login-container"},{default:e((()=>[o(k,{class:"title"},{default:e((()=>[o(v,{class:"title-imge",src:p,onClick:$}),o(k,{class:"title-font"},{default:e((()=>[o(k,{class:""},{default:e((()=>[c("您好,")])),_:1}),o(k,{class:""},{default:e((()=>[c("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),o(v,{class:"photo-imge",src:m}),o(v,{class:"old-imge",src:g,onClick:q}),o(k,{class:"under-container"},{default:e((()=>[o(k,{class:"under-container-title"},{default:e((()=>[o(k,{class:n(C.value?"radio-circle-target":"radio-circle"),onClick:r[0]||(r[0]=l=>C.value=!C.value)},null,8,["class"]),o(k,{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:r[1]||(r[1]=l=>C.value=!C.value)},{default:e((()=>[c("同意")])),_:1}),o(k,{class:"radio-circle-blue",onClick:j},{default:e((()=>[c(" 《护理单元使用条款》 ")])),_:1}),o(k,{class:"radio-circle-font",onClick:r[2]||(r[2]=l=>C.value=!C.value)},{default:e((()=>[c("并授权NU获取本机号码")])),_:1})])),_:1}),o(k,{class:"button-blue",onClick:x},{default:e((()=>[c(" 一键登录 ")])),_:1})])),_:1}),o(d,{name:"fade"},{default:e((()=>[h.value?(t(),a(k,{key:0,class:"overlay",onClick:y,style:u({backgroundColor:b.value})},null,8,["style"])):i("",!0)])),_:1}),o(d,{name:"slide-up"},{default:e((()=>[h.value?(t(),a(k,{key:0,class:"modal"},{default:e((()=>[o(k,{class:"modal-title"},{default:e((()=>[c("服务协议及隐私保护")])),_:1}),o(k,{class:"model-p"},{default:e((()=>[o(w,null,{default:e((()=>[c("  为了更好地保障您的合法权益,请阅读并同意以下协议")])),_:1}),o(w,{style:{color:"rgb(0,141,255)"},onClick:j},{default:e((()=>[c("《护理单元使用条款》")])),_:1}),o(w,null,{default:e((()=>[c(",同意后将自动登录。")])),_:1})])),_:1}),o(k,{class:"model-down"},{default:e((()=>[o(k,{class:"model-white",onClick:y},{default:e((()=>[c(" 不同意 ")])),_:1}),o(k,{class:"model-blue",onClick:r[3]||(r[3]=l=>{y(),C.value=!0})},{default:e((()=>[c(" 同意 ")])),_:1})])),_:1})])),_:1})):i("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-0ea83cc3"]]);export{C as default};

View File

@ -0,0 +1 @@
import{r as l,c as e,w as a,i as s,o as t,a as o,b as c,n,d as u,e as i,T as d,f as r,g as f,h as _}from"./index-BWFbK6MW.js";import{_ as p}from"./nu.C7Ggybbs.js";import{_ as m,a as g}from"./old.DL_W-GvU.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=encodeURIComponent("https://www.focusnu.com/wechat/thd/#/pages/login/callback");const h=v({__name:"index",setup(v){const h=l(!1),w=l(!1),{login:C}=(l(""),l(""),l(null),{login:function(l="snsapi_userinfo",e=""){const a=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8fc3e4305d2fbf0b&redirect_uri=${k}&response_type=code&scope=${l}&state=${e}#wechat_redirect`;window.location.href=a}}),b=l("rgba(0, 0, 0, 0.5)");function y(){w.value=!1}const x=()=>{h.value?C():w.value=!0},j=()=>{r({url:"/pages/login/protocol"})},$=()=>{r({url:"/pages/addjigou/where"})},q=()=>{r({url:"/pages/selectunit/map"})};return(l,r)=>{const v=f,k=s,C=_;return t(),e(k,{class:"login-container"},{default:a((()=>[o(k,{class:"title"},{default:a((()=>[o(v,{class:"title-imge",src:p,onClick:$}),o(k,{class:"title-font"},{default:a((()=>[o(k,{class:""},{default:a((()=>[c("您好,")])),_:1}),o(k,{class:""},{default:a((()=>[c("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),o(v,{class:"photo-imge",src:m}),o(v,{class:"old-imge",src:g,onClick:q}),o(k,{class:"under-container"},{default:a((()=>[o(k,{class:"under-container-title"},{default:a((()=>[o(k,{class:n(h.value?"radio-circle-target":"radio-circle"),onClick:r[0]||(r[0]=l=>h.value=!h.value)},null,8,["class"]),o(k,{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:r[1]||(r[1]=l=>h.value=!h.value)},{default:a((()=>[c("同意")])),_:1}),o(k,{class:"radio-circle-blue",onClick:j},{default:a((()=>[c(" 《护理单元使用条款》 ")])),_:1}),o(k,{class:"radio-circle-font",onClick:r[2]||(r[2]=l=>h.value=!h.value)},{default:a((()=>[c("并授权NU获取本机号码")])),_:1})])),_:1}),o(k,{class:"button-blue",onClick:x},{default:a((()=>[c(" 一键登录 ")])),_:1})])),_:1}),o(d,{name:"fade"},{default:a((()=>[w.value?(t(),e(k,{key:0,class:"overlay",onClick:y,style:u({backgroundColor:b.value})},null,8,["style"])):i("",!0)])),_:1}),o(d,{name:"slide-up"},{default:a((()=>[w.value?(t(),e(k,{key:0,class:"modal"},{default:a((()=>[o(k,{class:"modal-title"},{default:a((()=>[c("服务协议及隐私保护")])),_:1}),o(k,{class:"model-p"},{default:a((()=>[o(C,null,{default:a((()=>[c("  为了更好地保障您的合法权益,请阅读并同意以下协议")])),_:1}),o(C,{style:{color:"rgb(0,141,255)"},onClick:j},{default:a((()=>[c("《护理单元使用条款》")])),_:1}),o(C,null,{default:a((()=>[c(",同意后将自动登录。")])),_:1})])),_:1}),o(k,{class:"model-down"},{default:a((()=>[o(k,{class:"model-white",onClick:y},{default:a((()=>[c(" 不同意 ")])),_:1}),o(k,{class:"model-blue",onClick:r[3]||(r[3]=l=>{y(),h.value=!0})},{default:a((()=>[c(" 同意 ")])),_:1})])),_:1})])),_:1})):i("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-f7f4cc3c"]]);export{h as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{r as a,J as e,c as t,w as n,i as s,o as l,a as o,b as c,t as i,u,F as r,s as d,I as m,a3 as p,h as f,x as _}from"./index-DBAIfIdy.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=g({__name:"index",setup(g){const v=a(""),y=a([]);let h=null,q=null;async function k(){const a=v.value.trim();if(!a)return void d({title:"请输入搜索内容",icon:"none"});y.value=[];const e=h.getCenter(),t=e.getLat(),n=e.getLng(),s=`https://apis.map.qq.com/ws/place/v1/search?keyword=${encodeURIComponent(a)}&boundary=nearby(${t},${n},1000)&key=WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G`;try{const a=await fetch(s),e=await a.json();0===e.status&&e.data&&e.data.length>0?y.value=e.data.map((a=>({name:a.title,address:a.address,lat:a.location.lat,lng:a.location.lng}))):d({title:"未搜索到结果",icon:"none"})}catch(l){console.error("搜索失败:",l),d({title:"搜索失败",icon:"none"})}}return e((()=>{!function(a,e){const t=new qq.maps.LatLng(a,e);h=new qq.maps.Map(document.getElementById("map"),{center:t,zoom:15}),q=new qq.maps.Marker({position:t,map:h})}(39.9042,116.4074)})),(a,e)=>{const d=m,g=p,w=s,L=f;return l(),t(w,{class:"container"},{default:n((()=>[o(w,{class:"search-bar"},{default:n((()=>[o(d,{type:"text",modelValue:v.value,"onUpdate:modelValue":e[0]||(e[0]=a=>v.value=a),placeholder:"搜索地点",onConfirm:k},null,8,["modelValue"]),o(g,{onClick:k},{default:n((()=>[c("搜索")])),_:1})])),_:1}),o(w,{id:"map",class:"map"}),y.value.length?(l(),t(w,{key:0,class:"result-list"},{default:n((()=>[(l(!0),i(r,null,u(y.value,((a,e)=>(l(),t(w,{class:"poi-item",key:e,onClick:e=>function(a){const e=new qq.maps.LatLng(a.lat,a.lng);h.setCenter(e),q.setPosition(e)}(a)},{default:n((()=>[o(L,{class:"poi-name"},{default:n((()=>[c(_(a.name),1)])),_:2},1024),o(L,{class:"poi-address"},{default:n((()=>[c(_(a.address),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})):(l(),t(w,{key:1,class:"info"},{default:n((()=>[o(L,null,{default:n((()=>[c("请选择或搜索地点")])),_:1})])),_:1}))])),_:1})}}},[["__scopeId","data-v-3c3af77e"]]);export{v as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{r as e,t as a,H as n,a as t,w as o,x as s,e as i,a2 as d,I as u,a3 as p,o as l,b as r,s as c}from"./index-DBAIfIdy.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=g({__name:"index",setup(g){const v=e(""),m=e(!1),y=e("");e({timeStamp:"1747983532",package:"prepay_id=wx23145806465232c82870c59d2d41cf0000",paySign:"0pUqj2JZ77BYchyJuthQyP4yRfqhjvwag78Q4IMnIyQ3/OQP6OyJreZfmj0GFSEMrRsKAHIdBBM7tVnot0aaRhI5qwSOWpzyvJCkYa4eqPgqlV4XYVMqE3zeB/Cx4C9bv4poMXnaGlfFPdkhMYbUcdtsw4gBXXhqUx//9x7eu9cOERRzLquM8Z8rewRpar/kkVKSCV6h8pX19kRj+KEkK5LZB8IUIG995g1lsVFOqdO4mVFBJ1wZCkwJczgVI+jdNGgnR2lpdjwIpJFm+5Hm0y9SwR0UFvgkm95NrmY+Sruty/Zf8ekQwF4+atubW8CE6i8wm2zZpMEnnfS4WFwAwg==",appId:"wx8fc3e4305d2fbf0b",signType:"RSA",nonceStr:"DxpF2uIMl0VM7vPOG7pWnPHk2Dvi3V7K"});const w=()=>{const e={title:"测试订单",openId:S.value,amountPrice:v.value,orgCode:"组织id",nursingUnit:"护理单元id",customerId:"顾客id",orderType:"订单类型",price:1,count:1,unit:"单位"};console.log("???/",e),fetch("https://www.focusnu.com/nursing-unit_0010507/weiXinPay/native",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{e.appId?function(e){const a=()=>{window.WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){m.value=!1,"get_brand_wcpay_request:ok"===e.err_msg?y.value="支付成功":y.value="支付失败或取消"}))};void 0===window.WeixinJSBridge?document.addEventListener("WeixinJSBridgeReady",a,!1):a()}(e):c({title:"支付失败",icon:"error"})})).catch((e=>{console.error("请求失败:",e)}))},f=e(""),S=e("");function k(){v.value&&(m.value=!0,y.value="拉起微信支付...",d({key:"serverUrl",success:function(e){console.log("读取缓存:",e.data.url),f.value=e.data.url}}),d({key:"openid",success:function(e){console.log("读取缓存:",e.data.openid),S.value=e.data.openid}}),w())}return(e,d)=>{const c=u,g=p;return l(),a("div",{class:"container"},[n("div",{class:"input-group"},[t(c,{type:"number",modelValue:v.value,"onUpdate:modelValue":d[0]||(d[0]=e=>v.value=e),placeholder:"请输入金额",class:"amount-input"},null,8,["modelValue"]),t(g,{onClick:k,disabled:m.value||!v.value,class:"pay-btn"},{default:o((()=>[r(" 支付 ")])),_:1},8,["disabled"])]),y.value?(l(),a("div",{key:0,class:"status-group"},[n("p",null,s(y.value),1)])):i("",!0)])}}},[["__scopeId","data-v-6425dffb"]]);export{v as default};
import{r as e,t as a,H as n,a as t,w as o,x as s,e as i,a1 as d,I as u,a2 as p,o as l,b as r,s as c}from"./index-BWFbK6MW.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=g({__name:"index",setup(g){const v=e(""),m=e(!1),y=e("");e({timeStamp:"1747983532",package:"prepay_id=wx23145806465232c82870c59d2d41cf0000",paySign:"0pUqj2JZ77BYchyJuthQyP4yRfqhjvwag78Q4IMnIyQ3/OQP6OyJreZfmj0GFSEMrRsKAHIdBBM7tVnot0aaRhI5qwSOWpzyvJCkYa4eqPgqlV4XYVMqE3zeB/Cx4C9bv4poMXnaGlfFPdkhMYbUcdtsw4gBXXhqUx//9x7eu9cOERRzLquM8Z8rewRpar/kkVKSCV6h8pX19kRj+KEkK5LZB8IUIG995g1lsVFOqdO4mVFBJ1wZCkwJczgVI+jdNGgnR2lpdjwIpJFm+5Hm0y9SwR0UFvgkm95NrmY+Sruty/Zf8ekQwF4+atubW8CE6i8wm2zZpMEnnfS4WFwAwg==",appId:"wx8fc3e4305d2fbf0b",signType:"RSA",nonceStr:"DxpF2uIMl0VM7vPOG7pWnPHk2Dvi3V7K"});const w=()=>{const e={title:"测试订单",openId:S.value,amountPrice:v.value,orgCode:"组织id",nursingUnit:"护理单元id",customerId:"顾客id",orderType:"订单类型",price:1,count:1,unit:"单位"};console.log("???/",e),fetch("https://www.focusnu.com/nursing-unit_0010507/weiXinPay/native",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{e.appId?function(e){const a=()=>{window.WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){m.value=!1,"get_brand_wcpay_request:ok"===e.err_msg?y.value="支付成功":y.value="支付失败或取消"}))};void 0===window.WeixinJSBridge?document.addEventListener("WeixinJSBridgeReady",a,!1):a()}(e):c({title:"支付失败",icon:"error"})})).catch((e=>{console.error("请求失败:",e)}))},f=e(""),S=e("");function k(){v.value&&(m.value=!0,y.value="拉起微信支付...",d({key:"serverUrl",success:function(e){console.log("读取缓存:",e.data.url),f.value=e.data.url}}),d({key:"openid",success:function(e){console.log("读取缓存:",e.data.openid),S.value=e.data.openid}}),w())}return(e,d)=>{const c=u,g=p;return l(),a("div",{class:"container"},[n("div",{class:"input-group"},[t(c,{type:"number",modelValue:v.value,"onUpdate:modelValue":d[0]||(d[0]=e=>v.value=e),placeholder:"请输入金额",class:"amount-input"},null,8,["modelValue"]),t(g,{onClick:k,disabled:m.value||!v.value,class:"pay-btn"},{default:o((()=>[r(" 支付 ")])),_:1},8,["disabled"])]),y.value?(l(),a("div",{key:0,class:"status-group"},[n("p",null,s(y.value),1)])):i("",!0)])}}},[["__scopeId","data-v-6425dffb"]]);export{v as default};

View File

@ -0,0 +1 @@
import{Y as s,Z as a,_ as o,$ as r,a0 as t}from"./index-BWFbK6MW.js";function n(s,a){return"string"==typeof s?a:s}const e=r=>(t,n=o())=>{!s&&a(r,t,n)},i=e(r),f=e(t);export{i as a,f as o,n as r};

View File

@ -1 +0,0 @@
import{_ as s,$ as a,a0 as o,a1 as r}from"./index-DBAIfIdy.js";function t(s,a){return"string"==typeof s?a:s}const n=(r=>(t,n=o())=>{!s&&a(r,t,n)})(r);export{n as o,t as r};

View File

@ -0,0 +1 @@
.container[data-v-6077651d]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-6077651d]{width:90%;margin-left:5%;margin-top:.9375rem;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-6077651d]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-6077651d]{font-weight:600;margin-left:1.25rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-6077651d]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-6077651d]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-6077651d]{width:9.375rem;height:6.25rem}.container .white-message[data-v-6077651d]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-6077651d]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-6077651d]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-6077651d]{font-size:.9375rem}.container .white-message .one[data-v-6077651d]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-6077651d]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-6077651d]{color:#999;overflow:hidden;white-space:nowrap;font-size:.78125rem;text-overflow:ellipsis;max-width:9.375rem;display:flex;justify-content:flex-end}.photo-left .photo-weight[data-v-6077651d]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-6077651d]{font-size:.71875rem;margin-top:.3125rem}.finish-button[data-v-6077651d]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.one-img[data-v-6077651d]{position:absolute;top:50%;transform:translateY(-50%);right:.3125rem;width:1.875rem;height:1.5625rem}.pingfangmi[data-v-6077651d]{position:absolute;top:50%;right:.15625rem;transform:translateY(-50%)}.special[data-v-6077651d]{display:flex;align-items:center;width:8.75rem;position:relative}

View File

@ -1 +0,0 @@
.container[data-v-a313a36c]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative;box-shadow:.0625rem .0625rem .125rem rgba(0,0,0,.1)}.container .white-content[data-v-a313a36c]{width:90%;margin-left:5%;margin-top:.9375rem;border-radius:1.09375rem;background-color:#f5fbfe}.container .white-content .content-title[data-v-a313a36c]{display:flex;height:3.125rem;position:relative}.container .white-content .content-title .content-weight[data-v-a313a36c]{font-weight:600;margin-left:1.25rem;margin-top:.625rem}.container .white-content .content-title .content-img[data-v-a313a36c]{position:absolute;right:0;top:0;width:12.5rem;height:100%}.container .white-photo[data-v-a313a36c]{width:90%;margin-left:5%;height:9.375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;align-items:center;display:flex}.container .white-photo .photo[data-v-a313a36c]{width:9.375rem;height:6.25rem}.container .white-message[data-v-a313a36c]{width:90%;margin-left:5%;margin-top:.9375rem;margin-bottom:.9375rem;border-radius:1.09375rem;background-color:#fff;box-shadow:.125rem .125rem .25rem rgba(0,0,0,.1);justify-content:space-around;display:flex;flex-direction:column}.container .white-message .message-title[data-v-a313a36c]{width:100%;height:3.125rem;align-items:center;display:flex}.container .white-message .message-title .shu[data-v-a313a36c]{width:.3125rem;height:.9375rem;background-color:#0097ff;border-radius:.3125rem;margin:0 .625rem 0 .9375rem}.container .white-message .message-title .message-weight[data-v-a313a36c]{font-size:.9375rem}.container .white-message .one[data-v-a313a36c]{width:90%;margin-left:5%;border-bottom:.03125rem solid #d7d7d7;height:2.8125rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:.3125rem}.container .white-message .one .one-left[data-v-a313a36c]{margin-left:.3125rem}.container .white-message .one .one-right[data-v-a313a36c]{color:#999;overflow:hidden;white-space:nowrap;font-size:.78125rem;text-overflow:ellipsis;max-width:9.375rem;display:flex;justify-content:flex-end}.photo-left .photo-weight[data-v-a313a36c]{font-size:.8125rem;font-weight:600}.photo-left .photo-font[data-v-a313a36c]{font-size:.71875rem;margin-top:.3125rem}.finish-button[data-v-a313a36c]{display:flex;justify-content:center;align-items:center;width:45%;height:3.125rem;margin:0 auto;margin-bottom:2.5rem;color:#fff;background:linear-gradient(to right,#00c9ff,#0076ff);border-radius:1.5625rem;font-size:1.09375rem}.one-img[data-v-a313a36c]{width:1.875rem;height:1.5625rem;margin-right:.3125rem;margin-left:1.09375rem}.pingfangmi[data-v-a313a36c]{position:absolute;top:50%;right:.15625rem;transform:translateY(-50%)}

View File

@ -1 +1 @@
.login-container[data-v-725079aa]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-725079aa]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-725079aa]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-725079aa]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-725079aa]{position:absolute;top:0;left:0;width:100%;height:100vh}.login-container .old-imge[data-v-725079aa]{position:absolute;right:50%;transform:translate(50%);top:0;width:17.1875rem;height:23.4375rem}.login-container .under-container[data-v-725079aa]{position:fixed;left:0;bottom:0;width:100%;height:100%;background-color:#eceef4;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center;z-index:1}.white-card[data-v-725079aa]{margin-top:.9375rem;width:94%;background-color:#fff;height:10rem;border-radius:1.40625rem;display:flex;align-items:center;position:relative}.white-card .left-img[data-v-725079aa]{width:4.6875rem;height:7.8125rem;margin-left:1.5625rem}.white-card .card-font[data-v-725079aa]{margin-left:1.875rem;width:11.875rem}.white-ball[data-v-725079aa]{position:absolute;right:1.875rem;top:1.875rem;width:2.34375rem;height:2.34375rem;border-radius:50%;border:.03125rem solid #b1b1b1;display:flex;justify-content:center;align-items:center}.white-ball .ball-imge[data-v-725079aa]{width:.9375rem;height:.9375rem}.shu-father[data-v-725079aa]{display:flex;margin:.9375rem 0;width:100%}.shu-father .shu[data-v-725079aa]{background:linear-gradient(to bottom,#00c9ff,#0076ff);margin:0 3% 0 5%;width:.46875rem;border-radius:.3125rem;height:1.09375rem}.shu-father .shu-font[data-v-725079aa]{color:#666}.under-scroll[data-v-725079aa]{width:100%;height:calc(100% - 14.375rem)}.under-scroll .white-small[data-v-725079aa]{width:94%;margin-left:3%;background-color:#fff;border-radius:.9375rem;padding:.9375rem;margin-bottom:.9375rem;font-size:.78125rem;color:#999;position:relative}.button-heng[data-v-725079aa]{display:flex;justify-content:flex-end;position:absolute;bottom:.9375rem;right:0}.button-heng .white-button[data-v-725079aa]{width:5.625rem;height:1.875rem;display:flex;justify-content:center;align-items:center;background:linear-gradient(to bottom,#f3f3f5,#dee4e9);border-radius:.9375rem;color:#000;margin-right:.625rem}.button-heng .blue-button[data-v-725079aa]{width:5.625rem;height:1.875rem;display:flex;justify-content:center;align-items:center;background:linear-gradient(to right,#00c9ff,#0076ff);margin-right:.625rem;border-radius:.9375rem;color:#fff}
.login-container[data-v-909e6423]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-909e6423]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-909e6423]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-909e6423]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-909e6423]{position:absolute;top:0;left:0;width:100%;height:100vh}.login-container .old-imge[data-v-909e6423]{position:absolute;right:50%;transform:translate(50%);top:0;width:17.1875rem;height:23.4375rem}.login-container .under-container[data-v-909e6423]{position:fixed;left:0;bottom:0;width:100%;height:100%;background-color:#eceef4;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center;z-index:1}.white-card[data-v-909e6423]{margin-top:.9375rem;width:94%;background-color:#fff;height:10rem;border-radius:1.40625rem;display:flex;align-items:center;position:relative}.white-card .left-img[data-v-909e6423]{width:4.6875rem;height:7.8125rem;margin-left:1.5625rem}.white-card .card-font[data-v-909e6423]{margin-left:1.875rem;width:11.875rem}.white-ball[data-v-909e6423]{position:absolute;right:1.875rem;top:1.875rem;width:2.34375rem;height:2.34375rem;border-radius:50%;border:.03125rem solid #b1b1b1;display:flex;justify-content:center;align-items:center}.white-ball .ball-imge[data-v-909e6423]{width:.9375rem;height:.9375rem}.shu-father[data-v-909e6423]{display:flex;margin:.9375rem 0;width:100%}.shu-father .shu[data-v-909e6423]{background:linear-gradient(to bottom,#00c9ff,#0076ff);margin:0 3% 0 5%;width:.46875rem;border-radius:.3125rem;height:1.09375rem}.shu-father .shu-font[data-v-909e6423]{color:#666}.under-scroll[data-v-909e6423]{width:100%;height:calc(100% - 14.375rem)}.under-scroll .white-small[data-v-909e6423]{width:94%;margin-left:3%;background-color:#fff;border-radius:.9375rem;padding:.9375rem;margin-bottom:.9375rem;font-size:.78125rem;color:#999;position:relative}.button-heng[data-v-909e6423]{display:flex;justify-content:flex-end;position:absolute;bottom:.9375rem;right:0}.button-heng .white-button[data-v-909e6423]{width:5.625rem;height:1.875rem;display:flex;justify-content:center;align-items:center;background:linear-gradient(to bottom,#f3f3f5,#dee4e9);border-radius:.9375rem;color:#000;margin-right:.625rem}.button-heng .blue-button[data-v-909e6423]{width:5.625rem;height:1.875rem;display:flex;justify-content:center;align-items:center;background:linear-gradient(to right,#00c9ff,#0076ff);margin-right:.625rem;border-radius:.9375rem;color:#fff}

View File

@ -12,14 +12,14 @@
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<script
src="https://map.qq.com/api/js?v=2.exp&key=WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G"
src="https://map.qq.com/api/js?v=2.exp&key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC"
crossorigin="anonymous">
</script>
<title>登录中</title>
<!--preload-links-->
<!--app-context-->
<script type="module" crossorigin src="/wechat/thd/assets/index-DBAIfIdy.js"></script>
<script type="module" crossorigin src="/wechat/thd/assets/index-BWFbK6MW.js"></script>
<link rel="stylesheet" crossorigin href="/wechat/thd/assets/index-S414rAV1.css">
</head>
<body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1 @@
{"version":3,"file":"main.js","sources":["api/main.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//解决跨域\r\nexport function proxy(res){\r\n return request({\r\n url: `/api/proxy/get?apiUrl=${res.apiUrl}&params=${res.other}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\nexport const jsonp = function (url, data) {\n return new Promise((resolve, reject) => {\n // 1.初始化url\n let dataString = url.indexOf('?') === -1 ? '?' : '&'\n let callbackName = `jsonpCB_${Date.now()}`;\n url += `${dataString}`\n if (data) {\n \n // 2.有请求参数依次添加到url\n for (let k in data) {\n url += `&${k}=${data[k]}`\n }\n }\n \n let scriptNode = document.createElement('script');\n scriptNode.src = url;\n \n // 3. callback\n window[callbackName] = (result) => {\n result ? resolve(result) : reject('没有返回数据');\n delete window[callbackName];\n document.body.removeChild(scriptNode);\n }\n \n // 4. 异常情况\n scriptNode.addEventListener('error', () => {\n reject('接口返回数据失败');\n delete window[callbackName];\n document.body.removeChild(scriptNode);\n }, false)\n \n // 5. 开始请求\n document.body.appendChild(scriptNode)\n })\n}\r\n//验证码是否正确\r\n// export function checkPhoneCode(data){\r\n// return request({\r\n// url: `/sys/checkPhoneCode`,\r\n// \t\tmethod: 'post',\r\n// data,\r\n// })\r\n// }\r\n\r\n// //不知道干啥的\r\n// export function getList(){\r\n// return request({\r\n// url: `/NuBizAdvisoryInfo/nuBizAdvisoryInfo/list`,\r\n// \t\tmethod: 'get',\r\n// })\r\n// }"],"names":["request"],"mappings":";;;AAKO,SAAS,MAAM,KAAI;AACtB,SAAOA,sBAAQ;AAAA,IACX,KAAK,yBAAyB,IAAI,MAAM,WAAW,IAAI,KAAK;AAAA,IAClE,QAAQ;AAAA,EACV,CAAK;AACL;;"}

View File

@ -1 +1 @@
{"version":3,"file":"assets.js","sources":["static/index/nu.png","static/index/bgc.png","static/index/old.png","static/index/workjoin/bgc.png","static/index/workjoin/ren.png","static/index/workjoin/x.png","static/index/indexgif.gif","static/index/button/money.png","static/index/button/scan.png","static/index/button/watch.png","static/index/button/more.png","static/index/kuai.png","static/index/badscan.png","static/index/goodscan.png","static/index/index/wendu.png","static/index/index/shidu.png","static/index/index/nobang.png","static/index/index/cloudbang.png","static/index/index/scan.png","static/index/badold.png","static/index/index/back.png","static/index/tu.png","static/index/bian.png","static/index/photoID.png","static/index/yibaocard.png","static/index/backyibaocard.png","static/index/takephoto.png","static/index/zhinan.png","static/index/map.png","static/index/jigou/bar.png","static/index/jigou/dui.png","static/index/norelmap.png","static/index/left.png","static/login/right.png","static/login/0.png","static/login/1.png","static/login/2.png","static/login/3.png"],"sourcesContent":["export default \"__VITE_ASSET__e7faca07__\"","export default \"__VITE_ASSET__12a7a67c__\"","export default \"__VITE_ASSET__a6c3231b__\"","export default \"__VITE_ASSET__bf3d7d4d__\"","export default \"__VITE_ASSET__e4f8a77c__\"","export default \"__VITE_ASSET__98cde1cf__\"","export default \"__VITE_ASSET__88b3a1a5__\"","export default \"__VITE_ASSET__4db204f2__\"","export default \"__VITE_ASSET__53346801__\"","export default \"__VITE_ASSET__1d05476a__\"","export default \"__VITE_ASSET__73e885d5__\"","export default \"__VITE_ASSET__1cc89943__\"","export default \"__VITE_ASSET__48fa0de3__\"","export default \"__VITE_ASSET__b48152d1__\"","export default \"__VITE_ASSET__b38bcf54__\"","export default \"__VITE_ASSET__d06cc5fc__\"","export default \"__VITE_ASSET__788c4c15__\"","export default \"__VITE_ASSET__0100ad24__\"","export default \"__VITE_ASSET__5f2281ee__\"","export default \"__VITE_ASSET__6df11b92__\"","export default \"__VITE_ASSET__c404f30a__\"","export default \"__VITE_ASSET__93af8115__\"","export default \"__VITE_ASSET__f44babf9__\"","export default \"__VITE_ASSET__ae4c1bbb__\"","export default \"__VITE_ASSET__9c4d1d7b__\"","export default \"__VITE_ASSET__def48781__\"","export default \"__VITE_ASSET__eba74972__\"","export default \"__VITE_ASSET__a1ad2db4__\"","export default \"__VITE_ASSET__bd31b74d__\"","export default \"__VITE_ASSET__3b96fbd1__\"","export default \"__VITE_ASSET__6eff1c81__\"","export default \"__VITE_ASSET__65f37dd0__\"","export default \"__VITE_ASSET__a02ca422__\"","export default \"__VITE_ASSET__b75b6465__\"","export default \"__VITE_ASSET__40aa7e44__\"","export default \"__VITE_ASSET__ae8e3dba__\"","export default \"__VITE_ASSET__75e1826f__\"","export default \"__VITE_ASSET__0c2bc10b__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,KAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
{"version":3,"file":"assets.js","sources":["static/index/nu.png","static/index/bgc.png","static/index/old.png","static/index/workjoin/bgc.png","static/index/workjoin/ren.png","static/index/workjoin/x.png","static/index/indexgif.gif","static/index/button/money.png","static/index/button/scan.png","static/index/button/watch.png","static/index/button/more.png","static/index/kuai.png","static/index/badscan.png","static/index/goodscan.png","static/index/index/wendu.png","static/index/index/shidu.png","static/index/index/nobang.png","static/index/index/cloudbang.png","static/index/index/scan.png","static/index/badold.png","static/index/index/back.png","static/index/tu.png","static/index/bian.png","static/index/photoID.png","static/index/yibaocard.png","static/index/backyibaocard.png","static/index/takephoto.png","static/index/zhinan.png","static/index/map.png","static/index/jigou/bar.png","static/index/jigou/dui.png","static/index/norelmap.png","static/index/left.png","static/index/chahao.png","static/index/tuding.png","static/index/dingwei.png","static/index/fangda.png","static/login/right.png","static/login/0.png","static/login/1.png","static/login/2.png","static/login/3.png"],"sourcesContent":["export default \"__VITE_ASSET__e7faca07__\"","export default \"__VITE_ASSET__12a7a67c__\"","export default \"__VITE_ASSET__a6c3231b__\"","export default \"__VITE_ASSET__bf3d7d4d__\"","export default \"__VITE_ASSET__e4f8a77c__\"","export default \"__VITE_ASSET__98cde1cf__\"","export default \"__VITE_ASSET__88b3a1a5__\"","export default \"__VITE_ASSET__4db204f2__\"","export default \"__VITE_ASSET__53346801__\"","export default \"__VITE_ASSET__1d05476a__\"","export default \"__VITE_ASSET__73e885d5__\"","export default \"__VITE_ASSET__1cc89943__\"","export default \"__VITE_ASSET__48fa0de3__\"","export default \"__VITE_ASSET__b48152d1__\"","export default \"__VITE_ASSET__b38bcf54__\"","export default \"__VITE_ASSET__d06cc5fc__\"","export default \"__VITE_ASSET__788c4c15__\"","export default \"__VITE_ASSET__0100ad24__\"","export default \"__VITE_ASSET__5f2281ee__\"","export default \"__VITE_ASSET__6df11b92__\"","export default \"__VITE_ASSET__c404f30a__\"","export default \"__VITE_ASSET__93af8115__\"","export default \"__VITE_ASSET__f44babf9__\"","export default \"__VITE_ASSET__ae4c1bbb__\"","export default \"__VITE_ASSET__9c4d1d7b__\"","export default \"__VITE_ASSET__def48781__\"","export default \"__VITE_ASSET__eba74972__\"","export default \"__VITE_ASSET__a1ad2db4__\"","export default \"__VITE_ASSET__bd31b74d__\"","export default \"__VITE_ASSET__3b96fbd1__\"","export default \"__VITE_ASSET__6eff1c81__\"","export default \"__VITE_ASSET__65f37dd0__\"","export default \"__VITE_ASSET__a02ca422__\"","export default \"__VITE_ASSET__037a14f3__\"","export default \"__VITE_ASSET__69c4d871__\"","export default \"__VITE_ASSET__ea6d462f__\"","export default \"__VITE_ASSET__a74351a5__\"","export default \"__VITE_ASSET__b75b6465__\"","export default \"__VITE_ASSET__40aa7e44__\"","export default \"__VITE_ASSET__ae8e3dba__\"","export default \"__VITE_ASSET__75e1826f__\"","export default \"__VITE_ASSET__0c2bc10b__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,KAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"addjigou.js","sources":["pages/addjigou/api/addjigou.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增/编辑机构加盟申请信息\r\nexport function changemessage(data){\r\n return request({\r\n url: `/api/orgApplyInfo/save`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取机构加盟申请信息\r\nexport function getMessageList(tel){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,\r\n\t\tmethod: 'get',\r\n })\r\n}"],"names":["request"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,KAAI;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wCAAwC,GAAG;AAAA,IACtD,QAAQ;AAAA,EACV,CAAK;AACL;;;"}

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

@ -0,0 +1,11 @@
"use strict";
require("../common/vendor.js");
const request_index = require("../request/index.js");
function proxy(res) {
return request_index.request({
url: `/api/proxy/get?apiUrl=${res.apiUrl}&params=${res.other}`,
method: "get"
});
}
exports.proxy = proxy;
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/main.js.map

View File

@ -1,14 +1,14 @@
"use strict";
const _imports_0$7 = "/static/index/nu.png";
const _imports_1$6 = "/static/index/bgc.png";
const _imports_2$4 = "/static/index/old.png";
const _imports_0$6 = "/static/index/workjoin/bgc.png";
const _imports_1$5 = "/static/index/workjoin/ren.png";
const _imports_2$3 = "/static/index/workjoin/x.png";
const _imports_0$5 = "/static/index/indexgif.gif";
const _imports_1$4 = "/static/index/button/money.png";
const _imports_2$2 = "/static/index/button/scan.png";
const _imports_3$1 = "/static/index/button/watch.png";
const _imports_0$8 = "/static/index/nu.png";
const _imports_1$7 = "/static/index/bgc.png";
const _imports_2$5 = "/static/index/old.png";
const _imports_0$7 = "/static/index/workjoin/bgc.png";
const _imports_1$6 = "/static/index/workjoin/ren.png";
const _imports_2$4 = "/static/index/workjoin/x.png";
const _imports_0$6 = "/static/index/indexgif.gif";
const _imports_1$5 = "/static/index/button/money.png";
const _imports_2$3 = "/static/index/button/scan.png";
const _imports_3$2 = "/static/index/button/watch.png";
const _imports_4 = "/static/index/button/more.png";
const _imports_5 = "/static/index/kuai.png";
const _imports_6 = "/static/index/badscan.png";
@ -21,49 +21,57 @@ const _imports_12 = "/static/index/index/scan.png";
const _imports_13 = "/static/index/badold.png";
const _imports_14 = "/static/index/index/back.png";
const tu = "/static/index/tu.png";
const _imports_0$4 = "/static/index/bian.png";
const _imports_1$3 = "/static/index/photoID.png";
const _imports_1$2 = "/static/index/yibaocard.png";
const _imports_2$1 = "/static/index/backyibaocard.png";
const _imports_1$1 = "/static/index/takephoto.png";
const _imports_0$3 = "/static/index/zhinan.png";
const _imports_1 = "/static/index/map.png";
const _imports_2 = "/static/index/jigou/bar.png";
const _imports_3 = "/static/index/jigou/dui.png";
const _imports_0$2 = "/static/index/norelmap.png";
const _imports_0$1 = "/static/index/left.png";
const _imports_0$5 = "/static/index/bian.png";
const _imports_1$4 = "/static/index/photoID.png";
const _imports_1$3 = "/static/index/yibaocard.png";
const _imports_2$2 = "/static/index/backyibaocard.png";
const _imports_1$2 = "/static/index/takephoto.png";
const _imports_0$4 = "/static/index/zhinan.png";
const _imports_1$1 = "/static/index/map.png";
const _imports_2$1 = "/static/index/jigou/bar.png";
const _imports_3$1 = "/static/index/jigou/dui.png";
const _imports_0$3 = "/static/index/norelmap.png";
const _imports_0$2 = "/static/index/left.png";
const _imports_0$1 = "/static/index/chahao.png";
const _imports_1 = "/static/index/tuding.png";
const _imports_2 = "/static/index/dingwei.png";
const _imports_3 = "/static/index/fangda.png";
const _imports_0 = "/static/login/right.png";
const img0 = "/static/login/0.png";
const img1 = "/static/login/1.png";
const img2 = "/static/login/2.png";
const img3 = "/static/login/3.png";
exports._imports_0 = _imports_0$7;
exports._imports_0$1 = _imports_0$6;
exports._imports_0$2 = _imports_0$5;
exports._imports_0$3 = _imports_0$4;
exports._imports_0$4 = _imports_0$3;
exports._imports_0$5 = _imports_0$2;
exports._imports_0$6 = _imports_0$1;
exports._imports_0$7 = _imports_0;
exports._imports_1 = _imports_1$6;
exports._imports_1$1 = _imports_1$5;
exports._imports_1$2 = _imports_1$4;
exports._imports_1$3 = _imports_1$3;
exports._imports_1$4 = _imports_1$2;
exports._imports_1$5 = _imports_1$1;
exports._imports_1$6 = _imports_1;
exports._imports_0 = _imports_0$8;
exports._imports_0$1 = _imports_0$7;
exports._imports_0$2 = _imports_0$6;
exports._imports_0$3 = _imports_0$5;
exports._imports_0$4 = _imports_0$4;
exports._imports_0$5 = _imports_0$3;
exports._imports_0$6 = _imports_0$2;
exports._imports_0$7 = _imports_0$1;
exports._imports_0$8 = _imports_0;
exports._imports_1 = _imports_1$7;
exports._imports_1$1 = _imports_1$6;
exports._imports_1$2 = _imports_1$5;
exports._imports_1$3 = _imports_1$4;
exports._imports_1$4 = _imports_1$3;
exports._imports_1$5 = _imports_1$2;
exports._imports_1$6 = _imports_1$1;
exports._imports_1$7 = _imports_1;
exports._imports_10 = _imports_10;
exports._imports_11 = _imports_11;
exports._imports_12 = _imports_12;
exports._imports_13 = _imports_13;
exports._imports_14 = _imports_14;
exports._imports_2 = _imports_2$4;
exports._imports_2$1 = _imports_2$3;
exports._imports_2$2 = _imports_2$2;
exports._imports_2$3 = _imports_2$1;
exports._imports_2$4 = _imports_2;
exports._imports_3 = _imports_3$1;
exports._imports_3$1 = _imports_3;
exports._imports_2 = _imports_2$5;
exports._imports_2$1 = _imports_2$4;
exports._imports_2$2 = _imports_2$3;
exports._imports_2$3 = _imports_2$2;
exports._imports_2$4 = _imports_2$1;
exports._imports_2$5 = _imports_2;
exports._imports_3 = _imports_3$2;
exports._imports_3$1 = _imports_3$1;
exports._imports_3$2 = _imports_3;
exports._imports_4 = _imports_4;
exports._imports_5 = _imports_5;
exports._imports_6 = _imports_6;

View File

@ -7046,7 +7046,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.2.24,127.0.0.1";
const port = "8090";
const id = "mp-weixin_wjIgSl";
const id = "mp-weixin_JWAkAD";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@ -7995,6 +7995,7 @@ const createSubpackageApp = initCreateSubpackageApp();
const createHook = (lifecycle) => (hook, target = getCurrentInstance()) => {
!isInSSRComponentSetup && injectHook(lifecycle, hook, target);
};
const onShow = /* @__PURE__ */ createHook(ON_SHOW);
const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
exports._export_sfc = _export_sfc;
exports.computed = computed;
@ -8009,6 +8010,7 @@ exports.o = o;
exports.onBeforeUnmount = onBeforeUnmount;
exports.onLoad = onLoad;
exports.onMounted = onMounted;
exports.onShow = onShow;
exports.onUnmounted = onUnmounted;
exports.p = p;
exports.reactive = reactive;

View File

@ -135,7 +135,7 @@ const _sfc_main = {
o: clipPath,
p: containerWidth.value + "rpx",
q: containerHeight.value + "rpx",
r: common_assets._imports_0$7,
r: common_assets._imports_0$8,
s: common_vendor.o(onStart),
t: common_vendor.o(onStart),
v: offsetX.value + "rpx",

View File

@ -0,0 +1,19 @@
"use strict";
require("../../../common/vendor.js");
const request_index = require("../../../request/index.js");
function changemessage(data) {
return request_index.request({
url: `/api/orgApplyInfo/save`,
method: "post",
data
});
}
function getMessageList(tel) {
return request_index.request({
url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,
method: "get"
});
}
exports.changemessage = changemessage;
exports.getMessageList = getMessageList;
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/addjigou/api/addjigou.js.map

View File

@ -2,6 +2,7 @@
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const request_index = require("../../request/index.js");
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
@ -16,7 +17,7 @@ const _sfc_main = {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
const textArray = common_vendor.reactive(["", "", "", "", "", "", "", ""]);
const textArray = common_vendor.reactive(["", "", "", ""]);
const tempImagePath = common_vendor.ref("");
function getMessage() {
common_vendor.index.chooseImage({
@ -27,7 +28,7 @@ const _sfc_main = {
uploadImage(tempImagePath.value);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:96", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:99", "拍照失败:", err);
}
});
}
@ -54,13 +55,14 @@ const _sfc_main = {
common_vendor.index.hideLoading();
return;
}
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:124", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:127", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
textArray[0] = father.companyName;
textArray[1] = father.businessAddress;
textArray[2] = father.creditCode;
textArray[3] = father.legalPerson;
headImge.value = filePath;
savephoto(filePath);
common_vendor.index.hideLoading();
},
fail: (err) => {
@ -72,6 +74,32 @@ const _sfc_main = {
}
});
}
const fontphoto = common_vendor.ref("");
const savephoto = (filePath) => {
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
// 替换为你的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名
header: {
"X-Access-Token": common_vendor.index.getStorageSync("token") || ""
},
formData: {
biz: `temp`
},
success: (uploadRes) => {
fontphoto.value = JSON.parse(uploadRes.data).message;
},
fail: (err) => {
common_vendor.index.showToast({
title: "上传出错",
icon: "error"
});
common_vendor.index.hideLoading();
}
});
};
const openLook = (res) => {
if (res) {
content.value = res;
@ -79,9 +107,43 @@ const _sfc_main = {
}
};
const next = () => {
common_vendor.index.navigateTo({
url: "/pages/addjigou/where"
const allNonEmpty = textArray.every((item) => {
return item !== "";
});
if (allNonEmpty) {
let pushMessage = {
id: common_vendor.index.getStorageSync("specicalid") || "",
tel: common_vendor.index.getStorageSync("tel"),
comName: textArray[0],
comRegisterAddress: textArray[1],
comCreditCode: textArray[2],
comLegalPerson: textArray[3],
comBusinessLicense: fontphoto.value
};
pages_addjigou_api_addjigou.changemessage(pushMessage).then((res) => {
if (res.success) {
if (res.message == `保存成功!`) {
common_vendor.index.navigateTo({
url: "/pages/addjigou/where"
});
} else {
common_vendor.index.navigateTo({
url: "/pages/addjigou/where"
});
}
} else {
common_vendor.index.showToast({
title: res.message,
icon: "error"
});
}
});
} else {
common_vendor.index.showToast({
title: "请完善信息",
icon: "error"
});
}
};
const goBack = () => {
common_vendor.index.navigateBack();

View File

@ -2,6 +2,7 @@
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const request_index = require("../../request/index.js");
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
@ -17,15 +18,9 @@ const _sfc_main = {
const content = common_vendor.ref("");
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const textArray = common_vendor.reactive(["", "", "", "", "", "", "", ""]);
const states = ["审核中", "审核未通过", "审核通过"];
const statesTarget = common_vendor.ref(0);
const shenhe = () => {
if (statesTarget.value == 2) {
statesTarget.value = 0;
} else {
statesTarget.value++;
}
};
const fontphoto = common_vendor.ref("");
const endphoto = common_vendor.ref("");
common_vendor.ref(0);
const tempImagePath = common_vendor.ref("");
function getMessage() {
common_vendor.index.chooseImage({
@ -36,7 +31,7 @@ const _sfc_main = {
uploadImage(tempImagePath.value);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:128", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:138", "拍照失败:", err);
}
});
}
@ -55,7 +50,7 @@ const _sfc_main = {
},
formData: {},
success: (uploadRes) => {
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:148", "token", common_vendor.index.getStorageSync("token"));
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:175", "token", common_vendor.index.getStorageSync("token"));
if (!JSON.parse(uploadRes.data).success) {
common_vendor.index.showToast({
title: "识别失败",
@ -64,7 +59,6 @@ const _sfc_main = {
common_vendor.index.hideLoading();
return;
}
savephoto(filePath);
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.face) {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.face.data;
textArray[0] = father.name;
@ -77,6 +71,7 @@ const _sfc_main = {
title: "识别成功"
});
headImge.value = filePath;
savephoto(filePath, 0);
common_vendor.index.hideLoading();
} else {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.back.data;
@ -86,6 +81,7 @@ const _sfc_main = {
title: "识别成功"
});
backImge.value = filePath;
savephoto(filePath, 1);
common_vendor.index.hideLoading();
}
},
@ -98,7 +94,7 @@ const _sfc_main = {
}
});
}
const savephoto = (filePath) => {
const savephoto = (filePath, type) => {
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
// 替换为你的POST接口地址
@ -112,7 +108,11 @@ const _sfc_main = {
biz: `temp`
},
success: (uploadRes) => {
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:203", "?????", uploadRes);
if (!type) {
fontphoto.value = JSON.parse(uploadRes.data).message;
} else {
endphoto.value = JSON.parse(uploadRes.data).message;
}
},
fail: (err) => {
common_vendor.index.showToast({
@ -130,9 +130,52 @@ const _sfc_main = {
}
};
const next = () => {
common_vendor.index.navigateTo({
url: "/pages/addjigou/card"
const allNonEmpty = textArray.every((item) => {
return item !== "";
});
if (allNonEmpty) {
const range = textArray[7];
const [start, end] = range.split("-");
let pushMessage = {
id: common_vendor.index.getStorageSync("specicalid") || "",
tel: common_vendor.index.getStorageSync("tel"),
name: textArray[0],
sex: textArray[1],
idCard: textArray[2],
national: textArray[3],
birthDate: textArray[4],
idCardAddress: textArray[5],
issuingAuthority: textArray[6],
startTime: start,
endTime: end,
cardZmPath: fontphoto.value,
cardFmPath: endphoto.value
};
pages_addjigou_api_addjigou.changemessage(pushMessage).then((res) => {
if (res.success) {
if (res.message == `保存成功!`) {
common_vendor.index.navigateTo({
url: "/pages/addjigou/card"
});
} else {
common_vendor.index.setStorageSync("specicalid", res.result.id);
common_vendor.index.navigateTo({
url: "/pages/addjigou/card"
});
}
} else {
common_vendor.index.showToast({
title: res.message,
icon: "error"
});
}
});
} else {
common_vendor.index.showToast({
title: "请完善信息",
icon: "error"
});
}
};
const goBack = () => {
common_vendor.index.navigateBack();
@ -148,19 +191,16 @@ const _sfc_main = {
}),
c: common_assets._imports_0$6,
d: common_vendor.o(goBack),
e: common_vendor.t(states[statesTarget.value]),
f: common_vendor.n(!statesTarget.value ? `rightStautes` : statesTarget.value == 1 ? `rightStautesred` : `rightStautesblue`),
g: common_vendor.o(shenhe),
h: common_assets._imports_0$3,
i: headImge.value ? headImge.value : `/static/index/IDcard.png`,
j: !headImge.value,
k: common_assets._imports_1$5,
l: common_vendor.o(getMessage),
m: backImge.value ? backImge.value : `/static/index/backIDcard.png`,
n: !backImge.value,
o: common_assets._imports_1$5,
p: common_vendor.o(getMessage),
q: common_vendor.f(nameArray, (item, index, i0) => {
e: common_assets._imports_0$3,
f: headImge.value ? headImge.value : `/static/index/IDcard.png`,
g: !headImge.value,
h: common_assets._imports_1$5,
i: common_vendor.o(getMessage),
j: backImge.value ? backImge.value : `/static/index/backIDcard.png`,
k: !backImge.value,
l: common_assets._imports_1$5,
m: common_vendor.o(getMessage),
n: common_vendor.f(nameArray, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.t(textArray[index] ? textArray[index] : "自动获取"),
@ -168,7 +208,7 @@ const _sfc_main = {
d: common_vendor.o(($event) => openLook(textArray[index]), index)
};
}),
r: common_vendor.o(next)
o: common_vendor.o(next)
};
};
}

View File

@ -1 +1 @@
<view class="container data-v-4363d488"><u-modal wx:if="{{b}}" class="data-v-4363d488" u-i="4363d488-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{d}}"><image class="back-img data-v-4363d488" src="{{c}}"/><view class="data-v-4363d488" style="font-size:30rpx">返回</view></view><view class="{{['data-v-4363d488', f]}}" bindtap="{{g}}">{{e}}</view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="content-weight data-v-4363d488">身份证上传</view><image class="content-img data-v-4363d488" src="{{h}}"/></view><view class="white-photo data-v-4363d488" bindtap="{{l}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{i}}"/><image class="data-v-4363d488" hidden="{{!j}}" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="{{k}}"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{p}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{m}}"/><image class="data-v-4363d488" hidden="{{!n}}" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="{{o}}"/></view></view><view class="white-message data-v-4363d488"><view class="message-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="message-weight data-v-4363d488"> 确认身份证信息 </view></view><view class="data-v-4363d488" style="margin-bottom:20rpx"><view wx:for="{{q}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class=" data-v-4363d488">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx"> 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{r}}"> 下一步 </view></view></view>
<view class="container data-v-4363d488"><u-modal wx:if="{{b}}" class="data-v-4363d488" u-i="4363d488-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{d}}"><image class="back-img data-v-4363d488" src="{{c}}"/><view class="data-v-4363d488" style="font-size:30rpx">返回</view></view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="content-weight data-v-4363d488">身份证上传</view><image class="content-img data-v-4363d488" src="{{e}}"/></view><view class="white-photo data-v-4363d488" bindtap="{{i}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{f}}"/><image class="data-v-4363d488" hidden="{{!g}}" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="{{h}}"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{m}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{j}}"/><image class="data-v-4363d488" hidden="{{!k}}" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="{{l}}"/></view></view><view class="white-message data-v-4363d488"><view class="message-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="message-weight data-v-4363d488"> 确认身份证信息 </view></view><view class="data-v-4363d488" style="margin-bottom:20rpx"><view wx:for="{{n}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class=" data-v-4363d488">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx"> 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{o}}"> 下一步 </view></view></view>

View File

@ -1,6 +1,7 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
@ -14,17 +15,57 @@ const _sfc_main = {
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const jigouweizhi = common_vendor.ref("");
const form = common_vendor.reactive({
orgLeader: "",
orgLeaderPhone: "",
orgBuildingNumber: "",
orgPropertyType: "",
orgBuildingArea: ""
orgBuildingArea: "",
orgAddress: "",
orgCoordinateLo: "",
orgCoordinateLa: "",
id: common_vendor.index.getStorageSync("specicalid") || "",
tel: common_vendor.index.getStorageSync("tel")
});
common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref("");
const openLook = (res) => {
if (res) {
content.value = res;
show.value = true;
}
};
const next = () => {
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgBuildingNumber && form.orgPropertyType && form.orgBuildingArea && form.orgAddress && form.orgCoordinateLo && form.orgCoordinateLa;
if (allNonEmpty) {
pages_addjigou_api_addjigou.changemessage(form).then((res) => {
if (res.success) {
if (res.message == `保存成功!`) {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.reLaunch({
url: `/pages/login/workjoin?type=1`
});
} else {
common_vendor.index.setStorageSync("specicalid", res.result.id);
common_vendor.index.reLaunch({
url: `/pages/login/workjoin?type=1`
});
}
} else {
common_vendor.index.showToast({
title: res.message,
icon: "error"
});
}
});
} else {
common_vendor.index.showToast({
title: "请完善信息",
icon: "error"
});
}
};
const goBack = () => {
common_vendor.index.navigateBack();
@ -34,6 +75,17 @@ const _sfc_main = {
url: "/pages/map/index"
});
};
common_vendor.onShow(() => {
const data = common_vendor.index.getStorageSync("dingwei");
if (data) {
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:158", "data", data);
jigouweizhi.value = data.name;
form.orgAddress = data.name;
form.orgCoordinateLo = data.lng;
form.orgCoordinateLa = data.lat;
common_vendor.index.removeStorageSync("dingwei");
}
});
return (_ctx, _cache) => {
return {
a: common_vendor.o(($event) => show.value = $event),
@ -41,20 +93,22 @@ const _sfc_main = {
content: content.value,
modelValue: show.value
}),
c: common_assets._imports_0$5,
d: common_vendor.o(jumpToMap),
e: form.orgLeader,
f: common_vendor.o(($event) => form.orgLeader = $event.detail.value),
g: form.orgLeaderPhone,
h: common_vendor.o(($event) => form.orgLeaderPhone = $event.detail.value),
i: form.orgBuildingNumber,
j: common_vendor.o(($event) => form.orgBuildingNumber = $event.detail.value),
k: form.orgPropertyType,
l: common_vendor.o(($event) => form.orgPropertyType = $event.detail.value),
m: form.orgBuildingArea,
n: common_vendor.o(($event) => form.orgBuildingArea = $event.detail.value),
o: common_vendor.o(goBack),
p: common_vendor.o(next)
c: common_vendor.t(jigouweizhi.value ? jigouweizhi.value : `请选择机构位置`),
d: common_vendor.o(($event) => openLook(jigouweizhi.value)),
e: common_assets._imports_0$5,
f: common_vendor.o(jumpToMap),
g: form.orgLeader,
h: common_vendor.o(($event) => form.orgLeader = $event.detail.value),
i: form.orgLeaderPhone,
j: common_vendor.o(($event) => form.orgLeaderPhone = $event.detail.value),
k: form.orgBuildingNumber,
l: common_vendor.o(($event) => form.orgBuildingNumber = $event.detail.value),
m: form.orgPropertyType,
n: common_vendor.o(($event) => form.orgPropertyType = $event.detail.value),
o: form.orgBuildingArea,
p: common_vendor.o(($event) => form.orgBuildingArea = $event.detail.value),
q: common_vendor.o(goBack),
r: common_vendor.o(next)
};
};
}

View File

@ -1 +1 @@
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="white-content data-v-549d1cee"><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构位置</view><view class="data-v-549d1cee" style="display:flex;align-items:center"><view class="one-right data-v-549d1cee">请选择机构位置</view><image class="one-img data-v-549d1cee" src="{{c}}" bindtap="{{d}}"/></view></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{e}}" bindinput="{{f}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人电话" value="{{g}}" bindinput="{{h}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">楼宇牌号</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入楼宇牌号" value="{{i}}" bindinput="{{j}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">房屋性质</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入房屋性质" value="{{k}}" bindinput="{{l}}"/></view></view><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="number" placeholder="请输入建筑面积" value="{{m}}" bindinput="{{n}}"/><view class="pingfangmi data-v-549d1cee"> 平方米 </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%"><view class="finish-button data-v-549d1cee" bindtap="{{o}}"> 上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{p}}"> 确认并提交 </view></view></view>
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="white-content data-v-549d1cee"><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构位置</view><view class="special data-v-549d1cee"><view class="one-right data-v-549d1cee" style="width:170rpx;justify-content:flex-start" bindtap="{{d}}">{{c}}</view><image class="one-img data-v-549d1cee" src="{{e}}" bindtap="{{f}}"/></view></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{g}}" bindinput="{{h}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" placeholder="请输入机构负责人电话" value="{{i}}" bindinput="{{j}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">楼宇牌号</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入楼宇牌号" value="{{k}}" bindinput="{{l}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">房屋性质</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入房屋性质" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="number" placeholder="请输入建筑面积" value="{{o}}" bindinput="{{p}}"/></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%"><view class="finish-button data-v-549d1cee" bindtap="{{q}}"> 上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{r}}"> 确认并提交 </view></view></view>

View File

@ -146,14 +146,22 @@
font-size: 35rpx;
}
.one-img.data-v-549d1cee {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10rpx;
width: 60rpx;
height: 50rpx;
margin-right: 10rpx;
margin-left: 35rpx;
}
.pingfangmi.data-v-549d1cee {
position: absolute;
top: 50%;
right: 5rpx;
transform: translateY(-50%);
}
.special.data-v-549d1cee {
display: flex;
align-items: center;
width: 280rpx;
position: relative;
}

View File

@ -45,6 +45,7 @@ const _sfc_main = {
common_vendor.index.redirectTo({
url: `/pages/login/threeselectone`
});
common_vendor.index.setStorageSync("tel", data.result.tel);
}
getjigou();
});
@ -54,7 +55,7 @@ const _sfc_main = {
const url = `${request_index.base_url}/sys/sysDepart/queryInstitutionsList`;
fetch(url).then((res) => res.json()).then((data) => {
jigouArray.value = [...data];
common_vendor.index.__f__("log", "at pages/login/callback.vue:175", "机构打印", jigouArray.value);
common_vendor.index.__f__("log", "at pages/login/callback.vue:176", "机构打印", jigouArray.value);
});
};
common_vendor.ref([]);
@ -69,7 +70,7 @@ const _sfc_main = {
query[key] = decodeURIComponent(value);
});
}
common_vendor.index.__f__("log", "at pages/login/callback.vue:226", "解析到的 query 参数:", query);
common_vendor.index.__f__("log", "at pages/login/callback.vue:227", "解析到的 query 参数:", query);
if (query.code) {
getOpenId(query.code);
}

View File

@ -92,7 +92,7 @@ const _sfc_main = {
}).then((res) => {
if (res.success) {
common_vendor.index.redirectTo({
url: `/pages/login/threeselectone`
url: `/pages/login/callback`
});
} else {
common_vendor.index.showToast({

View File

@ -32,7 +32,7 @@ const _sfc_main = {
};
const ceshi = () => {
common_vendor.index.navigateTo({
url: `/pages/addjigou/name`
url: "/pages/addjigou/where"
});
};
const ceshiscan = () => {

View File

@ -1,30 +1,20 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js");
const _sfc_main = {
__name: "workjoin",
setup(__props) {
const type = common_vendor.ref(0);
const workArray = common_vendor.ref([]);
common_vendor.onLoad((options) => {
type.value = options.type || "";
});
const workArray = [
{
success: true
},
{
success: true
},
{
success: true
},
{
success: true
},
{
success: false
if (!type.value) {
pages_addjigou_api_addjigou.getMessageList(common_vendor.index.getStorageSync("tel")).then((res) => {
workArray.value = res.result;
});
}
];
});
const goback = () => {
common_vendor.index.navigateBack();
};
@ -37,12 +27,14 @@ const _sfc_main = {
e: common_assets._imports_2$1,
f: common_vendor.o(goback),
g: common_vendor.t(type.value === "1" ? `机构加盟审核列表` : `员工入驻审核列表`),
h: common_vendor.f(workArray, (item, index, i0) => {
h: common_vendor.f(workArray.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.success ? "审核成功" : "审核失败"),
b: !item.success
}, !item.success ? {} : {}, {
c: index
a: common_vendor.t(item.comName),
b: common_vendor.t(item.updateTime),
c: common_vendor.t(item.status == 1 ? "审核中" : item.status == 2 ? `审核完成` : `驳回`),
d: item.status == 2
}, item.status == 2 ? {} : {}, {
e: index
});
}),
i: common_vendor.o(() => {

View File

@ -1 +1 @@
<view class="login-container data-v-808c8183"><image class="photo-imge data-v-808c8183" src="{{a}}"/><image class="old-imge data-v-808c8183" src="{{b}}"/><view class="under-container data-v-808c8183" catchtouchstart="{{i}}" catchtouchmove="{{j}}" catchtouchend="{{k}}"><view class="white-card data-v-808c8183"><image class="left-img data-v-808c8183" src="{{c}}"/><view class="card-font data-v-808c8183"><view class="data-v-808c8183" style="font-size:30rpx;font-weight:600;margin:20rpx 0 30rpx 0">{{d}}</view><view class="data-v-808c8183" style="color:#666666;font-size:25rpx"> 护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护。 </view></view></view><view class="white-ball data-v-808c8183" bindtap="{{f}}"><image class="ball-imge data-v-808c8183" src="{{e}}"/></view><view class="shu-father data-v-808c8183"><view class="shu data-v-808c8183"></view><view class="shu-font data-v-808c8183">{{g}}</view></view><view class="under-scroll data-v-808c8183"><scroll-view class="data-v-808c8183" scroll-y style="height:100%;width:100%"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="data-v-808c8183"><view class="white-small data-v-808c8183"><view class="data-v-808c8183" style="width:100%;margin-bottom:80rpx;font-size:25rpx;white-space:normal;word-break:keep-all;overflow-wrap:break-word"> xx员工申请入驻xx护理机构提交时间:2025.05.01,审核结果:{{item.a}}</view><view class="button-heng data-v-808c8183"><view wx:if="{{item.b}}" class="blue-button data-v-808c8183"> 重新提交 </view><view class="white-button data-v-808c8183"> 查看详情 </view></view></view></view></scroll-view></view></view></view>
<view class="login-container data-v-808c8183"><image class="photo-imge data-v-808c8183" src="{{a}}"/><image class="old-imge data-v-808c8183" src="{{b}}"/><view class="under-container data-v-808c8183" catchtouchstart="{{i}}" catchtouchmove="{{j}}" catchtouchend="{{k}}"><view class="white-card data-v-808c8183"><image class="left-img data-v-808c8183" src="{{c}}"/><view class="card-font data-v-808c8183"><view class="data-v-808c8183" style="font-size:30rpx;font-weight:600;margin:20rpx 0 30rpx 0">{{d}}</view><view class="data-v-808c8183" style="color:#666666;font-size:25rpx"> 护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护。 </view></view></view><view class="white-ball data-v-808c8183" bindtap="{{f}}"><image class="ball-imge data-v-808c8183" src="{{e}}"/></view><view class="shu-father data-v-808c8183"><view class="shu data-v-808c8183"></view><view class="shu-font data-v-808c8183">{{g}}</view></view><view class="under-scroll data-v-808c8183"><scroll-view class="data-v-808c8183" scroll-y style="height:100%;width:100%"><view wx:for="{{h}}" wx:for-item="item" wx:key="e" class="data-v-808c8183"><view class="white-small data-v-808c8183"><view class="data-v-808c8183" style="width:100%;margin-bottom:80rpx;font-size:25rpx">{{item.a}}申请入驻加盟护理单元,提交时间:{{item.b}},审核结果:{{item.c}}</view><view class="button-heng data-v-808c8183"><view wx:if="{{item.d}}" class="blue-button data-v-808c8183"> 重新提交 </view><view class="white-button data-v-808c8183"> 查看详情 </view></view></view></view></scroll-view></view></view></view>

View File

@ -1,25 +1,148 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const request_index = require("../../request/index.js");
const api_main = require("../../api/main.js");
if (!Array) {
const _component_uview = common_vendor.resolveComponent("uview");
_component_uview();
}
const defaultLat = 39.9042;
const defaultLng = 116.4074;
const DEBOUNCE_DELAY = 500;
const _sfc_main = {
__name: "index",
setup(__props) {
common_vendor.ref(null);
const keyword = common_vendor.ref("");
const pois = common_vendor.ref([]);
const openinput = common_vendor.ref(false);
let map = null;
let marker = null;
function initMap(lat, lng) {
const center = new qq.maps.LatLng(lat, lng);
map = new qq.maps.Map(document.getElementById("map"), {
center,
zoom: 15
zoom: 15,
zoomControl: false,
// 隐藏放大缩小按钮
panControl: false,
// 隐藏平移控件
mapTypeControl: false
// 隐藏右上角地图切换
});
marker = new qq.maps.Marker({
position: center,
map
});
}
function loadWxJSSDK() {
return new Promise((resolve) => {
if (window.wx && typeof common_vendor.wx$1.config === "function") {
return resolve();
}
const script = document.createElement("script");
script.src = "https://res.wx.qq.com/open/js/jweixin-1.6.0.js";
script.onload = () => {
const checkWx = () => {
if (window.wx && typeof common_vendor.wx$1.config === "function") {
resolve();
} else {
setTimeout(checkWx, 50);
}
};
checkWx();
};
script.onerror = () => {
common_vendor.index.__f__("error", "at pages/map/index.vue:129", "加载微信 JSSDK 脚本失败");
resolve();
};
document.head.appendChild(script);
});
}
async function initLocation() {
await loadWxJSSDK();
try {
const res = await fetch(`${request_index.base_url}/weixin/getJsApiInfo`, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
url: location.href.split("#")[0]
})
});
const data = await res.json();
if (window.wx && typeof common_vendor.wx$1.config === "function") {
common_vendor.wx$1.config({
debug: false,
appId: "wx8fc3e4305d2fbf0b",
timestamp: data.timestamp,
nonceStr: data.nonceStr,
signature: data.signature,
jsApiList: ["getLocation", "openLocation"]
});
common_vendor.wx$1.ready(() => {
common_vendor.wx$1.getLocation({
type: "wgs84",
success(ret) {
initMap(ret.latitude, ret.longitude);
fujinGet(ret.latitude, ret.longitude);
},
fail(err) {
common_vendor.index.__f__("warn", "at pages/map/index.vue:172", "微信定位失败,使用默认位置", err);
common_vendor.index.showToast({
title: "定位失败,使用默认位置",
icon: "none"
});
initMap(defaultLat, defaultLng);
fujinGet(defaultLat, defaultLng);
}
});
});
common_vendor.wx$1.error((err) => {
common_vendor.index.__f__("error", "at pages/map/index.vue:185", "wx.config 验证失败:", err);
initMap(defaultLat, defaultLng);
});
} else {
common_vendor.index.__f__("warn", "at pages/map/index.vue:189", "wx.config 不可用,使用默认位置");
initMap(defaultLat, defaultLng);
}
} catch (err) {
common_vendor.index.__f__("error", "at pages/map/index.vue:193", "获取 JSSDK 签名失败:", err);
initMap(defaultLat, defaultLng);
}
}
const dingwei = () => {
common_vendor.wx$1.getLocation({
type: "wgs84",
success(ret) {
initMap(ret.latitude, ret.longitude);
fujinGet(ret.latitude, ret.longitude);
},
fail(err) {
common_vendor.index.__f__("warn", "at pages/map/index.vue:206", "微信定位失败,使用默认位置", err);
common_vendor.index.showToast({
title: err.errMsg,
icon: "none"
});
initMap(defaultLat, defaultLng);
fujinGet(defaultLat, defaultLng);
}
});
};
const jumpBack = () => {
common_vendor.index.navigateBack();
};
const jumpBackValue = () => {
const payload = {
name: pois.value[listTarget.value].name,
lat: pois.value[listTarget.value].lat,
lng: pois.value[listTarget.value].lng
};
common_vendor.index.setStorageSync("dingwei", payload);
common_vendor.index.navigateBack();
};
async function onSearch() {
const kw = keyword.value.trim();
if (!kw) {
@ -33,57 +156,137 @@ const _sfc_main = {
const center = map.getCenter();
const lat = center.getLat();
const lng = center.getLng();
common_vendor.index.__f__("log", "at pages/map/index.vue:70", "????", url);
const url = `https://apis.map.qq.com/ws/place/v1/search?keyword=${encodeURIComponent(kw)}&boundary=nearby(${lat},${lng},1000)&key=WTPBZ-L3O3T-L6SXZ-VOPZA-FU77K-MPB2G`;
try {
const res = await fetch(url);
const data = await res.json();
if (data.status === 0 && data.data && data.data.length > 0) {
pois.value = data.data.map((item) => ({
name: item.title,
address: item.address,
lat: item.location.lat,
lng: item.location.lng
}));
let inIt = {
apiUrl: `https://apis.map.qq.com/ws/place/v1/search`,
other: `keyword=${encodeURIComponent(kw)}%26boundary=nearby(${lat},${lng},1000)%26key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC`
};
api_main.proxy(inIt).then((data) => {
if (data.status === 0 && data.data.length) {
data.data.map((item) => {
let element = {
name: item.title,
juli: `${item._distance}km`,
where: item.address,
lat: item.location.lat,
lng: item.location.lng
};
pois.value.push(element);
});
} else {
common_vendor.index.showToast({
title: "未搜索到结果",
icon: "none"
});
}
} catch (error) {
common_vendor.index.__f__("error", "at pages/map/index.vue:91", "搜索失败:", error);
common_vendor.index.showToast({
title: "搜索失败",
icon: "none"
});
}
});
}
function selectPoi(poi) {
const fujinGet = (lat, lng) => {
let inIt = {
apiUrl: `https://apis.map.qq.com/ws/geocoder/v1`,
other: `location=${lat},${lng}%26key=LOLBZ-Z2PKW-JJ6RO-3Y7Z7-BSKWT-DLFNC%26get_poi=1%26radius=1000%26poi_options=page_size=10;radius=1000;policy=distance;address_format=short`
};
api_main.proxy(inIt).then((data) => {
if (data.status === 0) {
pois.value = [];
data.result.pois.map((item) => {
let element = {
name: item.title,
juli: `${item._distance}km`,
where: item.address,
lat: item.location.lat,
lng: item.location.lng
};
pois.value.push(element);
});
} else {
common_vendor.index.showToast({
title: "未搜索到结果",
icon: "none"
});
}
});
};
const listTarget = common_vendor.ref(0);
function selectPoi(poi, ids) {
listTarget.value = ids;
const pos = new qq.maps.LatLng(poi.lat, poi.lng);
map.setCenter(pos);
marker.setPosition(pos);
}
common_vendor.onMounted(() => {
initMap(defaultLat, defaultLng);
const onMapDragCancel = () => {
const center = map.getCenter();
const lat = center.getLat();
const lng = center.getLng();
listTarget.value = 0;
fujinGet(lat, lng);
};
const query = common_vendor.ref("");
let timerId = null;
function onInput(e) {
var _a;
query.value = ((_a = e.detail) == null ? void 0 : _a.value) ?? e.target.value;
if (timerId) {
clearTimeout(timerId);
}
if (/[A-Za-z]/.test(query.value)) {
return;
}
timerId = setTimeout(() => {
const val = query.value.trim();
if (val) {
onSearch();
}
}, DEBOUNCE_DELAY);
}
const close = () => {
openinput.value = false;
listTarget.value = -1;
if (!pois.value.length) {
onMapDragCancel();
}
};
common_vendor.onMounted(async () => {
await initLocation();
});
common_vendor.onBeforeUnmount(() => {
if (timerId) {
clearTimeout(timerId);
}
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(onSearch),
b: keyword.value,
c: common_vendor.o(($event) => keyword.value = $event.detail.value),
d: common_vendor.o(onSearch),
e: pois.value.length
}, pois.value.length ? {
f: common_vendor.f(pois.value, (poi, idx, i0) => {
return {
return {
a: common_assets._imports_0$7,
b: common_vendor.o(jumpBack),
c: common_vendor.o(jumpBackValue),
d: listTarget.value != -1,
e: listTarget.value == -1,
f: common_assets._imports_1$7,
g: common_vendor.o(onMapDragCancel),
h: common_assets._imports_2$5,
i: common_vendor.o(dingwei),
j: common_assets._imports_3$2,
k: common_vendor.o(($event) => {
openinput.value = true;
pois.value = [];
listTarget.value = -1;
}),
l: !openinput.value,
m: common_vendor.o([($event) => keyword.value = $event.detail.value, onInput]),
n: keyword.value,
o: common_vendor.o(close),
p: openinput.value,
q: common_vendor.f(pois.value, (poi, idx, i0) => {
return common_vendor.e({
a: common_vendor.t(poi.name),
b: common_vendor.t(poi.address),
c: idx,
d: common_vendor.o(($event) => selectPoi(poi), idx)
};
b: common_vendor.t(poi.juli),
c: common_vendor.t(poi.where),
d: idx == listTarget.value
}, idx == listTarget.value ? {} : {}, {
e: idx,
f: common_vendor.o(($event) => selectPoi(poi, idx), idx)
});
})
} : {});
};
};
}
};

View File

@ -1 +1 @@
<view class="container data-v-a3704cdf"><view class="search-bar data-v-a3704cdf"><input class="data-v-a3704cdf" type="text" placeholder="搜索地点" bindconfirm="{{a}}" value="{{b}}" bindinput="{{c}}"/><button class="data-v-a3704cdf" bindtap="{{d}}">搜索</button></view><view id="map" class="map data-v-a3704cdf"></view><view wx:if="{{e}}" class="result-list data-v-a3704cdf"><view wx:for="{{f}}" wx:for-item="poi" wx:key="c" class="poi-item data-v-a3704cdf" bindtap="{{poi.d}}"><text class="poi-name data-v-a3704cdf">{{poi.a}}</text><text class="poi-address data-v-a3704cdf">{{poi.b}}</text></view></view><view wx:else class="info data-v-a3704cdf"><text class="data-v-a3704cdf">请选择或搜索地点</text></view></view>
<view class="container data-v-a3704cdf"><view class="search-bar data-v-a3704cdf"><view class="search-bar-left data-v-a3704cdf"><image class="left-imge data-v-a3704cdf" src="{{a}}"/><view class="data-v-a3704cdf" style="margin-left:15rpx" bindtap="{{b}}"> 取消 </view></view><view class="search-bar-right data-v-a3704cdf" bindtap="{{c}}" hidden="{{!d}}">完成</view><view class="search-bar-right-bad data-v-a3704cdf" hidden="{{!e}}"> 请选择 </view></view><view id="map" class="map data-v-a3704cdf" catchtouchend="{{g}}"><image class="map-dian data-v-a3704cdf" src="{{f}}"/></view><view class="goback data-v-a3704cdf" bindtap="{{i}}"><image class="goback-imge data-v-a3704cdf" src="{{h}}"/></view><view class="result-list data-v-a3704cdf"><view class="sousuo-bgc data-v-a3704cdf" bindtap="{{k}}" hidden="{{!l}}"><image class="sousuo-imge data-v-a3704cdf" src="{{j}}"/><view class=" data-v-a3704cdf">搜索地点</view></view><view class="input-father data-v-a3704cdf" hidden="{{!p}}"><input ref="inputRef" class="input data-v-a3704cdf" type="text" placeholder="搜索地点" bindinput="{{m}}" value="{{n}}"/><uview u-s="{{['d']}}" class="input-button data-v-a3704cdf" bindclick="{{o}}" u-i="a3704cdf-0" bind:__l="__l">取消</uview></view><view class="poi-item data-v-a3704cdf"><view wx:for="{{q}}" wx:for-item="poi" wx:key="e" class="data-v-a3704cdf" bindtap="{{poi.f}}"><view class="poi-card data-v-a3704cdf"><view class="card-title data-v-a3704cdf">{{poi.a}}</view><view class="card-text data-v-a3704cdf">{{poi.b}} | {{poi.c}}</view><view wx:if="{{poi.d}}" class="target data-v-a3704cdf"> ✓ </view></view></view></view></view></view>

View File

@ -1,50 +1,211 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-a3704cdf {
display: flex;
flex-direction: column;
height: 100vh;
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
}
.search-bar.data-v-a3704cdf {
display: flex;
padding: 8px;
background: #fff;
position: absolute;
top: 0;
left: 0;
display: flex;
width: 100%;
height: 120rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 3;
/* background: #fff; */
}
.search-bar input.data-v-a3704cdf {
flex: 1;
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
}
.search-bar button.data-v-a3704cdf {
margin-left: 8px;
padding: 6px 12px;
background-color: #1aad19;
color: #fff;
border: none;
border-radius: 4px;
flex: 1;
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
}
.map.data-v-a3704cdf {
flex: 1;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.map .map-dian.data-v-a3704cdf {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
z-index: 2;
margin-bottom: 65rpx;
}
.goback.data-v-a3704cdf {
position: fixed;
bottom: 43vh;
right: 40rpx;
width: 100rpx;
height: 100rpx;
background-color: #fff;
border-radius: 20rpx;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
}
.goback .goback-imge.data-v-a3704cdf {
width: 55rpx;
height: 55rpx;
}
.result-list.data-v-a3704cdf {
max-height: 200px;
overflow-y: auto;
background: #fff;
position: fixed;
bottom: 0;
left: 0;
height: 40vh;
width: 94%;
margin-left: 3%;
border-top-right-radius: 35rpx;
border-top-left-radius: 35rpx;
background: #fff;
display: flex;
flex-direction: column;
align-items: center;
}
.poi-item.data-v-a3704cdf {
padding: 8px;
border-bottom: 1px solid #eee;
margin-top: 30rpx;
height: calc(40vh - 110rpx);
width: 100%;
overflow-y: auto;
}
.poi-name.data-v-a3704cdf {
font-weight: bold;
font-weight: bold;
}
.poi-address.data-v-a3704cdf {
font-size: 12px;
color: #666;
font-size: 12px;
color: #666;
}
.info.data-v-a3704cdf {
padding: 16px;
background: #fff;
text-align: center;
color: #999;
padding: 16px;
background: #fff;
text-align: center;
color: #999;
}
.search-bar-left.data-v-a3704cdf {
margin-left: 30rpx;
font-size: 32rpx;
font-weight: 600;
display: flex;
align-items: center;
}
.search-bar-right.data-v-a3704cdf {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: #fff;
background-color: #01a8ff;
}
.search-bar-right-bad.data-v-a3704cdf {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: #eeeeee;
background-color: #fff;
}
.sousuo-bgc.data-v-a3704cdf {
width: 90%;
background-color: #eeeeee;
border-radius: 15rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin-top: 30rpx;
color: #999999;
}
.sousuo-bgc .sousuo-imge.data-v-a3704cdf {
width: 50rpx;
height: 50rpx;
margin-right: 20rpx;
}
.input-father.data-v-a3704cdf {
width: 100%;
display: flex;
align-items: center;
margin-top: 30rpx;
}
.input-father .input.data-v-a3704cdf {
margin: 0 5%;
padding-left: 5%;
width: 70%;
background-color: #eeeeee;
border-radius: 15rpx;
height: 75rpx;
color: #999999;
}
.input-father .input-button.data-v-a3704cdf {
font-size: 25rpx;
}
.left-imge.data-v-a3704cdf {
width: 30rpx;
height: 30rpx;
}
.poi-card.data-v-a3704cdf {
width: 100%;
height: 150rpx;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 50rpx;
position: relative;
}
.poi-card .card-title.data-v-a3704cdf {
font-size: 28rpx;
margin-bottom: 20rpx;
}
.poi-card .card-text.data-v-a3704cdf {
font-size: 25rpx;
color: #a7a7a7;
display: block;
width: calc(100% - 10rpx);
/* 视需要调整 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.target.data-v-a3704cdf {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 80rpx;
font-size: 40rpx;
color: skyblue;
}

Some files were not shown because too many files have changed in this diff Show More