增加了供应商模块

This commit is contained in:
Teng 2025-12-24 17:18:42 +08:00
parent 2aa1526dc4
commit e4b621064b
113 changed files with 8281 additions and 981 deletions

View File

@ -0,0 +1,144 @@
<template>
<!-- 底部的栏为啥这样写是因为要做左右拉动 -->
<view class="botton-view">
<view v-for="(item,index) in itemArray" :key="index" class="array-father">
<view :class="itemTarget===index ? `bottom-button-target` : `bottom-button`" @click="jumpto(index)">
<donghua :width="`60rpx`" :height="`60rpx`" :links="donghuaArray[index]" :playing="playing==index"
:interval="50" />
<view class="bottom-text">
{{item}}
</view>
</view>
</view>
</view>
</template>
<script setup>
import {
ref,
onMounted
} from 'vue'
import {
genPaths
} from '@/compontent/public/issame.js'
const props = defineProps({
itemTarget: {
type: Number,
required: true, //
default: -1 //
}
})
const playing = ref(-1);
const photoplay = ref(false);
const itemArray = ["NU", "动态", "我的"];
const donghuaArray = [genPaths(
'/static/donghua/home',
'home',
19, //
'png',
0, //
false //
), genPaths(
'/static/donghua/new',
'new',
18, //
'png',
0, //
false //
), genPaths(
'/static/donghua/my',
'my',
14, //
'png',
0, //
false //
)]
onMounted(() => {
photoplay.value = true;
playing.value = props.itemTarget
})
const jumpto = (index) => {
if (index != props.itemTarget) {
switch (index) {
case 0:
uni.reLaunch({
url: `/pages/supplierindex/index`
});
break;
case 1:
break;
case 2:
uni.reLaunch({
url: `/pages/supplierindex/mine`
});
break;
}
}
}
</script>
<style lang="scss" scoped>
.botton-view {
position: fixed;
bottom: 0;
left: 0;
height: 120rpx;
width: 100%;
background-color: #fff;
display: flex;
justify-content: space-between;
font-weight: 500;
z-index: 9999;
.bottom-button {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.bottom-button-target {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #01a8ff;
flex-direction: column;
}
.blue-heng {
height: 6rpx;
width: 150rpx;
background-color: rgb(42, 133, 235);
position: absolute;
bottom: 55rpx;
left: 50%;
/* 左边缘到父容器左边的距离占父宽度 50% */
transform: translateX(-50%);
}
}
.array-father {
width: 33%;
position: relative;
}
.botton-img {
width: 38rpx;
height: 38rpx;
margin-bottom: 5rpx;
}
.bottom-text {
margin-top: -15rpx;
}
</style>

View File

@ -24,12 +24,7 @@
"navigationBarTitleText": "选择角色"
}
},
{
"path": "pages/login/threeselectonespec",
"style": {
"navigationBarTitleText": "选择角色"
}
},
{
"path": "pages/login/workjoin",
"style": {
@ -142,19 +137,56 @@
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/supplierindex/message",
"style": {
"navigationBarTitleText": "消息",
"enablePullDownRefresh": true
}
},
{
"path": "pages/supplierindex/index",
"style": {
"navigationBarTitleText": "首页",
"enablePullDownRefresh": true
}
},
{
"path": "pages/supplierindex/mine",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/supplierindex/searchjigou",
"style": {
"navigationBarTitleText": "入住护理机构"
}
},
{
"path": "pages/supplierindex/workjoin",
"style": {
"navigationBarTitleText": "审核记录",
"enablePullDownRefresh": true
}
},
{
"path": "pages/addsupplier/all",
"style": {
"navigationBarTitleText": "查看公司信息"
// "enablePullDownRefresh": true
}
},
{
"path": "pages/oldmanindex/account",
"style": {
"navigationBarTitleText": "账单"
}
},
// {
// "path": "pages/oldmanindex/searchjigou",
// "style": {
// "navigationBarTitleText": "查找"
// }
// },
{
"path": "pages/oldmanindex/input",
"style": {
@ -209,24 +241,6 @@
"navigationBarTitleText": "消息"
}
},
// {
// "path": "pages/oldmanindex/companyyaoqing",
// "style": {
// "navigationBarTitleText": "公司邀请"
// }
// },
// {
// "path": "pages/oldmanindex/simpleyaoqing",
// "style": {
// "navigationBarTitleText": "公司邀请"
// }
// },
// {
// "path": "pages/oldmanindex/company",
// "style": {
// "navigationBarTitleText": "公司详情"
// }
// },
{
"path": "pages/oldmanindex/index",
"style": {
@ -323,6 +337,18 @@
"navigationBarTitleText": "入职登记表"
}
},
{
"path": "pages/addsupplier/information",
"style": {
"navigationBarTitleText": "入驻登记表"
}
},
{
"path": "pages/addsupplier/successpush",
"style": {
"navigationBarTitleText": "入驻登记表"
}
},
{
"path": "pages/addjigou/all",
"style": {

View File

@ -475,7 +475,6 @@
}
function isValid11DigitNumber(val) {
// return /^(\d{11})$/.test(val);
return /^1[3-9]\d{9}$/.test(val);
}

571
pages/addsupplier/all.vue Normal file
View File

@ -0,0 +1,571 @@
<template>
<div class="container">
<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>
</view>
<view class="white-message">
<view>
<view v-for="(item,index) in nameArray1" :key="index" class="one"
@click="openLook(textArray1[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{textArray1[index] ? textArray1[index] : "自动获取" }}</view>
</view>
</view>
</view>
</view>
<view class="white-content">
<view class="content-title" :style="!applyStatus?{height: `100rpx`}:{height: `140rpx`}"
style="position: relative;margin-bottom: 20rpx;z-index: 999;">
<view class="shu"></view>
<view class="content-weight">资质照片</view>
</view>
<view class="white-photo" @click="getMessage(headImge)">
<view class="photo-left">
<view class="photo-weight">资质照片</view>
<view class="photo-font">请上传资质照片</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="headImge ? headImge : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
<image v-if="!headImge"
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(backImge)">
<view class="photo-left">
<view class="photo-weight">国徽面</view>
<view class="photo-font">请上传身份证国徽面</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="backImge ? backImge : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
<image v-if="!backImge"
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 class="white-content">
<view class="content-title" style="margin-bottom: 30rpx;">
<view class="shu"></view>
<view class="content-weight">银行卡</view>
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo" @click="getMessage(fontphoto0)">
<view class="photo-left">
<view class="photo-weight">银行卡正面</view>
<view class="photo-font">请上传银行卡正面</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="fontphoto0 ? fontphoto0 : `https://www.focusnu.com/media/directive/index/bankfront.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="fontphoto0 ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!fontphoto0"
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(endphoto0)">
<view class="photo-left">
<view class="photo-weight">银行卡反面</view>
<view class="photo-font">请上传银行卡反面</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="endphoto0 ? endphoto0 : `https://www.focusnu.com/media/directive/index/bankend.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="endphoto0 ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!endphoto0"
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: 30rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认银行卡信息</view>
</view>
<view class="white-message">
<view>
<view v-for="(item,index) in nameArray0" :key="index" class="one"
@click="openLook(textArray0[index])">
<view class="one-left">{{item}}</view>
<view class="one-right">{{textArray0[index] ? textArray0[index] : "自动获取" }}</view>
</view>
</view>
</view>
</view> -->
<!-- <view class="white-content">
<view class="content-title" style="margin-bottom: 20rpx;">
<view class="shu"></view>
<view class="content-weight">健康证</view>
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[0] ? `${media_base_url}${imgArray[0]}` : '')">
<view class="photo-left">
<view class="photo-weight">健康证正面</view>
<view class="photo-font">请上传健康证正面</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[0] ? `${media_base_url}${imgArray[0]}` : ``" />
</view>
</view>
</view>
<view class="white-content">
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">资质证</view>
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[2] ? `${media_base_url}${imgArray[2]}` : '')">
<view class="photo-left">
<view class="photo-weight">资质证</view>
<view class="photo-font">请上传资质证</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[2] ? `${media_base_url}${imgArray[2]}` : ``" />
</view>
</view>
</view>
<view class="white-content">
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">无犯罪证明</view>
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(选填)</view>
</view>
<view class="white-photo"
@click="getMessage(imgArray[3] ? `${media_base_url}${imgArray[3]}` : '')">
<view class="photo-left">
<view class="photo-weight">无犯罪证明</view>
<view class="photo-font">请上传无犯罪证明</view>
</view>
<view style="position: relative;">
<image class="photo" :src="imgArray[3] ? `${media_base_url}${imgArray[3]}` : ``" />
</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
} 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 showmarrylist = reactive(
[{
value: '代理商',
label: '代理商',
},
{
value: '批发商',
label: '批发商',
},
{
value: '制造商',
label: '制造商',
},
]
)
const statusarray = ["loading", "success", "fail"]
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const textArray = reactive(["", "", "", "", "", "", "", ""]);
const headImge = ref("");
const headImge0 = 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 applyStatus = ref(false);
onLoad((options) => {
// console.log("aaaa",JSON.parse(options.element) )
let data = JSON.parse(options.element)
// if (options.applyStatus) {
// applyStatus.value = options.applyStatus
// }
// alldata.value = JSON.parse(options.element);
// // console.log("???")
// let data = alldata.value
// 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.birthDate;
// textArray[5] = data.idCardAddress;
// textArray[6] = data.issuingAuthority;
// textArray[7] = `${data.startTime}-${swapLongTerm(data.endTime)}`;
// headImge.value = `${media_base_url}${data.cardZmPath}`;
// backImge.value = `${media_base_url}${data.cardFmPath}`;
// textArray0[0] = data.openingBank;
// textArray0[1] = data.bankCard;
// fontphoto0.value = `${media_base_url}${data.bankZmPath}`;
// endphoto0.value = `${media_base_url}${data.bankFmPath}`;
// imgArray.value[0] = data.healthZmPath
// imgArray.value[1] = data.healthFmPath
// imgArray.value[2] = data.qualificationPath
// imgArray.value[3] = data.noCrimeCertificate
data.name = showmarrylist[Number(data.suppliersNature)-1].value
const keys = [
"suppliersName",
"name",
"suppliersAddress",
"personInCharge",
"contactNumber",
"openingBank",
"openingBankNo",
]
keys.forEach((key, index) => {
textArray1[index] = data[key] || ""
})
headImge.value = `${media_base_url}${data.imgPath}`;
// textArray1[2] = Number(textArray1[2]) + "cm"
// textArray1[3] = Number(textArray1[3]) + "kg"
})
// const changeMessage = () => {
// // console.log("????", alldata.value)
// if (alldata.value.modifyState == '1') {
// openLook("")
// } else {
// uni.setStorageSync("baddata", alldata.value)
// uni.setStorageSync('specicalid', alldata.value.id);
// uni.setStorageSync("backhuancun", {})
// uni.navigateTo({
// url: `/pages/addstaff/information`
// });
// }
// }
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
.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;
justify-content: space-between;
align-items: center;
margin-bottom: 10rpx;
.one-left {
margin-left: 10rpx;
font-size: 30rpx;
// color: red;
color: black;
z-index: 1;
}
.one-right {
margin-right: 10rpx;
font-size: 30rpx;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
max-width: 380rpx;
}
}
}
}
.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: 9999;
}
</style>

View File

@ -0,0 +1,75 @@
// src/composables/useWeChatAuth.js
import { ref } from 'vue';
import request from '@/request/index.js';
//向机构申请
export function applySupOrg(data){
return request({
url: `/api/suppliers/applySupOrg`,
method: 'post',
data,
})
}
//新增
export function addSuppliers(data){
return request({
url: `/api/suppliers/addSuppliers`,
method: 'post',
data,
})
}
//编辑
export function editSuppliers(data){
return request({
url: `/api/suppliers/editSuppliers`,
method: 'post',
data,
})
}
//编辑机构加盟申请信息
export function changemessage(data,ukey){
return request({
url: `/api/employessAdvisiory/saveApiEmployess?ukey=${ukey}`,
method: 'post',
data,
})
}
//根据手机号获取员工信息
export function getSupInfoByOpenId(orgCode){
return request({
url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,
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}`,
// method: 'get',
// })
// }
// //获取省市区
// export function getdate(id){
// return request({
// url: `/api/common/queryAreaDict?id=${id}`,
// method: 'get',
// })
// }
// //将地址id转换成汉字
// export function getrel(id){
// return request({
// url: `/api/common/queryAreaNameById?id=${id}`,
// method: 'get',
// })
// }

View File

@ -0,0 +1,593 @@
<template>
<div class="container">
<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') + 40}px`}"></view>
<view class="white-content">
<view class="content-title">
<view class="shu"></view>
<view class="content-weight">供应商信息</view>
</view>
<view class="white-message">
<view>
<view class="one">
<view class="one-left">供应商名称</view>
<input class="one-right" maxlength="20" placeholder="请输入供应商名称" v-model="form.suppliersName" />
</view>
<view class="one" style="position: relative;" @click="showmarry = true">
<view class="one-left">供应商性质</view>
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
placeholder="请选择供应商性质" v-model="form.name" />
<image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" />
</view>
<u-select style="font-size: 35rpx;" v-model="showmarry" :list="showmarrylist"
@confirm="confirmmarry"></u-select>
<view class="one">
<view class="one-left">供应商地址</view>
<input class="one-right" maxlength="30" placeholder="请输入供应商地址"
v-model="form.suppliersAddress" />
</view>
<view class="one">
<view class="one-left">负责人</view>
<input class="one-right" maxlength="10" placeholder="请输入负责人" v-model="form.personInCharge" />
</view>
<view class="one">
<view class="one-left">联系电话</view>
<input class="one-right" type="number" maxlength="11" placeholder="请输入联系电话"
v-model="form.contactNumber" />
</view>
<view class="one">
<view class="one-left">开户行</view>
<input class="one-right" maxlength="20" placeholder="请输入开户行" v-model="form.openingBank" />
</view>
<view class="one">
<view class="one-left">开户行账号</view>
<input class="one-right" maxlength="20" placeholder="请输入开户行账号" v-model="form.openingBankNo" />
</view>
</view>
</view>
</view>
<view class="white-content">
<view class="content-title">
<view class="shu"></view>
<view class="content-weight">资质照片</view>
</view>
<view class="white-photo" @click="selectphoto()">
<view class="photo-left">
<view class="photo-weight">资质照片</view>
<view class="photo-font">请上传资质照片</view>
</view>
<view style="position: relative;">
<image class="photo"
:src="form.imgPath ? `${media_base_url}${form.imgPath}` : `https://www.focusnu.com/media/directive/index/zizhi.png`" />
<image style="width: 100%;height: 100%;top: 0;left: 0;z-index: 1;position: absolute;"
:src="form.imgPath ? `` : `https://www.focusnu.com/media/directive/index/bian.png`" />
<image v-if="!form.imgPath"
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 style="display: flex;width: 100%;">
<view class="finish-button" @click="next">
确认并提交
</view>
</view>
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow"></u-action-sheet>
</div>
</template>
<script setup>
import {
ref,
reactive
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app';
import {
media_base_url,
base_url
} from '@/request/index.js';
import {
addSuppliers,
editSuppliers,
applySupOrg
} from './api/api.js'
import model from "@/compontent/public/model.vue"
const uping = ref(true);
const showmarry = ref(false);
const showmarrylist = reactive(
[{
value: '代理商',
label: '代理商',
},
{
value: '批发商',
label: '批发商',
},
{
value: '制造商',
label: '制造商',
},
]
)
const bottomlist = [{
text: '拍摄图片',
fontSize: 40
}, {
text: '图片预览',
fontSize: 40
}]
const confirmmarry = (item) => {
form.name = item[0].value
form.suppliersNature = String(item[0].index + 1)
}
const form = reactive({
//
suppliersName: "",
suppliersNature: ``, // 1 2 3
//
suppliersAddress: "",
//
personInCharge: "",
//
contactNumber: "",
//
openingBank: "",
//
openingBankNo: "",
//
imgPath: "",
name: "",
openId: uni.getStorageSync('openid'),
})
const bottomshow = ref(false)
const selectphoto = () => {
if (!uping.value) {
return
}
// imgetarget.value = number
if (form.imgPath) {
bottomshow.value = true;
} else {
getMessage()
}
}
const photoclick = (element) => {
if (element) {
uni.previewImage({
urls: [`${media_base_url}${form.imgPath}`], //
// current: headImge.value, // urls[0]
indicator: 'default', // H5/App 'default' 'number'
longPressActions: { // App
itemList: ['保存图片到相册'],
},
});
} else {
getMessage()
}
}
//
function getMessage() {
uni.chooseImage({
count: 1,
sourceType: ['album', 'camera'],
success: chooseRes => {
// tempImagePath.value = chooseRes.tempFilePaths[0]
uni.navigateTo({
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0&size=1`
});
},
fail: err => {
console.error('拍照失败:', err)
}
})
}
onShow(() => {
const img = uni.getStorageSync('imgkey0')
if (img) {
// uploadImage(img)
savephoto(img)
uni.removeStorageSync('imgkey0')
}
})
const savephoto = (filePath) => {
uping.value = false;
// category: 'jg' | 'yg' | 'zz' | 'jhr'
const now = new Date();
const yyyy = now.getFullYear();
const mm = String(now.getMonth() + 1).padStart(2, '0'); // 0
let path = '';
switch ('') {
case 'jg': //
path = `${yyyy}/${mm}/jgxx/jg`;
break;
case 'yg': //
path = `${yyyy}/${mm}/ygxx/yg`;
break;
case 'zz': //
path = `${yyyy}/${mm}/zzxx/zz`;
break;
case 'jhr': //
path = `${yyyy}/${mm}/zzxx/jhr`;
break;
default:
path = `${yyyy}/${mm}/temp`;
}
uni.uploadFile({
url: `${base_url}/sys/common/upload`, // POST
filePath,
name: 'file', //
header: {
'X-Access-Token': uni.getStorageSync('token') || '',
},
formData: {
biz: path
},
success: uploadRes => {
// imgArray[imgetarget.value] = JSON.parse(uploadRes.data).message
form.imgPath = JSON.parse(uploadRes.data).message
// console.log("??///",form.imgPath)
// fontphoto.value = JSON.parse(uploadRes.data).message;
uping.value = true;
uni.hideLoading()
},
fail: err => {
uni.showToast({
title: '上传出错',
icon: 'error'
})
uni.hideLoading()
}
})
}
function isValid11DigitNumber(val) {
return /^1[3-9]\d{9}$/.test(val);
}
const next = () => {
if (!uping.value) {
return
}
console.log("form", form)
if (!form.suppliersName) {
uni.showToast({
title: '请填写供应商名称',
icon: 'none'
})
} else if (!form.suppliersNature) {
uni.showToast({
title: '请填写供应商性质',
icon: 'none'
})
} else if (!form.suppliersAddress) {
uni.showToast({
title: '请填写供应商地址',
icon: 'none'
})
} else if (!form.personInCharge) {
uni.showToast({
title: '请填写负责人',
icon: 'none'
})
} else if (!form.contactNumber) {
uni.showToast({
title: '请填写手机号',
icon: 'none'
})
} else if (!isValid11DigitNumber(form.contactNumber)) {
uni.showToast({
title: '手机号格式错误',
icon: 'none'
})
} else if (!form.openingBank) {
uni.showToast({
title: '请填写开户行',
icon: 'none'
})
} else if (!form.openingBankNo) {
uni.showToast({
title: '请填写开户行账号',
icon: 'none'
})
} else if (!form.imgPath) {
uni.showToast({
title: '请上传资质照片',
icon: 'none'
})
} else {
gotopush()
}
}
const gotopush = () => {
if (form.id) {
editSuppliers(form).then((res) => {
// console.log("res",res)
if (res.code == 200) {
uni.setStorageSync(
'isstaffchange', true);
uni.reLaunch({
url: `/pages/addsupplier/successpush`
});
}
})
} else {
addSuppliers(form).then((res) => {
let data = {
orgCode: uni.getStorageSync('nostaffmessage'),
openId: uni.getStorageSync('openid')
}
applySupOrg(data).then((data) => {
if (data.success) {
uni.requestSubscribeMessage({
// templateId
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
success: (res) => {
setTimeout(() =>
{
uni.setStorageSync(
'isstaffchange', false);
uni.reLaunch({
url: `/pages/addsupplier/successpush`
});
}
, 1000)
},
fail: (err) => {
console.error('订阅接口调用失败:', err);
uni.showToast({
title: '订阅失败',
icon: 'none'
});
}
});
}
})
// console.log("res",res)
// if (res.code == 200) {
// uni.setStorageSync(
// 'isstaffchange', false);
// uni.reLaunch({
// url: `/pages/addsupplier/successpush`
// });
// }
})
}
}
const goBack = () => {
uni.navigateBack()
}
onLoad((param) => {
// console.log("param",JSON.parse(param.element))
// form = JSON.parse(param.element)
Object.assign(form, JSON.parse(param.element))
form.name = showmarrylist[Number(form.suppliersNature) - 1].value
})
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
.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%;
}
}
}
}
.finish-button {
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, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 35rpx;
font-size: 33rpx;
}
.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;
.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;
}
.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;
justify-content: space-between;
align-items: center;
margin-bottom: 10rpx;
.one-left {
margin-left: 10rpx;
font-size: 30rpx;
z-index: 999;
}
.one-right {
font-size: 30rpx;
height: 100%;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
// font-size: 25rpx;
text-overflow: ellipsis;
width: 350rpx;
display: flex;
}
.triangle-down {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 26rpx;
width: 20rpx;
height: 20rpx;
}
}
.triangle-down-mi {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 26rpx;
font-size: 30rpx;
color: #999999;
}
.greenbgc {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700rpx;
}
.white-photo {
width: 100%;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
justify-content: space-around;
align-items: center;
display: flex;
.photo-left {
.photo-weight {
font-size: 30rpx;
font-weight: 600;
}
.photo-font {
font-size: 28rpx;
margin-top: 10rpx;
}
}
.photo {
width: 300rpx;
height: 200rpx;
}
}
</style>

View File

@ -0,0 +1,150 @@
<template>
<view class="font-father">
<view class="fixed">
<!-- <image v-if="!uni.getStorageSync('isstaffchange')" class="title-photo"
:src="`https://www.focusnu.com/media/directive/index/blue111.png`" /> -->
<image class="title-photo" style="width: 200rpx;height: 200rpx;"
:src="`https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`" />
<view style="font-size: 35rpx;font-weight: 600;margin: 30rpx 0;">
{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}
</view>
<view class="small-title">
{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的入驻信息' : '尊敬的用户,您的供应商入驻申请已提交成功' }}
</view>
<view class="normal">
<text>
{{ uni.getStorageSync('isstaffchange')?`变更成功`:`欢迎加入护理单元大家庭` }}
</text>
</view>
</view>
<view class="bottom-button" @click="jumpto">
我的机构
</view>
</view>
</template>
<script setup>
import {
onLoad
} from '@dcloudio/uni-app'
import {
reactive,
ref
} from 'vue';
import {
getMessage
} from '@/api/loginApi.js'
const special = ref(false);
const jumpto = () => {
getMessage(uni.getStorageSync("openid")).then(res => {
uni.setStorageSync('tel', res.result.tel);
uni.setStorageSync('token', res.result.token);
uni.setStorageSync('serverUrl', res.result.serverUrl);
uni.setStorageSync('platId', res.result.platId);
uni.setStorageSync('izJg', res.result.izJg);
uni.setStorageSync('izJs', res.result.izJs);
uni.setStorageSync('izYg', res.result.izYg);
uni.reLaunch({
url: `/pages/supplierindex/index`
});
})
}
onLoad(() => {
})
</script>
<style lang="scss" scoped>
.font-father {
width: 100%;
min-height: 100vh;
padding: 0 30rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
background-color: rgb(239, 241, 252);
.font-title {
margin-top: 0rpx;
margin-bottom: 30rpx;
font-weight: 600;
font-size: 30rpx;
display: flex;
flex-direction: column;
font-size: 80rpx;
}
.bottom-button {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0rpx;
margin-top: 80rpx;
margin-bottom: 90rpx;
width: 80%;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
display: flex;
justify-content: center;
align-items: center;
z-index: 3;
}
}
.title-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
.fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 2;
padding: 0 70rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.small-title {
margin-bottom: 10rpx;
font-size: 28rpx;
}
.normal {
padding: 0 70rpx;
font-size: 28rpx;
margin-bottom: 20rpx;
display: flex;
align-items: center;
line-height: 50rpx;
text-align: center
}
.title-photo {
margin-top: 500rpx;
width: 120rpx;
height: 120rpx;
z-index: 1;
}
</style>

View File

@ -70,7 +70,7 @@
const change = () => {
uni.navigateTo({
url: `/pages/login/threeselectonespec`
url: `/pages/login/threeselectone?back=${true}`
});
}

View File

@ -77,14 +77,17 @@
url: `/pages/index/index`
});
break;
case `4`:
uni.reLaunch({
url: `/pages/supplierindex/index`
});
break;
default:
uni.reLaunch({
url: `/pages/login/threeselectone`
});
}
}
}
})
@ -102,7 +105,7 @@
uni.setStorageSync('special', false);
}
// setTimeout(() => {
superLogin();
superLogin();
// }, 10000)
// playing.value = true

View File

@ -1,8 +1,15 @@
<template>
<view class="login-container">
<image class="photo-imge" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
<view class="card" style="margin-top: 550rpx;" @click="oldmanhowtojump">
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}" v-if="back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}" v-if="back"></view>
<view class="card" :style="back?{marginTop:`100rpx`}:{marginTop:`400rpx`} " @click="oldmanhowtojump">
<view class="card-left">
<view class="card-weight">
长者入住
@ -11,18 +18,14 @@
护理单元日常护理涵盖生活照料健康监测康复护理及心理关怀为长者提供贴心照护服务
</view>
<view style="display: flex;">
<view class="white-button" v-if="op0==`1`">
<view class="white-button">
长者进入
</view>
<view class="white-button" v-if="op0!=`1`">
申请入住
</view>
</view>
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/old.png" />
</view>
</view>
<view class="card" @click="yuangonghowtojump">
<view class="card-left">
@ -33,12 +36,9 @@
护理员严格按标准流程定时为失能长者开展床旁照护用专业与温情守护长者生活与健康
</view>
<view style="display: flex;">
<view class="white-button" v-if="op1==`1`">
<view class="white-button">
员工进入
</view>
<view class="white-button" v-if="op1!=`1`">
申请入驻
</view>
</view>
</view>
<view class="card-right">
@ -54,12 +54,9 @@
加盟我们共享银发经济红利依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
<view style="display: flex;">
<view class="white-button" v-if="op2==`1`">
<view class="white-button">
进入机构
</view>
<view class="white-button" v-if="op2!=`1`">
申请加盟
</view>
</view>
</view>
@ -68,8 +65,23 @@
@click="ceshi" />
</view>
</view>
<view class="blue-button" @click="close">
关闭
<view class="card" @click="supplierhowtojump">
<view class="card-left">
<view class="card-weight">
供应商入驻
</view>
<view class="card-text">
欢迎优质护理机构与我们合作共同为长者提供安全专业温暖的护理服务支持线上展示服务预约结算对接与质检监管
</view>
<view style="display: flex;">
<view class="white-button">
供应商进入
</view>
</view>
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/supplier.png" />
</view>
</view>
</view>
</template>
@ -82,13 +94,43 @@
import {
onLoad
} from '@dcloudio/uni-app';
import { changePerson } from '@/api/loginApi.js'
import {
changePerson
} from '@/api/loginApi.js'
const itemTarget = ref(0);
const fontArray = ["护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护。", "护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。",
"护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。"
]
const jigouhowtojump = () => {
changePerson(3).then(res => {
if (res.success) {
jumpToindex()
}
})
}
const yuangonghowtojump = () => {
changePerson(2).then(res => {
if (res.success) {
jumpToYuangongindex()
}
})
}
const supplierhowtojump = () => {
changePerson(4).then(res => {
if (res.success) {
jumpTosupplierindex()
}
})
}
const jumpTosupplierindex = () => {
uni.reLaunch({
url: `/pages/supplierindex/index`
});
}
const changePhoto = (index) => {
itemTarget.value = index;
}
@ -97,104 +139,44 @@
}
const ceshi = () => {
// uni.navigateTo({
// url: `/pages/login/xuanchuan`
// url: `/pages/login/index`
// });
}
const tobestaff = () =>{
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addstaff/information`
const jumpToindex = () => {
uni.reLaunch({
url: `/pages/index/index`
});
}
const oldmanhowtojump = () => {
if(op0.value==`1`){
changePerson(1).then(res=>{
if(res.success){
uni.reLaunch({
url: `/pages/oldmanindex/index`
});
}
})
}else{
tobeold()
}
}
const tobeold = () => {
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addoldman/IDcard`
});
}
const yuangonghowtojump = () => {
if(op1.value==`1`){
changePerson(2).then(res=>{
if(res.success){
jumpToYuangongindex()
}
})
}else{
tobestaff()
}
}
const jumpToYuangongindex = () => {
uni.reLaunch({
url: `/pages/yuangongindex/index`
});
}
const jigouhowtojump = () => {
if(op2.value==`1`){
changePerson(3).then(res=>{
if(res.success){
jumpToindex()
}
})
}else{
gotoadd()
}
}
const jumpToindex = () => {
uni.navigateTo({
url: `/pages/index/index`
});
const oldmanhowtojump = () => {
changePerson(1).then(res => {
if (res.success) {
uni.reLaunch({
url: `/pages/oldmanindex/index`
});
}
})
}
const gotowork = (number) => {
uni.navigateTo({
url: `/pages/login/workjoin?type=${number}`
});
}
const gotoadd = () => {
uni.setStorageSync('specicalid', "");
uni.setStorageSync("baddata", "")
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
});
}
const close = () => {
uni.exitMiniProgram({});
}
const phone = ref("")
const op0 = ref(0);
const op1 = ref(0);
const op2 = ref(0);
onLoad(() => {
const back = ref(false)
onLoad((param) => {
if(param?.back){
back.value=true
}
phone.value = uni.getStorageSync('tel');
op0.value = 1;
op1.value = 1;
op2.value = 1;
})
</script>
@ -207,24 +189,6 @@
background-color: rgb(239, 241, 252);
position: relative;
.title {
margin-top: 180rpx;
align-items: center;
.title-imge {
width: 100rpx;
height: 105rpx;
margin-left: 100rpx;
}
.title-font {
font-size: 35rpx;
font-weight: 600;
margin-left: 105rpx;
margin-top: 10rpx;
}
}
.photo-imge {
position: absolute;
top: 0rpx;
@ -241,65 +205,6 @@
width: 400rpx;
height: 400rpx;
}
.under-container {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 63vh;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.font-father {
width: 100%;
color: #666666;
justify-content: center;
display: flex;
.font {
width: 60%;
}
}
.button-father {
width: 100%;
margin-top: 80rpx;
display: flex;
justify-content: center;
.button-blue {
width: 40%;
display: flex;
justify-content: center;
align-items: center;
height: 100rpx;
border-radius: 43rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 30rpx;
}
}
.card-title {
z-index: 1;
margin-top: 600rpx;
width: 92%;
margin-left: 4%;
height: 100rpx;
border-radius: 35rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 26rpx;
}
.card {
@ -330,7 +235,10 @@
.card-text {
color: #999999;
font-size: 25rpx;
}
}
.card-right {
@ -346,31 +254,19 @@
}
}
.blue-button {
width: 80%;
margin-left: 10%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 90rpx;
margin-top: 40rpx;
}
.title-back {
position: absolute;
top: 100rpx;
background-color: #F7F7F7;
width: 100%;
height: 100rpx;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
align-items: flex-end;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #cbd1d2;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father {
@ -385,6 +281,7 @@
margin-right: 15rpx;
}
}
.white-button {
position: absolute;
bottom: 35rpx;

View File

@ -1,330 +0,0 @@
<template>
<view class="login-container">
<image class="photo-imge" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
<!-- <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>
</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="card" style="margin-top: 550rpx;" @click="oldmanhowtojump">
<view class="card-left">
<view class="card-weight">
长者入住
</view>
<view class="card-text">
护理单元日常护理涵盖生活照料健康监测康复护理及心理关怀为长者提供贴心照护服务
</view>
<!-- <view class="white-button">
申请入住
</view> -->
<view style="display: flex;">
<view class="white-button" v-if="op0==`1`">
长者进入
</view>
<view class="white-button" v-if="op0!=`1`">
申请入住
</view>
</view>
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/old.png" />
</view>
</view>
<view class="card" @click="yuangonghowtojump">
<view class="card-left">
<view class="card-weight">
员工入驻
</view>
<view class="card-text">
护理员严格按标准流程定时为失能长者开展床旁照护用专业与温情守护长者生活与健康
</view>
<view style="display: flex;">
<view class="white-button" v-if="op1==`1`">
员工进入
</view>
<view class="white-button" v-if="op1!=`1`">
申请入驻
</view>
</view>
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/yuangong.png" />
</view>
</view>
<view class="card" style="height: 340rpx;" @click="jigouhowtojump">
<view class="card-left">
<view class="card-weight">
机构加盟
</view>
<view class="card-text">
加盟我们共享银发经济红利依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
<view style="display: flex;">
<view class="white-button" v-if="op2==`1`">
进入机构
</view>
<view class="white-button" v-if="op2!=`1`">
申请加盟
</view>
</view>
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/gongsi.png"
@click="ceshi" />
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref
} from 'vue';
import {
onLoad
} from '@dcloudio/uni-app';
import {
changePerson
} from '@/api/loginApi.js'
const itemTarget = ref(0);
const fontArray = ["护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护。", "护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。",
"护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。"
]
const jigouhowtojump = () => {
if (op2.value == `1`) {
changePerson(3).then(res => {
if (res.success) {
jumpToindex()
}
})
} else {
gotoadd()
}
}
const yuangonghowtojump = () => {
if (op1.value == `1`) {
changePerson(2).then(res => {
if (res.success) {
jumpToYuangongindex()
}
})
} else {
tobestaff()
}
}
const changePhoto = (index) => {
itemTarget.value = index;
}
const goBack = () => {
uni.navigateBack()
}
const ceshi = () => {
// uni.navigateTo({
// url: `/pages/login/index`
// });
}
const jumpToindex = () => {
uni.reLaunch({
url: `/pages/index/index`
});
}
const jumpToYuangongindex = () => {
uni.reLaunch({
url: `/pages/yuangongindex/index`
});
}
const oldmanhowtojump = () => {
if (op0.value == `1`) {
changePerson(1).then(res => {
if (res.success) {
uni.reLaunch({
url: `/pages/oldmanindex/index`
});
}
})
} else {
tobeold()
}
}
const gotowork = (number) => {
uni.navigateTo({
url: `/pages/login/workjoin?type=${number}`
});
}
const gotoadd = () => {
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
});
}
const tobestaff = () => {
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addstaff/information`
});
}
const tobeold = () => {
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addoldman/IDcard`
});
}
const phone = ref("")
const op0 = ref(0);
const op1 = ref(0);
const op2 = ref(0);
onLoad(() => {
phone.value = uni.getStorageSync('tel');
op0.value = 1;
op1.value = 1;
op2.value = 1;
})
</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;
.photo-imge {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
height: 1100rpx;
}
.old-imge {
position: absolute;
right: 30rpx;
top: 400rpx;
width: 400rpx;
height: 400rpx;
}
}
.card {
z-index: 1;
margin-top: 30rpx;
width: 92%;
margin-left: 4%;
height: 300rpx;
border-radius: 30rpx;
background-color: #fff;
display: flex;
align-items: center;
position: relative;
.card-left {
height: 100%;
width: 80%;
padding-left: 50rpx;
padding-right: 20rpx;
.card-weight {
font-size: 32rpx;
font-weight: 600;
margin-top: 35rpx;
margin-bottom: 10rpx;
}
.card-text {
color: #999999;
font-size: 25rpx;
}
}
.card-right {
height: 100%;
width: 20%;
.right-imge {
width: 100rpx;
height: 100rpx;
margin-top: 50rpx;
margin-left: 5rpx;
}
}
}
.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;
}
}
.white-button {
position: absolute;
bottom: 35rpx;
right: 35rpx;
width: 180rpx;
height: 65rpx;
margin-top: 15rpx;
background-color: #f6f6f6;
border-radius: 30rpx;
color: #333333;
display: flex;
justify-content: center;
align-items: center;
}
</style>

View File

@ -134,7 +134,7 @@
price: item.value.payableAmount,
count: 1,
unit: '间',
customerId: uni.getStorageSync('allinfo').id
elderId: uni.getStorageSync('allinfo').id
};
console.log("AAAAAAA", payload)
// loading

View File

@ -625,6 +625,7 @@
// }
// })
menuArray.value = res.result
// console.log("????",menuArray.value)
// menuArray.value.push({
// applyStatus: `0`
// })

View File

@ -75,9 +75,10 @@
const change = () => {
uni.navigateTo({
url: `/pages/login/threeselectonespec`
url: `/pages/login/threeselectone?back=${true}`
});
}
const exitshowopen = () => {
// uni.exitMiniProgram({});

View File

@ -68,7 +68,7 @@
amountPrice:amount.value,
orgCode:"组织id",
nursingUnit:"护理单元id",
customerId:"顾客id",
elderId:"顾客id",
orderType:"订单类型",
price:1,
count:1,

View File

@ -0,0 +1,96 @@
// src/composables/useWeChatAuth.js
import { ref } from 'vue';
import request from '@/request/index.js';
//向机构申请
export function applySupOrg(data){
return request({
url: `/api/suppliers/applySupOrg`,
method: 'post',
data,
})
}
//向机构接受拒绝
export function invitedConfirm(data){
return request({
url: `/api/employessapply/invitedConfirm`,
method: 'post',
data,
})
}
//获取机构的列表
// export function getOrgInfo(title){
// return request({
// url: `/api/employessapply/getOrgInfo?title=${title}&pageSize=-1&openId=${uni.getStorageSync('openid')}`,
// method: 'get',
// })
// }
export function getApplySuppliersOrgInfo(res){
return request({
url: `/api/suppliers/getApplySuppliersOrgInfo?title=${res.title}&pageNo=${res.pageNo}&pageSize=5&openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}
//获取审核的列表
export function getSuppliersAuditLog(){
return request({
url: `/api/suppliers/getSuppliersAuditLog?openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}
//主页
export function getSuppliersOrgInfo(){
return request({
url: `/api/suppliers/getSuppliersOrgInfo?openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}
//查询供应商个人信息
export function getSupInfoByOpenId(){
return request({
url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,
method: 'get',
})
}
//机构邀请
export function getInvited(openId){
return request({
url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&invited=0&izHistory=N`,
method: 'get',
})
}
//单独机构邀请
export function getId(id){
return request({
url: `/api/employessapply/getEmployeesOrgRela?openId=${uni.getStorageSync('openid')}&invited=0&id=${id}&izHistory=N`,
method: 'get',
})
}
//消息队列
export function getNotice(){
return request({
url: `/api/wx/notice/query?openId=${uni.getStorageSync('openid')}&clientType=${uni.getStorageSync('jumpIndex')}`,
method: 'get',
})
}
//检测有没有已读
export function isRead(openId){
return request({
url: `/api/wx/notice/unreadCount?openId=${uni.getStorageSync('openid')}&clientType=4`,
method: 'get',
})
}
//向机构申请
export function upRead(data){
return request({
url: `/api/wx/notice/upRead`,
method: 'post',
data,
})
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,492 @@
<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>
</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="title-father" v-if="hulijigouArray.length">
<view class="title-shu"></view>
<view class="title-font">
<view class="title-dian" v-if="hong">
<!-- {{ hong }} -->
</view>
消息
</view>
</view>
<view
style="width: 100%;margin-top: 170rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;"
v-if="!hulijigouArray.length">
<image style="height: 350rpx;width: 350rpx;"
src="https://www.focusnu.com/media/directive/index/nomessage.png" />
<view style="color: #8E96AD;margin-top: -40rpx;">
暂无消息
</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;"
@click="clickCard(item)">
<view style="height: 10rpx;"></view>
<view class="card-title">
<image style="height: 70rpx;width: 70rpx;margin-left: 30rpx;"
src="https://www.focusnu.com/media/directive/index/messagetype/0.png" />
<view class="card-title-font">
{{ item.title }}
</view>
<view class="card-right">
{{ item.createTime.substring(item.createTime.indexOf("-") + 1, item.createTime.indexOf("-") + 6) }}
<view class="card-dian" v-if="item.izRead==`N`"></view>
</view>
</view>
<view class="gray-heng">
</view>
<view class="card-bottom">
{{ item.content }}
</view>
</view>
</view>
<!-- 处理margin重叠 -->
<view style="height: 200rpx;">
</view>
</view>
</template>
<script setup lang="ts">
import {
reactive,
ref,
onMounted,
onUnmounted
} from 'vue';
import { getInvited, invitedConfirm, getNotice, upRead, isRead } from './api.js'
import {
onShow
} from '@dcloudio/uni-app'
const hulijigouArray = ref([])
const popupshow = ref(false);
const supervalue = ref("");
const clickCard = (type : string) => {
// console.log("???",type.id)
if (type.izRead == "N") {
upRead({ id: type.id }).then(res => {
if (res.success) {
search()
// switch (type.type) {
// case "emp_org_invited_emp_list":
// uni.navigateTo({
// url: `/pages/yuangongindex/simpleyaoqing?extend=${type.extend}`
// })
// break
// }
}
})
} else {
// checkRed()
// switch (type.type) {
// case "emp_org_invited_emp_list":
// uni.navigateTo({
// url: `/pages/yuangongindex/simpleyaoqing?extend=${type.extend}`
// })
// break
// }
}
}
const checkRed = () => {
if (hulijigouArray.value.every(item => item.izRead == `Y`)) {
hong.value = false;
} else {
hong.value = true;
}
}
const jumpIndex = ref(uni.getStorageSync('jumpIndex'));
const goBack = () => {
console.log("?????",jumpIndex.value)
switch (jumpIndex.value) {
case 1:
uni.reLaunch({ url: '/pages/index/index' });
break;
case 2:
uni.reLaunch({ url: '/pages/yuangongindex/index' });
break;
case 3:
uni.reLaunch({ url: '/pages/oldmanindex/index' });
}
}
const search = () => {
getNotice().then((res : any) => {
// hulijigouArray.value = res.result
if (res.success) {
hulijigouArray.value = res.result
checkRed()
}
})
}
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()
}
})
}
const hong = ref(false)
onShow(() => {
search()
// isRead().then(res =>{
// console.log("????",res.result)
// if (res.result) {
// hong.value = true;
// }
// })
})
</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;
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;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.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 bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
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;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
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%;
}
.title-father {
display: flex;
margin-top: 50rpx;
margin-left: 50rpx;
align-items: center;
.title-shu {
width: 15rpx;
height: 35rpx;
border-radius: 10rpx;
background: linear-gradient(to top, #00BBFF, #0062C3);
}
.title-font {
font-size: 40rpx;
font-weight: 600;
margin-left: 30rpx;
position: relative;
.title-dian {
position: absolute;
right: -10rpx;
top: 0rpx;
width: 20rpx;
height: 20rpx;
border-radius: 50%;
background-color: #FF5757;
color: #fff;
font-size: 25rpx;
}
}
}
.gray-heng {
width: 90%;
margin-left: 5%;
background-color: #f3f3f3;
height: 1rpx;
}
.card-title {
width: 100%;
height: 100rpx;
display: flex;
align-items: center;
position: relative;
.card-title-font {
font-size: 32rpx;
margin-left: 20rpx;
width: 430rpx;
}
.card-right {
position: absolute;
right: 10rpx;
top: 50%;
transform: translateY(-50%);
width: 140rpx;
display: flex;
color: #999999;
}
.card-dian {
width: 20rpx;
height: 20rpx;
border-radius: 50%;
background-color: #FF5757;
margin: auto 0;
margin-left: 15rpx;
}
}
.card-bottom {
width: calc(100% - 80rpx);
margin: 40rpx;
overflow-wrap: break-word;
color: #666666;
}
</style>

View File

@ -0,0 +1,272 @@
<template>
<view class="login-container">
<exit :show="exitshow" @close="exitshow=false" />
<image class="bgc-imge" src="https://www.focusnu.com/media/directive/index/mine/bgc.png" />
<view class="ball">
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/mine/head.png" />
</view>
<!-- <view class="upfont">
迷路往前走
</view> -->
<view style="display: flex;margin-top: 30rpx;">
<view class="badid">
ID
</view>
<view style="z-index: 1;margin-top: -3rpx;">
{{platId}}
</view>
</view>
<view class="phone">
{{phone}}
</view>
<view class="white-father">
<view class="white-card" v-for="(item,index) in cardMenu" :key="index" @click="clickButton(index)">
<view class="white-left">
<image class="white-left-imge"
:src="`https://www.focusnu.com/media/directive/index/staffmine/${index}.png`" />
<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> -->
<image class="white-right-imge" src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view>
</view>
</view>
<view class="blue-button" @click="change">
<image class="blue-button-imge" src="https://www.focusnu.com/media/directive/index/mine/change.png" />
切换账号
</view>
<view class="white-button" @click="exitshowopen">
<image class="blue-button-imge" src="https://www.focusnu.com/media/directive/index/mine/exit.png" />
退出登录
</view>
<downMenu :itemTarget="2" />
</view>
</template>
<script setup>
import {
reactive,
ref,
onMounted,
onUnmounted
} from 'vue';
import exit from "@/compontent/public/exit.vue"
import downMenu from '@/compontent/public/gongyingshnagdownmenu.vue'
import {
getMessageList
} from '@/pages/addstaff/api/addjigou.js'
const phone = ref("")
const openid = ref("")
const platId = ref("")
const exitshow = ref(false);
onMounted(() => {
phone.value = uni.getStorageSync('tel')
// openid.value = uni.getStorageSync('openid')
platId.value = uni.getStorageSync('platId')
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = [`审核记录`, `员工功能`]
const change = () => {
uni.navigateTo({
url: `/pages/login/threeselectone?back=${true}`
});
}
const exitshowopen = () => {
// uni.exitMiniProgram({});
exitshow.value = true;
}
const clickButton = (index) => {
switch (index) {
case 0:
changeData()
// loadingData()
// uni.navigateTo({
// url: `/pages/login/workjoinsuccess`
// });
break;
case 1:
// changeData()
// uni.navigateTo({
// url: `/pages/login/workjoin`
// });
break;
case 2:
// uni.navigateTo({
// url:"/pages/yuangongindex/companyyaoqing"
// });
break;
}
}
const loadingData = () => {
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/supplierindex/workjoin"
})
}
</script>
<style lang="scss" scoped>
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: rgb(247, 247, 247);
position: relative;
align-items: center;
.bgc-imge {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
height: 1200rpx;
}
.ball {
margin-top: 200rpx;
width: 180rpx;
height: 180rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
overflow: hidden;
z-index: 1;
.ball-imge {
width: 178rpx;
height: 178rpx;
border-radius: 50%;
}
}
.upfont {
margin: 10rpx 0;
color: black;
z-index: 1;
}
.phone {
color: black;
z-index: 1;
font-size: 38rpx;
font-weight: 600;
}
.badid {
background-color: black;
z-index: 1;
width: 45rpx;
height: 30rpx;
border-radius: 8rpx;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 20rpx;
margin-right: 15rpx;
margin-top: 3rpx;
}
.white-father {
margin-top: 50rpx;
width: 94%;
// min-height: 300rpx;
border-radius: 40rpx;
background-color: #fff;
padding: 30rpx 0;
z-index: 1;
.white-card {
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rpx;
.white-left {
margin-left: 40rpx;
display: flex;
align-items: center;
}
.white-left-imge {
margin-right: 20rpx;
width: 40rpx;
height: 40rpx;
}
.white-right {
margin-right: 40rpx;
display: flex;
align-items: center;
}
.white-right-imge {
margin-left: 20rpx;
width: 30rpx;
height: 30rpx;
}
}
}
}
.blue-button {
z-index: 1;
width: 94%;
height: 100rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
color: rgb(6, 122, 233);
border-radius: 40rpx;
margin-top: 30rpx;
font-size: 32rpx;
}
.blue-button-imge {
width: 40rpx;
height: 40rpx;
margin-right: 30rpx;
}
.white-button {
z-index: 1;
width: 94%;
height: 100rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
border-radius: 40rpx;
margin-top: 30rpx;
font-size: 32rpx;
}
</style>

View File

@ -0,0 +1,573 @@
<template>
<view class="container">
<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') + 40}px`}"></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: 23rpx;width: 23rpx;margin-right: 10rpx;margin-top: 5rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/man.png" />
{{ item.orgLeader }}
<view style="margin: 0 20rpx;">
|
</view>
<image style="margin-left: 10rpx;height: 23rpx;width: 23rpx;margin-right: 10rpx;margin-top: 8rpx;"
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.orgLeaderPhone }}
</view>
<!-- <view class="applying" v-if="item.employeesApiEntity?.status===`1`">
{{ item.employeesApiEntity.applyType=='1' ? "申请中" : "待确认" }}
</view>
<view class="applysuccess" v-if="item.employeesApiEntity?.status===`2`">
{{ item.employeesApiEntity.applyType=='1' ? "申请通过" : "已接受" }}
</view>
<view class="applyfail" v-if="item.employeesApiEntity?.status===`3`">
{{ item.employeesApiEntity.applyType=='1' ? "申请驳回" : "已拒绝" }}
</view> -->
<!-- <view class="applying"
v-if="item.employeesApiEntity?.status===`1`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`待确认`:`申请中` }}
</view>
<view class="applysuccess"
v-if="item.employeesApiEntity?.status===`2`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`已接受`:`申请通过` }}
</view>
<view class="applyfail"
v-if="item.employeesApiEntity?.status===`3`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`已拒绝`:`申请驳回` }}
</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="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.orgAddress}}
</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,
onReachBottom
} from '@dcloudio/uni-app'
import { getApplySuppliersOrgInfo, applySupOrg } from './api.js'
import {
getSupInfoByOpenId
} from '@/pages/supplierindex/api.js'
onShow((() => {
search();
}))
onReachBottom(() => {
// console.log('')
nextPage()
})
const hulijigouArray = ref([])
const hulitarget = ref(-1)
const popupshow = ref(false);
const supervalue = ref("");
const jumpRuzhu = () => {
popupshow.value = false
uni.navigateTo({
url: "/pages/supplierindex/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].suppliersStatus == null || hulijigouArray.value[index].suppliersStatus == `3`){
buttonOpen.value = true;
}else{
buttonOpen.value = false;
}
}
}
const clearvalue = () => {
hulitarget.value = -1;
supervalue.value = "";
search()
}
const goBack = () => {
uni.navigateBack()
}
const pageNo = ref(1);
const search = () => {
pageNo.value = 1;
canpull.value = true
buttonOpen.value = false;
hulitarget.value = -1;
let data = {
title:supervalue.value,
pageNo:pageNo.value
}
getApplySuppliersOrgInfo(data).then((res : any) => {
if (res.success) {
// hulijigouArray.value.push(...res.result.records)
hulijigouArray.value = res.result.records
if(res.result.records.length!==5){
canpull.value = false
}
}
})
}
const canpull = ref(true)
const nextPage = () => {
if(canpull.value){
pageNo.value ++
let data = {
title:supervalue.value,
pageNo:pageNo.value
}
getApplySuppliersOrgInfo(data).then((res : any) => {
if (res.success) {
hulijigouArray.value.push(...res.result.records)
}
})
}
}
const sumbit = ref(false);
const apply = () => {
if(sumbit.value){
return
}
sumbit.value = true;
getSupInfoByOpenId().then(res => {
if (res.result === null) {
//
uni.setStorageSync('nostaffmessage', hulijigouArray.value[hulitarget.value].orgCode);
//ID
uni.setStorageSync('specicalid', "");
//
uni.setStorageSync("baddata", "")
//
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addsupplier/information`
});
} else {
let data = {
orgCode:hulijigouArray.value[hulitarget.value].orgCode,
openId:uni.getStorageSync('openid')
}
applySupOrg(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)
})
}
// if (res.success) {
// uni.navigateTo({
// url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
// });
// }
})
}
// search()
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.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;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.tianjia {
width: 120rpx;
height: 70rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
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 bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #F7F7F7;
z-index: 9999;
}
.blue-button {
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, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
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: 29rpx;
margin-top: 20rpx;
color: #B1B1B1;
width: 100%;
display: flex;
align-items: center;
}
.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

@ -0,0 +1,460 @@
<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.orgLeader }} |
<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="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="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.orgAddress}}
</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.suppliersStatus===`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 {
getSuppliersAuditLog,
getSupInfoByOpenId
} 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((options) => {
getSuppliersAuditLog().then(res => {
workArray.value = res.result.records
})
})
onPullDownRefresh(() => {
getSuppliersAuditLog().then(res => {
workArray.value = res.result.records
})
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) => {
getSupInfoByOpenId().then(res => {
if (res.success) {
uni.navigateTo({
url: `/pages/addsupplier/all?element=${JSON.stringify(res.result)}`
});
}
})
}
</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;
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;
}
</style>

View File

@ -134,6 +134,8 @@
break;
case 3:
uni.reLaunch({ url: '/pages/oldmanindex/index' });
case 4:
uni.reLaunch({ url: '/pages/supplierindex/index' });
}

View File

@ -75,9 +75,10 @@
const change = () => {
uni.navigateTo({
url: `/pages/login/threeselectonespec`
url: `/pages/login/threeselectone?back=${true}`
});
}
const exitshowopen = () => {
// uni.exitMiniProgram({});

View File

@ -1,8 +1,8 @@
{
"hash": "0fef998e",
"configHash": "b8175d28",
"hash": "a7a89bbf",
"configHash": "4aeed438",
"lockfileHash": "1a1f2133",
"browserHash": "ec8b2cac",
"browserHash": "464ea414",
"optimized": {},
"chunks": {}
}

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\nimport donghua from '@/compontent/public/donghua.vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\tapp.component('donghua', donghua)\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;ACQD,MAAM,UAAU,MAAW;AACpB,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,MAAI,UAAU,WAAW,OAAO;AAChC,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\nimport donghua from '@/compontent/public/donghua.vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\tapp.component('donghua', donghua)\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;ACQD,MAAM,UAAU,MAAW;AACpB,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,MAAI,UAAU,WAAW,OAAO;AAChC,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"gongyingshnagdownmenu.js","sources":["compontent/public/gongyingshnagdownmenu.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV94Y3gvY29tcG9udGVudC9wdWJsaWMvZ29uZ3lpbmdzaG5hZ2Rvd25tZW51LnZ1ZQ"],"sourcesContent":["<template>\r\n\t<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->\r\n\t<view class=\"botton-view\">\r\n\t\t<view v-for=\"(item,index) in itemArray\" :key=\"index\" class=\"array-father\">\r\n\t\t\t<view :class=\"itemTarget===index ? `bottom-button-target` : `bottom-button`\" @click=\"jumpto(index)\">\r\n\t\t\t\t<donghua :width=\"`60rpx`\" :height=\"`60rpx`\" :links=\"donghuaArray[index]\" :playing=\"playing==index\"\r\n\t\t\t\t\t:interval=\"50\" />\r\n\t\t\t\t<view class=\"bottom-text\">\r\n\t\t\t\t\t{{item}} \r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\tonMounted\r\n\t} from 'vue'\r\n\timport {\r\n\t\tgenPaths\r\n\t} from '@/compontent/public/issame.js'\r\n\r\n\tconst props = defineProps({\r\n\t\titemTarget: {\r\n\t\t\ttype: Number,\r\n\t\t\trequired: true, // 如果必须传\r\n\t\t\tdefault: -1 // 如果您想给默认值\r\n\t\t}\r\n\t})\r\n\r\n\tconst playing = ref(-1);\r\n\tconst photoplay = ref(false);\r\n\tconst itemArray = [\"NU\", \"动态\", \"我的\"];\r\n\tconst donghuaArray = [genPaths(\r\n\t\t'/static/donghua/home',\r\n\t\t'home',\r\n\t\t19, // 张数\r\n\t\t'png',\r\n\t\t0, // 起始索引\r\n\t\tfalse // 不补零\r\n\t), genPaths(\r\n\t\t'/static/donghua/new',\r\n\t\t'new',\r\n\t\t18, // 张数\r\n\t\t'png',\r\n\t\t0, // 起始索引\r\n\t\tfalse // 不补零\r\n\t), genPaths(\r\n\t\t'/static/donghua/my',\r\n\t\t'my',\r\n\t\t14, // 张数\r\n\t\t'png',\r\n\t\t0, // 起始索引\r\n\t\tfalse // 不补零\r\n\t)]\r\n\r\n\tonMounted(() => {\r\n\t\tphotoplay.value = true;\r\n\t\tplaying.value = props.itemTarget\r\n\t})\r\n\tconst jumpto = (index) => {\r\n\t\tif (index != props.itemTarget) {\r\n\t\t\tswitch (index) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl: `/pages/supplierindex/index`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\r\n\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl: `/pages/supplierindex/mine`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t.botton-view {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\theight: 120rpx;\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tfont-weight: 500;\r\n\t\tz-index: 9999;\r\n\r\n\t\t.bottom-button {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tflex-direction: column;\r\n\t\t}\r\n\r\n\t\t.bottom-button-target {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tcolor: #01a8ff;\r\n\t\t\tflex-direction: column;\r\n\t\t}\r\n\r\n\t\t.blue-heng {\r\n\t\t\theight: 6rpx;\r\n\t\t\twidth: 150rpx;\r\n\t\t\tbackground-color: rgb(42, 133, 235);\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 55rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\t/* 左边缘到父容器左边的距离占父宽度 50% */\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t}\r\n\t}\r\n\r\n\t.array-father {\r\n\t\twidth: 33%;\r\n\t\tposition: relative;\r\n\r\n\t}\r\n\r\n\t.botton-img {\r\n\t\twidth: 38rpx;\r\n\t\theight: 38rpx;\r\n\t\tmargin-bottom: 5rpx;\r\n\t}\r\n\r\n\t.bottom-text {\r\n\t\tmargin-top: -15rpx;\r\n\t}\r\n</style>","import Component from 'D:/hldy_xcx/compontent/public/gongyingshnagdownmenu.vue'\nwx.createComponent(Component)"],"names":["ref","genPaths","onMounted","uni"],"mappings":";;;;;;;;;;;;;;;;;;;AAwBC,UAAM,QAAQ;AAQd,UAAM,UAAUA,cAAAA,IAAI,EAAE;AACtB,UAAM,YAAYA,kBAAI,KAAK;AAC3B,UAAM,YAAY,CAAC,MAAM,MAAM,IAAI;AACnC,UAAM,eAAe,CAACC,yBAAQ;AAAA,MAC7B;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA;AAAA,IACF,GAAIA,yBAAQ;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA;AAAA,IACF,GAAIA,yBAAQ;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MACA;AAAA;AAAA,IACF,CAAE;AAEDC,kBAAAA,UAAU,MAAM;AACf,gBAAU,QAAQ;AAClB,cAAQ,QAAQ,MAAM;AAAA,IACxB,CAAE;AACD,UAAM,SAAS,CAAC,UAAU;AACzB,UAAI,SAAS,MAAM,YAAY;AAC9B,gBAAQ,OAAK;AAAA,UACZ,KAAK;AACJC,0BAAAA,MAAI,SAAS;AAAA,cACZ,KAAK;AAAA,YACX,CAAM;AACD;AAAA,UACD,KAAK;AAGJ;AAAA,UACD,KAAK;AACJA,0BAAAA,MAAI,SAAS;AAAA,cACZ,KAAK;AAAA,YACX,CAAM;AACD;AAAA,QACD;AAAA,MAED;AAAA,IACD;;;;;;;;;;;;;;;;;;;;;;;;ACjFF,GAAG,gBAAgB,SAAS;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"addjigou.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/addgongyingshang/api/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增\r\nexport function addSuppliers(data){\r\n return request({\r\n url: `/api/suppliers/addSuppliers`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//编辑\r\nexport function editSuppliers(data){\r\n return request({\r\n url: `/api/suppliers/editSuppliers`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//编辑机构加盟申请信息\r\n\r\nexport function changemessage(data,ukey){\r\n return request({\r\n url: `/api/employessAdvisiory/saveApiEmployess?ukey=${ukey}`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取员工信息\r\nexport function getSupInfoByOpenId(orgCode){\r\n return request({\r\n url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,\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"],"mappings":";;;AAKO,SAAS,aAAa,MAAK;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"successpush.js","sources":["pages/addgongyingshang/successpush.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvYWRkZ29uZ3lpbmdzaGFuZy9zdWNjZXNzcHVzaC52dWU"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\r\n\t\t<view class=\"fixed\">\r\n\t\t\t<!-- <image v-if=\"!uni.getStorageSync('isstaffchange')\" class=\"title-photo\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/blue111.png`\" /> -->\r\n\t\t\t<image class=\"title-photo\" style=\"width: 200rpx;height: 200rpx;\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`\" />\r\n\r\n\t\t\t<view style=\"font-size: 35rpx;font-weight: 600;margin: 30rpx 0;\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"small-title\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的入驻信息已提交' : '尊敬的用户,您的供应商入驻申请已提交成功' }}\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\t\t\t\t<text>\r\n\t\t\t\t\t{{ uni.getStorageSync('isstaffchange')?`信息变更成功`:`欢迎加入护理单元大家庭` }}\r\n\t\t\t\t\t\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom-button\" @click=\"jumpto\">\r\n\t\t\t我的机构\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app'\r\n\timport {\r\n\t\treactive,\r\n\t\tref\r\n\t} from 'vue';\r\n\timport {\r\n\t\tgetMessage\r\n\t} from '@/api/loginApi.js'\r\n\tconst special = ref(false);\r\n\r\n\tconst jumpto = () => {\r\n\t\tgetMessage(uni.getStorageSync(\"openid\")).then(res => {\r\n\t\t\tuni.setStorageSync('tel', res.result.tel);\r\n\t\t\tuni.setStorageSync('token', res.result.token);\r\n\t\t\tuni.setStorageSync('serverUrl', res.result.serverUrl);\r\n\t\t\tuni.setStorageSync('platId', res.result.platId);\r\n\t\t\tuni.setStorageSync('izJg', res.result.izJg);\r\n\t\t\tuni.setStorageSync('izJs', res.result.izJs);\r\n\t\t\tuni.setStorageSync('izYg', res.result.izYg);\r\n\t\t\tuni.reLaunch({\r\n\t\t\t\turl: `/pages/gongyingshangindex/index`\r\n\t\t\t});\r\n\t\t})\r\n\r\n\t}\r\n\r\n\r\n\tonLoad(() => {\r\n\r\n\t})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.font-father {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tpadding: 0 30rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\tbackground-color: rgb(239, 241, 252);\r\n\r\n\t\t.font-title {\r\n\t\t\tmargin-top: 0rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t}\r\n\r\n\t\t.bottom-button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tmargin-top: 80rpx;\r\n\t\t\tmargin-bottom: 90rpx;\r\n\t\t\twidth: 80%;\r\n\t\t\theight: 90rpx;\r\n\t\t\tborder-radius: 35rpx;\r\n\t\t\tbackground: linear-gradient(to bottom, #e7f4ff, #c5e5ff);\r\n\t\t\tborder: 2rpx solid #9AD1FF;\r\n\t\t\tcolor: #007CFF;\r\n\t\t\tfont-size: 33rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tz-index: 3;\r\n\t\t}\r\n\t}\r\n\r\n\t.title-img {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tz-index: -1;\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tz-index: 2;\r\n\t\tpadding: 0 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\tmargin-bottom: 10rpx;\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tpadding: 0 70rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tline-height: 50rpx;\r\n\t\ttext-align: center\r\n\t}\r\n\r\n\t.title-photo {\r\n\t\tmargin-top: 500rpx;\r\n\t\twidth: 120rpx;\r\n\t\theight: 120rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/hldy_xcx/pages/addgongyingshang/successpush.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","getMessage","uni","onLoad"],"mappings":";;;;;;AAyCiBA,kBAAAA,IAAI,KAAK;AAEzB,UAAM,SAAS,MAAM;AACpBC,mBAAU,WAACC,cAAG,MAAC,eAAe,QAAQ,CAAC,EAAE,KAAK,SAAO;AACpDA,sBAAG,MAAC,eAAe,OAAO,IAAI,OAAO,GAAG;AACxCA,sBAAG,MAAC,eAAe,SAAS,IAAI,OAAO,KAAK;AAC5CA,sBAAG,MAAC,eAAe,aAAa,IAAI,OAAO,SAAS;AACpDA,sBAAG,MAAC,eAAe,UAAU,IAAI,OAAO,MAAM;AAC9CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAK;AAAA,QACT,CAAI;AAAA,MACJ,CAAG;AAAA,IAED;AAGDC,kBAAAA,OAAO,MAAM;AAAA,IAEd,CAAE;;;;;;;;;;;;;AC7DF,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/addsupplier/api/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//向机构申请\r\nexport function applySupOrg(data){\r\n return request({\r\n url: `/api/suppliers/applySupOrg`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//新增\r\nexport function addSuppliers(data){\r\n return request({\r\n url: `/api/suppliers/addSuppliers`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//编辑\r\nexport function editSuppliers(data){\r\n return request({\r\n url: `/api/suppliers/editSuppliers`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//编辑机构加盟申请信息\r\n\r\nexport function changemessage(data,ukey){\r\n return request({\r\n url: `/api/employessAdvisiory/saveApiEmployess?ukey=${ukey}`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取员工信息\r\nexport function getSupInfoByOpenId(orgCode){\r\n return request({\r\n url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,\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"],"mappings":";;;AAKO,SAAS,YAAY,MAAK;AAC7B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,aAAa,MAAK;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"successpush.js","sources":["pages/addsupplier/successpush.vue","../猫meme/HBuilderX.4.76.2025082103/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvYWRkc3VwcGxpZXIvc3VjY2Vzc3B1c2gudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\r\n\t\t<view class=\"fixed\">\r\n\t\t\t<!-- <image v-if=\"!uni.getStorageSync('isstaffchange')\" class=\"title-photo\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/blue111.png`\" /> -->\r\n\t\t\t<image class=\"title-photo\" style=\"width: 200rpx;height: 200rpx;\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`\" />\r\n\r\n\t\t\t<view style=\"font-size: 35rpx;font-weight: 600;margin: 30rpx 0;\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"small-title\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的入驻信息' : '尊敬的用户,您的供应商入驻申请已提交成功' }}\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\t\t\t\t<text>\r\n\t\t\t\t\t{{ uni.getStorageSync('isstaffchange')?`变更成功`:`欢迎加入护理单元大家庭` }}\r\n\t\t\t\t\t\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom-button\" @click=\"jumpto\">\r\n\t\t\t我的机构\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app'\r\n\timport {\r\n\t\treactive,\r\n\t\tref\r\n\t} from 'vue';\r\n\timport {\r\n\t\tgetMessage\r\n\t} from '@/api/loginApi.js'\r\n\tconst special = ref(false);\r\n\r\n\tconst jumpto = () => {\r\n\t\tgetMessage(uni.getStorageSync(\"openid\")).then(res => {\r\n\t\t\tuni.setStorageSync('tel', res.result.tel);\r\n\t\t\tuni.setStorageSync('token', res.result.token);\r\n\t\t\tuni.setStorageSync('serverUrl', res.result.serverUrl);\r\n\t\t\tuni.setStorageSync('platId', res.result.platId);\r\n\t\t\tuni.setStorageSync('izJg', res.result.izJg);\r\n\t\t\tuni.setStorageSync('izJs', res.result.izJs);\r\n\t\t\tuni.setStorageSync('izYg', res.result.izYg);\r\n\t\t\tuni.reLaunch({\r\n\t\t\t\turl: `/pages/supplierindex/index`\r\n\t\t\t});\r\n\t\t})\r\n\r\n\t}\r\n\r\n\r\n\tonLoad(() => {\r\n\r\n\t})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.font-father {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tpadding: 0 30rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\tbackground-color: rgb(239, 241, 252);\r\n\r\n\t\t.font-title {\r\n\t\t\tmargin-top: 0rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t}\r\n\r\n\t\t.bottom-button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tmargin-top: 80rpx;\r\n\t\t\tmargin-bottom: 90rpx;\r\n\t\t\twidth: 80%;\r\n\t\t\theight: 90rpx;\r\n\t\t\tborder-radius: 35rpx;\r\n\t\t\tbackground: linear-gradient(to bottom, #e7f4ff, #c5e5ff);\r\n\t\t\tborder: 2rpx solid #9AD1FF;\r\n\t\t\tcolor: #007CFF;\r\n\t\t\tfont-size: 33rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tz-index: 3;\r\n\t\t}\r\n\t}\r\n\r\n\t.title-img {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tz-index: -1;\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tz-index: 2;\r\n\t\tpadding: 0 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\tmargin-bottom: 10rpx;\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tpadding: 0 70rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tline-height: 50rpx;\r\n\t\ttext-align: center\r\n\t}\r\n\r\n\t.title-photo {\r\n\t\tmargin-top: 500rpx;\r\n\t\twidth: 120rpx;\r\n\t\theight: 120rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/hldy_xcx/pages/addsupplier/successpush.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","getMessage","uni","onLoad"],"mappings":";;;;;;AAyCiBA,kBAAAA,IAAI,KAAK;AAEzB,UAAM,SAAS,MAAM;AACpBC,mBAAU,WAACC,cAAG,MAAC,eAAe,QAAQ,CAAC,EAAE,KAAK,SAAO;AACpDA,sBAAG,MAAC,eAAe,OAAO,IAAI,OAAO,GAAG;AACxCA,sBAAG,MAAC,eAAe,SAAS,IAAI,OAAO,KAAK;AAC5CA,sBAAG,MAAC,eAAe,aAAa,IAAI,OAAO,SAAS;AACpDA,sBAAG,MAAC,eAAe,UAAU,IAAI,OAAO,MAAM;AAC9CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAK;AAAA,QACT,CAAI;AAAA,MACJ,CAAG;AAAA,IAED;AAGDC,kBAAAA,OAAO,MAAM;AAAA,IAEd,CAAE;;;;;;;;;;;;;AC7DF,GAAG,WAAW,eAAe;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/gongyingshangindex/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//向机构申请\r\nexport function applySupOrg(data){\r\n return request({\r\n url: `/api/suppliers/applySupOrg`,\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\n// export 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\nexport function getApplySuppliersOrgInfo(res){\r\n return request({\r\n url: `/api/suppliers/getApplySuppliersOrgInfo?title=${res.title}&pageNo=${res.pageNo}&pageSize=5&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/suppliers/getSuppliersOrgInfo?openId=${openId}&invited=0,1,2`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//主页\r\nexport function getSuppliersOrgInfo(){\r\n return request({\r\n url: `/api/suppliers/getSuppliersOrgInfo?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//查询供应商个人信息\r\nexport function getSupInfoByOpenId(){\r\n return request({\r\n url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\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&izHistory=N`,\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}&izHistory=N`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//消息队列\r\nexport function getNotice(){\r\n return request({\r\n url: `/api/wx/notice/query?openId=${uni.getStorageSync('openid')}&clientType=${uni.getStorageSync('jumpIndex')}`,\r\n\t\tmethod: 'get',\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=2`,\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} "],"names":["request","uni"],"mappings":";;;AAKO,SAAS,YAAY,MAAK;AAC7B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAgBO,SAAS,yBAAyB,KAAI;AACzC,SAAOA,sBAAQ;AAAA,IACX,KAAK,iDAAiD,IAAI,KAAK,WAAW,IAAI,MAAM,sBAAsBC,cAAG,MAAC,eAAe,QAAQ,CAAC;AAAA,IAC5I,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,oBAAoB,QAAO;AACvC,SAAOD,sBAAQ;AAAA,IACX,KAAK,6CAA6C,MAAM;AAAA,IAC9D,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,sBAAqB;AACjC,SAAOA,sBAAQ;AAAA,IACX,KAAK,6CAA6CC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACpF,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,qBAAoB;AAChC,SAAOD,sBAAQ;AAAA,IACX,KAAK,4CAA4CC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACnF,QAAQ;AAAA,EACV,CAAK;AACL;AAiBO,SAAS,YAAW;AACvB,SAAOD,sBAAQ;AAAA,IACX,KAAK,+BAA+BC,cAAG,MAAC,eAAe,QAAQ,CAAC,eAAeA,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACpH,QAAQ;AAAA,EACV,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;;;;;;;;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"api.js","sources":["pages/supplierindex/api.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//向机构申请\r\nexport function applySupOrg(data){\r\n return request({\r\n url: `/api/suppliers/applySupOrg`,\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\n// export 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\nexport function getApplySuppliersOrgInfo(res){\r\n return request({\r\n url: `/api/suppliers/getApplySuppliersOrgInfo?title=${res.title}&pageNo=${res.pageNo}&pageSize=5&openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取审核的列表\r\nexport function getSuppliersAuditLog(){\r\n return request({\r\n url: `/api/suppliers/getSuppliersAuditLog?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//主页\r\nexport function getSuppliersOrgInfo(){\r\n return request({\r\n url: `/api/suppliers/getSuppliersOrgInfo?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//查询供应商个人信息\r\nexport function getSupInfoByOpenId(){\r\n return request({\r\n url: `/api/suppliers/getSupInfoByOpenId?openId=${uni.getStorageSync('openid')}`,\r\n\t\tmethod: 'get',\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&izHistory=N`,\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}&izHistory=N`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//消息队列\r\nexport function getNotice(){\r\n return request({\r\n url: `/api/wx/notice/query?openId=${uni.getStorageSync('openid')}&clientType=${uni.getStorageSync('jumpIndex')}`,\r\n\t\tmethod: 'get',\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=4`,\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} "],"names":["request","uni"],"mappings":";;;AAKO,SAAS,YAAY,MAAK;AAC7B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAgBO,SAAS,yBAAyB,KAAI;AACzC,SAAOA,sBAAQ;AAAA,IACX,KAAK,iDAAiD,IAAI,KAAK,WAAW,IAAI,MAAM,sBAAsBC,cAAG,MAAC,eAAe,QAAQ,CAAC;AAAA,IAC5I,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,uBAAsB;AAClC,SAAOD,sBAAQ;AAAA,IACX,KAAK,8CAA8CC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACrF,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,sBAAqB;AACjC,SAAOD,sBAAQ;AAAA,IACX,KAAK,6CAA6CC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACpF,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,qBAAoB;AAChC,SAAOD,sBAAQ;AAAA,IACX,KAAK,4CAA4CC,cAAAA,MAAI,eAAe,QAAQ,CAAC;AAAA,IACnF,QAAQ;AAAA,EACV,CAAK;AACL;AAiBO,SAAS,YAAW;AACvB,SAAOD,sBAAQ;AAAA,IACX,KAAK,+BAA+BC,cAAG,MAAC,eAAe,QAAQ,CAAC,eAAeA,cAAG,MAAC,eAAe,WAAW,CAAC;AAAA,IACpH,QAAQ;AAAA,EACV,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;;;;;;;;;"}

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

@ -7,7 +7,6 @@ if (!Math) {
"./pages/login/index.js";
"./pages/login/phonebumber.js";
"./pages/login/threeselectone.js";
"./pages/login/threeselectonespec.js";
"./pages/login/workjoin.js";
"./pages/login/workjoinsuccess.js";
"./pages/login/code.js";
@ -26,6 +25,12 @@ if (!Math) {
"./pages/yuangongindex/company.js";
"./pages/yuangongindex/index.js";
"./pages/yuangongindex/mine.js";
"./pages/supplierindex/message.js";
"./pages/supplierindex/index.js";
"./pages/supplierindex/mine.js";
"./pages/supplierindex/searchjigou.js";
"./pages/supplierindex/workjoin.js";
"./pages/addsupplier/all.js";
"./pages/oldmanindex/account.js";
"./pages/oldmanindex/input.js";
"./pages/oldmanindex/protocol.js";
@ -51,6 +56,8 @@ if (!Math) {
"./pages/addstaff/bankcard.js";
"./pages/addstaff/healthcertificate.js";
"./pages/addstaff/successpush.js";
"./pages/addsupplier/information.js";
"./pages/addsupplier/successpush.js";
"./pages/addjigou/all.js";
"./pages/addjigou/where.js";
"./pages/addjigou/name.js";

View File

@ -4,7 +4,6 @@
"pages/login/index",
"pages/login/phonebumber",
"pages/login/threeselectone",
"pages/login/threeselectonespec",
"pages/login/workjoin",
"pages/login/workjoinsuccess",
"pages/login/code",
@ -23,6 +22,12 @@
"pages/yuangongindex/company",
"pages/yuangongindex/index",
"pages/yuangongindex/mine",
"pages/supplierindex/message",
"pages/supplierindex/index",
"pages/supplierindex/mine",
"pages/supplierindex/searchjigou",
"pages/supplierindex/workjoin",
"pages/addsupplier/all",
"pages/oldmanindex/account",
"pages/oldmanindex/input",
"pages/oldmanindex/protocol",
@ -48,6 +53,8 @@
"pages/addstaff/bankcard",
"pages/addstaff/healthcertificate",
"pages/addstaff/successpush",
"pages/addsupplier/information",
"pages/addsupplier/successpush",
"pages/addjigou/all",
"pages/addjigou/where",
"pages/addjigou/name",

View File

@ -7052,7 +7052,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.2.27,127.0.0.1";
const port = "8090";
const id = "mp-weixin_bPP545";
const id = "mp-weixin_Kt_TP6";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@ -8016,6 +8016,11 @@ const onUnload = /* @__PURE__ */ createLifeCycleHook(
2
/* HookFlags.PAGE */
);
const onReachBottom = /* @__PURE__ */ createLifeCycleHook(
ON_REACH_BOTTOM,
2
/* HookFlags.PAGE */
);
const onPullDownRefresh = /* @__PURE__ */ createLifeCycleHook(
ON_PULL_DOWN_REFRESH,
2
@ -8034,6 +8039,7 @@ exports.o = o;
exports.onLoad = onLoad;
exports.onMounted = onMounted;
exports.onPullDownRefresh = onPullDownRefresh;
exports.onReachBottom = onReachBottom;
exports.onShow = onShow;
exports.onUnload = onUnload;
exports.onUnmounted = onUnmounted;

View File

@ -0,0 +1,101 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const compontent_public_issame = require("./issame.js");
if (!Array) {
const _component_donghua = common_vendor.resolveComponent("donghua");
_component_donghua();
}
const _sfc_main = {
__name: "gongyingshnagdownmenu",
props: {
itemTarget: {
type: Number,
required: true,
// 如果必须传
default: -1
// 如果您想给默认值
}
},
setup(__props) {
const props = __props;
const playing = common_vendor.ref(-1);
const photoplay = common_vendor.ref(false);
const itemArray = ["NU", "动态", "我的"];
const donghuaArray = [compontent_public_issame.genPaths(
"/static/donghua/home",
"home",
19,
// 张数
"png",
0,
// 起始索引
false
// 不补零
), compontent_public_issame.genPaths(
"/static/donghua/new",
"new",
18,
// 张数
"png",
0,
// 起始索引
false
// 不补零
), compontent_public_issame.genPaths(
"/static/donghua/my",
"my",
14,
// 张数
"png",
0,
// 起始索引
false
// 不补零
)];
common_vendor.onMounted(() => {
photoplay.value = true;
playing.value = props.itemTarget;
});
const jumpto = (index) => {
if (index != props.itemTarget) {
switch (index) {
case 0:
common_vendor.index.reLaunch({
url: `/pages/supplierindex/index`
});
break;
case 1:
break;
case 2:
common_vendor.index.reLaunch({
url: `/pages/supplierindex/mine`
});
break;
}
}
};
return (_ctx, _cache) => {
return {
a: common_vendor.f(itemArray, (item, index, i0) => {
return {
a: "1076550c-0-" + i0,
b: common_vendor.p({
width: `60rpx`,
height: `60rpx`,
links: donghuaArray[index],
playing: playing.value == index,
interval: 50
}),
c: common_vendor.t(item),
d: common_vendor.n(__props.itemTarget === index ? `bottom-button-target` : `bottom-button`),
e: common_vendor.o(($event) => jumpto(index), index),
f: index
};
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1076550c"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/gongyingshnagdownmenu.js.map

View File

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

View File

@ -0,0 +1 @@
<view class="botton-view data-v-1076550c"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="array-father data-v-1076550c"><view class="{{['data-v-1076550c', item.d]}}" bindtap="{{item.e}}"><donghua wx:if="{{item.b}}" class="data-v-1076550c" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/><view class="bottom-text data-v-1076550c">{{item.c}}</view></view></view></view>

View File

@ -0,0 +1,76 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.botton-view.data-v-1076550c {
position: fixed;
bottom: 0;
left: 0;
height: 120rpx;
width: 100%;
background-color: #fff;
display: flex;
justify-content: space-between;
font-weight: 500;
z-index: 9999;
}
.botton-view .bottom-button.data-v-1076550c {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.botton-view .bottom-button-target.data-v-1076550c {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #01a8ff;
flex-direction: column;
}
.botton-view .blue-heng.data-v-1076550c {
height: 6rpx;
width: 150rpx;
background-color: #2a85eb;
position: absolute;
bottom: 55rpx;
left: 50%;
/* 左边缘到父容器左边的距离占父宽度 50% */
transform: translateX(-50%);
}
.array-father.data-v-1076550c {
width: 33%;
position: relative;
}
.botton-img.data-v-1076550c {
width: 38rpx;
height: 38rpx;
margin-bottom: 5rpx;
}
.bottom-text.data-v-1076550c {
margin-top: -15rpx;
}

View File

@ -414,7 +414,7 @@ const _sfc_main = {
});
},
fail: (e) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:653", "????", e);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:652", "????", e);
}
});
} else {

View File

@ -0,0 +1,134 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
if (!Math) {
model();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "all",
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const showmarrylist = common_vendor.reactive(
[
{
value: "代理商",
label: "代理商"
},
{
value: "批发商",
label: "批发商"
},
{
value: "制造商",
label: "制造商"
}
]
);
const statusarray = ["loading", "success", "fail"];
common_vendor.reactive(["", "", "", "", "", "", "", ""]);
const headImge = common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref(["", "", "", ""]);
common_vendor.reactive(["", ""]);
const nameArray1 = ["供应商名称", "供应商性质", "供应商地址", "负责人", "联系电话", "开户行", "开户行账号"];
const textArray1 = common_vendor.reactive(["", "", "", "", "", "", ""]);
common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref("");
common_vendor.ref(0);
common_vendor.ref("");
function getMessage(url) {
if (!url) {
return;
}
common_vendor.index.previewImage({
current: url,
// 当前显示图片的链接
urls: [url],
// 可以预览的图片列表
indicator: "default",
// 显示面板指示点,'default'|'number'|'none'
loop: true,
// 是否可循环预览
longPressActions: {
itemList: ["保存图片"],
success: (data) => {
common_vendor.index.__f__("log", "at pages/addsupplier/all.vue:273", "长按操作成功", data);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addsupplier/all.vue:276", "长按操作失败", 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 = () => {
common_vendor.index.navigateBack();
};
common_vendor.ref("");
common_vendor.ref("");
const applyStatus = common_vendor.ref(false);
common_vendor.onLoad((options) => {
let data = JSON.parse(options.element);
data.name = showmarrylist[Number(data.suppliersNature) - 1].value;
const keys = [
"suppliersName",
"name",
"suppliersAddress",
"personInCharge",
"contactNumber",
"openingBank",
"openingBankNo"
];
keys.forEach((key, index) => {
textArray1[index] = data[key] || "";
});
headImge.value = `${request_index.media_base_url}${data.imgPath}`;
});
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: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
f: applyStatus.value ? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus.value - 1]}.png` : ``,
g: common_vendor.f(nameArray1, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.t(textArray1[index] ? textArray1[index] : "自动获取"),
c: index,
d: common_vendor.o(($event) => openLook(textArray1[index]), index)
};
}),
h: common_vendor.s(!applyStatus.value ? {
height: `100rpx`
} : {
height: `140rpx`
}),
i: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`,
j: !headImge.value
}, !headImge.value ? {} : {}, {
k: common_vendor.o(($event) => getMessage(headImge.value))
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b8c90a4e"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/addsupplier/all.js.map

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "查看公司信息",
"usingComponents": {
"model": "../../compontent/public/model"
}
}

View File

@ -0,0 +1 @@
<view class="container data-v-b8c90a4e"><model wx:if="{{b}}" class="data-v-b8c90a4e" bindclose="{{a}}" u-i="b8c90a4e-0" bind:__l="__l" u-p="{{b}}"/><image class="greenbgc data-v-b8c90a4e" src="https://www.focusnu.com/media/directive/index/greenbgc.png"/><view class="title-back data-v-b8c90a4e" style="{{'height:' + d}}"><view class="left-father data-v-b8c90a4e" bindtap="{{c}}"><image class="back-img data-v-b8c90a4e" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-b8c90a4e" style="font-size:30rpx">供应商信息表</view></view></view><view class="data-v-b8c90a4e" style="{{'height:' + e}}"></view><view class="white-content data-v-b8c90a4e"><view class="content-title data-v-b8c90a4e" style="margin:20rpx 0;justify-content:space-between"><view class="data-v-b8c90a4e" style="display:flex"><view class="shu data-v-b8c90a4e"></view><view class="content-weight data-v-b8c90a4e" style="margin-top:-2rpx">供应商信息</view><image class="shu-img data-v-b8c90a4e" src="{{f}}"/></view></view><view class="white-message data-v-b8c90a4e"><view class="data-v-b8c90a4e"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="one data-v-b8c90a4e" bindtap="{{item.d}}"><view class="one-left data-v-b8c90a4e">{{item.a}}</view><view class="one-right data-v-b8c90a4e">{{item.b}}</view></view></view></view></view><view class="white-content data-v-b8c90a4e"><view class="content-title data-v-b8c90a4e" style="{{h + ';' + 'position:relative;margin-bottom:20rpx;z-index:999'}}"><view class="shu data-v-b8c90a4e"></view><view class="content-weight data-v-b8c90a4e">资质照片</view></view><view class="white-photo data-v-b8c90a4e" bindtap="{{k}}"><view class="photo-left data-v-b8c90a4e"><view class="photo-weight data-v-b8c90a4e">资质照片</view><view class="photo-font data-v-b8c90a4e">请上传资质照片</view></view><view class="data-v-b8c90a4e" style="position:relative"><image class="photo data-v-b8c90a4e" src="{{i}}"/><image wx:if="{{j}}" class="data-v-b8c90a4e" 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>

View File

@ -0,0 +1,202 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-b8c90a4e {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.container .white-content.data-v-b8c90a4e {
width: 90%;
margin-left: 5%;
border-radius: 35rpx;
}
.container .white-content .content-title.data-v-b8c90a4e {
display: flex;
align-items: center;
height: 100rpx;
position: relative;
font-weight: 600;
}
.container .white-content .content-title .content-weight.data-v-b8c90a4e {
font-size: 32rpx;
}
.container .white-content .content-title .content-img.data-v-b8c90a4e {
position: absolute;
right: 0;
top: 0;
width: 400rpx;
height: 100%;
}
.container .white-photo.data-v-b8c90a4e {
width: 100%;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
justify-content: space-around;
align-items: center;
display: flex;
}
.container .white-photo .photo.data-v-b8c90a4e {
width: 300rpx;
height: 200rpx;
}
.container .white-message.data-v-b8c90a4e {
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;
}
.container .white-message .one.data-v-b8c90a4e {
width: 90%;
margin-left: 5%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10rpx;
}
.container .white-message .one .one-left.data-v-b8c90a4e {
margin-left: 10rpx;
font-size: 30rpx;
color: black;
z-index: 1;
}
.container .white-message .one .one-right.data-v-b8c90a4e {
margin-right: 10rpx;
font-size: 30rpx;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
max-width: 380rpx;
}
.photo-left.data-v-b8c90a4e {
z-index: 1;
}
.photo-left .photo-weight.data-v-b8c90a4e {
font-size: 32rpx;
font-weight: 600;
color: #333;
}
.photo-left .photo-font.data-v-b8c90a4e {
font-size: 28rpx;
margin-top: 10rpx;
color: #666;
}
.gray-font.data-v-b8c90a4e {
padding: 20rpx 60rpx;
padding-bottom: 35rpx;
color: #999999;
}
.title-back.data-v-b8c90a4e {
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.data-v-b8c90a4e {
display: flex;
align-items: center;
z-index: 1;
}
.left-father .back-img.data-v-b8c90a4e {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.shu.data-v-b8c90a4e {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.line.data-v-b8c90a4e {
margin: 10rpx 0;
}
.shu-img.data-v-b8c90a4e {
position: absolute;
right: 20rpx;
top: 40%;
transform: translateY(-40%);
width: 150rpx;
height: 130rpx;
}
.greenbgc.data-v-b8c90a4e {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700rpx;
}
.contentred.data-v-b8c90a4e {
width: 90%;
border: dashed 3rpx #FF4B2F;
border-radius: 15rpx;
margin: 15rpx 0;
margin-left: 5%;
padding: 5rpx;
}
.contentred .contentred-bgc.data-v-b8c90a4e {
background-color: #f0e4e4;
border-radius: 15rpx;
color: red;
padding: 20rpx;
padding-bottom: 30rpx;
}
.small-blue.data-v-b8c90a4e {
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: 9999;
}

View File

@ -0,0 +1,28 @@
"use strict";
require("../../../common/vendor.js");
const request_index = require("../../../request/index.js");
function applySupOrg(data) {
return request_index.request({
url: `/api/suppliers/applySupOrg`,
method: "post",
data
});
}
function addSuppliers(data) {
return request_index.request({
url: `/api/suppliers/addSuppliers`,
method: "post",
data
});
}
function editSuppliers(data) {
return request_index.request({
url: `/api/suppliers/editSuppliers`,
method: "post",
data
});
}
exports.addSuppliers = addSuppliers;
exports.applySupOrg = applySupOrg;
exports.editSuppliers = editSuppliers;
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/addsupplier/api/api.js.map

View File

@ -0,0 +1,323 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
const pages_addsupplier_api_api = require("./api/api.js");
if (!Array) {
const _easycom_u_select2 = common_vendor.resolveComponent("u-select");
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
(_easycom_u_select2 + _easycom_u_action_sheet2)();
}
const _easycom_u_select = () => "../../uni_modules/vk-uview-ui/components/u-select/u-select.js";
const _easycom_u_action_sheet = () => "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js";
if (!Math) {
(_easycom_u_select + _easycom_u_action_sheet)();
}
const _sfc_main = {
__name: "information",
setup(__props) {
const uping = common_vendor.ref(true);
const showmarry = common_vendor.ref(false);
const showmarrylist = common_vendor.reactive(
[
{
value: "代理商",
label: "代理商"
},
{
value: "批发商",
label: "批发商"
},
{
value: "制造商",
label: "制造商"
}
]
);
const bottomlist = [{
text: "拍摄图片",
fontSize: 40
}, {
text: "图片预览",
fontSize: 40
}];
const confirmmarry = (item) => {
form.name = item[0].value;
form.suppliersNature = String(item[0].index + 1);
};
const form = common_vendor.reactive({
// 供应商名称
suppliersName: "",
suppliersNature: ``,
//供应商性质 1代理商 2批发商 3制造商
// 供应商地址
suppliersAddress: "",
// 负责人
personInCharge: "",
// 联系电话
contactNumber: "",
// 开户行
openingBank: "",
// 开户行账号
openingBankNo: "",
// 资质照片
imgPath: "",
name: "",
openId: common_vendor.index.getStorageSync("openid")
});
const bottomshow = common_vendor.ref(false);
const selectphoto = () => {
if (!uping.value) {
return;
}
if (form.imgPath) {
bottomshow.value = true;
} else {
getMessage();
}
};
const photoclick = (element) => {
if (element) {
common_vendor.index.previewImage({
urls: [`${request_index.media_base_url}${form.imgPath}`],
// 必填,所有要预览的图片地址数组
// current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
indicator: "default",
// 可选指示器样式H5/App 有效,值为 'default'(圆点)或 'number'(数字)
longPressActions: {
// 可选,仅 App 支持,长按图片时弹出的操作项
itemList: ["保存图片到相册"]
}
});
} else {
getMessage();
}
};
function getMessage() {
common_vendor.index.chooseImage({
count: 1,
sourceType: ["album", "camera"],
success: (chooseRes) => {
common_vendor.index.navigateTo({
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0&size=1`
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addsupplier/information.vue:202", "拍照失败:", err);
}
});
}
common_vendor.onShow(() => {
const img = common_vendor.index.getStorageSync("imgkey0");
if (img) {
savephoto(img);
common_vendor.index.removeStorageSync("imgkey0");
}
});
const savephoto = (filePath) => {
uping.value = false;
const now = /* @__PURE__ */ new Date();
const yyyy = now.getFullYear();
const mm = String(now.getMonth() + 1).padStart(2, "0");
let path = "";
switch ("") {
case "jg":
path = `${yyyy}/${mm}/jgxx/jg`;
break;
case "yg":
path = `${yyyy}/${mm}/ygxx/yg`;
break;
case "zz":
path = `${yyyy}/${mm}/zzxx/zz`;
break;
case "jhr":
path = `${yyyy}/${mm}/zzxx/jhr`;
break;
default:
path = `${yyyy}/${mm}/temp`;
}
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
// 替换为您的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名
header: {
"X-Access-Token": common_vendor.index.getStorageSync("token") || ""
},
formData: {
biz: path
},
success: (uploadRes) => {
form.imgPath = JSON.parse(uploadRes.data).message;
uping.value = true;
common_vendor.index.hideLoading();
},
fail: (err) => {
common_vendor.index.showToast({
title: "上传出错",
icon: "error"
});
common_vendor.index.hideLoading();
}
});
};
function isValid11DigitNumber(val) {
return /^1[3-9]\d{9}$/.test(val);
}
const next = () => {
if (!uping.value) {
return;
}
common_vendor.index.__f__("log", "at pages/addsupplier/information.vue:273", "form", form);
if (!form.suppliersName) {
common_vendor.index.showToast({
title: "请填写供应商名称",
icon: "none"
});
} else if (!form.suppliersNature) {
common_vendor.index.showToast({
title: "请填写供应商性质",
icon: "none"
});
} else if (!form.suppliersAddress) {
common_vendor.index.showToast({
title: "请填写供应商地址",
icon: "none"
});
} else if (!form.personInCharge) {
common_vendor.index.showToast({
title: "请填写负责人",
icon: "none"
});
} else if (!form.contactNumber) {
common_vendor.index.showToast({
title: "请填写手机号",
icon: "none"
});
} else if (!isValid11DigitNumber(form.contactNumber)) {
common_vendor.index.showToast({
title: "手机号格式错误",
icon: "none"
});
} else if (!form.openingBank) {
common_vendor.index.showToast({
title: "请填写开户行",
icon: "none"
});
} else if (!form.openingBankNo) {
common_vendor.index.showToast({
title: "请填写开户行账号",
icon: "none"
});
} else if (!form.imgPath) {
common_vendor.index.showToast({
title: "请上传资质照片",
icon: "none"
});
} else {
gotopush();
}
};
const gotopush = () => {
if (form.id) {
pages_addsupplier_api_api.editSuppliers(form).then((res) => {
if (res.code == 200) {
common_vendor.index.setStorageSync(
"isstaffchange",
true
);
common_vendor.index.reLaunch({
url: `/pages/addsupplier/successpush`
});
}
});
} else {
pages_addsupplier_api_api.addSuppliers(form).then((res) => {
let data = {
orgCode: common_vendor.index.getStorageSync("nostaffmessage"),
openId: common_vendor.index.getStorageSync("openid")
};
pages_addsupplier_api_api.applySupOrg(data).then((data2) => {
if (data2.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: ["cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww"],
success: (res2) => {
setTimeout(
() => {
common_vendor.index.setStorageSync(
"isstaffchange",
false
);
common_vendor.index.reLaunch({
url: `/pages/addsupplier/successpush`
});
},
1e3
);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addsupplier/information.vue:367", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
});
}
});
}
});
});
}
};
const goBack = () => {
common_vendor.index.navigateBack();
};
common_vendor.onLoad((param) => {
Object.assign(form, JSON.parse(param.element));
form.name = showmarrylist[Number(form.suppliersNature) - 1].value;
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
c: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
d: form.suppliersName,
e: common_vendor.o(($event) => form.suppliersName = $event.detail.value),
f: form.name,
g: common_vendor.o(($event) => form.name = $event.detail.value),
h: common_vendor.o(($event) => showmarry.value = true),
i: common_vendor.o(confirmmarry),
j: common_vendor.o(($event) => showmarry.value = $event),
k: common_vendor.p({
list: showmarrylist,
modelValue: showmarry.value
}),
l: form.suppliersAddress,
m: common_vendor.o(($event) => form.suppliersAddress = $event.detail.value),
n: form.personInCharge,
o: common_vendor.o(($event) => form.personInCharge = $event.detail.value),
p: form.contactNumber,
q: common_vendor.o(($event) => form.contactNumber = $event.detail.value),
r: form.openingBank,
s: common_vendor.o(($event) => form.openingBank = $event.detail.value),
t: form.openingBankNo,
v: common_vendor.o(($event) => form.openingBankNo = $event.detail.value),
w: form.imgPath ? `${common_vendor.unref(request_index.media_base_url)}${form.imgPath}` : `https://www.focusnu.com/media/directive/index/zizhi.png`,
x: form.imgPath ? `` : `https://www.focusnu.com/media/directive/index/bian.png`,
y: !form.imgPath
}, !form.imgPath ? {} : {}, {
z: common_vendor.o(($event) => selectphoto()),
A: common_vendor.o(next),
B: common_vendor.o(photoclick),
C: common_vendor.o(($event) => bottomshow.value = $event),
D: common_vendor.p({
list: bottomlist,
modelValue: bottomshow.value
})
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bb247bfc"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/addsupplier/information.js.map

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "入驻登记表",
"usingComponents": {
"u-select": "../../uni_modules/vk-uview-ui/components/u-select/u-select",
"u-action-sheet": "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}

View File

@ -0,0 +1 @@
<view class="container data-v-bb247bfc"><image class="greenbgc data-v-bb247bfc" src="https://www.focusnu.com/media/directive/index/greenbgc.png"/><view class="title-back data-v-bb247bfc" style="{{'height:' + b}}"><view class="left-father data-v-bb247bfc" bindtap="{{a}}"><image class="back-img data-v-bb247bfc" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-bb247bfc" style="font-size:30rpx">入驻登记表</view></view></view><view class="data-v-bb247bfc" style="{{'height:' + c}}"></view><view class="white-content data-v-bb247bfc"><view class="content-title data-v-bb247bfc"><view class="shu data-v-bb247bfc"></view><view class="content-weight data-v-bb247bfc">供应商信息</view></view><view class="white-message data-v-bb247bfc"><view class="data-v-bb247bfc"><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">供应商名称</view><input class="one-right data-v-bb247bfc" maxlength="20" placeholder="请输入供应商名称" value="{{d}}" bindinput="{{e}}"/></view><view class="one data-v-bb247bfc" style="position:relative" bindtap="{{h}}"><view class="one-left data-v-bb247bfc">供应商性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-bb247bfc" type="text" placeholder="请选择供应商性质" value="{{f}}" bindinput="{{g}}"/><image class="triangle-down data-v-bb247bfc" src="https://www.focusnu.com/media/directive/login/xia.png"/></view><u-select wx:if="{{k}}" class="data-v-bb247bfc" style="font-size:35rpx" bindconfirm="{{i}}" u-i="bb247bfc-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-select><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">供应商地址</view><input class="one-right data-v-bb247bfc" maxlength="30" placeholder="请输入供应商地址" value="{{l}}" bindinput="{{m}}"/></view><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">负责人</view><input class="one-right data-v-bb247bfc" maxlength="10" placeholder="请输入负责人" value="{{n}}" bindinput="{{o}}"/></view><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">联系电话</view><input class="one-right data-v-bb247bfc" type="number" maxlength="11" placeholder="请输入联系电话" value="{{p}}" bindinput="{{q}}"/></view><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">开户行</view><input class="one-right data-v-bb247bfc" maxlength="20" placeholder="请输入开户行" value="{{r}}" bindinput="{{s}}"/></view><view class="one data-v-bb247bfc"><view class="one-left data-v-bb247bfc">开户行账号</view><input class="one-right data-v-bb247bfc" maxlength="20" placeholder="请输入开户行账号" value="{{t}}" bindinput="{{v}}"/></view></view></view></view><view class="white-content data-v-bb247bfc"><view class="content-title data-v-bb247bfc"><view class="shu data-v-bb247bfc"></view><view class="content-weight data-v-bb247bfc">资质照片</view></view><view class="white-photo data-v-bb247bfc" bindtap="{{z}}"><view class="photo-left data-v-bb247bfc"><view class="photo-weight data-v-bb247bfc">资质照片</view><view class="photo-font data-v-bb247bfc">请上传资质照片</view></view><view class="data-v-bb247bfc" style="position:relative"><image class="photo data-v-bb247bfc" src="{{w}}"/><image class="data-v-bb247bfc" style="width:100%;height:100%;top:0;left:0;z-index:1;position:absolute" src="{{x}}"/><image wx:if="{{y}}" class="data-v-bb247bfc" 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-bb247bfc" style="display:flex;width:100%"><view class="finish-button data-v-bb247bfc" bindtap="{{A}}"> 确认并提交 </view></view><u-action-sheet wx:if="{{D}}" class="data-v-bb247bfc" bindclick="{{B}}" u-i="bb247bfc-1" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></u-action-sheet></view>

View File

@ -0,0 +1,186 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-bb247bfc {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.container .white-content.data-v-bb247bfc {
width: 90%;
margin-left: 5%;
border-radius: 35rpx;
}
.container .white-content .content-title.data-v-bb247bfc {
display: flex;
align-items: center;
height: 100rpx;
position: relative;
font-weight: 600;
}
.container .white-content .content-title .content-weight.data-v-bb247bfc {
font-size: 32rpx;
}
.container .white-content .content-title .content-img.data-v-bb247bfc {
position: absolute;
right: 0;
top: 0;
width: 400rpx;
height: 100%;
}
.finish-button.data-v-bb247bfc {
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, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 35rpx;
font-size: 33rpx;
}
.title-back.data-v-bb247bfc {
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.data-v-bb247bfc {
display: flex;
align-items: center;
}
.left-father .back-img.data-v-bb247bfc {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.shu.data-v-bb247bfc {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.line.data-v-bb247bfc {
margin: 10rpx 0;
}
.white-message.data-v-bb247bfc {
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.data-v-bb247bfc {
width: 90%;
margin-left: 5%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10rpx;
}
.one .one-left.data-v-bb247bfc {
margin-left: 10rpx;
font-size: 30rpx;
z-index: 999;
}
.one .one-right.data-v-bb247bfc {
font-size: 30rpx;
height: 100%;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
width: 350rpx;
display: flex;
}
.one .triangle-down.data-v-bb247bfc {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 26rpx;
width: 20rpx;
height: 20rpx;
}
.triangle-down-mi.data-v-bb247bfc {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 26rpx;
font-size: 30rpx;
color: #999999;
}
.greenbgc.data-v-bb247bfc {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700rpx;
}
.white-photo.data-v-bb247bfc {
width: 100%;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
justify-content: space-around;
align-items: center;
display: flex;
}
.white-photo .photo-left .photo-weight.data-v-bb247bfc {
font-size: 30rpx;
font-weight: 600;
}
.white-photo .photo-left .photo-font.data-v-bb247bfc {
font-size: 28rpx;
margin-top: 10rpx;
}
.white-photo .photo.data-v-bb247bfc {
width: 300rpx;
height: 200rpx;
}

View File

@ -0,0 +1,37 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api_loginApi = require("../../api/loginApi.js");
const _sfc_main = {
__name: "successpush",
setup(__props) {
common_vendor.ref(false);
const jumpto = () => {
api_loginApi.getMessage(common_vendor.index.getStorageSync("openid")).then((res) => {
common_vendor.index.setStorageSync("tel", res.result.tel);
common_vendor.index.setStorageSync("token", res.result.token);
common_vendor.index.setStorageSync("serverUrl", res.result.serverUrl);
common_vendor.index.setStorageSync("platId", res.result.platId);
common_vendor.index.setStorageSync("izJg", res.result.izJg);
common_vendor.index.setStorageSync("izJs", res.result.izJs);
common_vendor.index.setStorageSync("izYg", res.result.izYg);
common_vendor.index.reLaunch({
url: `/pages/supplierindex/index`
});
});
};
common_vendor.onLoad(() => {
});
return (_ctx, _cache) => {
return {
a: `https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`,
b: common_vendor.t(common_vendor.index.getStorageSync("isstaffchange") ? "变更信息已提交" : "提交成功"),
c: common_vendor.t(common_vendor.index.getStorageSync("isstaffchange") ? "尊敬的用户,您好!您的入驻信息" : "尊敬的用户,您的供应商入驻申请已提交成功"),
d: common_vendor.t(common_vendor.index.getStorageSync("isstaffchange") ? `变更成功` : `欢迎加入护理单元大家庭`),
e: common_vendor.o(jumpto)
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1ca5d763"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/addsupplier/successpush.js.map

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "入驻登记表",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="font-father data-v-1ca5d763"><view class="fixed data-v-1ca5d763"><image class="title-photo data-v-1ca5d763" style="width:200rpx;height:200rpx" src="{{a}}"/><view class="data-v-1ca5d763" style="font-size:35rpx;font-weight:600;margin:30rpx 0">{{b}}</view><view class="small-title data-v-1ca5d763">{{c}}</view><view class="normal data-v-1ca5d763"><text class="data-v-1ca5d763">{{d}} </text></view></view><view class="bottom-button data-v-1ca5d763" bindtap="{{e}}"> 我的机构 </view></view>

View File

@ -23,102 +23,79 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.login-container.data-v-f4bd7fdd {
.font-father.data-v-1ca5d763 {
width: 100%;
min-height: 100vh;
padding: 0 30rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
background-color: #eff1fc;
}
.font-father .font-title.data-v-1ca5d763 {
margin-top: 0rpx;
margin-bottom: 30rpx;
font-weight: 600;
font-size: 30rpx;
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #eff1fc;
position: relative;
font-size: 80rpx;
}
.login-container .photo-imge.data-v-f4bd7fdd {
.font-father .bottom-button.data-v-1ca5d763 {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
height: 1100rpx;
}
.login-container .old-imge.data-v-f4bd7fdd {
position: absolute;
right: 30rpx;
top: 400rpx;
width: 400rpx;
height: 400rpx;
}
.card.data-v-f4bd7fdd {
z-index: 1;
margin-top: 30rpx;
width: 92%;
margin-left: 4%;
height: 300rpx;
border-radius: 30rpx;
background-color: #fff;
display: flex;
align-items: center;
position: relative;
}
.card .card-left.data-v-f4bd7fdd {
height: 100%;
left: 50%;
transform: translateX(-50%);
bottom: 0rpx;
margin-top: 80rpx;
margin-bottom: 90rpx;
width: 80%;
padding-left: 50rpx;
padding-right: 20rpx;
}
.card .card-left .card-weight.data-v-f4bd7fdd {
font-size: 32rpx;
font-weight: 600;
margin-top: 35rpx;
margin-bottom: 10rpx;
}
.card .card-left .card-text.data-v-f4bd7fdd {
color: #999999;
font-size: 25rpx;
}
.card .card-right.data-v-f4bd7fdd {
height: 100%;
width: 20%;
}
.card .card-right .right-imge.data-v-f4bd7fdd {
width: 100rpx;
height: 100rpx;
margin-top: 50rpx;
margin-left: 5rpx;
}
.title-back.data-v-f4bd7fdd {
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.data-v-f4bd7fdd {
display: flex;
align-items: center;
z-index: 1;
}
.left-father .back-img.data-v-f4bd7fdd {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.white-button.data-v-f4bd7fdd {
position: absolute;
bottom: 35rpx;
right: 35rpx;
width: 180rpx;
height: 65rpx;
margin-top: 15rpx;
background-color: #f6f6f6;
border-radius: 30rpx;
color: #333333;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
display: flex;
justify-content: center;
align-items: center;
z-index: 3;
}
.title-img.data-v-1ca5d763 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
.fixed.data-v-1ca5d763 {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 2;
padding: 0 70rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.small-title.data-v-1ca5d763 {
margin-bottom: 10rpx;
font-size: 28rpx;
}
.normal.data-v-1ca5d763 {
padding: 0 70rpx;
font-size: 28rpx;
margin-bottom: 20rpx;
display: flex;
align-items: center;
line-height: 50rpx;
text-align: center;
}
.title-photo.data-v-1ca5d763 {
margin-top: 500rpx;
width: 120rpx;
height: 120rpx;
z-index: 1;
}

View File

@ -19,7 +19,7 @@ const _sfc_main = {
const cardMenu = [`机构信息`, `加盟审核`, `机构功能`];
const change = () => {
common_vendor.index.navigateTo({
url: `/pages/login/threeselectonespec`
url: `/pages/login/threeselectone?back=${true}`
});
};
const exitshowopen = () => {

View File

@ -47,6 +47,11 @@ const _sfc_main = {
url: `/pages/index/index`
});
break;
case `4`:
common_vendor.index.reLaunch({
url: `/pages/supplierindex/index`
});
break;
default:
common_vendor.index.reLaunch({
url: `/pages/login/threeselectone`
@ -58,7 +63,7 @@ const _sfc_main = {
});
},
fail(err) {
common_vendor.index.__f__("error", "at pages/login/callback.vue:94", "获取 code 失败:", err);
common_vendor.index.__f__("error", "at pages/login/callback.vue:97", "获取 code 失败:", err);
}
});
};

View File

@ -5,109 +5,85 @@ const _sfc_main = {
__name: "threeselectone",
setup(__props) {
common_vendor.ref(0);
const ceshi = () => {
};
const tobestaff = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addstaff/information`
});
};
const oldmanhowtojump = () => {
if (op0.value == `1`) {
api_loginApi.changePerson(1).then((res) => {
if (res.success) {
common_vendor.index.reLaunch({
url: `/pages/oldmanindex/index`
});
}
});
} else {
tobeold();
}
};
const tobeold = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addoldman/IDcard`
const jigouhowtojump = () => {
api_loginApi.changePerson(3).then((res) => {
if (res.success) {
jumpToindex();
}
});
};
const yuangonghowtojump = () => {
if (op1.value == `1`) {
api_loginApi.changePerson(2).then((res) => {
if (res.success) {
jumpToYuangongindex();
}
});
} else {
tobestaff();
}
api_loginApi.changePerson(2).then((res) => {
if (res.success) {
jumpToYuangongindex();
}
});
};
const supplierhowtojump = () => {
api_loginApi.changePerson(4).then((res) => {
if (res.success) {
jumpTosupplierindex();
}
});
};
const jumpTosupplierindex = () => {
common_vendor.index.reLaunch({
url: `/pages/supplierindex/index`
});
};
const goBack = () => {
common_vendor.index.navigateBack();
};
const ceshi = () => {
};
const jumpToindex = () => {
common_vendor.index.reLaunch({
url: `/pages/index/index`
});
};
const jumpToYuangongindex = () => {
common_vendor.index.reLaunch({
url: `/pages/yuangongindex/index`
});
};
const jigouhowtojump = () => {
if (op2.value == `1`) {
api_loginApi.changePerson(3).then((res) => {
if (res.success) {
jumpToindex();
}
});
} else {
gotoadd();
}
};
const jumpToindex = () => {
common_vendor.index.navigateTo({
url: `/pages/index/index`
const oldmanhowtojump = () => {
api_loginApi.changePerson(1).then((res) => {
if (res.success) {
common_vendor.index.reLaunch({
url: `/pages/oldmanindex/index`
});
}
});
};
const gotoadd = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addjigou/name`
});
};
const close = () => {
common_vendor.index.exitMiniProgram({});
};
const phone = common_vendor.ref("");
const op0 = common_vendor.ref(0);
const op1 = common_vendor.ref(0);
const op2 = common_vendor.ref(0);
common_vendor.onLoad(() => {
const back = common_vendor.ref(false);
common_vendor.onLoad((param) => {
if (param == null ? void 0 : param.back) {
back.value = true;
}
phone.value = common_vendor.index.getStorageSync("tel");
op0.value = 1;
op1.value = 1;
op2.value = 1;
});
return (_ctx, _cache) => {
return common_vendor.e({
a: op0.value == `1`
}, op0.value == `1` ? {} : {}, {
b: op0.value != `1`
}, op0.value != `1` ? {} : {}, {
c: common_vendor.o(oldmanhowtojump),
d: op1.value == `1`
}, op1.value == `1` ? {} : {}, {
e: op1.value != `1`
}, op1.value != `1` ? {} : {}, {
f: common_vendor.o(yuangonghowtojump),
g: op2.value == `1`
}, op2.value == `1` ? {} : {}, {
h: op2.value != `1`
}, op2.value != `1` ? {} : {}, {
a: back.value
}, back.value ? {
b: common_vendor.o(goBack),
c: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`
} : {}, {
d: back.value
}, back.value ? {
e: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`
} : {}, {
f: common_vendor.s(back.value ? {
marginTop: `100rpx`
} : {
marginTop: `400rpx`
}),
g: common_vendor.o(oldmanhowtojump),
h: common_vendor.o(yuangonghowtojump),
i: common_vendor.o(ceshi),
j: common_vendor.o(jigouhowtojump),
k: common_vendor.o(close)
k: common_vendor.o(supplierhowtojump)
});
};
}

View File

@ -1 +1 @@
<view class="login-container data-v-83beea56"><image class="photo-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/><view class="card data-v-83beea56" style="margin-top:550rpx" bindtap="{{c}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 长者入住 </view><view class="card-text data-v-83beea56"> 护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护服务。 </view><view class="data-v-83beea56" style="display:flex"><view wx:if="{{a}}" class="white-button data-v-83beea56"> 长者进入 </view><view wx:if="{{b}}" class="white-button data-v-83beea56"> 申请入住 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/old.png"/></view></view><view class="card data-v-83beea56" bindtap="{{f}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 员工入驻 </view><view class="card-text data-v-83beea56"> 护理员严格按标准流程,定时为失能长者开展床旁照护,用专业与温情守护长者生活与健康。 </view><view class="data-v-83beea56" style="display:flex"><view wx:if="{{d}}" class="white-button data-v-83beea56"> 员工进入 </view><view wx:if="{{e}}" class="white-button data-v-83beea56"> 申请入驻 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/yuangong.png"/></view></view><view class="card data-v-83beea56" style="height:340rpx" bindtap="{{j}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 机构加盟 </view><view class="card-text data-v-83beea56"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view><view class="data-v-83beea56" style="display:flex"><view wx:if="{{g}}" class="white-button data-v-83beea56"> 进入机构 </view><view wx:if="{{h}}" class="white-button data-v-83beea56"> 申请加盟 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/gongsi.png" bindtap="{{i}}"/></view></view><view class="blue-button data-v-83beea56" bindtap="{{k}}"> 关闭 </view></view>
<view class="login-container data-v-83beea56"><image class="photo-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/><view wx:if="{{a}}" class="title-back data-v-83beea56" style="{{'height:' + c}}"><view class="left-father data-v-83beea56" bindtap="{{b}}"><image class="back-img data-v-83beea56" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view wx:if="{{d}}" class="data-v-83beea56" style="{{'height:' + e}}"></view><view class="card data-v-83beea56" style="{{f}}" bindtap="{{g}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 长者入住 </view><view class="card-text data-v-83beea56"> 护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护服务。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 长者进入 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/old.png"/></view></view><view class="card data-v-83beea56" bindtap="{{h}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 员工入驻 </view><view class="card-text data-v-83beea56"> 护理员严格按标准流程,定时为失能长者开展床旁照护,用专业与温情守护长者生活与健康。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 员工进入 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/yuangong.png"/></view></view><view class="card data-v-83beea56" style="height:340rpx" bindtap="{{j}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 机构加盟 </view><view class="card-text data-v-83beea56"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 进入机构 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/gongsi.png" bindtap="{{i}}"/></view></view><view class="card data-v-83beea56" bindtap="{{k}}"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 供应商入驻 </view><view class="card-text data-v-83beea56"> 欢迎优质护理机构与我们合作,共同为长者提供安全、专业、温暖的护理服务。支持线上展示、服务预约、结算对接与质检监管。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 供应商进入 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/supplier.png"/></view></view></view>

View File

@ -31,21 +31,6 @@
background-color: #eff1fc;
position: relative;
}
.login-container .title.data-v-83beea56 {
margin-top: 180rpx;
align-items: center;
}
.login-container .title .title-imge.data-v-83beea56 {
width: 100rpx;
height: 105rpx;
margin-left: 100rpx;
}
.login-container .title .title-font.data-v-83beea56 {
font-size: 35rpx;
font-weight: 600;
margin-left: 105rpx;
margin-top: 10rpx;
}
.login-container .photo-imge.data-v-83beea56 {
position: absolute;
top: 0rpx;
@ -60,59 +45,6 @@
width: 400rpx;
height: 400rpx;
}
.login-container .under-container.data-v-83beea56 {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 63vh;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.font-father.data-v-83beea56 {
width: 100%;
color: #666666;
justify-content: center;
display: flex;
}
.font-father .font.data-v-83beea56 {
width: 60%;
}
.button-father.data-v-83beea56 {
width: 100%;
margin-top: 80rpx;
display: flex;
justify-content: center;
}
.button-father .button-blue.data-v-83beea56 {
width: 40%;
display: flex;
justify-content: center;
align-items: center;
height: 100rpx;
border-radius: 43rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.card-title.data-v-83beea56 {
z-index: 1;
margin-top: 600rpx;
width: 92%;
margin-left: 4%;
height: 100rpx;
border-radius: 35rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 26rpx;
}
.card.data-v-83beea56 {
z-index: 1;
margin-top: 30rpx;
@ -151,30 +83,19 @@
margin-top: 50rpx;
margin-left: 5rpx;
}
.blue-button.data-v-83beea56 {
width: 80%;
margin-left: 10%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 90rpx;
margin-top: 40rpx;
}
.title-back.data-v-83beea56 {
position: absolute;
top: 100rpx;
background-color: #F7F7F7;
width: 100%;
height: 100rpx;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
align-items: flex-end;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #cbd1d2;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father.data-v-83beea56 {
display: flex;

View File

@ -1,119 +0,0 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api_loginApi = require("../../api/loginApi.js");
const _sfc_main = {
__name: "threeselectonespec",
setup(__props) {
common_vendor.ref(0);
const jigouhowtojump = () => {
if (op2.value == `1`) {
api_loginApi.changePerson(3).then((res) => {
if (res.success) {
jumpToindex();
}
});
} else {
gotoadd();
}
};
const yuangonghowtojump = () => {
if (op1.value == `1`) {
api_loginApi.changePerson(2).then((res) => {
if (res.success) {
jumpToYuangongindex();
}
});
} else {
tobestaff();
}
};
const goBack = () => {
common_vendor.index.navigateBack();
};
const ceshi = () => {
};
const jumpToindex = () => {
common_vendor.index.reLaunch({
url: `/pages/index/index`
});
};
const jumpToYuangongindex = () => {
common_vendor.index.reLaunch({
url: `/pages/yuangongindex/index`
});
};
const oldmanhowtojump = () => {
if (op0.value == `1`) {
api_loginApi.changePerson(1).then((res) => {
if (res.success) {
common_vendor.index.reLaunch({
url: `/pages/oldmanindex/index`
});
}
});
} else {
tobeold();
}
};
const gotoadd = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addjigou/name`
});
};
const tobestaff = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addstaff/information`
});
};
const tobeold = () => {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.setStorageSync("baddata", "");
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addoldman/IDcard`
});
};
const phone = common_vendor.ref("");
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 = 1;
op1.value = 1;
op2.value = 1;
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
c: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
d: op0.value == `1`
}, op0.value == `1` ? {} : {}, {
e: op0.value != `1`
}, op0.value != `1` ? {} : {}, {
f: common_vendor.o(oldmanhowtojump),
g: op1.value == `1`
}, op1.value == `1` ? {} : {}, {
h: op1.value != `1`
}, op1.value != `1` ? {} : {}, {
i: common_vendor.o(yuangonghowtojump),
j: op2.value == `1`
}, op2.value == `1` ? {} : {}, {
k: op2.value != `1`
}, op2.value != `1` ? {} : {}, {
l: common_vendor.o(ceshi),
m: common_vendor.o(jigouhowtojump)
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f4bd7fdd"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/threeselectonespec.js.map

View File

@ -1,4 +0,0 @@
{
"navigationBarTitleText": "选择角色",
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="login-container data-v-f4bd7fdd"><image class="photo-imge data-v-f4bd7fdd" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/><view class="title-back data-v-f4bd7fdd" style="{{'height:' + b}}"><view class="left-father data-v-f4bd7fdd" bindtap="{{a}}"><image class="back-img data-v-f4bd7fdd" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view class="data-v-f4bd7fdd" style="{{'height:' + c}}"></view><view class="card data-v-f4bd7fdd" style="margin-top:550rpx" bindtap="{{f}}"><view class="card-left data-v-f4bd7fdd"><view class="card-weight data-v-f4bd7fdd"> 长者入住 </view><view class="card-text data-v-f4bd7fdd"> 护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护服务。 </view><view class="data-v-f4bd7fdd" style="display:flex"><view wx:if="{{d}}" class="white-button data-v-f4bd7fdd"> 长者进入 </view><view wx:if="{{e}}" class="white-button data-v-f4bd7fdd"> 申请入住 </view></view></view><view class="card-right data-v-f4bd7fdd"><image class="right-imge data-v-f4bd7fdd" src="https://www.focusnu.com/media/directive/login/old.png"/></view></view><view class="card data-v-f4bd7fdd" bindtap="{{i}}"><view class="card-left data-v-f4bd7fdd"><view class="card-weight data-v-f4bd7fdd"> 员工入驻 </view><view class="card-text data-v-f4bd7fdd"> 护理员严格按标准流程,定时为失能长者开展床旁照护,用专业与温情守护长者生活与健康。 </view><view class="data-v-f4bd7fdd" style="display:flex"><view wx:if="{{g}}" class="white-button data-v-f4bd7fdd"> 员工进入 </view><view wx:if="{{h}}" class="white-button data-v-f4bd7fdd"> 申请入驻 </view></view></view><view class="card-right data-v-f4bd7fdd"><image class="right-imge data-v-f4bd7fdd" src="https://www.focusnu.com/media/directive/login/yuangong.png"/></view></view><view class="card data-v-f4bd7fdd" style="height:340rpx" bindtap="{{m}}"><view class="card-left data-v-f4bd7fdd"><view class="card-weight data-v-f4bd7fdd"> 机构加盟 </view><view class="card-text data-v-f4bd7fdd"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view><view class="data-v-f4bd7fdd" style="display:flex"><view wx:if="{{j}}" class="white-button data-v-f4bd7fdd"> 进入机构 </view><view wx:if="{{k}}" class="white-button data-v-f4bd7fdd"> 申请加盟 </view></view></view><view class="card-right data-v-f4bd7fdd"><image class="right-imge data-v-f4bd7fdd" src="https://www.focusnu.com/media/directive/login/gongsi.png" bindtap="{{l}}"/></view></view></view>

View File

@ -31,7 +31,7 @@ const _sfc_main = {
price: item.value.payableAmount,
count: 1,
unit: "间",
customerId: common_vendor.index.getStorageSync("allinfo").id
elderId: common_vendor.index.getStorageSync("allinfo").id
};
common_vendor.index.__f__("log", "at pages/oldmanindex/account.vue:139", "AAAAAAA", payload);
common_vendor.index.showLoading({

View File

@ -19,7 +19,7 @@ const _sfc_main = {
const cardMenu = [];
const change = () => {
common_vendor.index.navigateTo({
url: `/pages/login/threeselectonespec`
url: `/pages/login/threeselectone?back=${true}`
});
};
const exitshowopen = () => {

View File

@ -50,7 +50,7 @@ const _sfc_main = {
amountPrice: amount.value,
orgCode: "组织id",
nursingUnit: "护理单元id",
customerId: "顾客id",
elderId: "顾客id",
orderType: "订单类型",
price: 1,
count: 1,

View File

@ -0,0 +1,62 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
function applySupOrg(data) {
return request_index.request({
url: `/api/suppliers/applySupOrg`,
method: "post",
data
});
}
function getApplySuppliersOrgInfo(res) {
return request_index.request({
url: `/api/suppliers/getApplySuppliersOrgInfo?title=${res.title}&pageNo=${res.pageNo}&pageSize=5&openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
function getSuppliersAuditLog() {
return request_index.request({
url: `/api/suppliers/getSuppliersAuditLog?openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
function getSuppliersOrgInfo() {
return request_index.request({
url: `/api/suppliers/getSuppliersOrgInfo?openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
function getSupInfoByOpenId() {
return request_index.request({
url: `/api/suppliers/getSupInfoByOpenId?openId=${common_vendor.index.getStorageSync("openid")}`,
method: "get"
});
}
function getNotice() {
return request_index.request({
url: `/api/wx/notice/query?openId=${common_vendor.index.getStorageSync("openid")}&clientType=${common_vendor.index.getStorageSync("jumpIndex")}`,
method: "get"
});
}
function isRead(openId) {
return request_index.request({
url: `/api/wx/notice/unreadCount?openId=${common_vendor.index.getStorageSync("openid")}&clientType=4`,
method: "get"
});
}
function upRead(data) {
return request_index.request({
url: `/api/wx/notice/upRead`,
method: "post",
data
});
}
exports.applySupOrg = applySupOrg;
exports.getApplySuppliersOrgInfo = getApplySuppliersOrgInfo;
exports.getNotice = getNotice;
exports.getSupInfoByOpenId = getSupInfoByOpenId;
exports.getSuppliersAuditLog = getSuppliersAuditLog;
exports.getSuppliersOrgInfo = getSuppliersOrgInfo;
exports.isRead = isRead;
exports.upRead = upRead;
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/supplierindex/api.js.map

View File

@ -0,0 +1,252 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_supplierindex_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) {
(model + downMenu + _easycom_u_popup)();
}
const downMenu = () => "../../compontent/public/gongyingshnagdownmenu.js";
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "index",
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const jineng = () => {
};
const jumpother = () => {
common_vendor.index.navigateTo({
url: "/pages/yuangongindex/workjoin"
});
};
const buttonArray = common_vendor.ref(["信息变更", "员工功能", "员工功能"]);
const statusarray = ["loading", "success", "fail"];
const which = common_vendor.ref(0);
const clickSmallball = () => {
common_vendor.index.setStorageSync("jumpIndex", 4);
common_vendor.index.navigateTo({
url: "/pages/yuangongindex/message"
});
};
const searchjigou = () => {
common_vendor.index.navigateTo({
url: "/pages/supplierindex/searchjigou"
});
};
const changecard = (e) => {
which.value = e;
whichMenu.value = which.value;
};
const moveend = () => {
which.value = menuArray.value.length;
whichMenu.value = which.value;
};
const look = (element) => {
common_vendor.index.navigateTo({
url: `/pages/supplierindex/workjoin`
});
};
const again = (item) => {
let data = {
orgCode: item.orgCode,
openId: common_vendor.index.getStorageSync("openid")
};
pages_supplierindex_api.applySupOrg(data).then((data2) => {
if (data2.success) {
common_vendor.index.requestSubscribeMessage({
// 这里填后台申请好的 templateId 数组
tmplIds: ["cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww"],
success: (res) => {
popupshow.value = true;
setTimeout(() => {
loadingData();
}, 1e3);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/supplierindex/index.vue:343", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
});
}
});
}
});
};
const whichMenu = common_vendor.ref(0);
const swiperchange = (res) => {
whichMenu.value = res.detail.current;
which.value = res.detail.current;
};
const moveHeight = common_vendor.ref(0);
common_vendor.onMounted(() => {
let capsule = null;
if (typeof common_vendor.index.getMenuButtonBoundingClientRect === "function") {
try {
capsule = common_vendor.index.getMenuButtonBoundingClientRect();
} catch (e) {
capsule = null;
}
moveHeight.value = capsule.top;
common_vendor.index.setStorageSync("moveHeight", moveHeight.value);
}
});
common_vendor.onUnmounted(() => {
});
const menuArray = common_vendor.ref([]);
const loadingData = () => {
pages_supplierindex_api.getSuppliersOrgInfo().then((res) => {
menuArray.value = [];
res.result.records.forEach((element) => {
menuArray.value.push(element);
});
menuArray.value.push({
applyStatus: `-1`
});
});
};
const hong = common_vendor.ref(0);
const clickButton = (item, index) => {
if (index === 0) {
pages_supplierindex_api.getSupInfoByOpenId().then((res) => {
if (res.success) {
common_vendor.index.navigateTo({
url: `/pages/addsupplier/information?element=${JSON.stringify(res.result)}`
});
}
});
}
};
const jumptolist = (res) => {
if (res) {
content.value = res;
show.value = true;
}
};
common_vendor.onShow(() => {
loadingData();
pages_supplierindex_api.isRead().then((res) => {
if (res.result) {
hong.value = res.result;
}
});
});
common_vendor.onPullDownRefresh(() => {
loadingData();
pages_supplierindex_api.isRead().then((res) => {
if (res.result) {
hong.value = res.result;
}
});
common_vendor.index.stopPullDownRefresh();
});
const popupshow = common_vendor.ref(false);
const jumpRuzhu = () => {
popupshow.value = false;
common_vendor.index.navigateTo({
url: "/pages/supplierindex/workjoin"
});
};
return (_ctx, _cache) => {
var _a;
return common_vendor.e({
a: hong.value
}, hong.value ? {
b: common_vendor.t(hong.value)
} : {}, {
c: `${moveHeight.value}px`,
d: common_vendor.o(clickSmallball),
e: common_vendor.o(($event) => show.value = false),
f: common_vendor.p({
show: show.value,
content: content.value
}),
g: common_vendor.f(menuArray.value, (item, index, i0) => {
return common_vendor.e({
a: item.suppliersStatus !== "2"
}, item.suppliersStatus !== "2" ? {} : {}, {
b: item.suppliersStatus == "1"
}, item.suppliersStatus == "1" ? {
c: `https://www.focusnu.com/media/directive/index/refresh.png`,
d: common_vendor.o(loadingData, index)
} : {}, {
e: item.suppliersStatus == "1"
}, item.suppliersStatus == "1" ? {
f: `https://www.focusnu.com/media/directive/index/${statusarray[0]}.png`,
g: common_vendor.t(item.departName),
h: common_vendor.o(($event) => look(), index)
} : {}, {
i: item.suppliersStatus == `3`
}, item.suppliersStatus == `3` ? {
j: `https://www.focusnu.com/media/directive/index/${statusarray[2]}.png`,
k: common_vendor.t(item.departName),
l: common_vendor.o(($event) => jumptolist(item.auditContent), index),
m: common_vendor.o(($event) => again(item), index)
} : {}, {
n: item.suppliersStatus == `2`
}, item.suppliersStatus == `2` ? {
o: `https://www.focusnu.com/media/directive/index/addstaff/kaoqin.png`,
p: `https://www.focusnu.com/media/directive/index/addstaff/more.png`,
q: common_vendor.o(jumpother, index),
r: `https://www.focusnu.com/media/directive/index/addstaff/jineng.png`,
s: common_vendor.o(jineng, index),
t: `https://www.focusnu.com/media/directive/index/addstaff/yuangong.png`,
v: common_vendor.f(buttonArray.value, (item0, index2, i1) => {
return {
a: `https://www.focusnu.com/media/directive/index/addstaff/${index2 + 2}.png`,
b: common_vendor.t(item0),
c: index2,
d: common_vendor.o(($event) => clickButton(item, index2), index2)
};
}),
w: `https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`
} : {}, {
x: item.applyType == "1" && item.applyStatus == `-1`
}, item.applyType == "1" && item.applyStatus == `-1` ? {} : {}, {
y: item.applyStatus == `-1`
}, item.applyStatus == `-1` ? {
z: common_vendor.o(($event) => searchjigou(), index)
} : {}, {
A: index
});
}),
h: `100vh`,
i: which.value,
j: common_vendor.o(swiperchange),
k: common_vendor.f(menuArray.value, (item, index, i0) => {
return common_vendor.e({
a: index != menuArray.value.length - 1
}, index != menuArray.value.length - 1 ? {
b: common_vendor.n(whichMenu.value == index ? `black-box` : `gray-box`)
} : {}, {
c: index == menuArray.value.length - 1
}, index == menuArray.value.length - 1 ? {
d: `https://www.focusnu.com/media/directive/index/bluejia.png`,
e: common_vendor.o(moveend, index)
} : {}, {
f: index,
g: common_vendor.o(($event) => changecard(index), index)
});
}),
l: common_vendor.t((_a = menuArray.value[which.value]) == null ? void 0 : _a.departName),
m: common_vendor.p({
itemTarget: 0
}),
n: common_vendor.o(($event) => jumpRuzhu()),
o: common_vendor.o(($event) => popupshow.value = $event),
p: common_vendor.p({
mode: "bottom",
["border-radius"]: "40",
modelValue: popupshow.value
})
});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a4bedc7c"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/supplierindex/index.js.map

View File

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "首页",
"enablePullDownRefresh": true,
"usingComponents": {
"u-popup": "../../uni_modules/vk-uview-ui/components/u-popup/u-popup",
"down-menu": "../../compontent/public/gongyingshnagdownmenu",
"model": "../../compontent/public/model"
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,526 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.login-container.data-v-a4bedc7c {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #eff1fc;
position: relative;
}
.index-up.data-v-a4bedc7c {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
}
.index-up .index-up-img.data-v-a4bedc7c {
width: 100%;
height: 20rpx;
}
.index-ball-father.data-v-a4bedc7c {
width: 100%;
display: flex;
justify-content: flex-end;
position: fixed;
top: 120rpx;
left: 0;
z-index: 999;
margin-top: 120rpx;
}
.index-ball-father .white-ball.data-v-a4bedc7c {
width: 60rpx;
height: 60rpx;
background-color: #fff;
border-radius: 50%;
margin-right: 20rpx;
display: flex;
justify-content: center;
align-items: center;
}
.index-ball-father .super-white-ball.data-v-a4bedc7c {
width: 70rpx;
height: 60rpx;
background-color: #fff;
border-radius: 50%;
margin-right: 40rpx;
display: flex;
justify-content: center;
align-items: center;
}
.index-ball-father .small-img.data-v-a4bedc7c {
width: 25rpx;
height: 25rpx;
}
.index-smallPhoto.data-v-a4bedc7c {
width: 100%;
display: flex;
justify-content: flex-end;
margin-top: 480rpx;
margin-bottom: 50rpx;
}
.index-smallPhoto .photo-box.data-v-a4bedc7c {
margin-right: 40rpx;
height: 180rpx;
width: 250rpx;
z-index: 2;
position: relative;
}
.index-smallPhoto .photo-box .photo-box-img.data-v-a4bedc7c {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.white-content.data-v-a4bedc7c {
z-index: 1;
height: 740rpx;
width: 90%;
background-color: #fff;
border-radius: 30rpx;
z-index: 2;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
}
.white-content .white-content-img.data-v-a4bedc7c {
position: absolute;
top: 110rpx;
left: 50%;
transform: translateX(-50%);
width: 200rpx;
height: 175rpx;
}
.white-content .white-content-secondimg.data-v-a4bedc7c {
position: absolute;
left: 50%;
top: 30%;
transform: translate(-50%, -30%);
width: 400rpx;
height: 300rpx;
z-index: 1;
}
.white-content .white-font.data-v-a4bedc7c {
margin-top: 330rpx;
font-size: 30rpx;
}
.white-content .second-font.data-v-a4bedc7c {
margin-top: 10rpx;
font-size: 30rpx;
padding: 0 30rpx;
}
.white-content-father.data-v-a4bedc7c {
width: 100%;
display: flex;
justify-content: center;
margin-top: 24vh;
z-index: 1;
position: relative;
overflow: hidden;
}
.bottom-text.data-v-a4bedc7c {
font-size: 22rpx;
}
.white-content-father-time.data-v-a4bedc7c {
width: 100%;
display: flex;
justify-content: center;
margin-top: 10rpx;
}
.white-content-father-time .white-bgc.data-v-a4bedc7c {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
color: #999999;
}
.white-content-father-time .white-content.data-v-a4bedc7c {
height: 110rpx;
width: 92%;
overflow: hidden;
background-size: 100% auto;
border-radius: 35rpx;
z-index: 2;
}
.white-content-father-time .white-shu.data-v-a4bedc7c {
height: 100%;
width: 2rpx;
background-color: #fff;
margin: 0 20rpx;
}
.bad-button.data-v-a4bedc7c {
width: 100%;
margin-top: 40rpx;
display: flex;
justify-content: flex-end;
}
.bad-button .blue-button.data-v-a4bedc7c {
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 25rpx;
padding: 10rpx 20rpx;
border-radius: 35rpx;
margin-right: 40rpx;
}
.zhiling-box.data-v-a4bedc7c {
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;
}
.zhiling-box .zhiling-img.data-v-a4bedc7c {
width: 25rpx;
height: 25rpx;
}
.white-box-father.data-v-a4bedc7c {
display: flex;
width: 100%;
flex-wrap: wrap;
margin-left: 1%;
}
.white-box-father .white-box.data-v-a4bedc7c {
margin-top: 25rpx;
width: 20.7%;
margin-left: 3%;
height: 180rpx;
background-color: #fff;
border-radius: 35rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.white-box-father .white-box .box-img.data-v-a4bedc7c {
width: 55rpx;
height: 55rpx;
margin-bottom: 25rpx;
}
.white-box-father .white-box .box-font.data-v-a4bedc7c {
font-size: 30rpx;
}
.result.data-v-a4bedc7c {
margin: 0 auto;
}
.jia-box.data-v-a4bedc7c {
position: absolute;
top: 0rpx;
left: 0;
display: flex;
height: 80rpx;
width: 100%;
justify-content: center;
}
.jia.data-v-a4bedc7c {
margin-top: -5rpx;
width: 25rpx;
height: 25rpx;
border-radius: 50%;
background-color: #fff;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 30rpx;
}
.jia .jia-img.data-v-a4bedc7c {
width: 18rpx;
height: 18rpx;
z-index: 2;
}
.gray-box.data-v-a4bedc7c {
border-radius: 20rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: #fff;
}
.black-box.data-v-a4bedc7c {
border-radius: 20rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: black;
}
.button-double.data-v-a4bedc7c {
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-a4bedc7c {
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-a4bedc7c {
width: 30%;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 40rpx;
margin-right: 40rpx;
z-index: 999;
}
.button-blue.data-v-a4bedc7c {
position: absolute;
bottom: 45rpx;
width: 40%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 37rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-top: 80rpx;
z-index: 999;
}
.button-blue-spec.data-v-a4bedc7c {
position: absolute;
bottom: 30rpx;
left: 8%;
width: 40%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 37rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-top: 80rpx;
}
.button-white-spec.data-v-a4bedc7c {
position: absolute;
bottom: 30rpx;
right: 8%;
width: 40%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 37rpx;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border: 2rpx solid #b1c0ca;
font-size: 33rpx;
margin-top: 80rpx;
}
.chuo-img.data-v-a4bedc7c {
position: absolute;
top: 72rpx;
right: 235rpx;
width: 120rpx;
height: 110rpx;
z-index: 3;
}
.chuo-ball.data-v-a4bedc7c {
position: absolute;
top: 20rpx;
right: 60rpx;
width: 60rpx;
height: 60rpx;
z-index: 3;
background-color: #f2f2f2;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.chuo-ball .ball-img.data-v-a4bedc7c {
width: 37rpx;
height: 37rpx;
}
.blue-shu.data-v-a4bedc7c {
width: 17rpx;
height: 35rpx;
border-radius: 17rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
margin-left: 40rpx;
margin-right: 20rpx;
}
.blue-font.data-v-a4bedc7c {
font-size: 30rpx;
color: black;
}
.small-ball.data-v-a4bedc7c {
position: fixed;
right: 120px;
z-index: 9999;
width: 64rpx;
height: 64rpx;
background-color: #fff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.small-ball .small-ball-img.data-v-a4bedc7c {
width: 60%;
height: 60%;
}
.small-ball .small-dian.data-v-a4bedc7c {
position: absolute;
right: 0%;
top: 0%;
width: 30rpx;
height: 30rpx;
border-radius: 50%;
background-color: #FF5757;
color: #fff;
font-size: 20rpx;
display: flex;
justify-content: center;
align-items: center;
}
.big-button-double.data-v-a4bedc7c {
width: 100%;
height: 280rpx;
display: flex;
justify-content: space-between;
padding: 0 30rpx;
}
.big-button-double .left-button.data-v-a4bedc7c {
height: 100%;
width: 49%;
background-color: #fff;
border-radius: 45rpx;
position: relative;
}
.big-button-double .left-button .left-button-img.data-v-a4bedc7c {
margin: 40rpx 0 0 40rpx;
width: 60rpx;
height: 60rpx;
}
.big-button-double .left-button .left-button-bottom.data-v-a4bedc7c {
position: absolute;
left: 0;
bottom: 40rpx;
width: 100%;
padding: 0 40rpx;
font-size: 30rpx;
display: flex;
justify-content: space-between;
}
.big-button-double .right-button.data-v-a4bedc7c {
height: 100%;
width: 49%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.big-button-double .right-button .right-button-one.data-v-a4bedc7c {
width: 100%;
height: 48%;
background-color: #fff;
border-radius: 45rpx;
display: flex;
justify-content: space-between;
padding: 0 60rpx;
align-items: center;
font-size: 30rpx;
}
.big-button-double .right-button .right-button-one .right-button-img.data-v-a4bedc7c {
width: 70rpx;
height: 70rpx;
}
.bottom-button-img.data-v-a4bedc7c {
position: absolute;
bottom: 0;
right: 0;
width: 45rpx;
height: 45rpx;
}
.small-icon.data-v-a4bedc7c {
width: 100rpx;
height: 100rpx;
border-radius: 20rpx;
background-color: #F6F6F6;
display: flex;
justify-content: center;
align-items: center;
margin-left: 20rpx;
}
.popop-father.data-v-a4bedc7c {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font.data-v-a4bedc7c {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue.data-v-a4bedc7c {
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 bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 30rpx;
}

View File

@ -0,0 +1,81 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_supplierindex_api = require("./api.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "message",
setup(__props) {
const hulijigouArray = common_vendor.ref([]);
common_vendor.ref(false);
common_vendor.ref("");
const clickCard = (type) => {
if (type.izRead == "N") {
pages_supplierindex_api.upRead({ id: type.id }).then((res) => {
if (res.success) {
search();
}
});
}
};
const checkRed = () => {
if (hulijigouArray.value.every((item) => item.izRead == `Y`)) {
hong.value = false;
} else {
hong.value = true;
}
};
const jumpIndex = common_vendor.ref(common_vendor.index.getStorageSync("jumpIndex"));
const goBack = () => {
common_vendor.index.__f__("log", "at pages/supplierindex/message.vue:127", "?????", jumpIndex.value);
switch (jumpIndex.value) {
case 1:
common_vendor.index.reLaunch({ url: "/pages/index/index" });
break;
case 2:
common_vendor.index.reLaunch({ url: "/pages/yuangongindex/index" });
break;
case 3:
common_vendor.index.reLaunch({ url: "/pages/oldmanindex/index" });
}
};
const search = () => {
pages_supplierindex_api.getNotice().then((res) => {
if (res.success) {
hulijigouArray.value = res.result;
checkRed();
}
});
};
common_vendor.ref(false);
const hong = common_vendor.ref(false);
common_vendor.onShow(() => {
search();
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(goBack),
b: `${common_vendor.index.getStorageSync("moveHeight") + 40}px`,
c: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
d: hulijigouArray.value.length
}, hulijigouArray.value.length ? common_vendor.e({
e: hong.value
}, hong.value ? {} : {}) : {}, {
f: !hulijigouArray.value.length
}, !hulijigouArray.value.length ? {} : {}, {
g: common_vendor.f(hulijigouArray.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.title),
b: common_vendor.t(item.createTime.substring(item.createTime.indexOf("-") + 1, item.createTime.indexOf("-") + 6)),
c: item.izRead == `N`
}, item.izRead == `N` ? {} : {}, {
d: common_vendor.t(item.content),
e: index,
f: common_vendor.o(($event) => clickCard(item), index)
});
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-886e8dd2"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/supplierindex/message.js.map

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "消息",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="container data-v-886e8dd2"><view class="title-back data-v-886e8dd2" style="{{'height:' + b}}"><view class="left-father data-v-886e8dd2" bindtap="{{a}}"><image class="back-img data-v-886e8dd2" src="https://www.focusnu.com/media/directive/index/left.png"/></view></view><view class="data-v-886e8dd2" style="{{'height:' + c}}"></view><view wx:if="{{d}}" class="title-father data-v-886e8dd2"><view class="title-shu data-v-886e8dd2"></view><view class="title-font data-v-886e8dd2"><view wx:if="{{e}}" class="title-dian data-v-886e8dd2"></view> 消息 </view></view><view wx:if="{{f}}" class="data-v-886e8dd2" style="width:100%;margin-top:170rpx;display:flex;flex-direction:column;justify-content:center;align-items:center"><image class="data-v-886e8dd2" style="height:350rpx;width:350rpx" src="https://www.focusnu.com/media/directive/index/nomessage.png"/><view class="data-v-886e8dd2" style="color:#8E96AD;margin-top:-40rpx"> 暂无消息 </view></view><view class="data-v-886e8dd2" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="zhiling-box-card data-v-886e8dd2" style="margin-top:30rpx;position:relative;width:92%;flex-direction:column" bindtap="{{item.f}}"><view class="data-v-886e8dd2" style="height:10rpx"></view><view class="card-title data-v-886e8dd2"><image class="data-v-886e8dd2" style="height:70rpx;width:70rpx;margin-left:30rpx" src="https://www.focusnu.com/media/directive/index/messagetype/0.png"/><view class="card-title-font data-v-886e8dd2">{{item.a}}</view><view class="card-right data-v-886e8dd2">{{item.b}} <view wx:if="{{item.c}}" class="card-dian data-v-886e8dd2"></view></view></view><view class="gray-heng data-v-886e8dd2"></view><view class="card-bottom data-v-886e8dd2">{{item.d}}</view></view></view><view class="data-v-886e8dd2" style="height:200rpx"></view></view>

View File

@ -0,0 +1,290 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.container.data-v-886e8dd2 {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
position: relative;
}
.title-back.data-v-886e8dd2 {
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.data-v-886e8dd2 {
display: flex;
align-items: center;
}
.left-father .back-img.data-v-886e8dd2 {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
.zhiling-box.data-v-886e8dd2 {
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-886e8dd2 {
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-886e8dd2 {
width: 100%;
height: 600rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.popop-font.data-v-886e8dd2 {
margin-top: 40rpx;
width: 70%;
text-align: center;
line-height: 40rpx;
font-size: 30rpx;
margin-bottom: 100rpx;
}
.popop-blue.data-v-886e8dd2 {
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 bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
font-size: 33rpx;
margin-bottom: 30rpx;
}
.button-father.data-v-886e8dd2 {
position: fixed;
bottom: 0rpx;
left: 0;
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
}
.blue-button.data-v-886e8dd2 {
display: flex;
justify-content: center;
align-items: center;
width: 30%;
height: 60rpx;
margin: 0 30rpx;
margin-top: 10rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
border-radius: 25rpx;
font-size: 30rpx;
}
.white-button.data-v-886e8dd2 {
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-886e8dd2 {
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-886e8dd2 {
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-886e8dd2 {
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-886e8dd2 {
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-886e8dd2 {
margin-left: 40rpx;
font-size: 32rpx;
margin-top: 30rpx;
word-wrap: break-word;
width: 450rpx;
font-weight: 600;
}
.gray-font.data-v-886e8dd2 {
margin-left: 40rpx;
font-size: 31rpx;
margin-top: 30rpx;
color: #B1B1B1;
width: 100%;
}
.title-father.data-v-886e8dd2 {
display: flex;
margin-top: 50rpx;
margin-left: 50rpx;
align-items: center;
}
.title-father .title-shu.data-v-886e8dd2 {
width: 15rpx;
height: 35rpx;
border-radius: 10rpx;
background: linear-gradient(to top, #00BBFF, #0062C3);
}
.title-father .title-font.data-v-886e8dd2 {
font-size: 40rpx;
font-weight: 600;
margin-left: 30rpx;
position: relative;
}
.title-father .title-font .title-dian.data-v-886e8dd2 {
position: absolute;
right: -10rpx;
top: 0rpx;
width: 20rpx;
height: 20rpx;
border-radius: 50%;
background-color: #FF5757;
color: #fff;
font-size: 25rpx;
}
.gray-heng.data-v-886e8dd2 {
width: 90%;
margin-left: 5%;
background-color: #f3f3f3;
height: 1rpx;
}
.card-title.data-v-886e8dd2 {
width: 100%;
height: 100rpx;
display: flex;
align-items: center;
position: relative;
}
.card-title .card-title-font.data-v-886e8dd2 {
font-size: 32rpx;
margin-left: 20rpx;
width: 430rpx;
}
.card-title .card-right.data-v-886e8dd2 {
position: absolute;
right: 10rpx;
top: 50%;
transform: translateY(-50%);
width: 140rpx;
display: flex;
color: #999999;
}
.card-title .card-dian.data-v-886e8dd2 {
width: 20rpx;
height: 20rpx;
border-radius: 50%;
background-color: #FF5757;
margin: auto 0;
margin-left: 15rpx;
}
.card-bottom.data-v-886e8dd2 {
width: calc(100% - 80rpx);
margin: 40rpx;
overflow-wrap: break-word;
color: #666666;
}

View File

@ -0,0 +1,67 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Math) {
(exit + downMenu)();
}
const exit = () => "../../compontent/public/exit.js";
const downMenu = () => "../../compontent/public/gongyingshnagdownmenu.js";
const _sfc_main = {
__name: "mine",
setup(__props) {
const phone = common_vendor.ref("");
common_vendor.ref("");
const platId = common_vendor.ref("");
const exitshow = common_vendor.ref(false);
common_vendor.onMounted(() => {
phone.value = common_vendor.index.getStorageSync("tel");
platId.value = common_vendor.index.getStorageSync("platId");
});
const cardMenu = [`审核记录`, `员工功能`];
const change = () => {
common_vendor.index.navigateTo({
url: `/pages/login/threeselectone?back=${true}`
});
};
const exitshowopen = () => {
exitshow.value = true;
};
const clickButton = (index) => {
switch (index) {
case 0:
changeData();
break;
}
};
const changeData = () => {
common_vendor.index.navigateTo({
url: "/pages/supplierindex/workjoin"
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(($event) => exitshow.value = false),
b: common_vendor.p({
show: exitshow.value
}),
c: common_vendor.t(platId.value),
d: common_vendor.t(phone.value),
e: common_vendor.f(cardMenu, (item, index, i0) => {
return {
a: `https://www.focusnu.com/media/directive/index/staffmine/${index}.png`,
b: common_vendor.t(item),
c: index,
d: common_vendor.o(($event) => clickButton(index), index)
};
}),
f: common_vendor.o(change),
g: common_vendor.o(exitshowopen),
h: common_vendor.p({
itemTarget: 2
})
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3371b3fe"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/supplierindex/mine.js.map

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "我的",
"usingComponents": {
"exit": "../../compontent/public/exit",
"down-menu": "../../compontent/public/gongyingshnagdownmenu"
}
}

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