99999999999999999

This commit is contained in:
Teng 2025-09-23 17:15:17 +08:00
parent db74fced9e
commit e635a9c6de
96 changed files with 1760 additions and 3288 deletions

View File

@ -147,12 +147,12 @@
}
},
{
"path": "pages/oldmanindex/searchjigou",
"style": {
"navigationBarTitleText": "查找"
}
},
// {
// "path": "pages/oldmanindex/searchjigou",
// "style": {
// "navigationBarTitleText": "查找"
// }
// },
{
"path": "pages/oldmanindex/input",
"style": {
@ -192,7 +192,13 @@
{
"path": "pages/oldmanindex/workjoin",
"style": {
"navigationBarTitleText": "入驻审核"
"navigationBarTitleText": "长者信息"
}
},
{
"path": "pages/oldmanindex/moneylist",
"style": {
"navigationBarTitleText": "充值缴费"
}
},
{
@ -201,28 +207,29 @@
"navigationBarTitleText": "消息"
}
},
{
"path": "pages/oldmanindex/companyyaoqing",
"style": {
"navigationBarTitleText": "公司邀请"
}
},
{
"path": "pages/oldmanindex/simpleyaoqing",
"style": {
"navigationBarTitleText": "公司邀请"
}
},
{
"path": "pages/oldmanindex/company",
"style": {
"navigationBarTitleText": "公司详情"
}
},
// {
// "path": "pages/oldmanindex/companyyaoqing",
// "style": {
// "navigationBarTitleText": "公司邀请"
// }
// },
// {
// "path": "pages/oldmanindex/simpleyaoqing",
// "style": {
// "navigationBarTitleText": "公司邀请"
// }
// },
// {
// "path": "pages/oldmanindex/company",
// "style": {
// "navigationBarTitleText": "公司详情"
// }
// },
{
"path": "pages/oldmanindex/index",
"style": {
"navigationBarTitleText": "首页"
"navigationBarTitleText": "首页",
"enablePullDownRefresh": true
}
},
{

View File

@ -69,6 +69,7 @@
workUnit: "",
izJs:1,
openId: uni.getStorageSync('openid'),
})
function isValid11DigitNumber(val) {
@ -122,6 +123,7 @@
})
} else {
if(uni.getStorageSync('allinfo').name){
from.id = uni.getStorageSync('allinfo').id
changePayer(form).then((res)=>{
console.log("res",res)
if(res.success){

View File

@ -73,7 +73,12 @@
<view class="white-content">
<view class="white-message">
<view class="content-title" style="margin: 10rpx 0;display: flex;">
<view class="shu"></view>
<view class="content-weight">监护人信息</view>
</view>
<!-- <view class="white-message">
<view>
<view class="one">
<view class="one-left" style="font-weight: 600;">与长者关系</view>
@ -81,19 +86,38 @@
placeholder="请输入与长者关系" v-model="guanxi" />
</view>
</view>
</view>
<view class="content-title" style="margin: 10rpx 0;display: flex;">
<view class="shu"></view>
<view class="content-weight">监护人信息</view>
</view>
</view> -->
<view class="white-message">
<view>
<view v-for="(item,index) in antherArray" :key="index" class="one"
<view class="one">
<view class="one-left">与长者关系</view>
<input class="one-right" maxlength="11" placeholder="请输入与长者关系" v-model="guanxi" />
</view>
<view class="one">
<view class="one-left">监护人姓名</view>
<input class="one-right" maxlength="11" placeholder="请输入监护人姓名" v-model="form.name" />
</view>
<view class="one">
<view class="one-left">监护人电话</view>
<input class="one-right" maxlength="11" placeholder="请输入监护人电话" v-model="form.tel" />
</view>
<view class="one">
<view class="one-left">身份证号</view>
<input class="one-right" maxlength="18" placeholder="请输入身份证号" v-model="form.idCard" />
</view>
<view class="one">
<view class="one-left">家庭住址</view>
<input class="one-right" maxlength="11" placeholder="请输入家庭住址" v-model="form.homeAddress" />
</view>
<view class="one">
<view class="one-left">工作单位</view>
<input class="one-right" maxlength="11" placeholder="请输入工作单位" v-model="form.workUnit" />
</view>
<!-- <view v-for="(item,index) in antherArray" :key="index" class="one"
@click="openLook(anthertextArray[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{anthertextArray[index] ? anthertextArray[index] : "自动获取" }}</view>
</view>
</view> -->
</view>
</view>
</view>
@ -148,11 +172,18 @@
fontSize: 40
}]
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const antherArray = ["姓名", "电话", "身份证号", "家庭址", "工作单位"]
const antherArray = ["姓名", "电话", "身份证号", "家庭址", "工作单位"]
const textArray = reactive(["", "", "", "", "", "", "", ""]);
const anthertextArray = reactive(["", "", "", "", ""]);
const states = ["审核中", "审核未通过", "审核通过"];
const guanxi = ref("")
const guanxi = ref("");
const form = reactive({
name: "",
idCard: "",
tel: "",
homeAddress: "",
workUnit: ""
})
const fontphoto = ref("");
const endphoto = ref("");
@ -363,6 +394,14 @@
}
}
function isValid11DigitNumber(val) {
return /^(\d{11})$/.test(val);
}
function isValid18DigitNumber(val) {
return /^(\d{18})$/.test(val);
}
const next = () => {
if (!fontphoto.value) {
uni.showToast({
@ -382,6 +421,48 @@
icon: 'none'
})
return
} else if (!form.name) {
uni.showToast({
title: '请填写监护人姓名',
icon: 'none'
})
return
} else if (!form.tel) {
uni.showToast({
title: '请填写监护人电话',
icon: 'none'
})
return
} else if (!isValid11DigitNumber(form.tel)) {
uni.showToast({
title: '监护人电话格式错误',
icon: 'none'
})
return
} else if (!form.idCard) {
uni.showToast({
title: '请填写身份证号',
icon: 'none'
})
return
} else if (!isValid18DigitNumber(form.idCard)) {
uni.showToast({
title: '身份证号格式错误',
icon: 'none'
})
return
} else if (!form.homeAddress) {
uni.showToast({
title: '请填写家庭住址',
icon: 'none'
})
return
} else if (!form.workUnit) {
uni.showToast({
title: '请填写工作单位',
icon: 'none'
})
return
}
const allNonEmpty = textArray.every(item => {
// item.trim() !== ''
@ -413,7 +494,7 @@
data.endTime = swapLongTerm(end)
data.sysOrgCode = uni.getStorageSync('oldman').orgCode
// uni.getStorageSync('oldman').orgCode
let res = uni.getStorageSync('allinfo')
let res = form
// return
console.log("!!!!!!!!!", res)
@ -427,6 +508,7 @@
data.guardianHomeAddress = res.homeAddress
data.guardianWorkUnit = res.workUnit
data.guardianOpenId = uni.getStorageSync('openid')
data.guardianId = uni.getStorageSync('allinfo').id
console.log("?????", data)
if (id.value) {
@ -444,14 +526,14 @@
uni.reLaunch({
url: '/pages/oldmanindex/oldmansuccess?type=1'
})
// console.log("rrrr",r)
},
fail: (e) => {
console.log("????", e)
}
});
} else {
const urlpost = `${payurl.value}/api/elderInfo/addElder?type=0`;
const urlpost = `${payurl.value}/api/elderInfo/addElder`;
uni.request({
url: urlpost,
method: 'POST',
@ -462,13 +544,22 @@
data: data,
success: (r) => {
// console.log("r",r)
console.log("r", r)
if (r.data.code != 200) {
uni.showToast({
title: r.data.message,
icon: 'none', // 'success' 'none'
duration: 2000 // ms
})
return
}
// return
const connectinon = {
nuId: data.nuId,
openId: uni.getStorageSync('openid'),
elderId: r.data.result,
sysOrgCode: data.sysOrgCode
sysOrgCode: data.sysOrgCode,
}
const urlpost = `${payurl.value}/api/nuBaseInfo/bindNu`;
uni.request({
@ -564,11 +655,7 @@
payurl.value = base_url
// console.log("cccccccccc", textArray[7])
let res = uni.getStorageSync('allinfo')
anthertextArray[0] = res.name
anthertextArray[1] = res.idCard
anthertextArray[2] = res.tel
anthertextArray[3] = res.homeAddress
anthertextArray[4] = res.workUnit
if (uni.getStorageSync('specicalid')) {
let data = uni.getStorageSync('baddata')
// console.log("????11111111", data)

View File

@ -14,10 +14,19 @@ export function changemessage(data){
//根据手机号获取员工信息
export function getMessageList(id){
return request({
url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${id}&status=1,2,3`,
url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${uni.getStorageSync('openid')}&status=1,2,3`,
method: 'get',
})
}
//向机构申请
export function Apply(data){
return request({
url: `/api/employessapply/apply`,
method: 'post',
data,
})
}
// export function getMessageListsuccess(id){
// return request({
// url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,

View File

@ -109,7 +109,7 @@
返回上一步
</view>
<view class="finish-button" @click="next">
确认并继续
确认
</view>
</view>
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow"></u-action-sheet>
@ -135,6 +135,12 @@
import {
swapLongTerm
} from '@/compontent/public/long.js'
import {
Apply
} from './api/addjigou.js'
import {
getMessageList
} from '@/pages/addstaff/api/addjigou.js'
const show = ref(false);
const content = ref("");
@ -248,36 +254,40 @@
return
}
let data = uni.getStorageSync('backhuancun');
data.healthZmPath = imgArray[0]
data.healthZmPath = imgArray[0]
data.healthFmPath = imgArray[1]
data.qualificationPath = imgArray[2]
data.noCrimeCertificate = imgArray[3]
data.endTime = swapLongTerm(data.endTime);
data.orgId = uni.getStorageSync('changeyuangongorgId')
changemessage(data).then(res => {
if (res.success) {
uni.requestSubscribeMessage({
// templateId
tmplIds: ['yvvhlRft1CAdtU-dWlCW8U63VnTwRU8w3gR0BUdqcWw'],
success: (res) => {
uni.setStorageSync('specicalid', "");
uni.reLaunch({
url: `/pages/addstaff/successpush`
});
},
fail: (err) => {
console.error('订阅接口调用失败:', err);
uni.showToast({
title: '订阅失败',
icon: 'none'
});
}
});
} else {
uni.showToast({
title: res.message,
icon: 'error'
})
gopush()
}
// uni.requestSubscribeMessage({
// // templateId
// tmplIds: ['yvvhlRft1CAdtU-dWlCW8U63VnTwRU8w3gR0BUdqcWw'],
// success: (res) => {
// uni.setStorageSync('specicalid', "");
// gopush()
// },
// fail: (err) => {
// // console.error('', err);
// gopush()
// uni.showToast({
// title: '',
// icon: 'none'
// });
// }
// });
// } else {
// uni.showToast({
// title: res.message,
// icon: 'error'
// })
// }
})
}
onLoad(() => {
@ -295,6 +305,87 @@
imgArray[3] = data.noCrimeCertificate
}
})
const gopush = () => {
// console.log("????", uni.getStorageSync('nostaffmessage'))
if (uni.getStorageSync('nostaffmessage')) {
getMessageList().then(res => {
if (res.success) {
let data = res.result[0]
data = {
...data,
dateOfBirth: data.birthDate,
marriedOrNot: data.maritalStatus,
address: data.address,
emergencyContact: data.contactName,
emergencyTel: data.contactTel,
emergencyRelationship: data.contactRelationship,
hukouNature: data.hukouType,
idCardPositive: data.cardZmPath,
idCardNegative: data.cardFmPath,
healthCertificatePositive: data.healthZmPath,
healthCertificateNegative: data.healthFmPath,
bankPositive: data.bankZmPath,
bankNegative: data.bankFmPath,
qualification: data.qualificationPath,
noCrimeCertificate: data.noCrimeCertificate,
houseAddress: data.idCardAddress,
employeeId: data.id,
id: null,
createTime: null,
updateBy: null,
updateTime: null,
orgCode: uni.getStorageSync('nostaffmessage')
}
Apply(data).then((data) => {
if (data.success) {
uni.requestSubscribeMessage({
// templateId
tmplIds: [
'cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'
],
success: (res) => {
uni.setStorageSync(
'nostaffmessage', "");
uni.reLaunch({
url: `/pages/addstaff/successpush`
});
},
fail: (err) => {
uni.setStorageSync(
'nostaffmessage', "");
uni.reLaunch({
url: `/pages/addstaff/successpush`
});
uni.showToast({
title: '订阅失败',
icon: 'none'
});
}
});
}
})
}
})
} else {
uni.reLaunch({
url: `/pages/addstaff/successpush`
});
}
}
const goBack = () => {
if (!uping.value) {
return

View File

@ -34,6 +34,8 @@
uni.setStorageSync('izJs', res.result.izJs);
uni.setStorageSync('izYg', res.result.izYg);
uni.setStorageSync('allinfo', res.result);
// console.log("allinfo",res.result.id)
if (!res.result.tel) {
uni.reLaunch({
url: `/pages/login/xuanchuan`

View File

@ -187,14 +187,14 @@
uni.exitMiniProgram({});
}
const phone = ref("")
const op0 = ref(false);
const op1 = ref(false);
const op2 = ref(false);
const op0 = ref(0);
const op1 = ref(0);
const op2 = ref(0);
onLoad(() => {
phone.value = uni.getStorageSync('tel');
op0.value = uni.getStorageSync('izJs');
op1.value = uni.getStorageSync('izYg');
op2.value = uni.getStorageSync('izJg');
op0.value = 1;
op1.value = 1;
op2.value = 1;
})
</script>

View File

@ -193,14 +193,14 @@
});
}
const phone = ref("")
const op0 = ref(false);
const op1 = ref(false);
const op2 = ref(false);
const op0 = ref(0);
const op1 = ref(0);
const op2 = ref(0);
onLoad(() => {
phone.value = uni.getStorageSync('tel');
op0.value = uni.getStorageSync('izJs');
op1.value = uni.getStorageSync('izYg');
op2.value = uni.getStorageSync('izJg');
op0.value = 1;
op1.value = 1;
op2.value = 1;
})
</script>

View File

@ -12,6 +12,11 @@
</view>
<view class="bgc-card">
<view class="none" v-if="!workArray.length">
<image style="width: 300rpx;height: 300rpx;" src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix"
lazy-load="false" />
<view class="">暂无加盟审核</view>
</view>
<view class="under-scroll" >
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small" @click="jumpToAll(item)">
@ -169,6 +174,7 @@
border-top-right-radius: 30rpx;
min-height: calc(100vh - 650rpx);
z-index: 1;
position: relative;
}
.index-up {
position: absolute;
@ -250,4 +256,14 @@
color: #fff;
font-size: 30rpx;
}
.none{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: flex;
align-items: center;
flex-direction: column;
color: #999;
}
</style>

View File

@ -102,9 +102,16 @@ export function getIndex(openId){
})
}
//老人列表
export function queryElders(openId){
export function queryElders(elderId){
return request({
url: `/api/elderInfo/queryElders?openId=${uni.getStorageSync('openid')}`,
url: `/api/elderInfo/queryElders?openId=${uni.getStorageSync('openid')}&elderId=${elderId}`,
method: 'get',
})
}
//付款列表
export function payMoneyList(openId){
return request({
url: `/api/nuBaseInfo/queryBillList?openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}

View File

@ -1,109 +0,0 @@
<template>
<view class="container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">公司详情</view>
</view>
</view>
<view class="card-font">
{{text.departName}}
</view>
<view class="gray-font">
{{ text.comLegalPerson }} | {{ text.tel }} | {{ text.orgPropertyType }} | {{ text.orgBuildingArea + 'm²' }}
</view>
<view class="gray-bgc">
<!-- <image class="gray-img" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png" />
<image style="margin-left: 30rpx;height: 30rpx;width: 25rpx;margin-right: 30rpx;z-index: 1;"
src="https://www.focusnu.com/media/directive/index/ditu/mark.png" /> -->
<view style="color: #999999;z-index: 1;font-size: 30rpx;width: 100%;">
{{text.comRegisterAddress}}
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref,
nextTick
} from 'vue';
import {
onLoad,
onPullDownRefresh
} from '@dcloudio/uni-app'
const goBack = () => {
uni.navigateBack()
}
const text = ref("");
// URL
onLoad((options) => {
text.value = JSON.parse(options.element);
console.log("???",text.value)
})
</script>
<style lang="scss" scoped>
.container {
width: 100%;
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
}
.card-font {
margin-left: 40rpx;
font-size: 30rpx;
margin-top: 30rpx;
}
.gray-font {
margin-left: 40rpx;
font-size: 29rpx;
margin-top: 5rpx;
margin-bottom: 5rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc {
margin: 20rpx 40rpx;
width: 90%;
height: 75rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
.gray-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -1,476 +0,0 @@
<template>
<view class="container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">机构邀请</view>
</view>
</view>
<!-- <view class="zhiling-box" style="margin-top: 30rpx;height: 120rpx;justify-content: flex-start;">
<view class="input-all">
<image
style="position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;"
src="https://www.focusnu.com/media/directive/index/search.png" />
<input style="font-size: 31rpx;" type="text" v-model="supervalue" placeholder="请输入入驻护理机构名称"
@confirm="search" />
<view @click="clearvalue" v-if="supervalue"
style="position: absolute;right: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;display: flex;justify-content: center;align-items: center;border-radius: 50%;background-color: #EBEBEB;">
<image style="width: 20rpx;height: 20rpx;"
src="https://www.focusnu.com/media/directive/index/cha.png" />
</view>
</view>
<view class="tianjia" @click="search">
检索
</view>
</view> -->
<view
style="width: 100%;margin-top: 190rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;"
v-if="!hulijigouArray.length">
<image style="height: 250rpx;width: 350rpx;"
src="https://www.focusnu.com/media/directive/index/yuangongyaoqing.png" />
<view style="color: #8E96AD;margin-top: 20rpx;">
暂无邀请信息
</view>
</view>
<view style="width: 100%;display: flex;flex-wrap: wrap;">
<view v-for="(item,index) in hulijigouArray" :key="index" class="zhiling-box-card" :style="{
border: hulitarget === index ? '4rpx solid #0093FF' : 'none',
height: item.applyStatus == 1 ? '370rpx' : '330rpx'
}" style="margin-top: 30rpx;position: relative;width: 92%;flex-direction: column;">
<view class="card-font">
{{item.departName}}
</view>
<view class="gray-font">
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/man.png" />
{{ item.comLegalPerson }} |
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.tel }}
</view>
<view class="applying" v-if="item.applyStatus===`1`">
待确认
</view>
<view class="applysuccess" v-if="item.applyStatus===`2`">
已接受
</view>
<view class="applyfail" v-if="item.applyStatus===`3`">
已拒接
</view>
<view class="gray-bgc">
<image class="gray-img" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png" />
<view style="color: #999999;z-index: 1;font-size: 27rpx;width: 100%;">
<image style="margin-left: 10rpx;height: 30rpx;width: 25rpx;margin-right: 10rpx;z-index: 1;"
src="https://www.focusnu.com/media/directive/index/ditu/mark.png" />
{{item.comRegisterAddress}}
</view>
</view>
<view style="display: flex;justify-content: center;width: 100%;" v-if="item.applyStatus===`1`">
<view class="blue-button" @click="changeStatus(item,true)">
接受
</view>
<view class="white-button" @click="changeStatus(item,false)">
拒绝
</view>
</view>
</view>
</view>
<!-- 处理margin重叠 -->
<view style="height: 200rpx;">
</view>
<!-- <view class="button-father">
<view class="blue-button" @click="apply" v-if="buttonOpen">
申请
</view>
<view class="white-button" v-else>
申请
</view>
</view> -->
<!-- <u-popup v-model="popupshow" mode="bottom" border-radius="40">
<view class="popop-father">
<image style="width: 100rpx;height: 100rpx;"
src="https://www.focusnu.com/media/directive/index/tishi.png" />
<view class="popop-font">
入驻申请已提交请到
<text style="color: #01A9FF;">
"我的-入驻审核"
</text>
查看审核进度
</view>
<view class="popop-blue" @click="jumpRuzhu()">
查看
</view>
</view>
</u-popup> -->
<queren :show="querenshow" @close="querenshow=false" @ok="querensecond" />
</view>
</template>
<script setup lang="ts">
import {
reactive,
ref,
onMounted,
onUnmounted
} from 'vue';
import {
onLoad,
} from '@dcloudio/uni-app'
import { getInvited, invitedConfirm } from './api.js'
import queren from './queren.vue'
const hulijigouArray = ref([])
const hulitarget = ref(-1)
const popupshow = ref(false);
const supervalue = ref("");
const querenshow = ref(false);
// const jumpRuzhu = () => {
// popupshow.value = false
// uni.navigateTo({
// url: "/pages/yuangongindex/workjoin"
// })
// }
const buttonOpen = ref(false);
// const clickCard = (index : number) => {
// if (hulitarget.value === index) {
// hulitarget.value = -1;
// buttonOpen.value = false;
// } else {
// hulitarget.value = index;
// if (hulijigouArray.value[index].employeesApiEntity?.status == 1 || hulijigouArray.value[index].employeesApiEntity?.status == 2) {
// buttonOpen.value = false;
// } else {
// buttonOpen.value = true;
// }
// }
// }
const clearvalue = () => {
hulitarget.value = -1;
supervalue.value = ""
}
const goBack = () => {
uni.navigateBack()
}
const search = () => {
buttonOpen.value = false;
hulitarget.value = -1;
getInvited(uni.getStorageSync('openid')).then((res : any) => {
if (res.success) {
hulijigouArray.value = res.result
// console.log("???",res)
}
})
}
const sumbit = ref(false);
const saveitem = ref({
employeesId:"",
orgCode:""
})
const changeStatus = (item, status) => {
if(!status){
querenshow.value = true;
saveitem.value = {
employeesId:item.employeesId,
orgCode:item.orgCode
}
return
}
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
}
invitedConfirm(data).then(res => {
if (res.success) {
search()
}
})
}
const querensecond = () => {
querenshow.value = false;
let data = {
employeeId: saveitem.value.employeesId,
status: 3,
orgCode: saveitem.value.orgCode
}
invitedConfirm(data).then(res => {
if (res.success) {
search()
}
})
}
search()
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father {
display: flex;
align-items: center;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.tianjia {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
// margin: 0rpx auto;
// margin-bottom: 80rpx;
// margin-top: 20rpx;
margin-top: 10rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 25rpx;
font-size: 30rpx;
}
.white-button {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
// color: #fff;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 25rpx;
font-size: 30rpx;
}
.zhiling-box-card {
display: flex;
width: 92%;
margin-left: 4%;
// height: 190rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
}
.applying {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.applysuccess {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-bottom: 20rpx;
}
.applyfail {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.card-font {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
.gray-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -6,7 +6,7 @@
</view>
<image class="small-ball-img" src="https://www.focusnu.com/media/directive/index/ling.png" />
</view>
<!-- <view class="small-ball" style="right: 330rpx;" :style="{top:`${moveHeight}px`}" @click="clickSmallball">
<!-- <view class="small-ball" style="right: 330rpx;" :style="{top:`${moveHeight}px`}" @click="clickSmallball">
<image class="small-ball-img" src="https://www.focusnu.com/media/directive/index/saoyisao.png" />
</view> -->
<!-- <view class="small-ball" style="right: 410rpx;" :style="{top:`${moveHeight}px`}" @click="clickSmallball">
@ -82,42 +82,46 @@
{{ item.elderInfo && item.elderInfo.name }}
</view>
<view style="display: flex;color: #7C788D;margin-left: 5rpx;">
NUID
NUID
<view style="margin-left: 20rpx;">
{{ item.elderInfo && item.elderInfo.nuId }}
</view>
</view>
</view>
<view style="display: flex;align-items: center;">
<image style="width: 50rpx;height: 50rpx;margin-left: 10rpx;" src="https://www.focusnu.com/media/directive/index/oldmanmenu/wendu.png" mode="widthFix"
lazy-load="false" />
<image style="width: 50rpx;height: 50rpx;margin-left: 10rpx;"
src="https://www.focusnu.com/media/directive/index/oldmanmenu/wendu.png"
mode="widthFix" lazy-load="false" />
<view class="">
<view style="font-size: 28rpx;margin-left: 5rpx;">
温度
</view>
<view style="font-size: 28rpx;">
{{ item.humidDeviceList && item.humidDeviceList[0].temperature }}
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== undefined && item.humidDeviceList[0].temperature !== null) ? item.humidDeviceList[0].temperature : '—' }}
</view>
</view>
<image style="width: 50rpx;height: 50rpx;margin-left: 30rpx;" src="https://www.focusnu.com/media/directive/index/oldmanmenu/shidu.png" mode="widthFix"
lazy-load="false" />
<image style="width: 50rpx;height: 50rpx;margin-left: 30rpx;"
src="https://www.focusnu.com/media/directive/index/oldmanmenu/shidu.png"
mode="widthFix" lazy-load="false" />
<view style="margin-right: 50rpx;margin-left: 10rpx;">
<view style="font-size: 28rpx;margin-left: 5rpx;">
湿度
</view>
<view style="font-size: 28rpx;">
{{ item.humidDeviceList &&item.humidDeviceList[0].humidity }}%
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== undefined && item.humidDeviceList[0].humidity !== null)
? item.humidDeviceList[0].humidity
: '—' }}%
</view>
</view>
</view>
</view>
<view class="white-box-father">
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box" @click="clickButton(item,index)">
<image class="box-img"
:src="`https://www.focusnu.com/media/directive/index/oldmanmenu/${index}.png`" />
<view class="box-font">{{item}}</view>
<view class="box-font">{{item0}}</view>
</view>
<view class="white-box">
@ -134,36 +138,40 @@
{{ timeText }}
</view>
<view style="display: flex;color: #7C788D;margin-left: 5rpx;">
{{ dateText }}
{{ dateText }}
<view style="margin-left: 20rpx;">
{{ weekdayText }}
</view>
</view>
</view>
<view style="display: flex;align-items: center;">
<image style="width: 50rpx;height: 50rpx;margin-left: 10rpx;" src="https://www.focusnu.com/media/directive/index/oldmanmenu/wendu.png" mode="widthFix"
lazy-load="false" />
<image style="width: 50rpx;height: 50rpx;margin-left: 10rpx;"
src="https://www.focusnu.com/media/directive/index/oldmanmenu/wendu.png"
mode="widthFix" lazy-load="false" />
<view class="">
<view style="font-size: 28rpx;margin-left: 5rpx;">
温度
</view>
<view style="font-size: 28rpx;">
{{ item.humidDeviceList &&item.humidDeviceList[0].temperature }}
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== undefined && item.humidDeviceList[0].temperature !== null) ? item.humidDeviceList[0].temperature : '—' }}
</view>
</view>
<image style="width: 50rpx;height: 50rpx;margin-left: 30rpx;" src="https://www.focusnu.com/media/directive/index/oldmanmenu/shidu.png" mode="widthFix"
lazy-load="false" />
<image style="width: 50rpx;height: 50rpx;margin-left: 30rpx;"
src="https://www.focusnu.com/media/directive/index/oldmanmenu/shidu.png"
mode="widthFix" lazy-load="false" />
<view style="margin-right: 50rpx;margin-left: 10rpx;">
<view style="font-size: 28rpx;margin-left: 5rpx;">
湿度
</view>
<view style="font-size: 28rpx;">
{{ item.humidDeviceList &&item.humidDeviceList[0].humidity }}%
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== undefined && item.humidDeviceList[0].humidity !== null)
? item.humidDeviceList[0].humidity
: '—' }}%
</view>
</view>
</view>
</view>
<!-- <view style="display: flex;align-items: center;">
<view style="color: #999999;margin-right: 5rpx;">
@ -180,7 +188,7 @@
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">
<view class="blue-shu"></view>
<view class="blue-font">
{{ item.nuName }}
{{ item.nuName }}
</view>
</view>
@ -224,7 +232,7 @@
<view class="white-content-father-time" v-if="item.applyStatus!=`-1`">
<view class="white-content" style="background-color: transparent;">
<view class="white-bgc">
{{ item.departName }}
{{ item.departName }}
</view>
</view>
@ -260,14 +268,16 @@
import {
onLoad,
onUnload,
onShow
onShow,
onPullDownRefresh
} from '@dcloudio/uni-app';
import {
getMessageList
} from '@/pages/addstaff/api/addjigou.js'
import {
getIndex,
isRead
isRead,
queryElders
} from './api.js'
import request from '@/request/index.js'
import downMenu from '@/compontent/public/oldmandownmenu.vue'
@ -277,7 +287,7 @@
const content = ref("");
const buttonArray = ref(["护理服务", "医疗服务", "账单查询", "视频探视", "外出申请", "长者功能", "长者功能"])
const buttonArray = ref(["长者信息", "监护人信息", "充值缴费", "退住管理 ", "长者功能", "长者功能", "长者功能"])
const statusarray = ["loading", "success", "fail"]
const which = ref(0);
@ -326,6 +336,17 @@
if (timer) clearInterval(timer)
})
const clickButton = (item,index) => {
switch(index){
case 0:
queryElders(item.elderId).then(res => {
// workArray.value = res.result
console.log("AAAAA",res.result[0])
})
break
}
}
const jumpSaoyisao = () => {
uni.navigateTo({
url: "/pages/oldmanindex/saoyisao"
@ -342,7 +363,7 @@
uni.navigateTo({
url: "/pages/yuangongindex/message"
})
}
const searchjigou = (item) => {
@ -350,8 +371,8 @@
uni.setStorageSync('specicalid', "");
uni.setStorageSync("backhuancun", {})
let data = {
nuId : item.nuId,
orgCode : item.orgCode
nuId: item.nuId,
orgCode: item.orgCode
}
uni.setStorageSync('oldman', data);
uni.navigateTo({
@ -488,7 +509,7 @@
success: function(res) {
getIndex(res.data).then(res => {
menuArray.value = []
console.log("res",res)
// console.log("res",res)
// res.result.forEach((element) => {
// if (element.isInvited == 1 || (element.isInvited == 0 && element
// .applyStatus == 2)) {
@ -526,6 +547,16 @@
}
})
})
onPullDownRefresh(() => {
loadingData();
isRead().then(res => {
// console.log("aaaa",res.result)
if (res.result) {
hong.value = res.result;
}
})
uni.stopPullDownRefresh()
})
</script>
<style lang="scss" scoped>
@ -945,7 +976,7 @@
}
.small-ball {
position: absolute;
position: fixed;
right: 120px;
// top: 36px;
z-index: 9999;

View File

@ -71,7 +71,7 @@
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = [`监护人信息`, `长者信息`, `充值缴费`, `退住管理`]
const cardMenu = [`长者信息`, `监护人信息`, `充值缴费`, `退住管理`]
const change = () => {
uni.navigateTo({
@ -87,22 +87,23 @@
const clickButton = (index) => {
switch (index) {
case 0:
loadingData()
changeData()
// uni.navigateTo({
// url: `/pages/login/workjoinsuccess`
// });
break;
case 1:
changeData()
loadingData()
// uni.navigateTo({
// url: `/pages/login/workjoin`
// });
break;
case 2:
// uni.navigateTo({
// url:"/pages/yuangongindex/companyyaoqing"
// });
uni.navigateTo({
url: "/pages/oldmanindex/moneylist"
})
break;
}
}
@ -113,7 +114,7 @@
}
const changeData = () => {
uni.navigateTo({
url:"/pages/oldmanindex/workjoin"
url: "/pages/oldmanindex/workjoin"
})
}
</script>

View File

@ -0,0 +1,524 @@
<template>
<view class="login-container" :style="!workArray.length?{backgroundColor:`#F7F7F7`}:{}">
<model :show="show" @close="show=false" :content="content" />
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<!-- <view style="font-size: 30rpx;">入驻审核</view> -->
</view>
</view>
<view style="position: absolute;top: 300rpx;left: 30rpx;z-index: 1;display: flex;align-items: center;" v-if="workArray.length">
<view class="shu"></view>
<view class="content-weight">账单信息</view>
</view>
<view class="index-up" v-if="workArray.length">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/pouplebgc.png" mode="widthFix"
lazy-load="false" />
</view>
<view
style="position: absolute;left:0;top: 400rpx;width: 100%;display: flex;flex-direction: column;justify-content: center;align-items: center;z-index: 999;"
v-if="!workArray.length">
<image style="height: 220rpx;width: 350rpx;"
src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png" />
<view style="color: #8E96AD;margin-top: 20rpx;">
暂无缴费信息
</view>
</view>
<view class="bgc-card">
<view class="under-scroll">
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small">
<view class="white-name">
<view style="font-size: 36rpx;font-weight: 600;" v-if="item.type=='bind_nu' && item.elderName==null">
预缴费
</view>
<view style="font-size: 36rpx;font-weight: 600;" v-else>
{{ item.elderName }}
</view>
<view style="font-size: 30rpx;">
{{ item.nuName }}
</view>
</view>
<view style="font-size: 50rpx;font-weight: 600;margin: 15rpx 0;">
{{ item.amount }}
</view>
<view class="gray-bgc">
<view style="display: flex;margin-left: 20rpx;">
<view class="">
{{ item.typeName }}
</view>
<view style="margin: 0 20rpx;">
|
</view>
<view class="">
余额
<text style="color: #0087FF;">
{{ item.balance }}
</text>
</view>
</view>
<view style="margin-right: 20rpx;color: #b8b8b8;">
{{ item.createTime.slice(0,10) }}
</view>
</view>
<view class="remark-bgc">
备注信息{{ item.remark }}
</view>
<view style="margin-top: 20rpx;color: #999999;font-size: 30rpx;">
{{ item.departName }}
</view>
<!-- <image style="height: 90rpx;width: 90rpx;"
src="https://www.focusnu.com/media/directive/index/touxiang.png" />
<view class="">
<view style="display: flex;margin-left: 20rpx;align-items: center;">
<view style="color: black;font-size: 32rpx;">
{{ item.name }}
</view>
<view style="margin-left: 20rpx;">
{{ item.sex }}
</view>
</view>
<view style="display: flex;margin-left: 20rpx;align-items: center;margin-top: 10rpx;">
<view style="color: black;font-size: 28rpx;">
NUID
</view>
<view style="margin-left: 10rpx;">
{{ item.nuId }}
</view>
</view>
</view>
<view style="position: absolute;right: 20rpx;top: 60rpx;display: flex;align-items: center;">
<image style="height: 30rpx;width: 30rpx;"
src="https://www.focusnu.com/media/directive/index/infotime.png" />
<view style="margin-left: 20rpx;">
{{ item.createTime.slice(0, 10) }}
</view>
<image style="height: 30rpx;width: 30rpx;margin-left: 10rpx;"
src="https://www.focusnu.com/media/directive/index/more.png" />
</view> -->
</view>
</view>
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref,
nextTick
} from 'vue';
import {
onLoad,
onPullDownRefresh,
} from '@dcloudio/uni-app'
import {
// getEmployeesOrgRela,
payMoneyList
} from './api.js'
// import {
// getMessageList
// } from '@/pages/addstaff/api/addjigou.js'
import model from "@/compontent/public/model.vue"
const type = ref(0)
const workArray = ref([])
const special = ref(false);
const statusarray = ["loading", "success", "fail"]
// URL
onLoad(() => {
payMoneyList().then(res => {
workArray.value = res.result
console.log("res",res.result)
})
})
onPullDownRefresh(() => {
payMoneyList().then(res => {
workArray.value = res.result
})
uni.stopPullDownRefresh()
})
const content = ref("");
const show = ref(false);
const openLook = (res) => {
if (res) {
content.value = res;
show.value = true
}
}
const goBack = () => {
uni.navigateBack()
}
// const changeoldman = (item) => {
// console.log("????",item)
// uni.setStorageSync("baddata", item)
// uni.setStorageSync('specicalid', item.id);
// uni.setStorageSync("backhuancun", {})
// let data = {
// nuId : item.nuId,
// orgCode : item.orgCode
// }
// uni.setStorageSync('oldman', data);
// uni.navigateTo({
// url: "/pages/addoldman/oldIDcard"
// })
// }
// const again = (item) => {
// uni.navigateTo({
// url: "/pages/yuangongindex/searchjigou"
// })
// // uni.getStorage({
// // key: 'openid',
// // success: function(res) {
// // getMessageList(res.data).then(res => {
// // if (res.success) {
// // uni.setStorageSync("baddata", res.result[0])
// // uni.setStorageSync('specicalid', res.result[0].id);
// // uni.setStorageSync("backhuancun", {})
// // uni.navigateTo({
// // url: `/pages/addstaff/information`
// // });
// // }
// // })
// // }
// // });
// }
// const jumpToAll = (element) => {
// console.log("????", element.applyStatus)
// // uni.getStorage({
// // key: 'openid',
// // success: function(res) {
// // getMessageList(res.data).then(res => {
// // if (res.success) {
// // uni.navigateTo({
// // url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&applyStatus=${element.applyStatus}`
// // });
// // }
// // })
// // }
// // });
// // uni.navigateTo({
// // url: `/pages/yuangongindex/company?element=${JSON.stringify(element)}`
// // });
// }
</script>
<style lang="scss" scoped>
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.under-scroll {
width: 100%;
height: calc(100% - 460rpx);
padding-top: 30rpx;
.white-small {
width: 94%;
margin-left: 3%;
// height: 450rpx;
background-color: #fff;
border-radius: 30rpx;
// padding: 40rpx;
padding: 40rpx 50rpx;
// padding-top: 40rpx;
// margin-bottom: 50rpx;
font-size: 25rpx;
// color: #999999;
position: relative;
// display: flex;
// align-items: center;
margin-top: 50rpx;
}
}
.button-heng {
// width: 100%;
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
}
.bgc-card {
margin-top: 120rpx;
// background-color: #F7F7F7;
width: 98%;
margin-left: 1%;
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
min-height: calc(100vh - 650rpx);
z-index: 1;
}
.index-up {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
.index-up-img {
width: 100%;
height: 20rpx;
}
}
.title-card {
margin: 30rpx;
background-color: #fff;
width: 93%;
height: 250rpx;
border-radius: 30rpx;
padding: 0 45rpx;
margin-top: 40rpx;
padding-top: 40rpx;
.big-weight {
font-size: 30rpx;
color: #333333;
font-weight: 600;
margin-bottom: 30rpx;
}
.title-other {
color: #666666;
font-size: 25rpx;
}
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.enter-img {
width: 25rpx;
height: 25rpx;
position: absolute;
right: 30rpx;
top: 35rpx;
}
.bottom-father {
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
}
.bottom-img {
position: absolute;
right: 30rpx;
top: 60rpx;
width: 160rpx;
height: 140rpx;
}
.blue-button {
margin: 0 30rpx;
margin-top: 30rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
z-index: 999;
}
.white-button {
margin: 0 30rpx;
margin-top: 30rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 25rpx;
// color: #fff;
font-size: 30rpx;
z-index: 999;
// display: flex;
// justify-content: center;
// align-items: center;
// width: 30%;
// height: 60rpx;
// margin: 0 30rpx;
// margin-top: 10rpx;
// // color: #fff;
// background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
// border-radius: 25rpx;
// font-size: 30rpx;
}
.card-font {
margin-left: 10rpx;
font-size: 32rpx;
margin-top: 30rpx;
padding-top: 25rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font {
// margin-left: 20rpx;
font-size: 32rpx;
margin-top: 20rpx;
color: #B1B1B1;
width: 100%;
}
.applying {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.applysuccess {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-bottom: 20rpx;
}
.applyfail {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.applywhy {
position: absolute;
right: 20rpx;
top: 60rpx;
background-color: #F1F1F1;
color: #373737;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
}
.shu {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.content-weight {
font-size: 36rpx;
font-weight: 600;
}
.white-name{
display: flex;
justify-content: space-between;
align-items: center;
}
.gray-bgc{
background-color: #F3F6FE;
width: 100%;
height: 70rpx;
display: flex;
align-items: center;
border-radius: 5rpx;
justify-content: space-between;
font-size: 28rpx;
}
.remark-bgc{
flex-wrap: wrap;
background-color: #F9F9F9;
padding: 20rpx;
width: 100%;
font-size: 25rpx;
margin-top: 20rpx;
color: #b8b8b8;
}
</style>

View File

@ -1,142 +0,0 @@
<template>
<!-- 通过 v-show 控制显隐并根据 show 添加 is-active 类触发 CSS 过渡 -->
<view :class="['neuro-wrapper', show ? 'is-active' : '']" v-show="show">
<!-- 遮罩层点击触发关闭 -->
<view class="neuro-mask" @click="handleClose"></view>
<!-- 拟态框阻止冒泡点击 -->
<view class="neuro-box" @click.stop>
<!-- <view class="tittle-bgc">
</view> -->
<!-- <view class="text">提示</view> -->
<view class="button-father">
<view class="button-white" @click="handleClose">取消</view>
<view class="button" @click="go">确定</view>
</view>
<view style="font-size: 25rpx;line-height: 45rpx;margin-top: -50rpx;">确定要拒绝吗</view>
</view>
</view>
</template>
<script setup>
// show update:show
const props = defineProps({
show: {
type: Boolean,
default: true
},
});
const emit = defineEmits(["close","ok"]);
// show
function handleClose() {
emit('close');
}
const go = () => {
emit('ok');
// uni.exitMiniProgram({});
}
</script>
<style lang="scss" scoped>
/* 容器默认隐藏,透明度为 0不接受点击 */
.neuro-wrapper {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
/* 显示时透明度过渡到 1可接受点击 */
.neuro-wrapper.is-active {
opacity: 1;
pointer-events: auto;
}
/* 遮罩层,半透明黑色 */
.neuro-mask {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.3);
}
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
.neuro-box {
position: relative;
width: 480rpx;
height: 300rpx;
border-radius: 20rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
background-image: url('https://www.focusnu.com/media/directive/index/whitepeople.png');
// background-size: 100% auto;
background-position: top center;
background-repeat: no-repeat;
z-index: 1;
padding: 0 10%;
}
.tittle-bgc {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 300rpx;
background-image: url('https://www.focusnu.com/media/directive/index/modelbgc.png');
background-size: 100% auto;
background-position: top center;
background-repeat: no-repeat;
.text {
color: #47526F;
font-size: 40rpx;
margin: 40rpx 0 0 50rpx;
font-weight: 600;
}
}
.button {
width: 47%;
background: linear-gradient(to right, #00C9FF, #0076FF);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 25rpx;
border-radius: 24rpx;
}
.button-white {
width: 47%;
// background: linear-gradient(to right, #00C9FF, #0076FF);
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
display: flex;
justify-content: center;
align-items: center;
// color: #fff;
// color: rgb(242,242,242);
font-size: 25rpx;
border-radius: 24rpx;
}
.button-father{
position: absolute;
bottom: 35rpx;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 60rpx;
display: flex;
justify-content: space-between;
padding: 0 50rpx;
}
</style>

View File

@ -1,493 +0,0 @@
<template>
<view class="container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">入驻机构</view>
</view>
</view>
<view class="zhiling-box" style="margin-top: 30rpx;height: 120rpx;justify-content: flex-start;">
<view class="input-all">
<image
style="position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;"
src="https://www.focusnu.com/media/directive/index/search.png" />
<input style="font-size: 31rpx;" type="text" v-model="supervalue" placeholder="请输入入驻护理机构名称"
@confirm="search" @input="detectinput" />
<view @click="clearvalue" v-if="supervalue"
style="position: absolute;right: 20rpx;top: 50%;transform: translateY(-50%);width: 40rpx;height: 40rpx;display: flex;justify-content: center;align-items: center;border-radius: 50%;background-color: #EBEBEB;">
<image style="width: 20rpx;height: 20rpx;"
src="https://www.focusnu.com/media/directive/index/cha.png" />
</view>
</view>
<view class="tianjia" @click="search">
检索
</view>
</view>
<view style="width: 100%;display: flex;flex-wrap: wrap;">
<view v-for="(item,index) in hulijigouArray" :key="index" class="zhiling-box-card"
:style="hulitarget===index?{border:`4rpx solid #0093FF`}:{}"
style="margin-top: 30rpx;height: 300rpx;position: relative;width: 92%;flex-direction: column;"
@click="clickCard(index)">
<!-- <view style="position: absolute;right: 0rpx;bottom: -14rpx;" v-if="hulitarget===index">
<image style="width: 60rpx;height: 60rpx;"
src="https://www.focusnu.com/media/directive/index/lemon.png" />
</view> -->
<view class="card-font">
{{item.departName}}
</view>
<view class="gray-font">
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/man.png" />
{{ item.comLegalPerson }} |
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.tel }}
</view>
<view class="applying" v-if="item.employeesApiEntity?.status===`1`">
{{ item.employeesApiEntity.isInvited=='1' ? "申请中" : "待确认" }}
</view>
<view class="applysuccess" v-if="item.employeesApiEntity?.status===`2`">
{{ item.employeesApiEntity.isInvited=='1' ? "申请通过" : "已接受" }}
</view>
<view class="applyfail" v-if="item.employeesApiEntity?.status===`3`">
{{ item.employeesApiEntity.isInvited=='1' ? "申请驳回" : "已拒绝" }}
</view>
<!-- <view style="height: 50rpx;" v-if="!item.employeesApiEntity">
</view> -->
<view class="gray-bgc">
<image class="gray-img" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png" />
<view style="color: #999999;z-index: 1;font-size: 27rpx;width: 100%;display: flex;">
<image
style="margin-left: 10rpx;height: 30rpx;width: 25rpx;margin-right: 10rpx;z-index: 1;margin-top: 8rpx"
src="https://www.focusnu.com/media/directive/index/ditu/mark.png" />
<view style="width: 630rpx;">
{{item.comRegisterAddress}}
</view>
</view>
</view>
</view>
</view>
<!-- 处理margin重叠 -->
<view style="height: 200rpx;">
</view>
<view class="button-father">
<view class="blue-button" @click="apply" v-if="buttonOpen">
申请
</view>
<view class="white-button" v-else>
申请
</view>
</view>
<u-popup v-model="popupshow" mode="bottom" border-radius="40">
<view class="popop-father">
<image style="width: 100rpx;height: 100rpx;"
src="https://www.focusnu.com/media/directive/index/tishi.png" />
<view class="popop-font">
入驻申请已提交请到
<text style="color: #01A9FF;">
"我的-入驻审核"
</text>
查看审核进度
</view>
<view class="popop-blue" @click="jumpRuzhu()">
查看
</view>
</view>
</u-popup>
</view>
</template>
<script setup lang="ts">
import {
reactive,
ref,
onMounted,
onUnmounted,
} from 'vue';
import {
onShow
} from '@dcloudio/uni-app'
import { getOrgInfo, Apply } from './api.js'
onShow(
() =>
search()
)
const hulijigouArray = ref([])
const hulitarget = ref(-1)
const popupshow = ref(false);
const supervalue = ref("");
const jumpRuzhu = () => {
popupshow.value = false
uni.navigateTo({
url: "/pages/yuangongindex/workjoin"
})
}
let inputTimer = null
const detectinput = () => {
// clear + set 600ms
if (inputTimer) clearTimeout(inputTimer)
inputTimer = setTimeout(() => {
inputTimer = null
//
search()
}, 600) // 600ms = 0.6s
}
onUnmounted(() => {
if (inputTimer) clearTimeout(inputTimer)
})
const buttonOpen = ref(false);
const clickCard = (index : number) => {
if (hulitarget.value === index) {
hulitarget.value = -1;
buttonOpen.value = false;
} else {
hulitarget.value = index;
if (hulijigouArray.value[index].employeesApiEntity?.status == 1 || hulijigouArray.value[index].employeesApiEntity?.status == 2) {
buttonOpen.value = false;
} else {
buttonOpen.value = true;
}
}
}
const clearvalue = () => {
hulitarget.value = -1;
supervalue.value = "";
search()
}
const goBack = () => {
uni.navigateBack()
}
const search = () => {
buttonOpen.value = false;
hulitarget.value = -1;
getOrgInfo(supervalue.value).then((res : any) => {
if (res.success) {
hulijigouArray.value = res.result.records
}
})
}
const sumbit = ref(false);
const apply = () => {
if (sumbit.value) {
return
}
sumbit.value = true;
//
let data = uni.getStorageSync('staff')
// parse
// let data = typeof storageData === 'string' ? JSON.parse(storageData) : { ...storageData }
//
data = {
...data,
dateOfBirth: data.birthDate,
marriedOrNot: data.maritalStatus,
address: data.address,
emergencyContact: data.contactName,
emergencyTel: data.contactTel,
emergencyRelationship: data.contactRelationship,
hukouNature: data.hukouType,
idCardPositive: data.cardZmPath,
idCardNegative: data.cardFmPath,
healthCertificatePositive: data.healthZmPath,
healthCertificateNegative: data.healthFmPath,
bankPositive: data.bankZmPath,
bankNegative: data.bankFmPath,
qualification: data.qualificationPath,
noCrimeCertificate: data.noCrimeCertificate,
houseAddress: data.idCardAddress,
employeeId: data.id,
id: null,
createTime: null,
updateBy: null,
updateTime: null,
orgCode: hulijigouArray.value[hulitarget.value].orgCode
}
Apply(data).then((data : any) => {
if (data.success) {
popupshow.value = true
setTimeout(() => search(), 1000)
}
setTimeout(() => sumbit.value = false, 1000)
})
}
// search()
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father {
display: flex;
align-items: center;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.tianjia {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 35rpx;
font-size: 33rpx;
}
.white-button {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-top: 20rpx;
// color: #fff;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 35rpx;
font-size: 33rpx;
}
.zhiling-box-card {
display: flex;
width: 92%;
margin-left: 4%;
height: 150rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
}
.applying {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.applysuccess {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-bottom: 20rpx;
}
.applyfail {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.card-font {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
.gray-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -1,371 +0,0 @@
<template>
<view class="container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">机构邀请</view>
</view>
</view>
<view
style="width: 100%;margin-top: 190rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;"
v-if="!hulijigouArray.length">
<image style="height: 250rpx;width: 350rpx;"
src="https://www.focusnu.com/media/directive/index/yuangongyaoqing.png" />
<view style="color: #8E96AD;margin-top: 20rpx;">
暂无邀请信息
</view>
</view>
<view style="width: 100%;display: flex;flex-wrap: wrap;">
<view v-for="(item,index) in hulijigouArray" :key="index" class="zhiling-box-card" style="margin-top: 30rpx;position: relative;width: 92%;flex-direction: column;">
<view class="card-font">
{{item.departName}}
</view>
<view class="gray-font">
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/man.png" />
{{ item.comLegalPerson }} |
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.tel }}
</view>
<view class="applying" v-if="item.applyStatus===`1`">
待确认
</view>
<view class="applysuccess" v-if="item.applyStatus===`2`">
已接受
</view>
<view class="applyfail" v-if="item.applyStatus===`3`">
已拒接
</view>
<view class="gray-bgc">
<image class="gray-img" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png" />
<view style="color: #999999;z-index: 1;font-size: 27rpx;width: 100%;">
<image style="margin-left: 10rpx;height: 30rpx;width: 25rpx;margin-right: 10rpx;z-index: 1;"
src="https://www.focusnu.com/media/directive/index/ditu/mark.png" />
{{item.comRegisterAddress}}
</view>
</view>
<view style="display: flex;justify-content: center;width: 100%;" v-if="item.applyStatus===`1`">
<view class="blue-button" @click="changeStatus(item,true)">
接受
</view>
<view class="white-button" @click="changeStatus(item,false)">
拒绝
</view>
</view>
</view>
</view>
<!-- 处理margin重叠 -->
<view style="height: 200rpx;">
</view>
</view>
</template>
<script setup lang="ts">
import {
reactive,
ref,
onMounted,
onUnmounted
} from 'vue';
import {
onLoad,
} from '@dcloudio/uni-app'
import { getId, invitedConfirm } from './api.js'
const hulijigouArray = ref([])
const supervalue = ref("");
const buttonOpen = ref(false);
const vipid = ref("");
onLoad((options) => {
vipid.value = JSON.parse(options.extend).dataId
search()
})
const goBack = () => {
uni.navigateBack()
}
const search = () => {
getId(vipid.value).then((res : any) => {
if (res.success) {
hulijigouArray.value = res.result
}
})
}
const sumbit = ref(false);
const changeStatus = (item, status) => {
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
}
invitedConfirm(data).then(res => {
if (res.success) {
search()
}
})
}
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father {
display: flex;
align-items: center;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.tianjia {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
// margin: 0rpx auto;
// margin-bottom: 80rpx;
// margin-top: 20rpx;
margin-top: 10rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 25rpx;
font-size: 30rpx;
}
.white-button {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
// color: #fff;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 25rpx;
font-size: 30rpx;
}
.zhiling-box-card {
display: flex;
width: 92%;
margin-left: 4%;
// height: 190rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
}
.applying {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.applysuccess {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
// margin-bottom: 20rpx;
}
.applyfail {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
// margin-bottom: 20rpx;
}
.card-font {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
.gray-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -7,7 +7,7 @@
<!-- <view style="font-size: 30rpx;">入驻审核</view> -->
</view>
</view>
<view style="position: absolute;top: 300rpx;left: 30rpx;z-index: 1;display: flex;" v-if="workArray.length">
<view style="position: absolute;top: 300rpx;left: 30rpx;z-index: 1;display: flex;align-items: center;" v-if="workArray.length">
<view class="shu"></view>
<view class="content-weight">长者列表</view>
</view>
@ -48,6 +48,14 @@
{{ item.nuId }}
</view>
</view>
<view style="display: flex;margin-left: 10rpx;align-items: center;margin-top: 10rpx;">
<!-- <view style="color: black;font-size: 28rpx;">
NUID
</view> -->
<view style="margin-left: 10rpx;font-size: 28rpx;color: #999;">
{{ item.departName }}
</view>
</view>
</view>
<view style="position: absolute;right: 20rpx;top: 60rpx;display: flex;align-items: center;">
<image style="height: 30rpx;width: 30rpx;"
@ -91,7 +99,7 @@
const special = ref(false);
const statusarray = ["loading", "success", "fail"]
// URL
onLoad((options) => {
onLoad(() => {
queryElders().then(res => {
workArray.value = res.result
@ -215,13 +223,10 @@
bottom: 30rpx;
right: 0;
}
.bgc-card {
margin-top: 200rpx;
margin-top: 120rpx;
// background-color: #F7F7F7;
width: 98%;
margin-left: 1%;
@ -471,7 +476,7 @@
margin: 3rpx 20rpx 0 30rpx;
}
.content-weight {
font-size: 32rpx;
font-size: 36rpx;
font-weight: 600;
}
</style>

View File

@ -17,11 +17,48 @@
<view v-for="(item,index) in menuArray" :key="index">
<swiper-item>
<view class="white-content-father">
<view class="chuo-ball" @click="loadingData" v-if="item.applyStatus==`1`">
<view class="chuo-ball" @click="loadingData" v-if="item.isInvited =='1' && item.applyStatus==`1`">
<image class="ball-img"
:src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
</view>
<view class="white-content" v-if="item.applyStatus==`1`">
<view class="white-content" v-if="item.isInvited =='0' && item.applyStatus==`1`">
<image class="white-content-img" style="height: 200rpx;"
:src="`https://www.focusnu.com/media/directive/index/yuangonginvited.png`"
lazy-load="false" />
<!-- <view class="white-font">
您提交的
</view> -->
<view class="second-font" style="margin-top: 350rpx;">
<text>
{{item.comName}}
</text>
</view>
<view class="second-font">
邀请您加入
<!-- <text style="color: #fa8622;">
正在审核中
</text> -->
</view>
<view style="margin-top: 60rpx;color: #999999;">
{{ item.orgLeader }} | {{ item.orgLeaderPhone }}
</view>
<view class="button-double">
<view class="double-left" @click="changeStatus(item,false)" >
拒绝
</view>
<view class="double-right" @click="changeStatus(item,true)">
接受
</view>
</view>
<!-- <view class="button-blue" @click="look(item)">
查看
</view>
<view class="button-blue" style="right: ;" @click="look(item)">
查看
</view> -->
</view>
<view class="white-content" v-if="item.isInvited =='1' && item.applyStatus==`1`">
<image class="white-content-img"
:src="`https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`"
lazy-load="false" />
@ -40,25 +77,12 @@
正在审核中
</text>
</view>
<!-- <view class="card-font" style="margin-top: 350rpx;">
{{item.departName}}
</view>
<view class="gray-font">
{{ item.comLegalPerson }} | {{ item.tel }} | {{ item.orgPropertyType }} | {{ item.orgBuildingArea + 'm²' }}
</view>
<view class="gray-bgc">
<view style="color: #999999;z-index: 1;font-size: 30rpx;width: 100%;">
{{item.comRegisterAddress}}
</view>
</view> -->
<view class="button-blue" @click="look(item)">
查看
</view>
</view>
<view class="white-content" v-if="item.applyStatus==`3`">
<view class="white-content" v-if="item.isInvited =='1' && item.applyStatus==`3`">
<image class="white-content-img"
:src="`https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`"
lazy-load="false" />
@ -78,28 +102,12 @@
审核不通过
</text>
</view>
<!-- <view class="card-font" style="margin-top: 350rpx;">
{{item.departName}}
</view>
<view class="gray-font">
{{ item.comLegalPerson }} | {{ item.tel }} | {{ item.orgPropertyType }} | {{ item.orgBuildingArea + 'm²' }}
</view>
<view class="gray-bgc">
<view style="color: #999999;z-index: 1;font-size: 27rpx;width: 100%;">
{{item.comRegisterAddress}}
</view>
</view> -->
<view class="button-blue-spec" @click="again(item)">
重新申请
</view>
<!-- <view class="button-white-spec" @click="jumptolist(item.content)">
驳回原因
</view> -->
</view>
<view style="z-index: 1;width: 100%;" v-if="item.applyStatus==`2`">
<view style="z-index: 1;width: 100%;" v-if=" item.applyStatus==`2`">
<view class="zhiling-box">
<view class="">
暂无指令
@ -108,10 +116,10 @@
src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view>
<view class="white-box-father">
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box" @click="clickButton(item,index)">
<image class="box-img"
:src="`https://www.focusnu.com/media/directive/index/addstaff/${index}.png`" />
<view class="box-font">{{item}}</view>
<view class="box-font">{{item0}}</view>
</view>
<view class="white-box">
@ -122,7 +130,7 @@
</view>
<view class="zhiling-box" v-if="item.applyStatus==`-1`">
<view class="zhiling-box" v-if="item.isInvited =='1' && item.applyStatus==`-1`">
<view class="zhiling-box">
<view class="">
暂无信息
@ -130,17 +138,10 @@
<image class="zhiling-img" v-show="false"
src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view>
<!-- <view style="display: flex;align-items: center;">
<view style="color: #999999;margin-right: 5rpx;">
更多
</view>
<image class="zhiling-img"
src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view> -->
</view>
<view class="white-content" style="margin: 0 auto;margin-top: 30rpx;height: 600rpx;"
<view class="white-content" style="margin: 0 auto;margin-top: 0rpx;height: 740rpx;"
v-if="item.applyStatus==`-1`">
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">
<view class="blue-shu"></view>
@ -203,7 +204,8 @@
} from '@/pages/addstaff/api/addjigou.js'
import {
getIndex,
isRead
isRead,
invitedConfirm
} from './api.js'
import request from '@/request/index.js'
import downMenu from '@/compontent/public/yuangongdownmenu.vue'
@ -213,7 +215,7 @@
const content = ref("");
const buttonArray = ref(["技能培训", "考勤排班", "每日工作", "员工功能", "员工功能", "员工功能", "员工功能"])
const buttonArray = ref(["技能培训", "考勤排班", "每日工作", "信息变更", "员工功能", "员工功能", "员工功能"])
const statusarray = ["loading", "success", "fail"]
const which = ref(0);
@ -372,10 +374,11 @@
getIndex(res.data).then(res => {
menuArray.value = []
res.result.forEach((element) => {
if (element.isInvited == 1 || (element.isInvited == 0 && element
.applyStatus == 2)) {
menuArray.value.push(element)
}
// if (element.isInvited == 1 || (element.isInvited == 0 && element
// .applyStatus == 2)) {
// menuArray.value.push(element)
// }
menuArray.value.push(element)
})
// menuArray.value = res.result
menuArray.value.push({
@ -396,6 +399,39 @@
})
}
const hong = ref(0);
const changeStatus = (item, status) => {
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
}
invitedConfirm(data).then(res => {
if (res.success) {
loadingData()
}
})
}
const clickButton = (item,index) =>{
console.log("????",item,index)
if(index === 3){
getMessageList().then(res => {
uni.setStorageSync("changeyuangongorgId", res.result[0].orgId)
uni.setStorageSync("baddata", res.result[0])
uni.setStorageSync('specicalid', res.result[0].id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addstaff/information`
});
// if (res.success) {
// uni.navigateTo({
// url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
// });
// }
})
}
}
onShow(() => {
loadingData();
isRead().then(res =>{
@ -555,7 +591,7 @@
width: 100%;
display: flex;
justify-content: center;
margin-top: 20rpx;
margin-top: 10rpx;
.white-bgc {
width: 100%;
@ -627,7 +663,7 @@
margin-top: 35rpx;
width: 20.7%;
margin-left: 3%;
height: 237rpx;
height: 280rpx;
background-color: #fff;
border-radius: 35rpx;
display: flex;
@ -695,7 +731,43 @@
margin-right: 15rpx;
background-color: black;
}
.button-double{
position: absolute;
bottom: 45rpx;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
height: 90rpx;
border-radius: 37rpx;
font-size: 33rpx;
margin-top: 80rpx;
.double-left{
width: 30%;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
background-color: #F7F7F7;
border-radius: 40rpx;
margin-left: 40rpx;
z-index: 999;
}
.double-right{
width: 30%;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
// background-color: #F7F7F7;
background: linear-gradient(to right,#00C9FF,#0076FF);
color: #fff;
border-radius: 40rpx;
margin-right: 40rpx;
z-index: 999;
}
}
.button-blue {
position: absolute;
bottom: 45rpx;

View File

@ -28,7 +28,7 @@
<view style="font-size: 32rpx;">{{item}}</view>
</view>
<view class="white-right">
<view style="font-size: 30rpx;margin-top: 0rpx;color: #777777;" v-if="!index">完善员工信息</view>
<!-- <view style="font-size: 30rpx;margin-top: 0rpx;color: #777777;" v-if="!index">完善员工信息</view> -->
<image class="white-right-imge" src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view>
</view>
@ -71,7 +71,7 @@
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = [`员工信息`, `入驻审核`, `机构邀请`, `员工功能`]
const cardMenu = [`审核列表`, `员工功能`]
const change = () => {
uni.navigateTo({
@ -87,43 +87,40 @@
const clickButton = (index) => {
switch (index) {
case 0:
loadingData()
changeData()
// loadingData()
// uni.navigateTo({
// url: `/pages/login/workjoinsuccess`
// });
break;
case 1:
changeData()
// changeData()
// uni.navigateTo({
// url: `/pages/login/workjoin`
// });
break;
case 2:
uni.navigateTo({
url:"/pages/yuangongindex/companyyaoqing"
});
// uni.navigateTo({
// url:"/pages/yuangongindex/companyyaoqing"
// });
break;
}
}
const loadingData = () => {
uni.getStorage({
key: 'openid',
success: function(res) {
getMessageList(res.data).then(res => {
if (res.success) {
uni.navigateTo({
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
});
}
})
getMessageList().then(res => {
console.log("?????", res.result[0])
if (res.success) {
uni.navigateTo({
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
});
}
});
})
}
const changeData = () => {
uni.navigateTo({
url:"/pages/yuangongindex/workjoin"
url: "/pages/yuangongindex/workjoin"
})
}
</script>

View File

@ -123,9 +123,13 @@
import { getOrgInfo, Apply } from './api.js'
import {
getMessageList
} from '@/pages/addstaff/api/addjigou.js'
onShow((() => {
search();
}))
const hulijigouArray = ref([])
const hulitarget = ref(-1)
@ -224,32 +228,57 @@
updateTime: null,
orgCode: hulijigouArray.value[hulitarget.value].orgCode
}
Apply(data).then((data : any) => {
if (data.success) {
uni.requestSubscribeMessage({
// templateId
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
success: (res) => {
popupshow.value = true
setTimeout(() => search(), 1000)
},
fail: (err) => {
console.error('订阅接口调用失败:', err);
uni.showToast({
title: '订阅失败',
icon: 'none'
});
}
getMessageList().then(res => {
// console.log("?????",res.result)
if (Array.isArray(res.result) && res.result.length === 0) {
//
uni.setStorageSync('nostaffmessage', hulijigouArray.value[hulitarget.value].orgCode);
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addstaff/information`
});
} else {
Apply(data).then((data : any) => {
if (data.success) {
uni.requestSubscribeMessage({
// templateId
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
success: (res) => {
popupshow.value = true
setTimeout(() => search(), 1000)
},
fail: (err) => {
console.error('订阅接口调用失败:', err);
uni.showToast({
title: '订阅失败',
icon: 'none'
});
}
});
}
setTimeout(() => sumbit.value = false, 1000)
})
}
setTimeout(() => sumbit.value = false, 1000)
// if (res.success) {
// uni.navigateTo({
// url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
// });
// }
})
}
// search()
</script>

View File

@ -4,7 +4,7 @@
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">入驻审核</view>
<view style="font-size: 30rpx;">审核列表</view>
</view>
</view>
<view class="index-up" v-if="workArray.length">

View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n</style>\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACQM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n</style>\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACQM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}

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 +1 @@
{"version":3,"file":"addjigou.js","sources":["pages/addstaff/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/employessAdvisiory/saveApiEmployess`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取员工信息\r\nexport function getMessageList(id){\r\n return request({\r\n url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${id}&status=1,2,3`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n// export function getMessageListsuccess(id){\r\n// return request({\r\n// url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,\r\n// \t\tmethod: 'get',\r\n// })\r\n// }\r\n// //获取省市区\r\n// export function getdate(id){\n// return request({\n// url: `/api/common/queryAreaDict?id=${id}`,\n// \t\tmethod: 'get',\n// })\n// }\r\n\r\n// //将地址id转换成汉字\r\n// export function getrel(id){\n// return request({\n// url: `/api/common/queryAreaNameById?id=${id}`,\n// \t\tmethod: 'get',\n// })\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,IAAG;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wDAAwD,EAAE;AAAA,IACrE,QAAQ;AAAA,EACV,CAAK;AACL;;;"}
{"version":3,"file":"addjigou.js","sources":["pages/addstaff/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/employessAdvisiory/saveApiEmployess`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取员工信息\r\nexport function getMessageList(id){\r\n return request({\r\n url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${uni.getStorageSync('openid')}&status=1,2,3`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//向机构申请\r\nexport function Apply(data){\r\n return request({\r\n url: `/api/employessapply/apply`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n// export function getMessageListsuccess(id){\r\n// return request({\r\n// url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,\r\n// \t\tmethod: 'get',\r\n// })\r\n// }\r\n// //获取省市区\r\n// export function getdate(id){\n// return request({\n// url: `/api/common/queryAreaDict?id=${id}`,\n// \t\tmethod: 'get',\n// })\n// }\r\n\r\n// //将地址id转换成汉字\r\n// export function getrel(id){\n// return request({\n// url: `/api/common/queryAreaNameById?id=${id}`,\n// \t\tmethod: 'get',\n// })\n// }"],"names":["request","uni"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,IAAG;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wDAAwDC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC/F,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,MAAM,MAAK;AACvB,SAAOD,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,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

View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["pages/oldmanindex/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//向机构申请\r\nexport function Apply(data){\r\n return request({\r\n url: `/api/employessapply/apply`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//向机构接受拒绝\r\nexport function invitedConfirm(data){\r\n return request({\r\n url: `/api/employessapply/invitedConfirm`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//获取机构的列表\r\nexport function getOrgInfo(title){\r\n return request({\r\n url: `/api/employessapply/getOrgInfo?title=${title}&pageSize=-1&openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取审核的列表\r\nexport function getEmployeesOrgRela(openId){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=1`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n\r\n\r\n//机构邀请\r\nexport function getInvited(openId){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=0`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//单独机构邀请\r\nexport function getId(id){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${uni.getStorageSync('openid')}&invited=0&id=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//机构邀请\r\nexport function getNotice(openId){\r\n return request({\r\n url: `/api/wx/notice/query?openId=${uni.getStorageSync('openid')}&clientType=3`,\r\n\t\tmethod: 'get',\r\n\t\t// data: JSON.stringify({ openId: uni.getStorageSync('openid') }) // 把 body 串行化,强行放 data\r\n })\r\n}\r\n\r\n//检测有没有已读\r\nexport function isRead(openId){\r\n return request({\r\n url: `/api/wx/notice/unreadCount?openId=${uni.getStorageSync('openid')}&clientType=3`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n \r\n//向机构申请\r\nexport function upRead(data){\r\n return request({\r\n url: `/api/wx/notice/upRead`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n} \r\n\r\n\r\n\r\n//获取机构的列表\r\nexport function getOrgNuId(nuId){\r\n return request({\r\n url: `/api/elderInfo/getOrgInfo?nuId=${nuId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取base\r\nexport function getAccount(orgCode){\r\n return request({\r\n url: `/api/baseInfo/getOrgApiAddress?orgCode=${orgCode}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//主页\r\nexport function getIndex(openId){\r\n return request({\r\n url: `/api/nuBaseInfo/elderHomeList?openId=${openId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//老人列表\r\nexport function queryElders(openId){\r\n return request({\r\n url: `/api/elderInfo/queryElders?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n"],"names":["request","uni"],"mappings":";;;AAKO,SAAS,MAAM,MAAK;AACvB,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,eAAe,MAAK;AAChC,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,WAAW,OAAM;AAC7B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wCAAwC,KAAK,uBAAuBC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC3G,QAAQ;AAAA,EACV,CAAK;AACL;AAaO,SAAS,WAAW,QAAO;AAC9B,SAAOD,sBAAQ;AAAA,IACX,KAAK,kDAAkD,MAAM;AAAA,IACnE,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,MAAM,IAAG;AACrB,SAAOA,sBAAQ;AAAA,IACX,KAAK,kDAAkDC,oBAAI,eAAe,QAAQ,CAAC,iBAAiB,EAAE;AAAA,IAC5G,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,UAAU,QAAO;AAC7B,SAAOD,sBAAQ;AAAA,IACX,KAAK,+BAA+BC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACtE,QAAQ;AAAA;AAAA,EAEV,CAAK;AACL;AAGO,SAAS,OAAO,QAAO;AAC1B,SAAOD,sBAAQ;AAAA,IACX,KAAK,qCAAqCC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC5E,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,OAAO,MAAK;AACxB,SAAOD,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAKO,SAAS,WAAW,MAAK;AAC5B,SAAOA,sBAAQ;AAAA,IACX,KAAK,kCAAkC,IAAI;AAAA,IACjD,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,WAAW,SAAQ;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK,0CAA0C,OAAO;AAAA,IAC5D,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,SAAS,QAAO;AAC5B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wCAAwC,MAAM;AAAA,IACzD,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,YAAY,QAAO;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK,qCAAqCC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC5E,QAAQ;AAAA,EACV,CAAK;AACL;;;;;;;;;;;;;"}
{"version":3,"file":"api.js","sources":["pages/oldmanindex/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//向机构申请\r\nexport function Apply(data){\r\n return request({\r\n url: `/api/employessapply/apply`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//向机构接受拒绝\r\nexport function invitedConfirm(data){\r\n return request({\r\n url: `/api/employessapply/invitedConfirm`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//获取机构的列表\r\nexport function getOrgInfo(title){\r\n return request({\r\n url: `/api/employessapply/getOrgInfo?title=${title}&pageSize=-1&openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取审核的列表\r\nexport function getEmployeesOrgRela(openId){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=1`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n\r\n\r\n//机构邀请\r\nexport function getInvited(openId){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=0`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//单独机构邀请\r\nexport function getId(id){\r\n return request({\r\n url: `/api/employessapply/getEmployeesOrgRela?openId=${uni.getStorageSync('openid')}&invited=0&id=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//机构邀请\r\nexport function getNotice(openId){\r\n return request({\r\n url: `/api/wx/notice/query?openId=${uni.getStorageSync('openid')}&clientType=3`,\r\n\t\tmethod: 'get',\r\n\t\t// data: JSON.stringify({ openId: uni.getStorageSync('openid') }) // 把 body 串行化,强行放 data\r\n })\r\n}\r\n\r\n//检测有没有已读\r\nexport function isRead(openId){\r\n return request({\r\n url: `/api/wx/notice/unreadCount?openId=${uni.getStorageSync('openid')}&clientType=3`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n \r\n//向机构申请\r\nexport function upRead(data){\r\n return request({\r\n url: `/api/wx/notice/upRead`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n} \r\n\r\n\r\n\r\n//获取机构的列表\r\nexport function getOrgNuId(nuId){\r\n return request({\r\n url: `/api/elderInfo/getOrgInfo?nuId=${nuId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取base\r\nexport function getAccount(orgCode){\r\n return request({\r\n url: `/api/baseInfo/getOrgApiAddress?orgCode=${orgCode}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//主页\r\nexport function getIndex(openId){\r\n return request({\r\n url: `/api/nuBaseInfo/elderHomeList?openId=${openId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//老人列表\r\nexport function queryElders(elderId){\r\n return request({\r\n url: `/api/elderInfo/queryElders?openId=${uni.getStorageSync('openid')}&elderId=${elderId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//付款列表\r\nexport function payMoneyList(openId){\r\n return request({\r\n url: `/api/nuBaseInfo/queryBillList?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n"],"names":["request","uni"],"mappings":";;;AAqDO,SAAS,UAAU,QAAO;AAC7B,SAAOA,sBAAQ;AAAA,IACX,KAAK,+BAA+BC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACtE,QAAQ;AAAA;AAAA,EAEV,CAAK;AACL;AAGO,SAAS,OAAO,QAAO;AAC1B,SAAOD,sBAAQ;AAAA,IACX,KAAK,qCAAqCC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC5E,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,OAAO,MAAK;AACxB,SAAOD,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAKO,SAAS,WAAW,MAAK;AAC5B,SAAOA,sBAAQ;AAAA,IACX,KAAK,kCAAkC,IAAI;AAAA,IACjD,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,WAAW,SAAQ;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK,0CAA0C,OAAO;AAAA,IAC5D,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,SAAS,QAAO;AAC5B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wCAAwC,MAAM;AAAA,IACzD,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,YAAY,SAAQ;AAChC,SAAOA,sBAAQ;AAAA,IACX,KAAK,qCAAqCC,oBAAI,eAAe,QAAQ,CAAC,YAAY,OAAO;AAAA,IAC/F,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,aAAa,QAAO;AAChC,SAAOD,sBAAQ;AAAA,IACX,KAAK,wCAAwCC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IAC/E,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

@ -27,7 +27,6 @@ if (!Math) {
"./pages/yuangongindex/index.js";
"./pages/yuangongindex/mine.js";
"./pages/oldmanindex/account.js";
"./pages/oldmanindex/searchjigou.js";
"./pages/oldmanindex/input.js";
"./pages/oldmanindex/protocol.js";
"./pages/oldmanindex/oldmansuccess.js";
@ -35,10 +34,8 @@ if (!Math) {
"./pages/oldmanindex/saoyisao.js";
"./pages/oldmanindex/saoyisaothen.js";
"./pages/oldmanindex/workjoin.js";
"./pages/oldmanindex/moneylist.js";
"./pages/oldmanindex/message.js";
"./pages/oldmanindex/companyyaoqing.js";
"./pages/oldmanindex/simpleyaoqing.js";
"./pages/oldmanindex/company.js";
"./pages/oldmanindex/index.js";
"./pages/oldmanindex/mine.js";
"./pages/addoldman/hukou.js";

View File

@ -24,7 +24,6 @@
"pages/yuangongindex/index",
"pages/yuangongindex/mine",
"pages/oldmanindex/account",
"pages/oldmanindex/searchjigou",
"pages/oldmanindex/input",
"pages/oldmanindex/protocol",
"pages/oldmanindex/oldmansuccess",
@ -32,10 +31,8 @@
"pages/oldmanindex/saoyisao",
"pages/oldmanindex/saoyisaothen",
"pages/oldmanindex/workjoin",
"pages/oldmanindex/moneylist",
"pages/oldmanindex/message",
"pages/oldmanindex/companyyaoqing",
"pages/oldmanindex/simpleyaoqing",
"pages/oldmanindex/company",
"pages/oldmanindex/index",
"pages/oldmanindex/mine",
"pages/addoldman/hukou",

View File

@ -7052,7 +7052,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.2.22,127.0.0.1";
const port = "8090";
const id = "mp-weixin_hLd7ll";
const id = "mp-weixin_q7ALHx";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@ -62,8 +62,9 @@ const _sfc_main = {
});
} else {
if (common_vendor.index.getStorageSync("allinfo").name) {
from.id = common_vendor.index.getStorageSync("allinfo").id;
pages_addoldman_api_api.changePayer(form).then((res) => {
common_vendor.index.__f__("log", "at pages/addoldman/IDcard.vue:126", "res", res);
common_vendor.index.__f__("log", "at pages/addoldman/IDcard.vue:128", "res", res);
if (res.success) {
api_loginApi.getMessage(common_vendor.index.getStorageSync("openid")).then((res2) => {
common_vendor.index.setStorageSync("allinfo", res2.result);

View File

@ -25,10 +25,16 @@ const _sfc_main = {
fontSize: 40
}];
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const antherArray = ["姓名", "电话", "身份证号", "家庭地址", "工作单位"];
const textArray = common_vendor.reactive(["", "", "", "", "", "", "", ""]);
const anthertextArray = common_vendor.reactive(["", "", "", "", ""]);
common_vendor.reactive(["", "", "", "", ""]);
const guanxi = common_vendor.ref("");
const form = common_vendor.reactive({
name: "",
idCard: "",
tel: "",
homeAddress: "",
workUnit: ""
});
const fontphoto = common_vendor.ref("");
const endphoto = common_vendor.ref("");
common_vendor.ref(0);
@ -74,7 +80,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addoldman/oldIDcard.vue:213", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addoldman/oldIDcard.vue:244", "拍照失败:", err);
}
});
}
@ -210,6 +216,12 @@ const _sfc_main = {
show.value = true;
}
};
function isValid11DigitNumber(val) {
return /^(\d{11})$/.test(val);
}
function isValid18DigitNumber(val) {
return /^(\d{18})$/.test(val);
}
const next = () => {
if (!fontphoto.value) {
common_vendor.index.showToast({
@ -229,6 +241,48 @@ const _sfc_main = {
icon: "none"
});
return;
} else if (!form.name) {
common_vendor.index.showToast({
title: "请填写监护人姓名",
icon: "none"
});
return;
} else if (!form.tel) {
common_vendor.index.showToast({
title: "请填写监护人电话",
icon: "none"
});
return;
} else if (!isValid11DigitNumber(form.tel)) {
common_vendor.index.showToast({
title: "监护人电话格式错误",
icon: "none"
});
return;
} else if (!form.idCard) {
common_vendor.index.showToast({
title: "请填写身份证号",
icon: "none"
});
return;
} else if (!isValid18DigitNumber(form.idCard)) {
common_vendor.index.showToast({
title: "身份证号格式错误",
icon: "none"
});
return;
} else if (!form.homeAddress) {
common_vendor.index.showToast({
title: "请填写家庭住址",
icon: "none"
});
return;
} else if (!form.workUnit) {
common_vendor.index.showToast({
title: "请填写工作单位",
icon: "none"
});
return;
}
const allNonEmpty = textArray.every((item) => {
return item !== "";
@ -254,8 +308,8 @@ const _sfc_main = {
data.startTime = start;
data.endTime = compontent_public_long.swapLongTerm(end);
data.sysOrgCode = common_vendor.index.getStorageSync("oldman").orgCode;
let res = common_vendor.index.getStorageSync("allinfo");
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:418", "!!!!!!!!!", res);
let res = form;
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:499", "!!!!!!!!!", res);
data.guardianName = res.name;
data.relationship = guanxi.value;
data.guardianIdCard = res.idCard;
@ -263,7 +317,8 @@ const _sfc_main = {
data.guardianHomeAddress = res.homeAddress;
data.guardianWorkUnit = res.workUnit;
data.guardianOpenId = common_vendor.index.getStorageSync("openid");
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:431", "?????", data);
data.guardianId = common_vendor.index.getStorageSync("allinfo").id;
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:513", "?????", data);
if (id.value) {
data.id = id.value;
const urlpost = `${payurl.value}/api/elderInfo/updateElderInfo`;
@ -281,11 +336,11 @@ const _sfc_main = {
});
},
fail: (e) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:450", "????", e);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:532", "????", e);
}
});
} else {
const urlpost = `${payurl.value}/api/elderInfo/addElder?type=0`;
const urlpost = `${payurl.value}/api/elderInfo/addElder`;
common_vendor.index.request({
url: urlpost,
method: "POST",
@ -295,6 +350,17 @@ const _sfc_main = {
},
data,
success: (r) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:547", "r", r);
if (r.data.code != 200) {
common_vendor.index.showToast({
title: r.data.message,
icon: "none",
// 'success' 成功图标,'none' 无图标
duration: 2e3
// 显示时长 ms
});
return;
}
const connectinon = {
nuId: data.nuId,
openId: common_vendor.index.getStorageSync("openid"),
@ -344,12 +410,7 @@ const _sfc_main = {
}
common_vendor.onLoad(() => {
payurl.value = request_index.base_url;
let res = common_vendor.index.getStorageSync("allinfo");
anthertextArray[0] = res.name;
anthertextArray[1] = res.idCard;
anthertextArray[2] = res.tel;
anthertextArray[3] = res.homeAddress;
anthertextArray[4] = res.workUnit;
common_vendor.index.getStorageSync("allinfo");
if (common_vendor.index.getStorageSync("specicalid")) {
let data = common_vendor.index.getStorageSync("baddata");
fontphoto.value = data.idCardPositive;
@ -403,18 +464,20 @@ const _sfc_main = {
}),
m: guanxi.value,
n: common_vendor.o(($event) => guanxi.value = $event.detail.value),
o: common_vendor.f(antherArray, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.t(anthertextArray[index] ? anthertextArray[index] : "自动获取"),
c: index,
d: common_vendor.o(($event) => openLook(anthertextArray[index]), index)
};
}),
p: common_vendor.o(next),
q: common_vendor.o(photoclick),
r: common_vendor.o(($event) => bottomshow.value = $event),
s: common_vendor.p({
o: form.name,
p: common_vendor.o(($event) => form.name = $event.detail.value),
q: form.tel,
r: common_vendor.o(($event) => form.tel = $event.detail.value),
s: form.idCard,
t: common_vendor.o(($event) => form.idCard = $event.detail.value),
v: form.homeAddress,
w: common_vendor.o(($event) => form.homeAddress = $event.detail.value),
x: form.workUnit,
y: common_vendor.o(($event) => form.workUnit = $event.detail.value),
z: common_vendor.o(next),
A: common_vendor.o(photoclick),
B: common_vendor.o(($event) => bottomshow.value = $event),
C: common_vendor.p({
list: bottomlist,
modelValue: bottomshow.value
})

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
"use strict";
require("../../../common/vendor.js");
const common_vendor = require("../../../common/vendor.js");
const request_index = require("../../../request/index.js");
function changemessage(data) {
return request_index.request({
@ -10,10 +10,18 @@ function changemessage(data) {
}
function getMessageList(id) {
return request_index.request({
url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${id}&status=1,2,3`,
url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${common_vendor.index.getStorageSync("openid")}&status=1,2,3`,
method: "get"
});
}
function Apply(data) {
return request_index.request({
url: `/api/employessapply/apply`,
method: "post",
data
});
}
exports.Apply = Apply;
exports.changemessage = changemessage;
exports.getMessageList = getMessageList;
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/addstaff/api/addjigou.js.map

View File

@ -68,7 +68,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addstaff/healthcertificate.vue:200", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addstaff/healthcertificate.vue:206", "拍照失败:", err);
}
});
}
@ -114,30 +114,10 @@ const _sfc_main = {
data.qualificationPath = imgArray[2];
data.noCrimeCertificate = imgArray[3];
data.endTime = compontent_public_long.swapLongTerm(data.endTime);
data.orgId = common_vendor.index.getStorageSync("changeyuangongorgId");
pages_addstaff_api_addjigou.changemessage(data).then((res) => {
if (res.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: ["yvvhlRft1CAdtU-dWlCW8U63VnTwRU8w3gR0BUdqcWw"],
success: (res2) => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.reLaunch({
url: `/pages/addstaff/successpush`
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addstaff/healthcertificate.vue:268", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
});
}
});
} else {
common_vendor.index.showToast({
title: res.message,
icon: "error"
});
gopush();
}
});
};
@ -156,6 +136,76 @@ const _sfc_main = {
imgArray[3] = data.noCrimeCertificate;
}
});
const gopush = () => {
if (common_vendor.index.getStorageSync("nostaffmessage")) {
pages_addstaff_api_addjigou.getMessageList().then((res) => {
if (res.success) {
let data = res.result[0];
data = {
...data,
dateOfBirth: data.birthDate,
marriedOrNot: data.maritalStatus,
address: data.address,
emergencyContact: data.contactName,
emergencyTel: data.contactTel,
emergencyRelationship: data.contactRelationship,
hukouNature: data.hukouType,
idCardPositive: data.cardZmPath,
idCardNegative: data.cardFmPath,
healthCertificatePositive: data.healthZmPath,
healthCertificateNegative: data.healthFmPath,
bankPositive: data.bankZmPath,
bankNegative: data.bankFmPath,
qualification: data.qualificationPath,
noCrimeCertificate: data.noCrimeCertificate,
houseAddress: data.idCardAddress,
employeeId: data.id,
id: null,
createTime: null,
updateBy: null,
updateTime: null,
orgCode: common_vendor.index.getStorageSync("nostaffmessage")
};
pages_addstaff_api_addjigou.Apply(data).then((data2) => {
if (data2.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: [
"cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww"
],
success: (res2) => {
common_vendor.index.setStorageSync(
"nostaffmessage",
""
);
common_vendor.index.reLaunch({
url: `/pages/addstaff/successpush`
});
},
fail: (err) => {
common_vendor.index.setStorageSync(
"nostaffmessage",
""
);
common_vendor.index.reLaunch({
url: `/pages/addstaff/successpush`
});
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
});
}
});
}
});
}
});
} else {
common_vendor.index.reLaunch({
url: `/pages/addstaff/successpush`
});
}
};
const goBack = () => {
if (!uping.value) {
return;

View File

@ -1 +1 @@
<view class="container data-v-bef94c05"><model wx:if="{{b}}" class="data-v-bef94c05" bindclose="{{a}}" u-i="bef94c05-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-bef94c05"><view class="left-father data-v-bef94c05" bindtap="{{c}}"><image class="back-img data-v-bef94c05" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-bef94c05" style="font-size:30rpx">入职登记表</view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">健康证</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{g}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">健康证正面</view><view class="photo-font data-v-bef94c05">请上传健康证正面</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{d}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{e}}"/><image wx:if="{{f}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">资质证</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{k}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">资质证</view><view class="photo-font data-v-bef94c05">请上传资质证</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{h}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{i}}"/><image wx:if="{{j}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">无犯罪证明</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{o}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">无犯罪证明</view><view class="photo-font data-v-bef94c05">请上传无犯罪证明</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{l}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{m}}"/><image wx:if="{{n}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="data-v-bef94c05" style="display:flex;width:100%;padding:0 10%;justify-content:space-between;margin-top:40rpx"><view class="back-button data-v-bef94c05" bindtap="{{p}}"> 返回上一步 </view><view class="finish-button data-v-bef94c05" bindtap="{{q}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{t}}" class="data-v-bef94c05" bindclick="{{r}}" u-i="bef94c05-1" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></u-action-sheet></view>
<view class="container data-v-bef94c05"><model wx:if="{{b}}" class="data-v-bef94c05" bindclose="{{a}}" u-i="bef94c05-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-bef94c05"><view class="left-father data-v-bef94c05" bindtap="{{c}}"><image class="back-img data-v-bef94c05" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-bef94c05" style="font-size:30rpx">入职登记表</view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">健康证</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{g}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">健康证正面</view><view class="photo-font data-v-bef94c05">请上传健康证正面</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{d}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{e}}"/><image wx:if="{{f}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">资质证</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{k}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">资质证</view><view class="photo-font data-v-bef94c05">请上传资质证</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{h}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{i}}"/><image wx:if="{{j}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="white-content data-v-bef94c05"><view class="content-title data-v-bef94c05"><view class="shu data-v-bef94c05"></view><view class="content-weight data-v-bef94c05">无犯罪证明</view><view class="data-v-bef94c05" style="margin-top:8rpx;margin-left:12rpx;font-size:23rpx">(选填)</view></view><view class="white-photo data-v-bef94c05" bindtap="{{o}}"><view class="photo-left data-v-bef94c05"><view class="photo-weight data-v-bef94c05">无犯罪证明</view><view class="photo-font data-v-bef94c05">请上传无犯罪证明</view></view><view class="data-v-bef94c05" style="position:relative"><image class="photo data-v-bef94c05" src="{{l}}"/><image class="data-v-bef94c05" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{m}}"/><image wx:if="{{n}}" class="data-v-bef94c05" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view></view><view class="data-v-bef94c05" style="display:flex;width:100%;padding:0 10%;justify-content:space-between;margin-top:40rpx"><view class="back-button data-v-bef94c05" bindtap="{{p}}"> 返回上一步 </view><view class="finish-button data-v-bef94c05" bindtap="{{q}}"> 确认 </view></view><u-action-sheet wx:if="{{t}}" class="data-v-bef94c05" bindclick="{{r}}" u-i="bef94c05-1" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></u-action-sheet></view>

View File

@ -57,7 +57,7 @@ const _sfc_main = {
});
},
fail(err) {
common_vendor.index.__f__("error", "at pages/login/callback.vue:79", "获取 code 失败:", err);
common_vendor.index.__f__("error", "at pages/login/callback.vue:81", "获取 code 失败:", err);
}
});
};

View File

@ -83,14 +83,14 @@ const _sfc_main = {
common_vendor.index.exitMiniProgram({});
};
const phone = common_vendor.ref("");
const op0 = common_vendor.ref(false);
const op1 = common_vendor.ref(false);
const op2 = common_vendor.ref(false);
const op0 = common_vendor.ref(0);
const op1 = common_vendor.ref(0);
const op2 = common_vendor.ref(0);
common_vendor.onLoad(() => {
phone.value = common_vendor.index.getStorageSync("tel");
op0.value = common_vendor.index.getStorageSync("izJs");
op1.value = common_vendor.index.getStorageSync("izYg");
op2.value = common_vendor.index.getStorageSync("izJg");
op0.value = 1;
op1.value = 1;
op2.value = 1;
});
return (_ctx, _cache) => {
return common_vendor.e({

View File

@ -83,14 +83,14 @@ const _sfc_main = {
});
};
const phone = common_vendor.ref("");
const op0 = common_vendor.ref(false);
const op1 = common_vendor.ref(false);
const op2 = common_vendor.ref(false);
const op0 = common_vendor.ref(0);
const op1 = common_vendor.ref(0);
const op2 = common_vendor.ref(0);
common_vendor.onLoad(() => {
phone.value = common_vendor.index.getStorageSync("tel");
op0.value = common_vendor.index.getStorageSync("izJs");
op1.value = common_vendor.index.getStorageSync("izYg");
op2.value = common_vendor.index.getStorageSync("izJg");
op0.value = 1;
op1.value = 1;
op2.value = 1;
});
return (_ctx, _cache) => {
return common_vendor.e({

View File

@ -38,9 +38,11 @@ const _sfc_main = {
});
};
return (_ctx, _cache) => {
return {
return common_vendor.e({
a: common_vendor.o(goBack),
b: common_vendor.f(workArray.value, (item, index, i0) => {
b: !workArray.value.length
}, !workArray.value.length ? {} : {}, {
c: common_vendor.f(workArray.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.comName),
b: item.franchiseTime
@ -61,7 +63,7 @@ const _sfc_main = {
k: index
});
})
};
});
};
}
};

View File

@ -1 +1 @@
<view class="login-container data-v-808c8183"><view class="title-back data-v-808c8183"><view class="left-father data-v-808c8183" bindtap="{{a}}"><image class="back-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-808c8183" style="font-size:30rpx">加盟审核</view></view></view><view class="index-up data-v-808c8183"><image class="index-up-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="bgc-card data-v-808c8183"><view class="under-scroll data-v-808c8183"><view wx:for="{{b}}" wx:for-item="item" wx:key="k" class="data-v-808c8183"><view class="white-small data-v-808c8183" bindtap="{{item.j}}"><view class="data-v-808c8183" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-808c8183"><view class="data-v-808c8183" style="margin-top:45rpx"><view class=" data-v-808c8183"><text wx:if="{{item.b}}" class="data-v-808c8183" style="color:#999"> 加盟日期:</text><text wx:if="{{item.c}}" class="data-v-808c8183">{{item.d}}</text><text wx:if="{{item.e}}" class="data-v-808c8183" style="color:#999"> 申请日期:</text><text wx:if="{{item.f}}" class="data-v-808c8183">{{item.g}}</text></view><view class="data-v-808c8183" style="margin-top:10rpx"><text class="data-v-808c8183" style="color:#999"> 审核日期:</text>{{item.h}}</view></view><view class=" data-v-808c8183"></view><image class="bottom-img data-v-808c8183" src="{{item.i}}"/></view></view></view></view></view></view>
<view class="login-container data-v-808c8183"><view class="title-back data-v-808c8183"><view class="left-father data-v-808c8183" bindtap="{{a}}"><image class="back-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-808c8183" style="font-size:30rpx">加盟审核</view></view></view><view class="index-up data-v-808c8183"><image class="index-up-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="bgc-card data-v-808c8183"><view wx:if="{{b}}" class="none data-v-808c8183"><image class="data-v-808c8183" style="width:300rpx;height:300rpx" src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false"/><view class=" data-v-808c8183">暂无加盟审核</view></view><view class="under-scroll data-v-808c8183"><view wx:for="{{c}}" wx:for-item="item" wx:key="k" class="data-v-808c8183"><view class="white-small data-v-808c8183" bindtap="{{item.j}}"><view class="data-v-808c8183" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-808c8183"><view class="data-v-808c8183" style="margin-top:45rpx"><view class=" data-v-808c8183"><text wx:if="{{item.b}}" class="data-v-808c8183" style="color:#999"> 加盟日期:</text><text wx:if="{{item.c}}" class="data-v-808c8183">{{item.d}}</text><text wx:if="{{item.e}}" class="data-v-808c8183" style="color:#999"> 申请日期:</text><text wx:if="{{item.f}}" class="data-v-808c8183">{{item.g}}</text></view><view class="data-v-808c8183" style="margin-top:10rpx"><text class="data-v-808c8183" style="color:#999"> 审核日期:</text>{{item.h}}</view></view><view class=" data-v-808c8183"></view><image class="bottom-img data-v-808c8183" src="{{item.i}}"/></view></view></view></view></view></view>

View File

@ -73,6 +73,7 @@
border-top-right-radius: 30rpx;
min-height: calc(100vh - 650rpx);
z-index: 1;
position: relative;
}
.index-up.data-v-808c8183 {
position: absolute;
@ -151,4 +152,14 @@
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
}
.none.data-v-808c8183 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
flex-direction: column;
color: #999;
}

View File

@ -1,38 +1,6 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
function Apply(data) {
return request_index.request({
url: `/api/employessapply/apply`,
method: "post",
data
});
}
function invitedConfirm(data) {
return request_index.request({
url: `/api/employessapply/invitedConfirm`,
method: "post",
data
});
}
function getOrgInfo(title) {
return request_index.request({
url: `/api/employessapply/getOrgInfo?title=${title}&pageSize=-1&openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
function getInvited(openId) {
return request_index.request({
url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=0`,
method: "get"
});
}
function getId(id) {
return request_index.request({
url: `/api/employessapply/getEmployeesOrgRela?openId=${common_vendor.index.getStorageSync("openid")}&invited=0&id=${id}`,
method: "get"
});
}
function getNotice(openId) {
return request_index.request({
url: `/api/wx/notice/query?openId=${common_vendor.index.getStorageSync("openid")}&clientType=3`,
@ -71,22 +39,24 @@ function getIndex(openId) {
method: "get"
});
}
function queryElders(openId) {
function queryElders(elderId) {
return request_index.request({
url: `/api/elderInfo/queryElders?openId=${common_vendor.index.getStorageSync("openid")}`,
url: `/api/elderInfo/queryElders?openId=${common_vendor.index.getStorageSync("openid")}&elderId=${elderId}`,
method: "get"
});
}
function payMoneyList(openId) {
return request_index.request({
url: `/api/nuBaseInfo/queryBillList?openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
exports.Apply = Apply;
exports.getAccount = getAccount;
exports.getId = getId;
exports.getIndex = getIndex;
exports.getInvited = getInvited;
exports.getNotice = getNotice;
exports.getOrgInfo = getOrgInfo;
exports.getOrgNuId = getOrgNuId;
exports.invitedConfirm = invitedConfirm;
exports.isRead = isRead;
exports.payMoneyList = payMoneyList;
exports.queryElders = queryElders;
exports.upRead = upRead;
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/api.js.map

View File

@ -1,29 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "company",
setup(__props) {
const goBack = () => {
common_vendor.index.navigateBack();
};
const text = common_vendor.ref("");
common_vendor.onLoad((options) => {
text.value = JSON.parse(options.element);
common_vendor.index.__f__("log", "at pages/oldmanindex/company.vue:46", "???", text.value);
});
return (_ctx, _cache) => {
return {
a: common_vendor.o(goBack),
b: common_vendor.t(text.value.departName),
c: common_vendor.t(text.value.comLegalPerson),
d: common_vendor.t(text.value.tel),
e: common_vendor.t(text.value.orgPropertyType),
f: common_vendor.t(text.value.orgBuildingArea + "m²"),
g: common_vendor.t(text.value.comRegisterAddress)
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bcf1f1cb"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/company.js.map

View File

@ -1,4 +0,0 @@
{
"navigationBarTitleText": "公司详情",
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="container data-v-bcf1f1cb"><view class="title-back data-v-bcf1f1cb"><view class="left-father data-v-bcf1f1cb" bindtap="{{a}}"><image class="back-img data-v-bcf1f1cb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-bcf1f1cb" style="font-size:30rpx">公司详情</view></view></view><view class="card-font data-v-bcf1f1cb">{{b}}</view><view class="gray-font data-v-bcf1f1cb">{{c}} | {{d}} | {{e}} | {{f}}</view><view class="gray-bgc data-v-bcf1f1cb"><view class="data-v-bcf1f1cb" style="color:#999999;z-index:1;font-size:30rpx;width:100%">{{g}}</view></view></view>

View File

@ -1,77 +0,0 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-bcf1f1cb {
width: 100%;
}
.container .title-back.data-v-bcf1f1cb {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.container .left-father.data-v-bcf1f1cb {
display: flex;
align-items: center;
z-index: 1;
}
.container .left-father .back-img.data-v-bcf1f1cb {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.card-font.data-v-bcf1f1cb {
margin-left: 40rpx;
font-size: 30rpx;
margin-top: 30rpx;
}
.gray-font.data-v-bcf1f1cb {
margin-left: 40rpx;
font-size: 29rpx;
margin-top: 5rpx;
margin-bottom: 5rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc.data-v-bcf1f1cb {
margin: 20rpx 40rpx;
width: 90%;
height: 75rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
}
.gray-bgc .gray-img.data-v-bcf1f1cb {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}

View File

@ -1,106 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_oldmanindex_api = require("./api.js");
if (!Math) {
queren();
}
const queren = () => "./queren.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "companyyaoqing",
setup(__props) {
const hulijigouArray = common_vendor.ref([]);
const hulitarget = common_vendor.ref(-1);
common_vendor.ref(false);
common_vendor.ref("");
const querenshow = common_vendor.ref(false);
const buttonOpen = common_vendor.ref(false);
const goBack = () => {
common_vendor.index.navigateBack();
};
const search = () => {
buttonOpen.value = false;
hulitarget.value = -1;
pages_oldmanindex_api.getInvited(common_vendor.index.getStorageSync("openid")).then((res) => {
if (res.success) {
hulijigouArray.value = res.result;
}
});
};
common_vendor.ref(false);
const saveitem = common_vendor.ref({
employeesId: "",
orgCode: ""
});
const changeStatus = (item, status) => {
if (!status) {
querenshow.value = true;
saveitem.value = {
employeesId: item.employeesId,
orgCode: item.orgCode
};
return;
}
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
};
pages_oldmanindex_api.invitedConfirm(data).then((res) => {
if (res.success) {
search();
}
});
};
const querensecond = () => {
querenshow.value = false;
let data = {
employeeId: saveitem.value.employeesId,
status: 3,
orgCode: saveitem.value.orgCode
};
pages_oldmanindex_api.invitedConfirm(data).then((res) => {
if (res.success) {
search();
}
});
};
search();
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: !hulijigouArray.value.length
}, !hulijigouArray.value.length ? {} : {}, {
c: common_vendor.f(hulijigouArray.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.departName),
b: common_vendor.t(item.comLegalPerson),
c: common_vendor.t(item.tel),
d: item.applyStatus === `1`
}, item.applyStatus === `1` ? {} : {}, {
e: item.applyStatus === `2`
}, item.applyStatus === `2` ? {} : {}, {
f: item.applyStatus === `3`
}, item.applyStatus === `3` ? {} : {}, {
g: common_vendor.t(item.comRegisterAddress),
h: item.applyStatus === `1`
}, item.applyStatus === `1` ? {
i: common_vendor.o(($event) => changeStatus(item, true), index),
j: common_vendor.o(($event) => changeStatus(item, false), index)
} : {}, {
k: index,
l: hulitarget.value === index ? "4rpx solid #0093FF" : "none",
m: item.applyStatus == 1 ? "370rpx" : "330rpx"
});
}),
d: common_vendor.o(($event) => querenshow.value = false),
e: common_vendor.o(querensecond),
f: common_vendor.p({
show: querenshow.value
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2b078f5f"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/companyyaoqing.js.map

View File

@ -1,6 +0,0 @@
{
"navigationBarTitleText": "公司邀请",
"usingComponents": {
"queren": "./queren"
}
}

View File

@ -1 +0,0 @@
<view class="container data-v-2b078f5f"><view class="title-back data-v-2b078f5f"><view class="left-father data-v-2b078f5f" bindtap="{{a}}"><image class="back-img data-v-2b078f5f" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-2b078f5f" style="font-size:30rpx">机构邀请</view></view></view><view wx:if="{{b}}" class="data-v-2b078f5f" style="width:100%;margin-top:190rpx;display:flex;flex-direction:column;justify-content:center;align-items:center"><image class="data-v-2b078f5f" style="height:250rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/yuangongyaoqing.png"/><view class="data-v-2b078f5f" style="color:#8E96AD;margin-top:20rpx"> 暂无邀请信息 </view></view><view class="data-v-2b078f5f" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{c}}" wx:for-item="item" wx:key="k" class="zhiling-box-card data-v-2b078f5f" style="{{'border:' + item.l + ';' + ('height:' + item.m) + ';' + 'margin-top:30rpx;position:relative;width:92%;flex-direction:column'}}"><view class="card-font data-v-2b078f5f">{{item.a}}</view><view class="gray-font data-v-2b078f5f"><image class="data-v-2b078f5f" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} | <image class="data-v-2b078f5f" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-2b078f5f"> 待确认 </view><view wx:if="{{item.e}}" class="applysuccess data-v-2b078f5f"> 已接受 </view><view wx:if="{{item.f}}" class="applyfail data-v-2b078f5f"> 已拒接 </view><view class="gray-bgc data-v-2b078f5f"><image class="gray-img data-v-2b078f5f" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-2b078f5f" style="color:#999999;z-index:1;font-size:27rpx;width:100%"><image class="data-v-2b078f5f" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/> {{item.g}}</view></view><view wx:if="{{item.h}}" class="data-v-2b078f5f" style="display:flex;justify-content:center;width:100%"><view class="blue-button data-v-2b078f5f" bindtap="{{item.i}}"> 接受 </view><view class="white-button data-v-2b078f5f" bindtap="{{item.j}}"> 拒绝 </view></view></view></view><view class="data-v-2b078f5f" style="height:200rpx"></view><queren wx:if="{{f}}" class="data-v-2b078f5f" bindclose="{{d}}" bindok="{{e}}" u-i="2b078f5f-0" bind:__l="__l" u-p="{{f}}"/></view>

View File

@ -11,7 +11,7 @@ const _sfc_main = {
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const buttonArray = common_vendor.ref(["护理服务", "医疗服务", "账单查询", "视频探视", "外出申请", "长者功能", "长者功能"]);
const buttonArray = common_vendor.ref(["长者信息", "监护人信息", "充值缴费", "退住管理 ", "长者功能", "长者功能", "长者功能"]);
const which = common_vendor.ref(0);
const timeText = common_vendor.ref("");
const dateText = common_vendor.ref("");
@ -51,6 +51,15 @@ const _sfc_main = {
if (timer)
clearInterval(timer);
});
const clickButton = (item, index) => {
switch (index) {
case 0:
pages_oldmanindex_api.queryElders(item.elderId).then((res) => {
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:344", "AAAAA", res.result[0]);
});
break;
}
};
const jumpSaoyisao = () => {
common_vendor.index.navigateTo({
url: "/pages/oldmanindex/saoyisao"
@ -114,7 +123,6 @@ const _sfc_main = {
success: function(res) {
pages_oldmanindex_api.getIndex(res.data).then((res2) => {
menuArray.value = [];
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:491", "res", res2);
menuArray.value = res2.result;
menuArray.value.push({
applyStatus: `-1`
@ -132,6 +140,15 @@ const _sfc_main = {
}
});
});
common_vendor.onPullDownRefresh(() => {
loadingData();
pages_oldmanindex_api.isRead().then((res) => {
if (res.result) {
hong.value = res.result;
}
});
common_vendor.index.stopPullDownRefresh();
});
return (_ctx, _cache) => {
return common_vendor.e({
a: hong.value
@ -151,13 +168,14 @@ const _sfc_main = {
}, item.applyStatus != `-1` && item.elderInfo ? {
b: common_vendor.t(item.elderInfo && item.elderInfo.name),
c: common_vendor.t(item.elderInfo && item.elderInfo.nuId),
d: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0].temperature),
e: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0].humidity),
f: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
d: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
e: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—"),
f: common_vendor.f(buttonArray.value, (item0, index2, i1) => {
return {
a: `https://www.focusnu.com/media/directive/index/oldmanmenu/${index2}.png`,
b: common_vendor.t(item2),
c: index2
b: common_vendor.t(item0),
c: index2,
d: common_vendor.o(($event) => clickButton(item, index2), index2)
};
})
} : {}, {
@ -166,8 +184,8 @@ const _sfc_main = {
h: common_vendor.t(timeText.value),
i: common_vendor.t(dateText.value),
j: common_vendor.t(weekdayText.value),
k: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0].temperature),
l: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0].humidity)
k: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
l: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—")
} : {}, {
m: item.applyStatus != `-1` && !item.elderInfo
}, item.applyStatus != `-1` && !item.elderInfo ? {

View File

@ -1,5 +1,6 @@
{
"navigationBarTitleText": "首页",
"enablePullDownRefresh": true,
"usingComponents": {
"down-menu": "../../compontent/public/oldmandownmenu",
"model": "../../compontent/public/model"

File diff suppressed because one or more lines are too long

View File

@ -385,7 +385,7 @@
left: 0;
}
.small-ball.data-v-9cf2c967 {
position: absolute;
position: fixed;
right: 120px;
z-index: 9999;
width: 64rpx;

View File

@ -16,7 +16,7 @@ const _sfc_main = {
phone.value = common_vendor.index.getStorageSync("tel");
platId.value = common_vendor.index.getStorageSync("platId");
});
const cardMenu = [`监护人信息`, `长者信息`, `充值缴费`, `退住管理`];
const cardMenu = [`长者信息`, `监护人信息`, `充值缴费`, `退住管理`];
const change = () => {
common_vendor.index.navigateTo({
url: `/pages/login/threeselectonespec`
@ -28,10 +28,15 @@ const _sfc_main = {
const clickButton = (index) => {
switch (index) {
case 0:
loadingData();
changeData();
break;
case 1:
changeData();
loadingData();
break;
case 2:
common_vendor.index.navigateTo({
url: "/pages/oldmanindex/moneylist"
});
break;
}
};

View File

@ -0,0 +1,70 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_oldmanindex_api = require("./api.js");
if (!Math) {
model();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "moneylist",
setup(__props) {
common_vendor.ref(0);
const workArray = common_vendor.ref([]);
common_vendor.ref(false);
common_vendor.onLoad(() => {
pages_oldmanindex_api.payMoneyList().then((res) => {
workArray.value = res.result;
common_vendor.index.__f__("log", "at pages/oldmanindex/moneylist.vue:136", "res", res.result);
});
});
common_vendor.onPullDownRefresh(() => {
pages_oldmanindex_api.payMoneyList().then((res) => {
workArray.value = res.result;
});
common_vendor.index.stopPullDownRefresh();
});
const content = common_vendor.ref("");
const show = common_vendor.ref(false);
const goBack = () => {
common_vendor.index.navigateBack();
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
show: show.value,
content: content.value
}),
c: common_vendor.o(goBack),
d: workArray.value.length
}, workArray.value.length ? {} : {}, {
e: workArray.value.length
}, workArray.value.length ? {} : {}, {
f: !workArray.value.length
}, !workArray.value.length ? {} : {}, {
g: common_vendor.f(workArray.value, (item, index, i0) => {
return common_vendor.e({
a: item.type == "bind_nu" && item.elderName == null
}, item.type == "bind_nu" && item.elderName == null ? {} : {
b: common_vendor.t(item.elderName)
}, {
c: common_vendor.t(item.nuName),
d: common_vendor.t(item.amount),
e: common_vendor.t(item.typeName),
f: common_vendor.t(item.balance),
g: common_vendor.t(item.createTime.slice(0, 10)),
h: common_vendor.t(item.remark),
i: common_vendor.t(item.departName),
j: index
});
}),
h: common_vendor.s(!workArray.value.length ? {
backgroundColor: `#F7F7F7`
} : {})
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d98921ec"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/moneylist.js.map

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "充值缴费",
"usingComponents": {
"model": "../../compontent/public/model"
}
}

View File

@ -0,0 +1 @@
<view class="login-container data-v-d98921ec" style="{{h}}"><model wx:if="{{b}}" class="data-v-d98921ec" bindclose="{{a}}" u-i="d98921ec-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-d98921ec"><view class="left-father data-v-d98921ec" bindtap="{{c}}"><image class="back-img data-v-d98921ec" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view wx:if="{{d}}" class="data-v-d98921ec" style="position:absolute;top:300rpx;left:30rpx;z-index:1;display:flex;align-items:center"><view class="shu data-v-d98921ec"></view><view class="content-weight data-v-d98921ec">账单信息</view></view><view wx:if="{{e}}" class="index-up data-v-d98921ec"><image class="index-up-img data-v-d98921ec" src="https://www.focusnu.com/media/directive/index/pouplebgc.png" mode="widthFix" lazy-load="false"/></view><view wx:if="{{f}}" class="data-v-d98921ec" style="position:absolute;left:0;top:400rpx;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:999"><image class="data-v-d98921ec" style="height:220rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png"/><view class="data-v-d98921ec" style="color:#8E96AD;margin-top:20rpx"> 暂无缴费信息 </view></view><view class="bgc-card data-v-d98921ec"><view class="under-scroll data-v-d98921ec"><view wx:for="{{g}}" wx:for-item="item" wx:key="j" class="data-v-d98921ec"><view class="white-small data-v-d98921ec"><view class="white-name data-v-d98921ec"><view wx:if="{{item.a}}" class="data-v-d98921ec" style="font-size:36rpx;font-weight:600"> 预缴费 </view><view wx:else class="data-v-d98921ec" style="font-size:36rpx;font-weight:600">{{item.b}}</view><view class="data-v-d98921ec" style="font-size:30rpx">{{item.c}}</view></view><view class="data-v-d98921ec" style="font-size:50rpx;font-weight:600;margin:15rpx 0">{{item.d}}</view><view class="gray-bgc data-v-d98921ec"><view class="data-v-d98921ec" style="display:flex;margin-left:20rpx"><view class=" data-v-d98921ec">{{item.e}}</view><view class="data-v-d98921ec" style="margin:0 20rpx"> | </view><view class=" data-v-d98921ec"> 余额 <text class="data-v-d98921ec" style="color:#0087FF">{{item.f}}</text></view></view><view class="data-v-d98921ec" style="margin-right:20rpx;color:#b8b8b8">{{item.g}}</view></view><view class="remark-bgc data-v-d98921ec"> 备注信息:{{item.h}}</view><view class="data-v-d98921ec" style="margin-top:20rpx;color:#999999;font-size:30rpx">{{item.i}}</view></view></view></view></view></view>

View File

@ -23,7 +23,7 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-2b078f5f {
.login-container.data-v-d98921ec {
display: flex;
flex-direction: column;
min-height: 100vh;
@ -31,134 +31,149 @@
background-color: #F7F7F7;
position: relative;
}
.title-back.data-v-2b078f5f {
.under-scroll.data-v-d98921ec {
width: 100%;
height: calc(100% - 460rpx);
padding-top: 30rpx;
}
.under-scroll .white-small.data-v-d98921ec {
width: 94%;
margin-left: 3%;
background-color: #fff;
border-radius: 30rpx;
padding: 40rpx 50rpx;
font-size: 25rpx;
position: relative;
margin-top: 50rpx;
}
.button-heng.data-v-d98921ec {
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
}
.bgc-card.data-v-d98921ec {
margin-top: 120rpx;
width: 98%;
margin-left: 1%;
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
min-height: calc(100vh - 650rpx);
z-index: 1;
}
.index-up.data-v-d98921ec {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
}
.index-up .index-up-img.data-v-d98921ec {
width: 100%;
height: 20rpx;
}
.title-card.data-v-d98921ec {
margin: 30rpx;
background-color: #fff;
width: 93%;
height: 250rpx;
border-radius: 30rpx;
padding: 0 45rpx;
margin-top: 40rpx;
padding-top: 40rpx;
}
.title-card .big-weight.data-v-d98921ec {
font-size: 30rpx;
color: #333333;
font-weight: 600;
margin-bottom: 30rpx;
}
.title-card .title-other.data-v-d98921ec {
color: #666666;
font-size: 25rpx;
}
.title-back.data-v-d98921ec {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father.data-v-2b078f5f {
.left-father.data-v-d98921ec {
display: flex;
align-items: center;
z-index: 1;
}
.left-father .back-img.data-v-2b078f5f {
.left-father .back-img.data-v-d98921ec {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.tianjia.data-v-2b078f5f {
width: 120rpx;
height: 70rpx;
.enter-img.data-v-d98921ec {
width: 25rpx;
height: 25rpx;
position: absolute;
right: 30rpx;
top: 35rpx;
}
.bottom-father.data-v-d98921ec {
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
}
.bottom-img.data-v-d98921ec {
position: absolute;
right: 30rpx;
top: 60rpx;
width: 160rpx;
height: 140rpx;
}
.blue-button.data-v-d98921ec {
margin: 0 30rpx;
margin-top: 30rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box.data-v-2b078f5f {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all.data-v-2b078f5f {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father.data-v-2b078f5f {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font.data-v-2b078f5f {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue.data-v-2b078f5f {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father.data-v-2b078f5f {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button.data-v-2b078f5f {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
z-index: 999;
}
.white-button.data-v-2b078f5f {
.white-button.data-v-d98921ec {
margin: 0 30rpx;
margin-top: 30rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 25rpx;
font-size: 30rpx;
z-index: 999;
}
.zhiling-box-card.data-v-2b078f5f {
display: flex;
width: 92%;
margin-left: 4%;
background-color: #fff;
border-radius: 35rpx;
.card-font.data-v-d98921ec {
margin-left: 10rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
margin-top: 30rpx;
padding-top: 25rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.applying.data-v-2b078f5f {
.gray-font.data-v-d98921ec {
font-size: 32rpx;
margin-top: 20rpx;
color: #B1B1B1;
width: 100%;
}
.applying.data-v-d98921ec {
position: absolute;
right: 20rpx;
top: 0rpx;
@ -174,7 +189,7 @@
margin-left: 35rpx;
margin-top: 25rpx;
}
.applysuccess.data-v-2b078f5f {
.applysuccess.data-v-d98921ec {
position: absolute;
right: 20rpx;
top: 0rpx;
@ -190,7 +205,7 @@
margin-left: 35rpx;
margin-top: 25rpx;
}
.applyfail.data-v-2b078f5f {
.applyfail.data-v-d98921ec {
position: absolute;
right: 20rpx;
top: 0rpx;
@ -206,35 +221,54 @@
margin-left: 35rpx;
margin-top: 20rpx;
}
.card-font.data-v-2b078f5f {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
.applywhy.data-v-d98921ec {
position: absolute;
right: 20rpx;
top: 60rpx;
background-color: #F1F1F1;
color: #373737;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
}
.shu.data-v-d98921ec {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.content-weight.data-v-d98921ec {
font-size: 36rpx;
font-weight: 600;
}
.gray-font.data-v-2b078f5f {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
.white-name.data-v-d98921ec {
display: flex;
justify-content: space-between;
align-items: center;
}
.gray-bgc.data-v-2b078f5f {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
.gray-bgc.data-v-d98921ec {
background-color: #F3F6FE;
width: 100%;
height: 70rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
border-radius: 5rpx;
justify-content: space-between;
font-size: 28rpx;
}
.gray-bgc .gray-img.data-v-2b078f5f {
.remark-bgc.data-v-d98921ec {
flex-wrap: wrap;
background-color: #F9F9F9;
padding: 20rpx;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 25rpx;
margin-top: 20rpx;
color: #b8b8b8;
}

View File

@ -1,35 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "queren",
props: {
show: {
type: Boolean,
default: true
}
},
emits: ["close", "ok"],
setup(__props, { emit: __emit }) {
const emit = __emit;
function handleClose() {
emit("close");
}
const go = () => {
emit("ok");
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleClose),
b: common_vendor.o(handleClose),
c: common_vendor.o(go),
d: common_vendor.o(() => {
}),
e: common_vendor.n(__props.show ? "is-active" : ""),
f: __props.show
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3cb395a9"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/queren.js.map

View File

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="{{['data-v-3cb395a9', 'neuro-wrapper', e]}}" hidden="{{!f}}"><view class="neuro-mask data-v-3cb395a9" bindtap="{{a}}"></view><view class="neuro-box data-v-3cb395a9" catchtap="{{d}}"><view class="button-father data-v-3cb395a9"><view class="button-white data-v-3cb395a9" bindtap="{{b}}">取消</view><view class="button data-v-3cb395a9" bindtap="{{c}}">确定</view></view><view class="data-v-3cb395a9" style="font-size:25rpx;line-height:45rpx;margin-top:-50rpx">确定要拒绝吗</view></view></view>

View File

@ -1,115 +0,0 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 容器默认隐藏,透明度为 0不接受点击 */
.neuro-wrapper.data-v-3cb395a9 {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
/* 显示时透明度过渡到 1可接受点击 */
.neuro-wrapper.is-active.data-v-3cb395a9 {
opacity: 1;
pointer-events: auto;
}
/* 遮罩层,半透明黑色 */
.neuro-mask.data-v-3cb395a9 {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.3);
}
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
.neuro-box.data-v-3cb395a9 {
position: relative;
width: 480rpx;
height: 300rpx;
border-radius: 20rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
background-image: url("https://www.focusnu.com/media/directive/index/whitepeople.png");
background-position: top center;
background-repeat: no-repeat;
z-index: 1;
padding: 0 10%;
}
.tittle-bgc.data-v-3cb395a9 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 300rpx;
background-image: url("https://www.focusnu.com/media/directive/index/modelbgc.png");
background-size: 100% auto;
background-position: top center;
background-repeat: no-repeat;
}
.tittle-bgc .text.data-v-3cb395a9 {
color: #47526F;
font-size: 40rpx;
margin: 40rpx 0 0 50rpx;
font-weight: 600;
}
.button.data-v-3cb395a9 {
width: 47%;
background: linear-gradient(to right, #00C9FF, #0076FF);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 25rpx;
border-radius: 24rpx;
}
.button-white.data-v-3cb395a9 {
width: 47%;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
display: flex;
justify-content: center;
align-items: center;
font-size: 25rpx;
border-radius: 24rpx;
}
.button-father.data-v-3cb395a9 {
position: absolute;
bottom: 35rpx;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 60rpx;
display: flex;
justify-content: space-between;
padding: 0 50rpx;
}

View File

@ -1,167 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_oldmanindex_api = require("./api.js");
if (!Array) {
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
_easycom_u_popup2();
}
const _easycom_u_popup = () => "../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js";
if (!Math) {
_easycom_u_popup();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "searchjigou",
setup(__props) {
common_vendor.onShow(
() => search()
);
const hulijigouArray = common_vendor.ref([]);
const hulitarget = common_vendor.ref(-1);
const popupshow = common_vendor.ref(false);
const supervalue = common_vendor.ref("");
const jumpRuzhu = () => {
popupshow.value = false;
common_vendor.index.navigateTo({
url: "/pages/yuangongindex/workjoin"
});
};
let inputTimer = null;
const detectinput = () => {
if (inputTimer)
clearTimeout(inputTimer);
inputTimer = setTimeout(() => {
inputTimer = null;
search();
}, 600);
};
common_vendor.onUnmounted(() => {
if (inputTimer)
clearTimeout(inputTimer);
});
const buttonOpen = common_vendor.ref(false);
const clickCard = (index) => {
var _a, _b;
if (hulitarget.value === index) {
hulitarget.value = -1;
buttonOpen.value = false;
} else {
hulitarget.value = index;
if (((_a = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _a.status) == 1 || ((_b = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _b.status) == 2) {
buttonOpen.value = false;
} else {
buttonOpen.value = true;
}
}
};
const clearvalue = () => {
hulitarget.value = -1;
supervalue.value = "";
search();
};
const goBack = () => {
common_vendor.index.navigateBack();
};
const search = () => {
buttonOpen.value = false;
hulitarget.value = -1;
pages_oldmanindex_api.getOrgInfo(supervalue.value).then((res) => {
if (res.success) {
hulijigouArray.value = res.result.records;
}
});
};
const sumbit = common_vendor.ref(false);
const apply = () => {
if (sumbit.value) {
return;
}
sumbit.value = true;
let data = common_vendor.index.getStorageSync("staff");
data = {
...data,
dateOfBirth: data.birthDate,
marriedOrNot: data.maritalStatus,
address: data.address,
emergencyContact: data.contactName,
emergencyTel: data.contactTel,
emergencyRelationship: data.contactRelationship,
hukouNature: data.hukouType,
idCardPositive: data.cardZmPath,
idCardNegative: data.cardFmPath,
healthCertificatePositive: data.healthZmPath,
healthCertificateNegative: data.healthFmPath,
bankPositive: data.bankZmPath,
bankNegative: data.bankFmPath,
qualification: data.qualificationPath,
noCrimeCertificate: data.noCrimeCertificate,
houseAddress: data.idCardAddress,
employeeId: data.id,
id: null,
createTime: null,
updateBy: null,
updateTime: null,
orgCode: hulijigouArray.value[hulitarget.value].orgCode
};
pages_oldmanindex_api.Apply(data).then((data2) => {
if (data2.success) {
popupshow.value = true;
setTimeout(() => search(), 1e3);
}
setTimeout(() => sumbit.value = false, 1e3);
});
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: common_vendor.o(search),
c: common_vendor.o([($event) => supervalue.value = $event.detail.value, detectinput]),
d: supervalue.value,
e: supervalue.value
}, supervalue.value ? {
f: common_vendor.o(clearvalue)
} : {}, {
g: common_vendor.o(search),
h: common_vendor.f(hulijigouArray.value, (item, index, i0) => {
var _a, _b, _c, _d, _e, _f;
return common_vendor.e({
a: common_vendor.t(item.departName),
b: common_vendor.t(item.comLegalPerson),
c: common_vendor.t(item.tel),
d: ((_a = item.employeesApiEntity) == null ? void 0 : _a.status) === `1`
}, ((_b = item.employeesApiEntity) == null ? void 0 : _b.status) === `1` ? {
e: common_vendor.t(item.employeesApiEntity.isInvited == "1" ? "申请中" : "待确认")
} : {}, {
f: ((_c = item.employeesApiEntity) == null ? void 0 : _c.status) === `2`
}, ((_d = item.employeesApiEntity) == null ? void 0 : _d.status) === `2` ? {
g: common_vendor.t(item.employeesApiEntity.isInvited == "1" ? "申请通过" : "已接受")
} : {}, {
h: ((_e = item.employeesApiEntity) == null ? void 0 : _e.status) === `3`
}, ((_f = item.employeesApiEntity) == null ? void 0 : _f.status) === `3` ? {
i: common_vendor.t(item.employeesApiEntity.isInvited == "1" ? "申请驳回" : "已拒绝")
} : {}, {
j: common_vendor.t(item.comRegisterAddress),
k: index,
l: common_vendor.s(hulitarget.value === index ? {
border: `4rpx solid #0093FF`
} : {}),
m: common_vendor.o(($event) => clickCard(index), index)
});
}),
i: buttonOpen.value
}, buttonOpen.value ? {
j: common_vendor.o(apply)
} : {}, {
k: common_vendor.o(($event) => jumpRuzhu()),
l: common_vendor.o(($event) => popupshow.value = $event),
m: common_vendor.p({
mode: "bottom",
["border-radius"]: "40",
modelValue: popupshow.value
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-35e6cd4d"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/searchjigou.js.map

View File

@ -1,6 +0,0 @@
{
"navigationBarTitleText": "查找",
"usingComponents": {
"u-popup": "../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}

View File

@ -1 +0,0 @@
<view class="container data-v-35e6cd4d"><view class="title-back data-v-35e6cd4d"><view class="left-father data-v-35e6cd4d" bindtap="{{a}}"><image class="back-img data-v-35e6cd4d" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-35e6cd4d" style="font-size:30rpx">入驻机构</view></view></view><view class="zhiling-box data-v-35e6cd4d" style="margin-top:30rpx;height:120rpx;justify-content:flex-start"><view class="input-all data-v-35e6cd4d"><image class="data-v-35e6cd4d" style="position:absolute;left:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx" src="https://www.focusnu.com/media/directive/index/search.png"/><input class="data-v-35e6cd4d" style="font-size:31rpx" type="text" placeholder="请输入入驻护理机构名称" bindconfirm="{{b}}" bindinput="{{c}}" value="{{d}}"/><view wx:if="{{e}}" class="data-v-35e6cd4d" bindtap="{{f}}" style="position:absolute;right:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#EBEBEB"><image class="data-v-35e6cd4d" style="width:20rpx;height:20rpx" src="https://www.focusnu.com/media/directive/index/cha.png"/></view></view><view class="tianjia data-v-35e6cd4d" bindtap="{{g}}"> 检索 </view></view><view class="data-v-35e6cd4d" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{h}}" wx:for-item="item" wx:key="k" class="zhiling-box-card data-v-35e6cd4d" style="{{item.l + ';' + 'margin-top:30rpx;height:300rpx;position:relative;width:92%;flex-direction:column'}}" bindtap="{{item.m}}"><view class="card-font data-v-35e6cd4d">{{item.a}}</view><view class="gray-font data-v-35e6cd4d"><image class="data-v-35e6cd4d" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} | <image class="data-v-35e6cd4d" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-35e6cd4d">{{item.e}}</view><view wx:if="{{item.f}}" class="applysuccess data-v-35e6cd4d">{{item.g}}</view><view wx:if="{{item.h}}" class="applyfail data-v-35e6cd4d">{{item.i}}</view><view class="gray-bgc data-v-35e6cd4d"><image class="gray-img data-v-35e6cd4d" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-35e6cd4d" style="color:#999999;z-index:1;font-size:27rpx;width:100%;display:flex"><image class="data-v-35e6cd4d" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1;margin-top:8rpx" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/><view class="data-v-35e6cd4d" style="width:630rpx">{{item.j}}</view></view></view></view></view><view class="data-v-35e6cd4d" style="height:200rpx"></view><view class="button-father data-v-35e6cd4d"><view wx:if="{{i}}" class="blue-button data-v-35e6cd4d" bindtap="{{j}}"> 申请 </view><view wx:else class="white-button data-v-35e6cd4d"> 申请 </view></view><u-popup wx:if="{{m}}" class="data-v-35e6cd4d" u-s="{{['d']}}" u-i="35e6cd4d-0" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><view class="popop-father data-v-35e6cd4d"><image class="data-v-35e6cd4d" style="width:100rpx;height:100rpx" src="https://www.focusnu.com/media/directive/index/tishi.png"/><view class="popop-font data-v-35e6cd4d"> 入驻申请已提交,请到 <text class="data-v-35e6cd4d" style="color:#01A9FF"> "我的-入驻审核" </text> 查看审核进度 </view><view class="popop-blue data-v-35e6cd4d" bindtap="{{k}}"> 查看 </view></view></u-popup></view>

View File

@ -1,243 +0,0 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-35e6cd4d {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back.data-v-35e6cd4d {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father.data-v-35e6cd4d {
display: flex;
align-items: center;
}
.left-father .back-img.data-v-35e6cd4d {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.tianjia.data-v-35e6cd4d {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box.data-v-35e6cd4d {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all.data-v-35e6cd4d {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father.data-v-35e6cd4d {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font.data-v-35e6cd4d {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue.data-v-35e6cd4d {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father.data-v-35e6cd4d {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button.data-v-35e6cd4d {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 35rpx;
font-size: 33rpx;
}
.white-button.data-v-35e6cd4d {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-top: 20rpx;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 35rpx;
font-size: 33rpx;
}
.zhiling-box-card.data-v-35e6cd4d {
display: flex;
width: 92%;
margin-left: 4%;
height: 150rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
}
.applying.data-v-35e6cd4d {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
}
.applysuccess.data-v-35e6cd4d {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
}
.applyfail.data-v-35e6cd4d {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
}
.card-font.data-v-35e6cd4d {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font.data-v-35e6cd4d {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc.data-v-35e6cd4d {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
}
.gray-bgc .gray-img.data-v-35e6cd4d {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}

View File

@ -1,69 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_oldmanindex_api = require("./api.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "simpleyaoqing",
setup(__props) {
const hulijigouArray = common_vendor.ref([]);
common_vendor.ref("");
common_vendor.ref(false);
const vipid = common_vendor.ref("");
common_vendor.onLoad((options) => {
vipid.value = JSON.parse(options.extend).dataId;
search();
});
const goBack = () => {
common_vendor.index.navigateBack();
};
const search = () => {
pages_oldmanindex_api.getId(vipid.value).then((res) => {
if (res.success) {
hulijigouArray.value = res.result;
}
});
};
common_vendor.ref(false);
const changeStatus = (item, status) => {
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
};
pages_oldmanindex_api.invitedConfirm(data).then((res) => {
if (res.success) {
search();
}
});
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: !hulijigouArray.value.length
}, !hulijigouArray.value.length ? {} : {}, {
c: common_vendor.f(hulijigouArray.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.departName),
b: common_vendor.t(item.comLegalPerson),
c: common_vendor.t(item.tel),
d: item.applyStatus === `1`
}, item.applyStatus === `1` ? {} : {}, {
e: item.applyStatus === `2`
}, item.applyStatus === `2` ? {} : {}, {
f: item.applyStatus === `3`
}, item.applyStatus === `3` ? {} : {}, {
g: common_vendor.t(item.comRegisterAddress),
h: item.applyStatus === `1`
}, item.applyStatus === `1` ? {
i: common_vendor.o(($event) => changeStatus(item, true), index),
j: common_vendor.o(($event) => changeStatus(item, false), index)
} : {}, {
k: index
});
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e8dc1e47"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/simpleyaoqing.js.map

View File

@ -1,4 +0,0 @@
{
"navigationBarTitleText": "公司邀请",
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="container data-v-e8dc1e47"><view class="title-back data-v-e8dc1e47"><view class="left-father data-v-e8dc1e47" bindtap="{{a}}"><image class="back-img data-v-e8dc1e47" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-e8dc1e47" style="font-size:30rpx">机构邀请</view></view></view><view wx:if="{{b}}" class="data-v-e8dc1e47" style="width:100%;margin-top:190rpx;display:flex;flex-direction:column;justify-content:center;align-items:center"><image class="data-v-e8dc1e47" style="height:250rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/yuangongyaoqing.png"/><view class="data-v-e8dc1e47" style="color:#8E96AD;margin-top:20rpx"> 暂无邀请信息 </view></view><view class="data-v-e8dc1e47" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{c}}" wx:for-item="item" wx:key="k" class="zhiling-box-card data-v-e8dc1e47" style="margin-top:30rpx;position:relative;width:92%;flex-direction:column"><view class="card-font data-v-e8dc1e47">{{item.a}}</view><view class="gray-font data-v-e8dc1e47"><image class="data-v-e8dc1e47" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} | <image class="data-v-e8dc1e47" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-e8dc1e47"> 待确认 </view><view wx:if="{{item.e}}" class="applysuccess data-v-e8dc1e47"> 已接受 </view><view wx:if="{{item.f}}" class="applyfail data-v-e8dc1e47"> 已拒接 </view><view class="gray-bgc data-v-e8dc1e47"><image class="gray-img data-v-e8dc1e47" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-e8dc1e47" style="color:#999999;z-index:1;font-size:27rpx;width:100%"><image class="data-v-e8dc1e47" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/> {{item.g}}</view></view><view wx:if="{{item.h}}" class="data-v-e8dc1e47" style="display:flex;justify-content:center;width:100%"><view class="blue-button data-v-e8dc1e47" bindtap="{{item.i}}"> 接受 </view><view class="white-button data-v-e8dc1e47" bindtap="{{item.j}}"> 拒绝 </view></view></view></view><view class="data-v-e8dc1e47" style="height:200rpx"></view></view>

View File

@ -1,240 +0,0 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-e8dc1e47 {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back.data-v-e8dc1e47 {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.left-father.data-v-e8dc1e47 {
display: flex;
align-items: center;
}
.left-father .back-img.data-v-e8dc1e47 {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.tianjia.data-v-e8dc1e47 {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 30rpx;
margin-left: 10rpx;
}
.zhiling-box.data-v-e8dc1e47 {
display: flex;
justify-content: space-around;
align-items: center;
width: 92%;
margin-left: 4%;
height: 110rpx;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
}
.input-all.data-v-e8dc1e47 {
width: 500rpx;
height: 65rpx;
border-radius: 30rpx;
background-color: #F7F7F7;
padding-left: 80rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
position: relative;
}
.popop-father.data-v-e8dc1e47 {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font.data-v-e8dc1e47 {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue.data-v-e8dc1e47 {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father.data-v-e8dc1e47 {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button.data-v-e8dc1e47 {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
color: #fff;
background: linear-gradient(to left, #00C9FF, #0076FF);
border-radius: 25rpx;
font-size: 30rpx;
}
.white-button.data-v-e8dc1e47 {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 25rpx;
font-size: 30rpx;
}
.zhiling-box-card.data-v-e8dc1e47 {
display: flex;
width: 92%;
margin-left: 4%;
background-color: #fff;
border-radius: 35rpx;
font-size: 32rpx;
border: 4rpx solid #fff;
overflow: hidden;
}
.applying.data-v-e8dc1e47 {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #FFE8D3;
color: #FF7900;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
}
.applysuccess.data-v-e8dc1e47 {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #DEF1FF;
color: #0093FF;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 25rpx;
}
.applyfail.data-v-e8dc1e47 {
position: absolute;
right: 20rpx;
top: 0rpx;
background-color: #fff4f7;
color: #FC3D7F;
width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
}
.card-font.data-v-e8dc1e47 {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font.data-v-e8dc1e47 {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.gray-bgc.data-v-e8dc1e47 {
margin: 20rpx 40rpx;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
line-height: 40rpx;
}
.gray-bgc .gray-img.data-v-e8dc1e47 {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}

View File

@ -11,7 +11,7 @@ const _sfc_main = {
common_vendor.ref(0);
const workArray = common_vendor.ref([]);
common_vendor.ref(false);
common_vendor.onLoad((options) => {
common_vendor.onLoad(() => {
pages_oldmanindex_api.queryElders().then((res) => {
workArray.value = res.result;
});
@ -28,7 +28,7 @@ const _sfc_main = {
common_vendor.index.navigateBack();
};
const changeoldman = (item) => {
common_vendor.index.__f__("log", "at pages/oldmanindex/workjoin.vue:119", "????", item);
common_vendor.index.__f__("log", "at pages/oldmanindex/workjoin.vue:127", "????", item);
common_vendor.index.setStorageSync("baddata", item);
common_vendor.index.setStorageSync("specicalid", item.id);
common_vendor.index.setStorageSync("backhuancun", {});
@ -60,9 +60,10 @@ const _sfc_main = {
a: common_vendor.t(item.name),
b: common_vendor.t(item.sex),
c: common_vendor.t(item.nuId),
d: common_vendor.t(item.createTime.slice(0, 10)),
e: index,
f: common_vendor.o(($event) => changeoldman(item), index)
d: common_vendor.t(item.departName),
e: common_vendor.t(item.createTime.slice(0, 10)),
f: index,
g: common_vendor.o(($event) => changeoldman(item), index)
};
}),
h: common_vendor.s(!workArray.value.length ? {

View File

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "入驻审核",
"navigationBarTitleText": "长者信息",
"usingComponents": {
"model": "../../compontent/public/model"
}

View File

@ -1 +1 @@
<view class="login-container data-v-ceedc342" style="{{h}}"><model wx:if="{{b}}" class="data-v-ceedc342" bindclose="{{a}}" u-i="ceedc342-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-ceedc342"><view class="left-father data-v-ceedc342" bindtap="{{c}}"><image class="back-img data-v-ceedc342" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view wx:if="{{d}}" class="data-v-ceedc342" style="position:absolute;top:300rpx;left:30rpx;z-index:1;display:flex"><view class="shu data-v-ceedc342"></view><view class="content-weight data-v-ceedc342">长者列表</view></view><view wx:if="{{e}}" class="index-up data-v-ceedc342"><image class="index-up-img data-v-ceedc342" src="https://www.focusnu.com/media/directive/index/pouplebgc.png" mode="widthFix" lazy-load="false"/></view><view wx:if="{{f}}" class="data-v-ceedc342" style="position:absolute;left:0;top:400rpx;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:999"><image class="data-v-ceedc342" style="height:220rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png"/><view class="data-v-ceedc342" style="color:#8E96AD;margin-top:20rpx"> 暂无长者信息 </view></view><view class="bgc-card data-v-ceedc342"><view class="under-scroll data-v-ceedc342"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-ceedc342" bindtap="{{item.f}}"><view class="white-small data-v-ceedc342"><image class="data-v-ceedc342" style="height:90rpx;width:90rpx" src="https://www.focusnu.com/media/directive/index/touxiang.png"/><view class=" data-v-ceedc342"><view class="data-v-ceedc342" style="display:flex;margin-left:20rpx;align-items:center"><view class="data-v-ceedc342" style="color:black;font-size:32rpx">{{item.a}}</view><view class="data-v-ceedc342" style="margin-left:20rpx">{{item.b}}</view></view><view class="data-v-ceedc342" style="display:flex;margin-left:20rpx;align-items:center;margin-top:10rpx"><view class="data-v-ceedc342" style="color:black;font-size:28rpx"> NUID </view><view class="data-v-ceedc342" style="margin-left:10rpx">{{item.c}}</view></view></view><view class="data-v-ceedc342" style="position:absolute;right:20rpx;top:60rpx;display:flex;align-items:center"><image class="data-v-ceedc342" style="height:30rpx;width:30rpx" src="https://www.focusnu.com/media/directive/index/infotime.png"/><view class="data-v-ceedc342" style="margin-left:20rpx">{{item.d}}</view><image class="data-v-ceedc342" style="height:30rpx;width:30rpx;margin-left:10rpx" src="https://www.focusnu.com/media/directive/index/more.png"/></view></view></view></view></view></view>
<view class="login-container data-v-ceedc342" style="{{h}}"><model wx:if="{{b}}" class="data-v-ceedc342" bindclose="{{a}}" u-i="ceedc342-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-ceedc342"><view class="left-father data-v-ceedc342" bindtap="{{c}}"><image class="back-img data-v-ceedc342" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view wx:if="{{d}}" class="data-v-ceedc342" style="position:absolute;top:300rpx;left:30rpx;z-index:1;display:flex;align-items:center"><view class="shu data-v-ceedc342"></view><view class="content-weight data-v-ceedc342">长者列表</view></view><view wx:if="{{e}}" class="index-up data-v-ceedc342"><image class="index-up-img data-v-ceedc342" src="https://www.focusnu.com/media/directive/index/pouplebgc.png" mode="widthFix" lazy-load="false"/></view><view wx:if="{{f}}" class="data-v-ceedc342" style="position:absolute;left:0;top:400rpx;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:999"><image class="data-v-ceedc342" style="height:220rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png"/><view class="data-v-ceedc342" style="color:#8E96AD;margin-top:20rpx"> 暂无长者信息 </view></view><view class="bgc-card data-v-ceedc342"><view class="under-scroll data-v-ceedc342"><view wx:for="{{g}}" wx:for-item="item" wx:key="f" class="data-v-ceedc342" bindtap="{{item.g}}"><view class="white-small data-v-ceedc342"><image class="data-v-ceedc342" style="height:90rpx;width:90rpx" src="https://www.focusnu.com/media/directive/index/touxiang.png"/><view class=" data-v-ceedc342"><view class="data-v-ceedc342" style="display:flex;margin-left:20rpx;align-items:center"><view class="data-v-ceedc342" style="color:black;font-size:32rpx">{{item.a}}</view><view class="data-v-ceedc342" style="margin-left:20rpx">{{item.b}}</view></view><view class="data-v-ceedc342" style="display:flex;margin-left:20rpx;align-items:center;margin-top:10rpx"><view class="data-v-ceedc342" style="color:black;font-size:28rpx"> NUID </view><view class="data-v-ceedc342" style="margin-left:10rpx">{{item.c}}</view></view><view class="data-v-ceedc342" style="display:flex;margin-left:10rpx;align-items:center;margin-top:10rpx"><view class="data-v-ceedc342" style="margin-left:10rpx;font-size:28rpx;color:#999">{{item.d}}</view></view></view><view class="data-v-ceedc342" style="position:absolute;right:20rpx;top:60rpx;display:flex;align-items:center"><image class="data-v-ceedc342" style="height:30rpx;width:30rpx" src="https://www.focusnu.com/media/directive/index/infotime.png"/><view class="data-v-ceedc342" style="margin-left:20rpx">{{item.e}}</view><image class="data-v-ceedc342" style="height:30rpx;width:30rpx;margin-left:10rpx" src="https://www.focusnu.com/media/directive/index/more.png"/></view></view></view></view></view></view>

View File

@ -57,7 +57,7 @@
right: 0;
}
.bgc-card.data-v-ceedc342 {
margin-top: 200rpx;
margin-top: 120rpx;
width: 98%;
margin-left: 1%;
border-top-left-radius: 30rpx;
@ -265,6 +265,6 @@
margin: 3rpx 20rpx 0 30rpx;
}
.content-weight.data-v-ceedc342 {
font-size: 32rpx;
font-size: 36rpx;
font-weight: 600;
}

View File

@ -12,7 +12,7 @@ const _sfc_main = {
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const buttonArray = common_vendor.ref(["技能培训", "考勤排班", "每日工作", "员工功能", "员工功能", "员工功能", "员工功能"]);
const buttonArray = common_vendor.ref(["技能培训", "考勤排班", "每日工作", "信息变更", "员工功能", "员工功能", "员工功能"]);
const statusarray = ["loading", "success", "fail"];
const which = common_vendor.ref(0);
const clickSmallball = () => {
@ -82,9 +82,7 @@ const _sfc_main = {
pages_yuangongindex_api.getIndex(res.data).then((res2) => {
menuArray.value = [];
res2.result.forEach((element) => {
if (element.isInvited == 1 || element.isInvited == 0 && element.applyStatus == 2) {
menuArray.value.push(element);
}
menuArray.value.push(element);
});
menuArray.value.push({
applyStatus: `-1`
@ -97,6 +95,32 @@ const _sfc_main = {
});
};
const hong = common_vendor.ref(0);
const changeStatus = (item, status) => {
let data = {
employeeId: item.employeesId,
status: status ? 2 : 3,
orgCode: item.orgCode
};
pages_yuangongindex_api.invitedConfirm(data).then((res) => {
if (res.success) {
loadingData();
}
});
};
const clickButton = (item, index) => {
common_vendor.index.__f__("log", "at pages/yuangongindex/index.vue:415", "????", item, index);
if (index === 3) {
pages_addstaff_api_addjigou.getMessageList().then((res) => {
common_vendor.index.setStorageSync("changeyuangongorgId", res.result[0].orgId);
common_vendor.index.setStorageSync("baddata", res.result[0]);
common_vendor.index.setStorageSync("specicalid", res.result[0].id);
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addstaff/information`
});
});
}
};
common_vendor.onShow(() => {
loadingData();
pages_yuangongindex_api.isRead().then(
@ -122,44 +146,54 @@ const _sfc_main = {
}),
g: common_vendor.f(menuArray.value, (item, index, i0) => {
return common_vendor.e({
a: item.applyStatus == `1`
}, item.applyStatus == `1` ? {
a: item.isInvited == "1" && item.applyStatus == `1`
}, item.isInvited == "1" && item.applyStatus == `1` ? {
b: `https://www.focusnu.com/media/directive/index/refresh.png`,
c: common_vendor.o(loadingData, index)
} : {}, {
d: item.applyStatus == `1`
}, item.applyStatus == `1` ? {
e: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`,
d: item.isInvited == "0" && item.applyStatus == `1`
}, item.isInvited == "0" && item.applyStatus == `1` ? {
e: `https://www.focusnu.com/media/directive/index/yuangonginvited.png`,
f: common_vendor.t(item.comName),
g: common_vendor.o(($event) => look(), index)
g: common_vendor.t(item.orgLeader),
h: common_vendor.t(item.orgLeaderPhone),
i: common_vendor.o(($event) => changeStatus(item, false), index),
j: common_vendor.o(($event) => changeStatus(item, true), index)
} : {}, {
h: item.applyStatus == `3`
}, item.applyStatus == `3` ? {
i: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`,
j: common_vendor.t(item.comName),
k: common_vendor.o(($event) => again(), index)
k: item.isInvited == "1" && item.applyStatus == `1`
}, item.isInvited == "1" && item.applyStatus == `1` ? {
l: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`,
m: common_vendor.t(item.comName),
n: common_vendor.o(($event) => look(), index)
} : {}, {
l: item.applyStatus == `2`
o: item.isInvited == "1" && item.applyStatus == `3`
}, item.isInvited == "1" && item.applyStatus == `3` ? {
p: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.applyStatus) - 1]}.png`,
q: common_vendor.t(item.comName),
r: common_vendor.o(($event) => again(), index)
} : {}, {
s: item.applyStatus == `2`
}, item.applyStatus == `2` ? {
m: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
t: common_vendor.f(buttonArray.value, (item0, index2, i1) => {
return {
a: `https://www.focusnu.com/media/directive/index/addstaff/${index2}.png`,
b: common_vendor.t(item2),
c: index2
b: common_vendor.t(item0),
c: index2,
d: common_vendor.o(($event) => clickButton(item, index2), index2)
};
})
} : {}, {
n: item.applyStatus == `-1`
}, item.applyStatus == `-1` ? {} : {}, {
o: item.applyStatus == `-1`
v: item.isInvited == "1" && item.applyStatus == `-1`
}, item.isInvited == "1" && item.applyStatus == `-1` ? {} : {}, {
w: item.applyStatus == `-1`
}, item.applyStatus == `-1` ? {
p: common_vendor.o(($event) => searchjigou(), index)
x: common_vendor.o(($event) => searchjigou(), index)
} : {}, {
q: item.applyStatus == `2`
y: item.applyStatus == `2`
}, item.applyStatus == `2` ? {
r: common_vendor.t(item.comName)
z: common_vendor.t(item.comName)
} : {}, {
s: index
A: index
});
}),
h: `100vh`,

File diff suppressed because one or more lines are too long

View File

@ -150,7 +150,7 @@
width: 100%;
display: flex;
justify-content: center;
margin-top: 20rpx;
margin-top: 10rpx;
}
.white-content-father-time .white-bgc.data-v-f6d04c18 {
width: 100%;
@ -214,7 +214,7 @@
margin-top: 35rpx;
width: 20.7%;
margin-left: 3%;
height: 237rpx;
height: 280rpx;
background-color: #fff;
border-radius: 35rpx;
display: flex;
@ -273,6 +273,41 @@
margin-right: 15rpx;
background-color: black;
}
.button-double.data-v-f6d04c18 {
position: absolute;
bottom: 45rpx;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
height: 90rpx;
border-radius: 37rpx;
font-size: 33rpx;
margin-top: 80rpx;
}
.button-double .double-left.data-v-f6d04c18 {
width: 30%;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
background-color: #F7F7F7;
border-radius: 40rpx;
margin-left: 40rpx;
z-index: 999;
}
.button-double .double-right.data-v-f6d04c18 {
width: 30%;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
color: #fff;
border-radius: 40rpx;
margin-right: 40rpx;
z-index: 999;
}
.button-blue.data-v-f6d04c18 {
position: absolute;
bottom: 45rpx;

View File

@ -1,6 +1,5 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_addstaff_api_addjigou = require("../addstaff/api/addjigou.js");
if (!Math) {
(exit + downMenu)();
}
@ -17,7 +16,7 @@ const _sfc_main = {
phone.value = common_vendor.index.getStorageSync("tel");
platId.value = common_vendor.index.getStorageSync("platId");
});
const cardMenu = [`员工信息`, `入驻审核`, `机构邀请`, `员工功能`];
const cardMenu = [`审核列表`, `员工功能`];
const change = () => {
common_vendor.index.navigateTo({
url: `/pages/login/threeselectonespec`
@ -29,32 +28,10 @@ const _sfc_main = {
const clickButton = (index) => {
switch (index) {
case 0:
loadingData();
break;
case 1:
changeData();
break;
case 2:
common_vendor.index.navigateTo({
url: "/pages/yuangongindex/companyyaoqing"
});
break;
}
};
const loadingData = () => {
common_vendor.index.getStorage({
key: "openid",
success: function(res) {
pages_addstaff_api_addjigou.getMessageList(res.data).then((res2) => {
if (res2.success) {
common_vendor.index.navigateTo({
url: `/pages/addstaff/all?element=${JSON.stringify(res2.result[0])}`
});
}
});
}
});
};
const changeData = () => {
common_vendor.index.navigateTo({
url: "/pages/yuangongindex/workjoin"
@ -69,14 +46,12 @@ const _sfc_main = {
c: common_vendor.t(platId.value),
d: common_vendor.t(phone.value),
e: common_vendor.f(cardMenu, (item, index, i0) => {
return common_vendor.e({
return {
a: `https://www.focusnu.com/media/directive/index/staffmine/${index}.png`,
b: common_vendor.t(item),
c: !index
}, !index ? {} : {}, {
d: index,
e: common_vendor.o(($event) => clickButton(index), index)
});
c: index,
d: common_vendor.o(($event) => clickButton(index), index)
};
}),
f: common_vendor.o(change),
g: common_vendor.o(exitshowopen),

View File

@ -1 +1 @@
<view class="login-container data-v-4a2cd26c"><exit wx:if="{{b}}" class="data-v-4a2cd26c" bindclose="{{a}}" u-i="4a2cd26c-0" bind:__l="__l" u-p="{{b}}"/><image class="bgc-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/bgc.png"/><view class="ball data-v-4a2cd26c"><image class="ball-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/head.png"/></view><view class="data-v-4a2cd26c" style="display:flex;margin-top:30rpx"><view class="badid data-v-4a2cd26c"> ID </view><view class="data-v-4a2cd26c" style="z-index:1;margin-top:-3rpx">{{c}}</view></view><view class="phone data-v-4a2cd26c">{{d}}</view><view class="white-father data-v-4a2cd26c"><view wx:for="{{e}}" wx:for-item="item" wx:key="d" class="white-card data-v-4a2cd26c" bindtap="{{item.e}}"><view class="white-left data-v-4a2cd26c"><image class="white-left-imge data-v-4a2cd26c" src="{{item.a}}"/><view class="data-v-4a2cd26c" style="font-size:32rpx">{{item.b}}</view></view><view class="white-right data-v-4a2cd26c"><view wx:if="{{item.c}}" class="data-v-4a2cd26c" style="font-size:30rpx;margin-top:0rpx;color:#777777">完善员工信息</view><image class="white-right-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view></view></view><view class="blue-button data-v-4a2cd26c" bindtap="{{f}}"><image class="blue-button-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/change.png"/> 切换账号 </view><view class="white-button data-v-4a2cd26c" bindtap="{{g}}"><image class="blue-button-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/exit.png"/> 退出登录 </view><down-menu wx:if="{{h}}" class="data-v-4a2cd26c" u-i="4a2cd26c-1" bind:__l="__l" u-p="{{h}}"/></view>
<view class="login-container data-v-4a2cd26c"><exit wx:if="{{b}}" class="data-v-4a2cd26c" bindclose="{{a}}" u-i="4a2cd26c-0" bind:__l="__l" u-p="{{b}}"/><image class="bgc-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/bgc.png"/><view class="ball data-v-4a2cd26c"><image class="ball-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/head.png"/></view><view class="data-v-4a2cd26c" style="display:flex;margin-top:30rpx"><view class="badid data-v-4a2cd26c"> ID </view><view class="data-v-4a2cd26c" style="z-index:1;margin-top:-3rpx">{{c}}</view></view><view class="phone data-v-4a2cd26c">{{d}}</view><view class="white-father data-v-4a2cd26c"><view wx:for="{{e}}" wx:for-item="item" wx:key="c" class="white-card data-v-4a2cd26c" bindtap="{{item.d}}"><view class="white-left data-v-4a2cd26c"><image class="white-left-imge data-v-4a2cd26c" src="{{item.a}}"/><view class="data-v-4a2cd26c" style="font-size:32rpx">{{item.b}}</view></view><view class="white-right data-v-4a2cd26c"><image class="white-right-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view></view></view><view class="blue-button data-v-4a2cd26c" bindtap="{{f}}"><image class="blue-button-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/change.png"/> 切换账号 </view><view class="white-button data-v-4a2cd26c" bindtap="{{g}}"><image class="blue-button-imge data-v-4a2cd26c" src="https://www.focusnu.com/media/directive/index/mine/exit.png"/> 退出登录 </view><down-menu wx:if="{{h}}" class="data-v-4a2cd26c" u-i="4a2cd26c-1" bind:__l="__l" u-p="{{h}}"/></view>

View File

@ -1,6 +1,7 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_yuangongindex_api = require("./api.js");
const pages_addstaff_api_addjigou = require("../addstaff/api/addjigou.js");
if (!Array) {
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
_easycom_u_popup2();
@ -102,25 +103,37 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
updateTime: null,
orgCode: hulijigouArray.value[hulitarget.value].orgCode
};
pages_yuangongindex_api.Apply(data).then((data2) => {
if (data2.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: ["cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww"],
success: (res) => {
popupshow.value = true;
setTimeout(() => search(), 1e3);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/yuangongindex/searchjigou.vue:239", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
pages_addstaff_api_addjigou.getMessageList().then((res) => {
if (Array.isArray(res.result) && res.result.length === 0) {
common_vendor.index.setStorageSync("nostaffmessage", hulijigouArray.value[hulitarget.value].orgCode);
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addstaff/information`
});
} else {
pages_yuangongindex_api.Apply(data).then((data2) => {
if (data2.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: ["cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww"],
success: (res2) => {
popupshow.value = true;
setTimeout(() => search(), 1e3);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/yuangongindex/searchjigou.vue:256", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
});
}
});
}
setTimeout(() => sumbit.value = false, 1e3);
});
}
setTimeout(() => sumbit.value = false, 1e3);
});
};
return (_ctx, _cache) => {

View File

@ -1 +1 @@
<view class="login-container data-v-9f30267b" style="{{g}}"><model wx:if="{{b}}" class="data-v-9f30267b" bindclose="{{a}}" u-i="9f30267b-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-9f30267b"><view class="left-father data-v-9f30267b" bindtap="{{c}}"><image class="back-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9f30267b" style="font-size:30rpx">入驻审核</view></view></view><view wx:if="{{d}}" class="index-up data-v-9f30267b"><image class="index-up-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view wx:if="{{e}}" class="data-v-9f30267b" style="position:absolute;left:0;top:400rpx;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:999"><image class="data-v-9f30267b" style="height:220rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png"/><view class="data-v-9f30267b" style="color:#8E96AD;margin-top:20rpx"> 暂无申请信息 </view></view><view class="bgc-card data-v-9f30267b"><view class="under-scroll data-v-9f30267b"><view wx:for="{{f}}" wx:for-item="item" wx:key="m" class="data-v-9f30267b"><view class="white-small data-v-9f30267b" style="{{item.l}}"><view class="card-font data-v-9f30267b">{{item.a}}</view><view class="gray-font data-v-9f30267b"><image class="data-v-9f30267b" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} | <image class="data-v-9f30267b" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-9f30267b"> 申请中 </view><view wx:if="{{item.e}}" class="applysuccess data-v-9f30267b"> 申请通过 </view><view wx:if="{{item.f}}" class="applyfail data-v-9f30267b"> 申请驳回 </view><view class="gray-bgc data-v-9f30267b"><image class="gray-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-9f30267b" style="color:#999999;z-index:1;font-size:27rpx;width:100%"><image class="data-v-9f30267b" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/> {{item.g}}</view></view><view class="data-v-9f30267b" style="width:100%;display:flex;justify-content:center"><view wx:if="{{item.h}}" class="blue-button data-v-9f30267b" catchtap="{{item.i}}"> 重新申请 </view><view wx:if="{{item.j}}" class="white-button data-v-9f30267b" catchtap="{{item.k}}"> 驳回原因 </view></view></view></view></view></view></view>
<view class="login-container data-v-9f30267b" style="{{g}}"><model wx:if="{{b}}" class="data-v-9f30267b" bindclose="{{a}}" u-i="9f30267b-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-9f30267b"><view class="left-father data-v-9f30267b" bindtap="{{c}}"><image class="back-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9f30267b" style="font-size:30rpx">审核列表</view></view></view><view wx:if="{{d}}" class="index-up data-v-9f30267b"><image class="index-up-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view wx:if="{{e}}" class="data-v-9f30267b" style="position:absolute;left:0;top:400rpx;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:999"><image class="data-v-9f30267b" style="height:220rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/jigouyaoqing.png"/><view class="data-v-9f30267b" style="color:#8E96AD;margin-top:20rpx"> 暂无申请信息 </view></view><view class="bgc-card data-v-9f30267b"><view class="under-scroll data-v-9f30267b"><view wx:for="{{f}}" wx:for-item="item" wx:key="m" class="data-v-9f30267b"><view class="white-small data-v-9f30267b" style="{{item.l}}"><view class="card-font data-v-9f30267b">{{item.a}}</view><view class="gray-font data-v-9f30267b"><image class="data-v-9f30267b" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} | <image class="data-v-9f30267b" style="margin-left:10rpx;height:25rpx;width:25rpx;margin-right:10rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-9f30267b"> 申请中 </view><view wx:if="{{item.e}}" class="applysuccess data-v-9f30267b"> 申请通过 </view><view wx:if="{{item.f}}" class="applyfail data-v-9f30267b"> 申请驳回 </view><view class="gray-bgc data-v-9f30267b"><image class="gray-img data-v-9f30267b" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-9f30267b" style="color:#999999;z-index:1;font-size:27rpx;width:100%"><image class="data-v-9f30267b" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/> {{item.g}}</view></view><view class="data-v-9f30267b" style="width:100%;display:flex;justify-content:center"><view wx:if="{{item.h}}" class="blue-button data-v-9f30267b" catchtap="{{item.i}}"> 重新申请 </view><view wx:if="{{item.j}}" class="white-button data-v-9f30267b" catchtap="{{item.k}}"> 驳回原因 </view></view></view></view></view></view></view>