This commit is contained in:
wangweidong 2026-02-06 17:29:25 +08:00
parent 961d257a3a
commit 81a92488d2
15 changed files with 1119 additions and 64 deletions

View File

@ -10,7 +10,7 @@
</view> -->
<!-- <view class="text">提示</view> -->
<!-- <view class="button" @click="handleClose">确定</view> -->
<view style="font-size: 25rpx;line-height: 45rpx;">{{ content }}</view>
<view style="font-size: 25rpx;line-height: 45rpx;word-break: break-all">{{ content }}</view>
</view>
</view>
</template>

View File

@ -401,6 +401,20 @@
{
"navigationBarTitleText" : ""
}
},
{
"path" : "pages/oldmanindex/flushJobs",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "pages/oldmanindex/all",
"style" :
{
"navigationBarTitleText" : ""
}
}
],
"globalStyle": {

View File

@ -247,19 +247,19 @@
return
} else if (!form.orgAddress) {
uni.showToast({
title: '请填写详细地址',
title: '请输入详细地址',
icon: 'error'
})
return
} else if (!form.orgLeader) {
uni.showToast({
title: '请填写机构负责人',
title: '请输入机构负责人',
icon: 'error'
})
return
} else if (!form.orgLeaderPhone) {
uni.showToast({
title: '请填写手机号',
title: '请输入手机号',
icon: 'error'
})
return
@ -271,13 +271,13 @@
return
} else if (!form.orgPropertyType) {
uni.showToast({
title: '请填写房屋性质',
title: '请输入房屋性质',
icon: 'error'
})
return
} else if (!form.orgBuildingArea) {
uni.showToast({
title: '请填写建筑面积',
title: '请输入建筑面积',
icon: 'error'
})
return

View File

@ -25,12 +25,21 @@
<view class="content-weight" style="margin-top: -2rpx;">监护人信息</view>
<image class="shu-img"
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="alldata.elderModifyStatus==1" >待审核</text>
<text v-if="alldata.elderModifyStatus==2" style="color: #0089FE;">审核通过</text>
<text v-if="alldata.elderModifyStatus==3">审核驳回</text>
</view>
</view>
<view class="small-blue" @click="changeMessage" v-if="!applyStatus">
编辑
</view>
</view>
<view style="margin:0 auto 20rpx;width: 100%;color: red;display: flex;" v-if="alldata.guardianModifyStatus==3&&alldata.guardianModifyContent">
<text style="color: #222;margin-left: 30rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{alldata.guardianModifyContent}}</text>
</view>
<view class="white-photo" @click="getMessage(headImge0)">
<view class="photo-left">
<view class="photo-weight">人像面</view>

View File

@ -18,14 +18,25 @@
<view class="content-weight" style="margin-top: -2rpx;">长者信息</view>
<image class="shu-img"
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="alldata.elderModifyStatus==1" >待审核</text>
<text v-if="alldata.elderModifyStatus==2" style="color: #0089FE;">审核通过</text>
<text v-if="alldata.elderModifyStatus==3">审核驳回</text>
</view>
</view>
<view class="small-blue" @click="changeMessage" v-if="!applyStatus">
<view class="small-blue" @click="changeMessage" v-if="!applyStatus&&alldata.elderModifyStatus!=1">
编辑
</view>
</view>
</view>
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="alldata.elderModifyStatus==3&&alldata.elderModifyContent">
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{alldata.elderModifyContent}}</text>
</view>
<view class="white-content">

View File

@ -268,12 +268,12 @@
const next = () => {
if (!form.maritalStatus) {
uni.showToast({
title: '请填写婚否',
title: '请输入婚否',
icon: 'error'
})
} else if (!form.tel) {
uni.showToast({
title: '请填写联系电话',
title: '请输入联系电话',
icon: 'error'
})
} else if (!isValid11DigitNumber(form.tel)) {
@ -284,32 +284,32 @@
return
} else if (!form.height) {
uni.showToast({
title: '请填写身高',
title: '请输入身高',
icon: 'error'
})
} else if (!form.weight) {
uni.showToast({
title: '请填写体重',
title: '请输入体重',
icon: 'error'
})
} else if (!form.healthStatus) {
uni.showToast({
title: '请填写健康状态',
title: '请输入健康状态',
icon: 'error'
})
} else if (!form.politicalAppearance) {
uni.showToast({
title: '请填写政治面貌',
title: '请输入政治面貌',
icon: 'error'
})
} else if (!form.contactName) {
uni.showToast({
title: '请填写紧急联系人',
title: '请输入紧急联系人',
icon: 'none'
})
} else if (!form.contactTel) {
uni.showToast({
title: '请填写紧急联系人电话',
title: '请输入紧急联系人电话',
icon: 'none'
})
} else if (!isValid11DigitNumber(form.contactTel)) {
@ -320,18 +320,18 @@
return
} else if (!form.contactRelationship) {
uni.showToast({
title: '请填写联系人和本人的关系',
title: '请输入联系人和本人的关系',
icon: 'none'
})
} else if (!form.hukouType) {
uni.showToast({
title: '请填写户口性质',
title: '请输入户口性质',
icon: 'error'
})
}
else if (!form.currentAddress) {
uni.showToast({
title: '请填写现住址',
title: '请输入现住址',
icon: 'error'
})
}

View File

@ -19,16 +19,17 @@
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
</view>
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="datas.suppliersStatus==1" >申请中</text>
<text v-if="datas.suppliersStatus==3">驳回</text>
<text v-if="datas.suppliersStatus==4">申请变更中</text>
<text v-if="datas.suppliersStatus==1" >待审核</text>
<text v-if="datas.suppliersStatus==3">审核驳回</text>
<text v-if="datas.suppliersStatus==4">待审核</text>
</view>
<view class="small-blue" @click="changeMessage" v-if="(datas.suppliersStatus==2&&code>0)||(datas.suppliersStatus==5&&code>0)">
<view class="small-blue" @click="changeMessage" v-if="code>0">
编辑
</view>
</view>
<view style="margin:0 auto 0;width: 100%;color: red;" v-if="datas.suppliersStatus==3||datas.suppliersStatus==5">
<text style="color: #222;margin-left: 20rpx;">驳回原因</text> {{datas.auditContent}}
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="datas.suppliersStatus==3||datas.suppliersStatus==5">
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{datas.auditContent}}</text>
</view>
<view class="white-message">
<view>
@ -61,12 +62,11 @@
</view>
</view>
<view style="display: flex;width: 100%;" v-if="(code>0&&!datas.suppliersStatus)||(code>0&&datas.suppliersStatus==3)">
<!-- <view style="display: flex;width: 100%;" v-if="(code>0&&!datas.suppliersStatus)||(code>0&&datas.suppliersStatus==3)">
<view class="finish-button" @click="next" >
<text v-if="code==1">重新</text>申请
</view>
</view>
</view> -->
<!-- <view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(backImge)">
<view class="photo-left">
<view class="photo-weight">国徽面</view>
@ -338,7 +338,7 @@
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 12;
return typeof str === 'string' && str.length >= 10;
}
const openLook = (res) => {
if (isAtLeastEightChars(res)) {
@ -638,6 +638,6 @@
color: #007CFF;
border-radius: 30rpx;
font-size: 30rpx;
z-index: 9999;
z-index: 2;
}
</style>

View File

@ -17,15 +17,16 @@
</view>
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="form.suppliersStatus==1" >申请中</text>
<text v-if="form.suppliersStatus==2" style="color: #0089FE;">通过</text>
<text v-if="form.suppliersStatus==3">驳回</text>
<text v-if="form.suppliersStatus==4">申请变更中</text>
<text v-if="form.suppliersStatus==5">变更已驳回</text>
<text v-if="form.suppliersStatus==1" >待审核</text>
<text v-if="form.suppliersStatus==2" style="color: #0089FE;">审核通过</text>
<text v-if="form.suppliersStatus==3">审核驳回</text>
<text v-if="form.suppliersStatus==4">待审核</text>
<text v-if="form.suppliersStatus==5">审核驳回</text>
</view>
</view>
<view style="margin: 0 auto 0;width: 100%;color: red;" v-if="form.suppliersStatus==3||form.suppliersStatus==5">
<text style="color: #222;margin-left: 20rpx;">驳回原因</text>{{form.auditContent}}
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="form.suppliersStatus==3||form.suppliersStatus==5">
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{form.auditContent}}</text>
</view>
<view class="white-message">
<view>
@ -43,7 +44,7 @@
@confirm="confirmmarry"></u-select>
<view class="one">
<view class="one-left">供应商地址</view>
<input class="one-right" maxlength="30" placeholder="请输入供应商地址"
<input class="one-right" maxlength="50" placeholder="请输入供应商地址"
v-model="form.suppliersAddress" />
</view>
<view class="one">
@ -91,7 +92,7 @@
</view>
</view>
<view style="display: flex;width: 100%;" v-if="!form.suppliersStatus||form.suppliersStatus==2||form.suppliersStatus==5||!form.id">
<view style="display: flex;width: 100%;" >
<view class="finish-button" style="background: #efecec;border: 1px solid #d4d4d4;color: #b9b2b2;" v-if="form.izModify==true">
信息变更中
</view>
@ -123,6 +124,7 @@
applySupOrg
} from './api/api.js'
import model from "@/compontent/public/model.vue"
import { log } from 'three';
const uping = ref(true);
@ -305,13 +307,7 @@
return /^1[3-9]\d{9}$/.test(val);
}
const next = () => {
if(!form.orgCode){
uni.showToast({
title: '请选择机构',
icon: 'none'
})
return
}
if (!uping.value) {
return
}
@ -374,7 +370,14 @@
}
const gotopush = () => {
if (form.id) {
if (form.id&&form.suppliersStatus!=3) {
if(!form.orgCode ){
uni.showToast({
title: '请选择机构',
icon: 'none'
})
return
}
editSuppliers(form).then((res) => {
// console.log("res",res)
uni.hideLoading()
@ -393,6 +396,13 @@
}
})
} else {
if(!uni.getStorageSync('nostaffmessage')){
uni.showToast({
title: '请选择机构',
icon: 'none'
})
return
}
addSuppliers(form).then((res) => {
if(res.code == 500){
uni.showToast({
@ -417,7 +427,7 @@
{
uni.hideLoading()
uni.setStorageSync(
'isstaffchange', false);
'isstaffchange', form.suppliersStatus==3?true:false);
uni.reLaunch({
url: `/pages/addsupplier/successpush`
});

View File

@ -30,14 +30,15 @@
</view>
<view class="yuangong-font">
&#x3000;&#x3000;入驻护理单元遵循标准护理流程提供长者床旁照护用专业技能与人文关怀共同守护长者健康<text style="color: #2792FC;">依托物联设备优化服务流程依托员工培训提升照护能力确保服务精准高效</text>
&#x3000;&#x3000;入驻护理单元遵循标准护理流程提供长者床旁照护用专业技能与人文关怀共同守护长者健康
<text style="color: #2792FC;">依托物联设备优化服务流程依托员工培训提升照护能力确保服务精准高效</text>
</view>
</view>
</swiper-item>
<swiper-item style="position: relative;">
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/jigoubgc.png`" />
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 150rpx;">
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 102rpx;">
<view class="title-name">
<!-- <view class="gray-heng"></view> -->
<view class="font-weight">
@ -48,7 +49,8 @@
<!-- <image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/jigou.png" /> -->
<view class="yuangong-font">
&#x3000;&#x3000;加盟护理单元坐拥成熟运营体系精简人力配置降低运营成本优质资源共享多重优势协同发力<text style="color: #2792FC;">全方位拓宽利润空间助力占领银发赛道</text>
&#x3000;&#x3000;加盟护理单元坐拥成熟运营体系精简人力配置降低运营成本优质资源共享多重优势协同发力
<text style="color: #2792FC;">全方位拓宽利润空间助力占领银发赛道</text>
</view>
</view>

526
pages/oldmanindex/all.vue Normal file
View File

@ -0,0 +1,526 @@
<template>
<div class="container">
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<image class="greenbgc" src="https://www.focusnu.com/media/directive/index/greenbgc.png" />
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">监护人/长者信息</view>
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
<view class="white-content">
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;">
<view style="display: flex;">
<view class="shu"></view>
<view class="content-weight" style="margin-top: -2rpx;">监护人信息</view>
<image class="shu-img"
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="alldata.elderModifyStatus==1" >待审核</text>
<text v-if="alldata.elderModifyStatus==2" style="color: #0089FE;">审核通过</text>
<text v-if="alldata.elderModifyStatus==3">审核驳回</text>
</view>
</view>
</view>
<view style="margin:0 auto 20rpx;width: 100%;color: red;display: flex;" v-if="alldata.elderModifyStatus==3&&alldata.guardianModifyContent">
<text style="color: #222;margin-left: 30rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{alldata.elderModifyContent}}</text>
</view>
<view class="white-photo" @click="getMessage(headImge0)">
<view class="photo-left">
<view class="photo-weight">人像面</view>
<!-- <view class="photo-font">请上传营业执照</view> -->
</view>
<view style="position: relative;">
<image class="photo"
:src="headImge1 ? headImge1 : `https://www.focusnu.com/media/directive/index/zhizhao.png`" />
<image v-if="!headImge1"
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 class="white-message">
<view>
<view v-for="(item,index) in nameArray1" :key="index" class="one"
@click="openLook(textArray[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{textArray[index] ? textArray[index] : "无" }}</view>
</view>
</view>
</view>
</view>
<view class="white-content">
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;">
<view style="display: flex;">
<view class="shu"></view>
<view class="content-weight" style="margin-top: -2rpx;">长者信息</view>
<image class="shu-img"
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
<text v-if="alldata.modifyStatus==1" >待审核</text>
<text v-if="alldata.modifyStatus==2" style="color: #0089FE;">审核通过</text>
<text v-if="alldata.modifyStatus==3">审核驳回</text>
</view>
</view>
</view>
</view>
<view style="margin:0 auto 20rpx;width: 100%;color: red;display: flex;" v-if="alldata.modifyStatus==3&&alldata.auditContent">
<text style="color: #222;margin-left: 30rpx;width: 20%;white-space: nowrap;">驳回原因</text>
<text style="word-break: break-all; width: 73%;">{{alldata.auditContent}}</text>
</view>
<view class="white-content">
<view class="white-photo" @click="getMessage(`${media_base_url}${specialImge}`)">
<view class="photo-left">
<view class="photo-weight">人像面</view>
<!-- <view class="photo-font">请上传身份证人像面</view> -->
</view>
<view style="position: relative;">
<image class="photo"
:src="specialImge ? `${media_base_url}${specialImge}` : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
<image v-if="!specialImge"
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 class="white-photo" style="margin-top: 30rpx;" @click="getMessage(`${media_base_url}${endphoto}`)">
<view class="photo-left">
<view class="photo-weight">国徽面</view>
<!-- <view class="photo-font">请上传身份证国徽面</view> -->
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto ? `${media_base_url}${endphoto}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
<image v-if="!endphoto"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
</view>
</view>
<!-- <view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认身份证信息</view>
</view> -->
<view class="white-message">
<view>
<view v-for="(item,index) in nameArray" :key="index" class="one"
@click="openLook(textArray[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{textArray[index] ? textArray[index] : "无" }}</view>
</view>
</view>
</view>
</view>
<view style="display: flex;width: 100%;margin-top: 40rpx;"></view>
</div>
</template>
<script setup>
import {
ref,
reactive
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app';
import {
media_base_url
} from '@/request/index.js';
import {
getrel,
getManyDictItems
} from '@/pages/addjigou/api/addjigou.js';
import model from "@/compontent/public/model.vue"
import {
swapLongTerm
} from '@/compontent/public/long.js'
const show = ref(false);
const content = ref("");
const statusarray = ["loading", "success", "fail"]
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限", "医保类型", "失能等级"];
const textArray = reactive(["", "", "", "", "", "", "", "", "", ""]);
const headImge = ref("");
const headImge0 = ref("");
const headImge1 = ref("");
const fontphoto0 = ref("")
const endphoto0 = ref("")
const imgArray = ref(["", "", "", ""])
const nameArray0 = ["开户行", "开户行卡号"];
const textArray0 = reactive(["", "", ]);
const nameArray1 = [ "姓名", "电话", "身份证号码", "家庭住址", "工作单位"];
const textArray1 = reactive(["", "", "", "", "", "", "", "", "", ""]);
const backImge = ref("");
const states = ["待提交", "审核中", "审核通过", "审核未通过"];
const fontphoto = ref("");
const endphoto = ref("");
const statesTarget = ref(0);
//
const tempImagePath = ref('')
//
function getMessage(url) {
if (!url) {
return
}
uni.previewImage({
current: url, //
urls: [url], //
indicator: 'default', // 'default'|'number'|'none'
loop: true, //
longPressActions: {
itemList: ['保存图片'],
success: (data) => {
console.log('长按操作成功', data)
},
fail: (err) => {
console.error('长按操作失败', err)
}
}
})
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 12;
}
const openLook = (res) => {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}
}
const goBack = () => {
uni.navigateBack()
}
const alldata = ref("");
const contentred = ref("")
const specialImge = ref("")
const applyStatus = ref(false);
onLoad((options) => {
if (options.applyStatus) {
applyStatus.value = options.applyStatus
}
alldata.value = JSON.parse(options.element);
let data = alldata.value
console.log(data)
if (data.content) {
contentred.value = data.content
}
textArray[0] = data.name;
textArray[1] = data.sex;
textArray[2] = data.idCard;
textArray[3] = data.national;
textArray[4] = data.dateOfBirth;
textArray[5] = data.houseAddress;
textArray[6] = data.issuingAuthority;
textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
textArray1[0] = data.guardianName;
textArray1[1] = data.guardianPhone;
textArray1[2] = data.guardianIdCard;
textArray1[3] = data.guardianHomeAddress;
textArray1[4] = data.guardianWorkUnit;
headImge1.value = `${media_base_url}${data.guardianIdCardPositive}`;
console.log(data)
fontphoto.value = data.idCardPositive
endphoto.value = data.idCardNegative
specialImge.value = data.idCardPositive
getManyDictItems(
`medical_insurance_type&dictCodeList=syb_reimbursement_type&dictCodeList=zgyb_reimbursement_type&dictCodeList=jmyb_reimbursement_type`
).then((res => {
console.log("res", res)
res.medical_insurance_type.forEach(res => {
if (data.medicalType === res.value) {
textArray[8] = res.text;
}
})
if (data.disabilityReimbursementType) {
let name = ""
switch (data.medicalType) {
case 'syb':
name = 'syb_reimbursement_type'
break
case 'zgyb':
name = 'zgyb_reimbursement_type'
break
case 'jmyb':
name = 'jmyb_reimbursement_type'
break
default:
}
console.log("wc",data.medicalType)
textArray[9] = "无";
console.log("ssssssssss",data.disabilityReimbursementType,res[name])
setTimeout(()=>{
console.log("wocao",name)
res[name].forEach(res => {
if (data.disabilityReimbursementType == res.value) {
textArray[9] = res.text;
}
})
},30)
}
}))
})
const changeMessage = () => {
console.log("看看啊", alldata.value)
if (alldata.value.elderModifyStatus == '1') {
openLook("该长者信息正在审核中,请等待")
} else {
let item = alldata.value
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"
})
}
}
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
overflow: hidden;
.white-content {
width: 90%;
margin-left: 5%;
border-radius: 35rpx;
.content-title {
display: flex;
align-items: center;
height: 100rpx;
position: relative;
font-weight: 600;
.content-weight {
font-size: 32rpx;
}
.content-img {
position: absolute;
right: 0;
top: 0;
width: 400rpx;
height: 100%;
}
}
}
.white-photo {
width: 100%;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
justify-content: space-around;
align-items: center;
display: flex;
.photo {
width: 300rpx;
height: 200rpx;
}
}
.white-message {
width: 100%;
margin-top: 20rpx;
padding-top: 20rpx;
padding-bottom: 20rpx;
margin-bottom: 30rpx;
border-radius: 35rpx;
background-color: #fff;
justify-content: space-around;
display: flex;
flex-direction: column;
.one {
width: 90%;
margin-left: 5%;
height: 100rpx;
display: flex;
align-items: center;
margin-bottom: 10rpx;
.one-left {
margin-left: 10rpx;
font-size: 30rpx;
// color: red;
color: black;
z-index: 1;
width: 250rpx;
}
.one-right {
margin-right: 10rpx;
font-size: 30rpx;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
max-width: 330rpx;
}
}
}
}
.photo-left {
z-index: 1;
.photo-weight {
font-size: 32rpx;
font-weight: 600;
color: #333;
}
.photo-font {
font-size: 28rpx;
margin-top: 10rpx;
color: #666;
}
}
.gray-font {
padding: 20rpx 60rpx;
padding-bottom: 35rpx;
color: #999999;
}
.title-back {
background-color: #F7F7F7;
width: 100%;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #cbd1d2;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.shu {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.line {
margin: 10rpx 0;
}
.shu-img {
position: absolute;
right: 20rpx;
top: 40%;
transform: translateY(-40%);
width: 150rpx;
height: 130rpx;
}
.greenbgc {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700rpx;
}
.contentred {
width: 90%;
border: dashed 3rpx #FF4B2F;
border-radius: 15rpx;
margin: 15rpx 0;
margin-left: 5%;
padding: 5rpx;
.contentred-bgc {
background-color: rgb(240, 228, 228);
border-radius: 15rpx;
color: red;
padding: 20rpx;
padding-bottom: 30rpx;
}
}
.small-blue {
display: flex;
justify-content: center;
align-items: center;
width: 35%;
height: 70rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 30rpx;
font-size: 30rpx;
z-index: 2;
}
</style>

View File

@ -114,3 +114,9 @@ export function payMoneyList(nuId,orgCode){
method: 'get',
})
}
export function queryElderHisAudit(nuId,orgCode){
return request({
url: `/api/elderInfo/queryElderHisAudit?openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}

View File

@ -0,0 +1,466 @@
<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 class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">审核记录</view>
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
<view class="index-up" v-if="workArray.length">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" 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" @click="jumpToAll(item)">
<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.guardianName }} |
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.guardianPhone }}
</view>
<view class="gray-font">
<image style="margin-left: 10rpx;height: 28rpx;width: 28rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/time.png" />
{{item.createTime}}
</view>
<view class="applying" v-if="item.modifyStatus===`1`">
待审核
</view>
<view class="applysuccess" v-if="item.modifyStatus===`2`">
审核通过
</view>
<view class="applyfail" v-if="item.modifyStatus===`3`">
审核驳回
</view>
<view class="applyfail" v-if="item.modifyStatus===`4`">
待审核
</view>
<view class="applyfail" v-if="item.modifyStatus===`5`">
审核驳回
</view>
<!-- <view class="applying" v-if="item.applyStatus===`1`&&item.applyType==`2`">
变更中
</view>
<view class="applysuccess" v-if="item.applyStatus===`2`&&item.applyType==`2`">
变更通过
</view>
<view class="applyfail" v-if="item.applyStatus===`3`&&item.applyType==`2`">
变更驳回
</view> -->
<!-- <view class="applywhy" v-if="item.applyStatus===`3`" @click="openLook(item.auditContent)">
驳回原因
</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.houseAddress}}
</view>
</view>
<view style="width: 100%;display: flex;justify-content: center;">
<!-- <view class="blue-button"
v-if="item.applyStatus != 1 && item.applyStatus != 2 && item.izHistory == `N` && item.applyType!=`2`"
@click.stop="again(item)">
重新申请
</view> -->
<view class="white-button"
v-if="item.modifyStatus===`3`"
@click.stop="openLook(item.auditContent)">
驳回原因
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref,
nextTick
} from 'vue';
import {
onLoad,
onPullDownRefresh,
} from '@dcloudio/uni-app'
import {
queryElderHisAudit
} from './api.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((options) => {
queryElderHisAudit().then(res => {
workArray.value = res.result
})
})
onPullDownRefresh(() => {
queryElderHisAudit().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 again = (item) => {
uni.navigateTo({
url: "/pages/supplierindex/searchjigou"
})
}
const jumpToAll = (element) => {
uni.navigateTo({
url: `/pages/oldmanindex/all?element=${JSON.stringify(element)}`
});
}
</script>
<style lang="scss" scoped>
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: rgb(239, 241, 252);
position: relative;
}
.under-scroll {
width: 100%;
height: calc(100% - 460rpx);
padding-top: 30rpx;
.white-small {
width: 94%;
margin-left: 3%;
// height: 300rpx;
background-color: #fff;
border-radius: 30rpx;
// padding: 40rpx;
padding: 0rpx 40rpx;
// margin-bottom: 50rpx;
font-size: 25rpx;
// color: #999999;
position: relative;
padding-bottom: 25rpx;
}
}
.button-heng {
// width: 100%;
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
}
.bgc-card {
margin-top: 450rpx;
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 {
background-color: #F7F7F7;
width: 100%;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #cbd1d2;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.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 bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 25rpx;
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%;
}
.gray-bgc {
margin-top: 20rpx;
// padding-bottom: 20rpx;
width: 100%;
height: 75rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
position: relative;
font-size: 28rpx;
.gray-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
.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;
min-width: 130rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
border-radius: 10rpx;
margin-left: 35rpx;
margin-top: 20rpx;
white-space: nowrap;
padding: 0 10rpx;
// 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;
}
</style>

View File

@ -71,7 +71,7 @@
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = []
const cardMenu = [`审核记录`]
const change = () => {
uni.navigateTo({
@ -89,7 +89,7 @@
switch (index) {
case 0:
uni.navigateTo({
url: "/pages/oldmanindex/moneylist"
url: "/pages/oldmanindex/flushJobs"
})
// changeData()

View File

@ -42,21 +42,27 @@
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.orgLeaderPhone }}
</view>
<view class="gray-font">
<image style="margin-left: 10rpx;height: 28rpx;width: 28rpx;margin-right: 10rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/time.png" />
{{item.createTime}}
</view>
<view class="applying" v-if="item.suppliersStatus===`1`">
申请中
待审核
</view>
<view class="applysuccess" v-if="item.suppliersStatus===`2`">
申请通过
审核通过
</view>
<view class="applyfail" v-if="item.suppliersStatus===`3`">
申请驳回
审核驳回
</view>
<view class="applyfail" v-if="item.suppliersStatus===`4`">
申请变更中
待审核
</view>
<view class="applyfail" v-if="item.suppliersStatus===`5`">
变更已驳回
审核驳回
</view>
<!-- <view class="applying" v-if="item.applyStatus===`1`&&item.applyType==`2`">
变更中

View File

@ -10,7 +10,7 @@
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">采购单列表</view>
<view style="font-size: 30rpx;">审核记录</view>
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
@ -43,23 +43,28 @@
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.tel }}
</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/time.png" />
{{item.createTime}}
</view>
<view class="applying" v-if="item.applyStatus===`1`&&item.applyType!=`2`">
{{ item.applyType =='0' ?`待确认`:`申请中` }}
{{ item.applyType =='0' ?`待确认`:`待审核` }}
</view>
<view class="applysuccess" v-if="item.applyStatus===`2`&&item.applyType!=`2`">
{{ item.applyType =='0' ?`已接受`:`申请通过` }}
{{ item.applyType =='0' ?`已接受`:`审核通过` }}
</view>
<view class="applyfail" v-if="item.applyStatus===`3`&&item.applyType!=`2`">
{{ item.applyType =='0' ?`已拒绝`:`申请驳回` }}
{{ item.applyType =='0' ?`已拒绝`:`审核驳回` }}
</view>
<view class="applying" v-if="item.applyStatus===`1`&&item.applyType==`2`">
变更中
待审核
</view>
<view class="applysuccess" v-if="item.applyStatus===`2`&&item.applyType==`2`">
变更通过
审核通过
</view>
<view class="applyfail" v-if="item.applyStatus===`3`&&item.applyType==`2`">
变更驳回
审核驳回
</view>
<!-- <view class="applywhy" v-if="item.applyStatus===`3`" @click="openLook(item.auditContent)">
驳回原因