This commit is contained in:
Teng 2025-06-30 17:33:35 +08:00
parent f9a4c5ad14
commit b6fdd2a6b9
138 changed files with 2612 additions and 1211 deletions

View File

@ -22,7 +22,7 @@
itemTarget: {
type: Number,
required: true //
// default: 0 //
// default: 0 //
}
})

View File

@ -26,7 +26,7 @@
height: pieceSize + 'rpx',
backgroundImage: `url(${bgImage})`,
backgroundSize: containerWidth + 'rpx ' + containerHeight + 'rpx',
backgroundPosition: `-${originX+30}rpx -${originY+43}rpx`,
backgroundPosition: `-${originX+20}rpx -${originY+13}rpx`,
clipPath: clipPath,
transform: 'translate(-50%, -50%)'
}"

View File

@ -24,12 +24,24 @@
"navigationBarTitleText": "选择角色"
}
},
{
"path": "pages/login/threeselectonespec",
"style": {
"navigationBarTitleText": "选择角色"
}
},
{
"path": "pages/login/workjoin",
"style": {
"navigationBarTitleText": "员工入驻",
"enablePullDownRefresh": true
}
},{
"path": "pages/login/workjoinsuccess",
"style": {
"navigationBarTitleText": "员工入驻",
"enablePullDownRefresh": true
}
},
{
"path": "pages/login/code",

View File

@ -1,19 +1,27 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<image class="greenbgc" src="https://www.focusnu.com/media/directive/index/greenbgc.png" />
<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 :class="statesTarget<2 ? `rightStautes`:statesTarget==2? `rightStautesred`:`rightStautesblue`">
{{ states[statesTarget] }}
<view style="font-size: 30rpx;">机构加盟</view>
</view>
</view>
<view class="contentred" v-if="statesTarget==3">
<view class="contentred-bgc">
驳回原因{{contentred}}
</view>
</view>
<view class="finish-button" @click="next" v-if="special && (alldata.modifyStatus==null || alldata.modifyStatus==`5` || alldata.modifyStatus==`2`)" >
修改信息
</view>
<view class="white-content">
<view class="content-title">
<view class="content-weight">身份证上传</view>
<image class="content-img" src="https://www.focusnu.com/media/directive/index/bian.png" />
<view class="content-title" style="position: relative;height: 140rpx;margin-bottom: 20rpx;z-index: 999;">
<view class="shu"></view>
<view class="content-weight">身份证</view>
<image class="shu-img" :src="!special? `https://www.focusnu.com/media/directive/index/${statusarray[statesTarget-1]}.png`:``" />
</view>
<view class="white-photo" @click="getMessage(headImge)">
<view class="photo-left">
@ -21,12 +29,13 @@
<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 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">
@ -34,21 +43,20 @@
<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 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 class="message-title">
<view class="shu"></view>
<view class="message-weight">
确认身份证信息
</view>
</view>
<view style="margin-bottom: 20rpx;">
<view>
<view v-for="(item,index) in nameArray" :key="index" class="one"
@click="openLook(textArray[index])">
<view class="one-left">{{item}}</view>
@ -57,10 +65,11 @@
</view>
</view>
</view>
<view class="white-content" style="margin-top: 40rpx;">
<view class="content-title">
<view class="content-weight">营业执照上传</view>
<image class="content-img" src="https://www.focusnu.com/media/directive/index/bian.png" />
<view class="white-content">
<view class="content-title" style="margin-bottom: 30rpx;">
<view class="shu"></view>
<view class="content-weight">营业执照</view>
</view>
<view class="white-photo" @click="getMessage(headImge0)">
<view class="photo-left">
@ -68,30 +77,35 @@
<view class="photo-font">请上传营业执照</view>
</view>
<view style="position: relative;">
<image class="photo" :src="headImge0 ? headImge0 : `https://www.focusnu.com/media/directive/index/zhizhao.png`" />
<image class="photo"
:src="headImge0 ? headImge0 : `https://www.focusnu.com/media/directive/index/zhizhao.png`" />
<image v-if="!headImge0"
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-top: 30rpx;">
<view class="shu"></view>
<view class="content-weight">企业信息</view>
</view>
<view class="white-message">
<view class="message-title">
<view class="shu"></view>
<view class="message-weight">
确认企业信息
</view>
</view>
<view style="margin-bottom: 20rpx;">
<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">{{textArray[index] ? textArray[index] : "自动获取" }}</view> -->
<view class="one-right">{{textArray0[index] ? textArray0[index] : "自动获取" }}</view>
</view>
</view>
</view>
<view class="content-title">
<view class="shu"></view>
<view class="content-weight">机构信息</view>
</view>
</view>
<view class="white-content" style="margin-top: 40rpx;">
<view class="white-content" style="margin-top: 0rpx;">
<view class="white-message">
<view style="margin-bottom: 20rpx;">
<view v-for="(item,index) in nameArray1" :key="index" class="one"
@ -103,9 +117,8 @@
</view>
</view>
<view style="display: flex;width: 100%;margin-top: 40rpx;">
<view class="finish-button" @click="next" v-if="alldata.status==3">
重新提交
</view>
<!-- <view class="finish-button" v-if="alldata.status!=3 && alldata.status!=0" >
进入机构端
</view> -->
@ -130,6 +143,8 @@
const show = ref(false);
const content = ref("");
const statusarray = ["loading","success","fail"]
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const textArray = reactive(["", "", "", "", "", "", "", ""]);
@ -176,12 +191,22 @@
const next = () => {
uni.setStorageSync('specicalid', alldata.value.id);
uni.setStorageSync("baddata",alldata.value)
uni.setStorageSync("backhuancun",{})
let trans = alldata.value
trans.id = null
uni.setStorageSync("baddata", trans)
uni.setStorageSync('specicalid', trans.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
url: `/pages/addjigou/name`
});
// uni.setStorageSync('specicalid', alldata.value.id);
// uni.setStorageSync("baddata",alldata.value)
// uni.setStorageSync("backhuancun",{})
// uni.navigateTo({
// url: `/pages/addjigou/name`
// });
}
const openLook = (res) => {
@ -194,11 +219,20 @@
uni.navigateBack()
}
const alldata = ref("");
const contentred = ref("")
const special = ref(false);
onLoad((options) => {
if(options.special){
special.value = true
}
alldata.value = JSON.parse(options.element);
statesTarget.value = Number(alldata.value.status)
console.log("????",alldata.value,statesTarget.value)
// console.log("????",alldata.value,statesTarget.value)
let data = alldata.value
if(data.content){
contentred.value = data.content
}
textArray[0] = data.name;
textArray[1] = data.sex;
textArray[2] = data.idCard;
@ -215,8 +249,8 @@
textArray0[2] = data.comCreditCode;
textArray0[3] = data.comLegalPerson;
headImge0.value = `${base_url}/sys/common/static/${data.comBusinessLicense}`;
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText || "") + (data.orgDistrict_dictText || "");
// console.log("????",data.orgProvince_dictText,data.orgCity_dictText,data.orgDistrict_dictText)
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``);
textArray1[1] = data.orgAddress;
textArray1[2] = data.orgLeader;
textArray1[3] = data.orgLeaderPhone;
@ -233,9 +267,9 @@
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: rgb(239, 241, 252);
background-color: #F7F7F7;
position: relative;
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
// box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
.white-content {
width: 90%;
@ -243,19 +277,21 @@
// margin-top: 30rpx;
// height: 1200rpx;
border-radius: 35rpx;
background-color: rgb(245, 251, 254);
// background-color: rgb(245, 251, 254);
.content-title {
display: flex;
// align-items: center;
align-items: center;
height: 100rpx;
position: relative;
font-weight: 600;
.content-weight {
// font-size: 35rpx;
font-weight: 600;
margin-left: 70rpx;
margin-top: 20rpx;
// margin-left: 10rpx;
font-size: 32rpx;
// margin-top: 20rpx;
}
.content-img {
@ -269,13 +305,14 @@
}
.white-photo {
width: 90%;
margin-left: 5%;
width: 100%;
// margin-left: 5%;
// margin-top: 30rpx;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
// box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
justify-content: space-around;
align-items: center;
display: flex;
@ -287,14 +324,16 @@
}
.white-message {
width: 90%;
margin-left: 5%;
margin-top: 30rpx;
width: 100%;
// margin-left: 5%;
margin-top: 20rpx;
padding-top: 20rpx;
padding-bottom: 20rpx;
margin-bottom: 30rpx;
// height: 800rpx;
border-radius: 35rpx;
background-color: #fff;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
// box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
justify-content: space-around;
// align-items: center;
display: flex;
@ -306,13 +345,7 @@
align-items: center;
display: flex;
.shu {
width: 10rpx;
height: 30rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 0 20rpx 0 30rpx;
}
.message-weight {
font-size: 30rpx;
@ -323,8 +356,8 @@
.one {
width: 90%;
margin-left: 5%;
border-bottom: 1rpx solid #d7d7d7;
height: 90rpx;
// border-bottom: 1rpx solid #F7F7F7;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
@ -332,68 +365,80 @@
.one-left {
margin-left: 10rpx;
font-size: 30rpx;
}
.one-right {
margin-right: 10rpx;
font-size: 30rpx;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
max-width: 300rpx;
max-width: 380rpx;
}
}
}
}
.photo-left {
z-index: 1;
.photo-weight {
font-size: 26rpx;
font-size: 32rpx;
font-weight: 600;
color: #333;
}
.photo-font {
font-size: 23rpx;
font-size: 28rpx;
margin-top: 10rpx;
color: #666;
}
}
.gray-font {
padding: 20rpx 60rpx;
padding-bottom: 35rpx;
color: #999999;
}
.finish-button {
display: flex;
justify-content: center;
align-items: center;
width: 45%;
height: 100rpx;
width: 92%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-bottom: 10rpx;
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
z-index: 1;
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 180rpx;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 50rpx;
height: 50rpx;
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 5rpx;
margin-right: 15rpx;
}
}
@ -432,4 +477,48 @@
color: #fff;
margin-right: 30rpx;
}
.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;
}
}
</style>

View File

@ -14,13 +14,13 @@ export function changemessage(data){
//根据手机号获取机构加盟申请信息
export function getMessageList(id){
return request({
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}&status=1,2,3`,
method: 'get',
})
}
export function getMessageListsuccess(id){
return request({
url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,
url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,
method: 'get',
})
}

View File

@ -87,19 +87,21 @@
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
const textArray = reactive(["", "", "", ""]);
const bottomlist = [{
text: '拍摄图片'
text: '拍摄图片',
fontSize: 40
}, {
text: '图片预览'
text: '图片预览',
fontSize: 40
}]
const bottomshow = ref(false)
//
const tempImagePath = ref('')
const selectphoto = (number) => {
if (!uping.value) {
return
}
if (headImge.value) {
bottomshow.value = true;
} else {
@ -149,9 +151,9 @@
function uploadImage(filePath) {
uping.value = false;
uni.showLoading()
uni.uploadFile({
url: `${base_url}/api/ocr/businessLicense`, // POST
url: `${base_url}/api/ocr/businessLicense`, // POST
filePath,
name: 'file', //
header: {
@ -167,7 +169,7 @@
duration: 2000
})
uping.value = true;
return
}
console.log("营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data)
@ -222,7 +224,7 @@
const fontphoto = ref("");
const savephoto = (filePath) => {
uni.uploadFile({
url: `${base_url}/sys/common/upload`, // POST
url: `${base_url}/sys/common/upload`, // POST
filePath,
name: 'file', //
header: {
@ -322,6 +324,11 @@
textArray[1] = data.comRegisterAddress;
textArray[2] = data.comCreditCode;
textArray[3] = data.comLegalPerson;
let data0 = uni.getStorageSync('backhuancun')
data0.comName = data.id
uni.setStorageSync("backhuancun", data)
if (data.comBusinessLicense) {
headImge.value = `${base_url}/sys/common/static/${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense
@ -507,7 +514,7 @@
margin-bottom: 80rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
@ -521,7 +528,7 @@
margin-bottom: 80rpx;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}

View File

@ -44,20 +44,12 @@
<view class="content-title" style="margin: 20rpx 0;">
<view class="shu"></view>
<view class="content-weight">确认身份证信息</view>
<!-- <view style="font-size: 20rpx;margin: 15rpx 0 0 15rpx;">(必填)</view> -->
</view>
<view class="white-message">
<!-- <view class="message-title">
<view class="shu"></view>
<view class="message-weight">
确认身份证信息
</view>
</view> -->
<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 class="one-right">{{textArray[index] ? textArray[index] : "自动获取" }}</view>
</view>
</view>
@ -201,7 +193,7 @@
uping.value = false;
uni.showLoading()
uni.uploadFile({
url: `${base_url}/api/ocr/idCard`, // POST
url: `${base_url}/api/ocr/idCard`, // POST
filePath,
name: 'file', //
header: {
@ -272,7 +264,7 @@
const uping = ref(true)
const savephoto = (filePath, type) => {
uni.uploadFile({
url: `${base_url}/sys/common/upload`, // POST
url: `${base_url}/sys/common/upload`, // POST
filePath,
name: 'file', //
header: {
@ -403,6 +395,7 @@
const goBack = () => {
uni.navigateBack()
}
onLoad(() => {
if (uni.getStorageSync('baddata')) {
let data = uni.getStorageSync('baddata');
@ -583,7 +576,7 @@
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}

View File

@ -103,10 +103,10 @@
<view style="margin-bottom: 20rpx;">
<view class="one" style="position: relative;">
<view class="one-left">建筑面积</view>
<input class="one-right" type="digit" placeholder="请输入建筑面积(平方米)"
v-model="form.orgBuildingArea" />
<input class="one-right" type="digit" placeholder="请输入建筑面积" v-model="form.orgBuildingArea"
@input="formatArea" />
<view class="triangle-down-mi">
平方米
</view>
</view>
</view>
@ -128,6 +128,7 @@
import {
ref,
reactive,
nextTick
} from 'vue'
import {
onLoad,
@ -232,61 +233,59 @@
console.log("删除了", index)
}
function isValid11DigitNumber(val) {
return /^(\d{11})$/.test(val);
return /^(\d{11})$/.test(val);
}
const next = () => {
if(!form.address){
if (!form.address) {
uni.showToast({
title: '请选择机构位置',
icon: 'error'
})
return
}else if(!form.orgAddress){
} else if (!form.orgAddress) {
uni.showToast({
title: '请填写详细地址',
icon: 'error'
})
return
}else if(!form.orgLeader){
} else if (!form.orgLeader) {
uni.showToast({
title: '请填写机构负责人',
icon: 'error'
})
return
}else if(!form.orgLeaderPhone){
} else if (!form.orgLeaderPhone) {
uni.showToast({
title: '请填写手机号',
icon: 'error'
})
return
}
else if(!isValid11DigitNumber(form.orgLeaderPhone)){
} else if (!isValid11DigitNumber(form.orgLeaderPhone)) {
uni.showToast({
title: '手机号格式错误',
icon: 'error'
})
return
}else if(!form.orgPropertyType){
} else if (!form.orgPropertyType) {
uni.showToast({
title: '请填写房屋性质',
icon: 'error'
})
return
}
else if(!form.orgBuildingArea){
} else if (!form.orgBuildingArea) {
uni.showToast({
title: '请填写建筑面积',
icon: 'error'
})
return
}
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgAddress && form.orgPropertyType &&
form.orgBuildingArea && form.address
@ -301,7 +300,12 @@
data.orgLeaderPhone = form.orgLeaderPhone
data.orgPropertyType = form.orgPropertyType
data.orgBuildingArea = form.orgBuildingArea
data.status = form.status
if (data.id === null) {
data.status = `4`
} else {
data.status = form.status
}
uni.setStorageSync("backhuancun", data)
@ -313,17 +317,19 @@
// })
// return
// }
// console.log("????",uni.getStorageSync('backhuancun'))
changemessage(uni.getStorageSync('backhuancun')).then(res => {
if (res.success) {
if (res.message == `保存成功!`) {
uni.setStorageSync('specicalid', "");
uni.reLaunch({
url: `/pages/login/special?type=1`
url: `/pages/login/special?type=1&special=${uni.getStorageSync('backhuancun').id==null}`
});
} else {
uni.setStorageSync('specicalid', res.result.id);
uni.reLaunch({
url: `/pages/login/special?type=1`
url: `/pages/login/special?type=1&special=${uni.getStorageSync('backhuancun').id==null}`
});
}
@ -430,6 +436,32 @@
}
});
}
function formatArea() {
const value = form.orgBuildingArea;
const firstDot = value.indexOf('.');
const lastDot = value.lastIndexOf('.');
let cleaned = value;
//
if (firstDot !== lastDot) {
cleaned = value.slice(0, lastDot);
}
// 4
if (cleaned.includes('.')) {
const [intPart, decimalPart] = cleaned.split('.');
cleaned = intPart + '.' + decimalPart.slice(0, 4);
}
//
if (cleaned !== value) {
nextTick(() => {
form.orgBuildingArea = cleaned;
});
}
}
onLoad(() => {
getdate(`xzqhdm`).then(res => {
list.value = dedupeFirstLetter(res.result)
@ -451,7 +483,8 @@
} else if (uni.getStorageSync('baddata')) {
let data = uni.getStorageSync('baddata');
if (data.orgProvince_dictText) {
form.address = data.orgProvince_dictText + data.orgCity_dictText + data.orgDistrict_dictText;
form.address = data.orgProvince_dictText + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``)
// textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``);
}
form.orgProvince = data.orgProvince;
form.orgCity = data.orgCity;
@ -609,7 +642,7 @@
margin-bottom: 80rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
@ -727,7 +760,7 @@
margin-bottom: 80rpx;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
@ -754,6 +787,7 @@
transform: translateY(-50%);
right: 26rpx;
font-size: 30rpx;
color: #999999;
}
</style>
<style>

View File

@ -98,7 +98,7 @@
function uploadImage(filePath) {
uni.showLoading()
uni.uploadFile({
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
filePath,
name: 'file', //
header: {

View File

@ -69,7 +69,7 @@
//
function uploadImage(filePath) {
uni.uploadFile({
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
filePath,
name: 'file', //
header: {

View File

@ -79,7 +79,7 @@
//
function uploadImage(filePath) {
uni.uploadFile({
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
url: `${uni.getStorageSync('serverUrl')}/api/ocr/idCard`, // POST
filePath,
name: 'file', //
header: {

View File

@ -1,99 +1,46 @@
<template>
<view class="login-container">
<!-- <image class="back-imge" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" /> -->
<!-- 扫码遮罩层 -->
<!-- <view v-if="scanning" class="scan-mask">
<u-modal title="驳回原因" v-model="show" :content="content"></u-modal>
<swiper style="width: 100%;" :duration="500" :style="{height: `100vh`}" :current="which" @change="swiperchange">
<view class="mask-bg" @click="cancelScan"></view>
<view class="mask-center" @click.stop>
<div id="reader" class="reader"></div>
</view>
</view> -->
<view class="index-up">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
</view>
<!-- <view class="index-ball-father">
<view class="white-ball">
<image class="small-img" @click="gotoPay" src="https://www.focusnu.com/media/directive/index/button/money.png" mode="widthFix"
lazy-load="false" />
</view>
<view class="white-ball">
<image class="small-img" src="https://www.focusnu.com/media/directive/index/button/scan.png" mode="widthFix" lazy-load="false" />
</view>
<view class="white-ball">
<image class="small-img" src="https://www.focusnu.com/media/directive/index/button/watch.png" mode="widthFix" lazy-load="false" />
</view>
<view class="super-white-ball" @click="jumpTo">
<image class="small-img" src="https://www.focusnu.com/media/directive/index/button/more.png" mode="widthFix" lazy-load="false" />
</view>
</view> -->
<!-- <view class="index-smallPhoto">
<view class="photo-box" @click="preview()">
<image class="photo-box-img" src="https://www.focusnu.com/media/directive/index/kuai.png" mode="widthFix" lazy-load="false" />
<image class="photo-box-img" :src="tu" mode="widthFix" lazy-load="false" />
</view>
</view> -->
<!-- <view class="white-scan">
<view class="scan-title">
<image class="scan-img" src="https://www.focusnu.com/media/directive/index/badscan.png" />
<view class="scan-font">
<view class="weight">
扫描机构二维码
<view v-for="(item,index) in menuArray" :key="index">
<swiper-item style="position: relative;">
<view class="index-up">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif"
mode="widthFix" lazy-load="false" />
</view>
<view class="noral">
持续搜索中...
<view class="white-content-father-time">
<view class="white-content" v-if="item.comName">
<view class="white-bgc" style="font-size: 32rpx;">
{{item.comName}}
</view>
</view>
</view>
</view>
<view class="scan-back" @click="scaning = false;">
返回
</view>
</view>
<view v-if="qrResult" class="result">
扫描结果{{ qrResult }}
</view>
<view class="other-scan">
<view class="scan-circle" @click="scanQrCode">
<view class="small-circle"></view>
<image class="scan-img" src="https://www.focusnu.com/media/directive/index/goodscan.png" />
</view>
<view class="scan-text">
扫描二维码
</view>
</view>
</view> -->
<view class="white-content-father-time">
<view class="white-content">
<view class="white-bgc" v-if="whichMenu < menuArray.length">
<!-- 长春市朝阳区久泰开运养老服务有限公司 -->
{{menuArray[whichMenu].comName}}
</view>
</view>
</view>
<view class="white-content-father">
<swiper style="width: 100%;" :duration="500" :style="{height: `700rpx`}" :current="which"
@change="swiperchange">
<view v-for="(item,index) in menuArray" :key="index">
<swiper-item style="width: 100%;" v-if="item.status==`1`">
<view class="white-content">
<view class="white-content-father">
<image
class="chuo-img" v-if="item.status!=`-1`&&item.status!=`2`"
:src=" `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`"
/>
<view class="white-content" v-if="item.status==`1`">
<image class="white-content-img"
src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png"
lazy-load="false" />
<view class="white-font">
你的
<text style="font-weight: 600;">
{{item.comName}}
您提交的
<!-- <text style="font-weight: 600;">
"{{item.comName}}"
</text> -->
</view>
<view class="second-font">
<text>
"{{item.comName}}"
</text>
</view>
<view class="second-font">
提交的加盟申请
加盟申请
<text style="color: #01A5FF;">
正在审核中
</text>
@ -102,14 +49,14 @@
查看
</view>
</view>
</swiper-item>
<!-- </swiper-item> -->
<swiper-item v-if="item.status==`3`">
<view class="white-content">
<!-- <swiper-item v-if="item.status==`3`"> -->
<view class="white-content" v-if="item.status==`3`">
<image class="white-content-img"
src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png"
lazy-load="false" />
<view class="white-font" style="margin-top: 320rpx;">
<!-- <view class="white-font" style="margin-top: 320rpx;">
您提交的
</view>
<view class="second-font">
@ -120,46 +67,58 @@
<text style="color: #FF7744;">
审核不通过
</text>
</view>
<!-- <view class="second-font">
<text style="color: #FF7744;">
驳回原因:{{item.content}}
</text>
</view> -->
<view class="white-font">
您提交的
</view>
<view class="second-font">
<text>
"{{item.comName}}"
</text>
</view>
<view class="second-font">
加盟申请
<text style="color: #FF7744;">
审核不通过
</text>
</view>
<view class="button-blue-spec" @click="again(item)">
重新提交
</view>
<view class="button-white-spec" @click="jumptolist">
<view class="button-white-spec" @click="jumptolist(item.content)">
驳回原因
</view>
</view>
</swiper-item>
<swiper-item v-if="item.status==`2`">
<view class="zhiling-box">
<view class="">
单元清洁服务指令已执行完毕点击查看
<!-- </swiper-item> -->
<!-- <swiper-item v-if="item.status==`2`"> -->
<view style="z-index: 1;width: 100%;" v-if="item.status==`2`">
<view class="zhiling-box">
<view class="">
单元清洁服务指令已执行完毕点击查看
</view>
<image class="zhiling-img"
src="https://www.focusnu.com/media/directive/index/index/back.png" />
</view>
<image class="zhiling-img"
src="https://www.focusnu.com/media/directive/index/index/back.png" />
</view>
<view class="white-box-father">
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
<image class="box-img"
:src="`https://www.focusnu.com/media/directive/index/addjiji/${index}.png`" />
<view class="box-font">{{item}}</view>
<view class="white-box-father">
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
<image class="box-img"
:src="`https://www.focusnu.com/media/directive/index/addjiji/${index}.png`" />
<view class="box-font">{{item}}</view>
</view>
<view class="white-box">
<view style="font-weight: 600;font-size: 80rpx;">+</view>
</view>
<view class="white-box">
<view style="font-weight: 600;font-size: 80rpx;">+</view>
</view>
</view>
</view>
</swiper-item>
</view>
<!-- </swiper-item> -->
</view>
<swiper-item>
<view class="white-content">
<!-- <swiper-item> -->
<view class="white-content" style="margin: 0 auto;margin-top: 110rpx;" v-if="item.status==`-1`">
<image class="white-content-secondimg"
src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png"
lazy-load="false" />
@ -167,20 +126,25 @@
添加机构
</view>
</view>
<!-- </swiper-item> -->
</swiper-item>
</swiper>
</view>
</swiper>
</view>
<view
style="z-index:999;position: fixed;bottom: 70rpx; width: 100%;display: flex;justify-content: center;margin-top: -25rpx;height: 100rpx;">
<view class="jia-box">
<view v-for="(item,index) in menuArray" :key="index" @click="changecard(index)">
<view :class="whichMenu==index? `black-box` :`gray-box`"></view>
<view :class="whichMenu==index? `black-box` :`gray-box`" v-if="index != menuArray.length - 1">
</view>
<view class="jia" @click="moveend" v-if="index == menuArray.length - 1">
<image class="jia-img" :src="`https://www.focusnu.com/media/directive/index/bluejia.png`" />
</view>
</view>
<view class="jia" @click="moveend">
<image class="jia-img" :src="`https://www.focusnu.com/media/directive/index/addjiji/add.png`" />
</view>
</view>
</view>
<downMenu :itemTarget="0" />
@ -201,12 +165,15 @@
getMessageList
} from '@/pages/addjigou/api/addjigou.js'
// import tu from 'https://www.focusnu.com/media/directive/index/tu.png'
import request from '@/request/index.js' // uni.request
import request from '@/request/index.js' // uni.request
import downMenu from '@/compontent/public/downmenu.vue'
const tu = 'https://www.focusnu.com/media/directive/index/tu.png'
const show = ref(false);
const content = ref("");
// const itemArray = ["NU", "", ""];
const buttonArray = ref(["单元", "仓库", "后勤", "工区", "办公室 ", "员工", "机构维护"])
const statusarray = ["loading", "success", "fail"]
// const itemTarget = ref(0);
const which = ref(0);
// const scaning = ref(false)
@ -235,10 +202,14 @@
});
}
const jumptolist = () => {
uni.navigateTo({
url: `/pages/login/workjoin?type=1`
});
const jumptolist = (res) => {
// uni.navigateTo({
// url: `/pages/login/workjoin?type=1`
// });
if (res) {
content.value = res;
show.value = true
}
}
const again = (item) => {
@ -358,6 +329,9 @@
success: function(res) {
getMessageList(res.data).then(res => {
menuArray.value = res.result
menuArray.value.push({
status: `-1`
})
// workArray.value = res.result
// console.log("????",res.result)
})
@ -370,16 +344,16 @@
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
min-height: calc(100vh + 90rpx);
width: 100%;
background-color: rgb(239, 241, 252);
position: relative;
padding-top: 550rpx;
// padding-top: 550rpx;
}
.index-up {
position: absolute;
top: -70rpx;
top: 0rpx;
left: 0;
width: 100%;
@ -456,91 +430,61 @@
}
.white-content {
z-index: 1;
height: 650rpx;
width: 90%;
// margin-left: 2%;
background-color: #fff;
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
border-radius: 30rpx;
z-index: 2;
display: flex;
// justify-content: space-evenly;
align-items: center;
flex-direction: column;
position: relative;
.white-content-img {
position: absolute;
top: 90rpx;
left: 50%;
transform: translateX(-50%);
width: 420rpx;
height: 320rpx;
}
.white-content-secondimg {
position: absolute;
top: 20rpx;
left: 34%;
transform: translateX(-34%);
width: 610rpx;
height: 450rpx;
z-index: 1;
}
.white-font {
margin-top: 350rpx;
font-size: 30rpx;
// color: #222222;
}
.second-font {
margin-top: 10rpx;
font-size: 30rpx;
// color: #222222;
}
}
.white-content-father {
width: 100%;
display: flex;
justify-content: center;
margin-top: 30rpx;
z-index: 1;
position: relative;
.white-content {
height: 650rpx;
width: 92%;
margin-left: 4%;
background-color: #fff;
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
border-radius: 30rpx;
z-index: 2;
display: flex;
// justify-content: space-evenly;
align-items: center;
flex-direction: column;
position: relative;
.white-content-img {
position: absolute;
top: 90rpx;
left: 50%;
transform: translateX(-50%);
width: 420rpx;
height: 320rpx;
}
.white-content-secondimg {
position: absolute;
top: 20rpx;
left: 34%;
transform: translateX(-34%);
width: 610rpx;
height: 450rpx;
}
.white-font {
margin-top: 350rpx;
font-size: 27rpx;
// color: #222222;
}
.second-font {
margin-top: 10rpx;
font-size: 27rpx;
// color: #222222;
}
}
// .botton-button {
// width: 100%;
// height: 280rpx;
// display: flex;
// justify-content: space-around;
// .botton-button-father {
// display: flex;
// justify-content: center;
// align-items: center;
// flex-direction: column;
// .botton-button-bgc {
// width: 100rpx;
// height: 100rpx;
// border-radius: 50%;
// display: flex;
// justify-content: center;
// align-items: center;
// background-color: #D8DEEA;
// .botton-button-img {
// width: 35rpx;
// height: 35rpx;
// }
// }
// .botton-button-font {
// margin-top: 10rpx;
// font-size: 30rpx;
// }
// }
// }
}
@ -554,6 +498,7 @@
width: 100%;
display: flex;
justify-content: center;
margin-top: 600rpx;
.white-bgc {
width: 100%;
@ -652,176 +597,15 @@
}
.box-font {
font-size: 25rpx;
font-size: 30rpx;
}
}
}
.white-scan {
background-color: #fff;
border-radius: 35rpx;
display: flex;
flex-direction: column;
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
width: 92%;
margin-left: 4%;
height: 700rpx;
z-index: 2;
margin-bottom: 300rpx;
.scan-title {
width: 100%;
height: 180rpx;
display: flex;
position: relative;
align-items: center;
}
.scan-img {
margin-left: 65rpx;
width: 65rpx;
height: 65rpx;
}
.scan-font {
margin-left: 30rpx;
.weight {
font-weight: 500;
}
.noral {
font-size: 25rpx;
color: #999999;
}
}
}
.other-scan {
width: 100%;
height: 520rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.scan-circle {
width: 300rpx;
height: 300rpx;
border-radius: 50%;
background-color: #fbfbfb;
display: flex;
align-items: center;
position: relative;
// animation: fadeInOut 2s infinite;
.scan-img {
width: 30%;
height: 30%;
margin: 0 auto;
}
.small-circle {
position: absolute;
top: 50%;
left: 50%;
transform-origin: center center;
/* 从中心缩放,否则宽高从左上角开始 */
transform: translate(-50%, -50%);
animation: shrinkExpand 1s infinite;
border-radius: 50%;
background-color: #f5f5f5;
}
}
.scan-text {
margin-top: 30rpx;
}
}
.scan-back {
// width: 40rpx;
// height: 30rpx;
position: absolute;
right: 60rpx;
top: auto;
color: #999999;
font-size: 32rpx;
}
@keyframes shrinkExpand {
0%,
100% {
width: 100%;
height: 100%;
}
50% {
width: 0%;
height: 0%;
}
}
/* 扫码遮罩层 */
.scan-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
}
/* 半透明背景 */
.mask-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
}
/* 中心容器 */
.mask-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
}
/* 扫码区域 */
.reader {
width: 600rpx;
height: 600rpx;
background: #000;
/* 可以用透明html5-qrcode 会覆盖视频流 */
// border: 4rpx solid #fff;
border-radius: 16rpx;
box-sizing: border-box;
overflow: hidden;
}
.result {
margin: 0 auto;
}
.back-imge {
position: absolute;
top: 100rpx;
left: 30rpx;
width: 50rpx;
height: 50rpx;
z-index: 1;
}
.jia-box {
position: absolute;
top: 0rpx;
@ -836,7 +620,9 @@
width: 30rpx;
height: 30rpx;
border-radius: 50%;
background-color: rgb(1, 168, 255);
// background-color: rgb(1, 168, 255);
background-color: #fff;
// border: 1rpx black solid;
color: #fff;
display: flex;
justify-content: center;
@ -846,6 +632,7 @@
.jia-img {
width: 20rpx;
height: 20rpx;
z-index: 2;
}
}
@ -855,7 +642,8 @@
height: 30rpx;
width: 50rpx;
margin-right: 15rpx;
background-color: rgb(203, 205, 216);
background-color: #fff;
// border: 1rpx black solid;
}
.black-box {
@ -863,7 +651,7 @@
height: 30rpx;
width: 50rpx;
margin-right: 15rpx;
background-color: #A4A8BD;
background-color: black;
}
.button-blue {
@ -913,4 +701,12 @@
font-size: 33rpx;
margin-top: 80rpx;
}
.chuo-img{
position: absolute;
top: 30rpx;
right: 70rpx;
width: 160rpx;
height: 140rpx;
z-index: 3;
}
</style>

View File

@ -4,28 +4,30 @@
<view class="ball">
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/mine/head.png" />
</view>
<view class="upfont">
<!-- <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 style="display: flex;">
<view class="badid">
ID
</view>
<view style="z-index: 1;">
2839780810
</view>
</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/mine/${index}.png`" />
<view class="">{{item}}</view>
<image class="white-left-imge"
:src="`https://www.focusnu.com/media/directive/index/mine/${index}.png`" />
<view style="font-size: 32rpx;">{{item}}</view>
</view>
<view class="white-right">
<view style="font-size: 25rpx;margin-top: -4rpx;" v-if="!index">完善机构信息</view>
<view style="font-size: 30rpx;margin-top: -4rpx;" v-if="!index">变更机构信息</view>
<image class="white-right-imge" src="https://www.focusnu.com/media/directive/index/mine/more.png" />
</view>
</view>
@ -51,41 +53,47 @@
import downMenu from '@/compontent/public/downmenu.vue'
const phone = ref("")
onMounted(()=>{
const openid = ref("")
const platId = ref("")
onMounted(() => {
phone.value = uni.getStorageSync('tel')
// openid.value = uni.getStorageSync('openid')
platId.value = uni.getStorageSync('platId')
// uni.setStorageSync('platId', res.result.platId);
})
const cardMenu = [`机构信息`,`加盟审核`,`机构功能01`,`机构功能02`]
const cardMenu = [`机构信息`, `加盟审核`, `宣传页`, `机构功能02`]
const change = () => {
uni.redirectTo({
url: `/pages/login/threeselectone`
uni.navigateTo({
url: `/pages/login/threeselectonespec`
});
}
const exit = () => {
uni.exitMiniProgram({});
}
const clickButton = (index) => {
switch (index) {
case 0:
uni.navigateTo({
url: `/pages/login/workjoin?type=3`
url: `/pages/login/workjoinsuccess`
});
break;
case 1:
uni.navigateTo({
url: `/pages/login/workjoin?type=1`
url: `/pages/login/workjoin`
});
break;
case 2:
uni.navigateTo({
url: `/pages/login/special?no=true`
});
break;
}
}
</script>
<style lang="scss" scoped>
@ -97,14 +105,16 @@
background-color: rgb(247, 247, 247);
position: relative;
align-items: center;
.bgc-imge{
.bgc-imge {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
height: 1200rpx;
}
.ball{
.ball {
margin-top: 200rpx;
width: 180rpx;
height: 180rpx;
@ -115,24 +125,28 @@
border-radius: 50%;
overflow: hidden;
z-index: 1;
.ball-imge{
.ball-imge {
width: 178rpx;
height: 178rpx;
border-radius: 50%;
}
}
.upfont{
.upfont {
margin: 10rpx 0;
color: black;
z-index: 1;
}
.phone{
.phone {
color: black;
z-index: 1;
font-size: 32rpx;
font-size: 38rpx;
font-weight: 600;
}
.badid{
.badid {
background-color: black;
z-index: 1;
width: 45rpx;
@ -146,7 +160,8 @@
margin-right: 15rpx;
margin-top: 3rpx;
}
.white-father{
.white-father {
margin-top: 50rpx;
width: 94%;
// min-height: 300rpx;
@ -154,29 +169,34 @@
background-color: #fff;
padding: 30rpx 0;
z-index: 1;
.white-card{
.white-card {
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rpx;
.white-left{
.white-left {
margin-left: 40rpx;
display: flex;
align-items: center;
}
.white-left-imge{
.white-left-imge {
margin-right: 20rpx;
width: 40rpx;
height: 40rpx;
}
.white-right{
.white-right {
margin-right: 40rpx;
display: flex;
align-items: center;
}
.white-right-imge{
.white-right-imge {
margin-left: 20rpx;
width: 30rpx;
height: 30rpx;
@ -184,25 +204,28 @@
}
}
}
.blue-button{
.blue-button {
z-index: 1;
width: 94%;
height: 100rpx;
background-color: rgb(222,233,251);
background-color: rgb(222, 233, 251);
display: flex;
justify-content: center;
align-items: center;
color: rgb(6,122,233);
color: rgb(6, 122, 233);
border-radius: 40rpx;
margin-top: 50rpx;
font-size: 30rpx;
.blue-button-imge{
font-size: 32rpx;
.blue-button-imge {
width: 40rpx;
height: 40rpx;
margin-right: 30rpx;
}
}
.white-button{
.white-button {
z-index: 1;
width: 94%;
height: 100rpx;
@ -213,6 +236,7 @@
// color: rgb(6,122,233);
border-radius: 40rpx;
margin-top: 30rpx;
font-size: 30rpx;
font-size: 32rpx;
}
</style>

View File

@ -235,6 +235,7 @@
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.redirectTo({
url: `/pages/login/special`
});
@ -242,6 +243,7 @@
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);

View File

@ -14,7 +14,7 @@
</view>
</view>
<view class="captcha-container">
<u-message-input active-color="#333333" inactive-color="rgb(175,179,189)" width="150" :focus="true" mode="bottomLine" @finish="finshinput" ></u-message-input>
<u-message-input active-color="#333333" inactive-color="rgb(175,179,189)" width="150" :focus="true" mode="bottomLine" @change="finshinput" ></u-message-input>
</view>
<view class="under-view" style="z-index: 1;">
@ -88,10 +88,13 @@
}
return number; // number
}
function isLength4(str) {
return typeof str === 'string' && str.length === 4;
}
const finshinput = (res) => {
// console.log("res",res)
submitCaptcha(res);
if(isLength4(res)){
submitCaptcha(res);
}
}
//

View File

@ -32,7 +32,7 @@
<!-- 底部弹窗 -->
<transition name="slide-up">
<view v-if="isFadingOut" class="modal">
<view class="modal-title">服务协议及隐私保护</view>
<view class="modal-title">使用条款</view>
<view class="model-p">
<text>&#x3000;&#x3000;为了更好地保障您的合法权益请阅读并同意以下协议护理单元</text>
<text style="color: rgb(0,141,255);" @click="jumpToPro">使用条款</text>

View File

@ -1,51 +1,61 @@
<template>
<view class="font-father">
<image class="title-img"
:src="`https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`" />
<view class="font-title" v-if="phonenumber">
<view style="display: flex;">
<text>尊敬的用户你的手机</text><text style="color: #259AFB;">{{ maskPhone(phonenumber) }}</text>
<view class="title-back" v-if="no">
<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 class="big-font">
已成功绑定
</view>
<view class="fixed" v-if="!no">
<image class="title-img"
:src="`https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`" />
<view class="font-title" v-if="phonenumber">
<view style="display: flex;">
<text>尊敬的用户您的手机</text><text style="color: #259AFB;">{{ maskPhone(phonenumber) }}</text>
</view>
<view class="big-font">
已成功绑定
</view>
<view class="">
欢迎加入护理单元大家庭!
</view>
</view>
<view class="">
欢迎加入护理单元大家庭!
<view class="font-title" v-if="!phonenumber">
尊敬的用户您的机构{{ special?`变更信息申请`:`加盟申请` }}已成功提交请耐心等待审核结果期待您早日加入护理单元大家庭
</view>
<view style="width: 100%;">
<view class="bottom-button" @click="jumpto">
{{ phonenumber? '进入' : '我的' }}机构
</view>
</view>
</view>
<view class="font-title" v-if="!phonenumber">
尊敬的用户你的机构加盟申请已成功提交请耐心等待审核结果期待您早日加入护理单元大家庭
</view>
<view style="width: 100%;z-index: 999;">
<view class="bottom-button" @click="jumpto">
我的机构
</view>
</view>
<view class="white-father-spec">
<view class="white-father-spec" :style="no ? {marginTop:`0rpx`}:{}" v-if="phonenumber">
<image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/introduce/oldman.png" />
<view class="weight-font">
长者入住
</view>
</view>
<view v-for="(item,index) in cardarray" :key="index" style="width: 100%;">
<view class="white-card">
<view class="white-left">
<view class="white-title">
{{item.title}}
</view>
<view class="white-text">
{{item.content}}
<view class="" v-if="phonenumber">
<view v-for="(item,index) in cardarray" :key="index" style="width: 100%;">
<view class="white-card">
<view class="white-left">
<view class="white-title">
{{item.title}}
</view>
<view class="white-text">
{{item.content}}
</view>
</view>
<image class="white-right"
:src="`https://www.focusnu.com/media/directive/login/introduce/${index}.png`" />
</view>
<image class="white-right"
:src="`https://www.focusnu.com/media/directive/login/introduce/${index}.png`" />
</view>
</view>
<view class="white-father">
<view class="white-father" v-if="phonenumber">
<image class="white-imge" src="https://www.focusnu.com/media/directive/login/introduce/nurse.png" />
<view class="weight-font">
员工入驻
@ -55,7 +65,7 @@
</view>
</view>
<view class="white-father" style="margin-bottom: 50rpx;">
<view class="white-father" style="margin-bottom: 50rpx;" v-if="phonenumber">
<image class="white-imge" src="https://www.focusnu.com/media/directive/login/introduce/jigou.png" />
<view class="weight-font">
机构加盟
@ -104,6 +114,7 @@
]
const phonenumber = ref("");
const jumpto = () => {
console.log("???")
getMessage(uni.getStorageSync("openid")).then(res => {
if (!res.result.tel) {
uni.redirectTo({
@ -113,6 +124,7 @@
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);
@ -142,14 +154,26 @@
// url: `/pages/login/callback`
// });
}
const no = ref(false);
const special = ref(false);
function maskPhone(phone) {
return phone.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2');
}
const goBack = () => {
uni.navigateBack()
}
onLoad((options) => {
console.log("????",options)
if (!options.type) {
phonenumber.value = uni.getStorageSync('tel')
}
if (options.no) {
no.value = true
}
if(options.special){
special.value = true
}
})
</script>
@ -168,7 +192,7 @@
width: 100%;
background-color: #fff;
border-radius: 40rpx;
margin-top: 50rpx;
margin-top: 550rpx;
position: relative;
// padding: 10rpx 2%;
@ -239,19 +263,19 @@
}
.bottom-button {
margin-top: 50rpx;
margin-bottom: 0;
margin-top: 30rpx;
margin-bottom: 20rpx;
width: 250rpx;
margin-left: 30rpx;
height: 80rpx;
border-radius: 50rpx;
border-radius: 32rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 30rpx;
font-size: 32rpx;
display: flex;
justify-content: center;
align-items: center;
// z-index: 999;
z-index: 3;
}
}
@ -295,10 +319,40 @@
left: 0;
width: 100%;
height: 600rpx;
z-index: -1;
}
.big-font{
font-size: 70rpx;
color: black;
margin: 10rpx 0;
}
.fixed{
position: fixed;
top: 0;
left: 0;
background-color: #fff;
width: 100%;
z-index: 2;
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
.left-father {
display: flex;
align-items: center;
z-index: 999;
.back-img {
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
}
</style>

View File

@ -9,6 +9,12 @@
</view> -->
<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> -->
<!-- <image class="photo-imge" src="https://www.focusnu.com/media/directive/index/bgc.png" /> -->
<!-- <image class="old-imge" src="https://www.focusnu.com/media/directive/index/old.png" /> -->
<!-- <view class="under-container">
@ -44,21 +50,24 @@
恭喜您已成功绑定手机 <text style="color: #01A9FF ;">{{phone}}</text>现在您可以
</view> -->
<view class="card" style="margin-top: 550rpx;">
<view class="card-left">
<view class="card-weight">
长者入住
</view>
<view class="card-text">
护理单元日常护理涵盖生活照料健康监测康复护理及心理关怀老人提供贴心照护服务
护理单元日常护理涵盖生活照料健康监测康复护理及心理关怀长者提供贴心照护服务
</view>
<view class="white-button">
申请入住
</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">
<view class="card-left">
@ -66,7 +75,7 @@
员工入驻
</view>
<view class="card-text">
护理员严格按标准流程定时为失能老人开展床旁照护用专业与温情守护老人生活与健康
护理员严格按标准流程定时为失能长者开展床旁照护用专业与温情守护长者生活与健康
</view>
<view style="display: flex;">
<!-- <view class="white-button" style="margin-right: 30rpx;">
@ -100,7 +109,8 @@
</view>
<view class="card-right">
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/gongsi.png" @click="ceshi" />
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/gongsi.png"
@click="ceshi" />
</view>
</view>
<view class="blue-button" @click="close">
@ -120,13 +130,16 @@
// import three from "@/compontent/public/photohuadong.vue";
const itemTarget = ref(0);
const fontArray = ["护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护。", "护理员日常为老人提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。",
"护理员日常为老人提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。"
const fontArray = ["护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护。", "护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。",
"护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。"
]
const changePhoto = (index) => {
itemTarget.value = index;
}
const goBack = () => {
uni.navigateBack()
}
const ceshi = () => {
// uni.navigateTo({
// url: `/pages/login/phonebumber`
@ -138,7 +151,7 @@
// url: `/pages/addjigou/all`
// });
}
const jumpToindex = () => {
uni.navigateTo({
url: `/pages/index/index`
@ -152,7 +165,7 @@
const gotoadd = () => {
uni.setStorageSync('specicalid', "");
uni.setStorageSync("baddata", "")
uni.setStorageSync("backhuancun",{})
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
});
@ -291,6 +304,8 @@
background-color: #fff;
display: flex;
align-items: center;
position: relative;
.card-left {
height: 100%;
width: 80%;
@ -310,17 +325,7 @@
}
.white-button {
width: 180rpx;
height: 65rpx;
margin-top: 15rpx;
background-color: #f6f6f6;
border-radius: 30rpx;
color: #333333;
display: flex;
justify-content: center;
align-items: center;
}
}
.card-right {
@ -352,4 +357,47 @@
margin-bottom: 60rpx;
margin-top: 40rpx;
}
.title-back {
position: absolute;
// margin-top: 100rpx;
top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
// .button-right{
// width: 100%;
// display: flex;
// justify-content: flex-end;
// padding-right: 0rpx;
// }
.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

@ -0,0 +1,393 @@
<template>
<view class="login-container">
<!-- <view class="title">
<image class="title-imge" src="https://www.focusnu.com/media/directive/index/nu.png" @click="ceshi" />
<view class="title-font">
<view class="">您好</view>
<view class="">欢迎使用护理单元~</view>
</view>
</view> -->
<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>
<!-- <image class="photo-imge" src="https://www.focusnu.com/media/directive/index/bgc.png" /> -->
<!-- <image class="old-imge" src="https://www.focusnu.com/media/directive/index/old.png" /> -->
<!-- <view class="under-container">
<three style="width: 90%;margin-left: 5%;" @updateCenterIndex="changePhoto" />
<view class="font-father">
<view class="font">
{{fontArray[itemTarget]}}
</view>
</view>
<view class="button-father" v-if="itemTarget==0">
<view class="button-blue" @click="jumpToindex">
绑定单元
</view>
</view>
<view class="button-father" v-if="itemTarget==2">
<view class="button-blue" style="margin-right: 30rpx;" @click="gotowork(0)">
审核详情
</view>
<view class="button-blue" @click="">
申请入驻
</view>
</view>
<view class="button-father" v-if="itemTarget==1">
<view class="button-blue" style="margin-right: 30rpx;" @click="gotowork(1)">
审核详情
</view>
<view class="button-blue" @click="gotoadd">
申请加盟
</view>
</view>
</view> -->
<!-- <view class="card-title">
恭喜您已成功绑定手机 <text style="color: #01A9FF ;">{{phone}}</text>现在您可以
</view> -->
<view class="card" style="margin-top: 550rpx;">
<view class="card-left">
<view class="card-weight">
长者入住
</view>
<view class="card-text">
护理单元日常护理涵盖生活照料健康监测康复护理及心理关怀为长者提供贴心照护服务
</view>
<view class="white-button">
申请入住
</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">
<view class="card-left">
<view class="card-weight">
员工入驻
</view>
<view class="card-text">
护理员严格按标准流程定时为失能长者开展床旁照护用专业与温情守护长者生活与健康
</view>
<view style="display: flex;">
<!-- <view class="white-button" style="margin-right: 30rpx;">
审核列表
</view> -->
<view class="white-button">
申请入驻
</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;">
<view class="card-left">
<view class="card-weight">
机构加盟
</view>
<view class="card-text">
加盟我们共享银发经济红利依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
<view style="display: flex;">
<view class="white-button" @click="jumpToindex" v-if="op2==`1`">
进入机构
</view>
<view class="white-button" @click="gotoadd" 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 class="blue-button" @click="close">
关闭
</view> -->
</view>
</template>
<script setup>
import {
reactive,
ref
} from 'vue';
import {
onLoad
} from '@dcloudio/uni-app';
// import three from "@/compontent/public/photohuadong.vue";
const itemTarget = ref(0);
const fontArray = ["护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为长者提供贴心照护。", "护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。",
"护理员日常为长者提供饮食起居照料、协助康复训练监测健康状况,陪伴交流并做好环境清洁。"
]
const changePhoto = (index) => {
itemTarget.value = index;
}
const goBack = () => {
uni.navigateBack()
}
const ceshi = () => {
// uni.navigateTo({
// url: `/pages/login/phonebumber`
// });
uni.navigateTo({
url: `/pages/login/special`
});
// uni.navigateTo({
// url: `/pages/addjigou/all`
// });
}
const jumpToindex = () => {
uni.navigateTo({
url: `/pages/index/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`
});
// uni.navigateTo({
// url: `/pages/addjigou/where`
// });
}
const close = () => {
uni.exitMiniProgram({});
}
const phone = ref("")
const op0 = ref(false);
const op1 = ref(false);
const op2 = ref(false);
onLoad(() => {
phone.value = uni.getStorageSync('tel');
op0.value = uni.getStorageSync('izJs');
op1.value = uni.getStorageSync('izYg');
op2.value = uni.getStorageSync('izJg');
})
</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;
.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;
left: 0;
width: 100%;
height: 1100rpx;
}
.old-imge {
position: absolute;
right: 30rpx;
top: 400rpx;
width: 400rpx;
height: 400rpx;
}
.under-container {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 63vh;
background-color: #fff;
// border-top-left-radius: 50rpx;
// border-top-right-radius: 50rpx;
// box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
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 right, #00C9FF, #0076FF);
color: #fff;
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 {
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;
}
}
// .right-imge
}
.blue-button {
width: 92%;
margin-left: 4%;
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
border-radius: 50rpx;
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
font-size: 35rpx;
margin-bottom: 60rpx;
margin-top: 40rpx;
}
.title-back {
position: absolute;
// margin-top: 100rpx;
top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 40rpx;
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

@ -1,32 +1,40 @@
<template>
<view class="login-container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">加盟审核</view>
</view>
</view>
<view class="index-up">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
</view>
<view class="bgc-card">
<view class="title-card">
<!-- <view class="title-card">
<view class="big-weight">机构加盟</view>
<view class="title-other">
加盟我们共享银发经济红利!依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
</view>
<view class="under-scroll">
</view> -->
<view class="under-scroll" >
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small">
<view style="width: 100%;margin-bottom: 80rpx;font-size: 25rpx;">
{{item.comName}}申请入驻加盟护理单元提交时间:{{item.updateTime}}审核结果:{{item.status==1 ? "审核中" :item.status==2?`审核完成`:item.status==3?`驳回`:`待提交` }}
{{item.status==3?`,驳回备注:${item.content}`:``}}
<view class="white-small" @click="jumpToAll(item)">
<view style="font-size: 32rpx;">
{{item.comName}}
</view>
<view class="button-heng">
<view class="blue-button" v-if="item.status==3" @click="again(item)">
修改申请
</view>
<view class="white-button" @click="jumpToAll(item)">
查看详情
</view>
<image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" />
<view class="bottom-father">
<!-- <view style="font-weight: 600;margin-top: 5rpx;">
申请加盟
</view> -->
<view class=""></view>
<image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status)-1)]}.png`" />
</view>
<!-- <view class="blue-button" v-if="item.status=='3'" @click.stop="again(item)">
重新提交
</view> -->
</view>
</view>
@ -53,23 +61,15 @@
const type = ref(0)
const workArray = ref([])
const special = ref(false);
const statusarray = ["loading","success","fail"]
// URL
onLoad((options) => {
type.value = options.type || ''
uni.getStorage({
key: 'openid',
success: function(res) {
if (type.value==1) {
getMessageList(res.data).then(res => {
workArray.value = res.result
})
}else if(type.value==3){
getMessageListsuccess(res.data).then(res => {
workArray.value = res.result
})
type.value=`1`;
special.value = true
}
getMessageList(res.data).then(res => {
workArray.value = res.result
})
}
});
})
@ -78,24 +78,15 @@
uni.getStorage({
key: 'openid',
success: function(res) {
if (type.value) {
if(special.value){
getMessageListsuccess(res.data).then(res => {
workArray.value = res.result
})
}else{
getMessageList(res.data).then(res => {
workArray.value = res.result
})
}
}
getMessageList(res.data).then(res => {
workArray.value = res.result
})
}
});
uni.stopPullDownRefresh()
})
const goback = () => {
const goBack = () => {
uni.navigateBack()
}
@ -114,6 +105,7 @@
url: `/pages/addjigou/all?element=${JSON.stringify(element)}`
});
}
</script>
<style lang="scss" scoped>
@ -130,16 +122,18 @@
.under-scroll {
width: 100%;
height: calc(100% - 460rpx);
padding-top: 30rpx;
.white-small {
width: 94%;
margin-left: 3%;
background-color: #fff;
border-radius: 30rpx;
padding: 30rpx;
// padding: 40rpx;
padding: 30rpx 40rpx;
margin-bottom: 30rpx;
font-size: 25rpx;
color: #999999;
// color: #999999;
position: relative;
}
}
@ -164,23 +158,13 @@
margin-right: 20rpx;
}
.blue-button {
width: 180rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
margin-right: 20rpx;
border-radius: 30rpx;
color: #fff;
}
}
.bgc-card{
margin-top: 550rpx;
margin-top: 450rpx;
background-color: #F7F7F7;
width: 99%;
width: 98%;
margin-left: 1%;
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
min-height: calc(100vh - 550rpx);
@ -188,7 +172,7 @@
}
.index-up {
position: absolute;
top: -70rpx;
top: 0rpx;
left: 0;
width: 100%;
@ -205,7 +189,7 @@
border-radius: 30rpx;
padding: 0 45rpx;
margin-top: 40rpx;
padding-top: 45rpx;
padding-top: 40rpx;
.big-weight{
font-size: 30rpx;
color: #333333;
@ -217,4 +201,54 @@
font-size: 25rpx;
}
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 40rpx;
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;
}
.bottom-img{
width: 140rpx;
height: 120rpx;
}
.blue-button {
margin-top: 20rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
// margin-right: 20rpx;
margin-left: -10rpx;
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
}
</style>

View File

@ -0,0 +1,274 @@
<template>
<view class="login-container">
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">机构信息</view>
</view>
</view>
<view class="index-up">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
</view>
<view class="bgc-card">
<!-- <view class="title-card">
<view class="big-weight">机构加盟</view>
<view class="title-other">
加盟我们共享银发经济红利!依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
</view> -->
<view class="none" v-if="!workArray.length">
<image style="width: 300rpx;height: 300rpx;" src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix"
lazy-load="false" />
<view class="">暂无机构信息</view>
</view>
<view class="under-scroll">
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small" @click="jumpToAll(item)">
<view style="font-size: 32rpx;">
{{item.comName}}
</view>
<image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" />
<view class="bottom-father">
<view style="font-weight: 600;margin-top: 5rpx;" :style="item.modifyStatus==`5`?{color:`red`}:{}">
{{ item.modifyStatus? namearraay[Number(item.modifyStatus)] :"" }}
</view>
<!-- <image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status)-1)]}.png`" /> -->
</view>
<!-- <view class="blue-button" v-if="item.modifyStatus==null || item.modifyStatus==`5` || item.modifyStatus==`2`" @click.stop="again(item)">
信息修改
</view> -->
<!-- <view style="height: 30rpx;">
</view> -->
</view>
</view>
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref,
nextTick
} from 'vue';
import {
onLoad,
onPullDownRefresh
} from '@dcloudio/uni-app'
import {
getMessageListsuccess
} from '@/pages/addjigou/api/addjigou.js'
const type = ref(0)
const workArray = ref([])
const special = ref(false);
const statusarray = ["loading","success","fail"]
const namearraay = ["","","变更完成","","变更申请中","变更驳回"]
// URL
onLoad((options) => {
uni.getStorage({
key: 'openid',
success: function(res) {
getMessageListsuccess(res.data).then(res => {
workArray.value = res.result
})
}
});
})
onPullDownRefresh(() => {
uni.getStorage({
key: 'openid',
success: function(res) {
getMessageListsuccess(res.data).then(res => {
workArray.value = res.result
})
}
});
uni.stopPullDownRefresh()
})
const goBack = () => {
uni.navigateBack()
}
const again = (item) => {
let trans = item
trans.id = null
uni.setStorageSync("baddata", trans)
uni.setStorageSync('specicalid', trans.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
});
}
const jumpToAll = (element) => {
// console.log("?????",element)
uni.navigateTo({
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=true`
});
}
</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);
margin-top: 30rpx;
.white-small {
width: 94%;
margin-left: 3%;
background-color: #fff;
border-radius: 30rpx;
// padding: 40rpx;
padding: 30rpx 40rpx;
margin-bottom: 30rpx;
font-size: 25rpx;
// color: #999999;
position: relative;
}
}
.button-heng {
// width: 100%;
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
.white-button {
width: 180rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #F3F3F5, #DEE4E9);
border-radius: 30rpx;
color: black;
margin-right: 20rpx;
}
}
.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 - 550rpx);
z-index: 1;
position: relative;
}
.index-up {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
.index-up-img {
width: 100%;
height: 20rpx;
}
}
.title-card{
margin: 30rpx;
background-color: #fff;
width: 93%;
height: 250rpx;
border-radius: 30rpx;
padding: 0 45rpx;
margin-top: 40rpx;
padding-top: 40rpx;
.big-weight{
font-size: 30rpx;
color: #333333;
font-weight: 600;
margin-bottom: 30rpx;
}
.title-other{
color: #666666;
font-size: 25rpx;
}
}
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 40rpx;
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;
}
.bottom-img{
width: 140rpx;
height: 120rpx;
}
.blue-button {
margin-top: 60rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
// margin-right: 20rpx;
margin-left: -10rpx;
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
}
.none{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: flex;
// justify-content: center;
align-items: center;
flex-direction: column;
color: #999;
}
</style>

View File

@ -39,7 +39,7 @@ export default (params) => {
success() {
setTimeout(() => {
uni.navigateTo({
url: "/pages/login/index",
url: "/pages/login/callback",
})
}, 1000);
},

View File

@ -2,14 +2,14 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你scss 代码中使用如下变量同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您scss 代码中使用如下变量同时无需 import 这个文件
*/
/* 颜色变量 */

View File

@ -8,6 +8,9 @@
width: `${canvansWidth}px`,
height: `${canvansHeight}px`
}"></canvas>
<view class="whitefont">
请调整图片尺寸放入取景框内
</view>
<view id="pic-preview" class="pic-preview" :change:init="cropper.initObserver" :init="initData" @touchstart="cropper.touchstart" @touchmove="cropper.touchmove" @touchend="cropper.touchend">
<image v-if="imgSrc" id="crop-image" class="crop-image" :style="cropper.imageStyles" :src="imgSrc" webp></image>
<view v-for="(item, index) in maskList" :key="item.id" :id="item.id" class="crop-mask-block" :style="cropper.maskStylesList[index]"></view>
@ -797,4 +800,17 @@
}
}
.whitefont{
font-size: 25rpx;
color: #fff;
width: 100%;
z-index: 3;
// z-index: 998;
display: flex;
justify-content: center;
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%,-60%);
}
</style>

View File

@ -158,7 +158,7 @@
// isShowfalse
if (this.isShow == false) whichImg = 'lazyImg';
// isErrortrue
// ~
// ~
else if (this.isError == true) whichImg = 'errorImg';
//
else whichImg = 'realImg';

View File

@ -103,8 +103,8 @@
* @value anywhere anywhere 换行
* @property {Boolean} copy 点击文字后是否复制默认false
* @event {Function} click 点击触发事件
* @example <u-text text="我用十年青春,赴最后之约"></u-text>
* @example <u--text text="我用十年青春,赴最后之约"></u--text>
* @example <u-text text="我用十年青春,赴最后之约"></u-text>
* @example <u--text text="我用十年青春,赴最后之约"></u--text>
*/
export default {
name: 'u-text',

View File

@ -1,14 +1,14 @@
/*
##### 如果热爱编程想快速入门云开发欢迎使用`vk-unicloud`系列开发框架
##### 如果热爱编程想快速入门云开发欢迎使用`vk-unicloud`系列开发框架
##### 无需转变开发习惯0成本上手云开发
##### 框架内置了众多API工具包你的业务扫平障碍使你的项目刚起步进度就是50%微信登录短信验证码缓存生成小程序码等等
##### 从此又get一个新技能只需用js轻松搞定前后台整体业务
##### 框架内置了众多API工具包您的业务扫平障碍使您的项目刚起步进度就是50%微信登录短信验证码缓存生成小程序码等等
##### 从此又get一个新技能只需用js轻松搞定前后台整体业务
##### `client端` 框架地址https://ext.dcloud.net.cn/plugin?id=2204
##### `admin端` 框架地址https://ext.dcloud.net.cn/plugin?id=5043
##### `client端` 框架文档https://vkdoc.fsq.pub/client/
##### `admin端` 框架文档https://vkdoc.fsq.pub/admin/
##### 框架学习Q群`22466457` 欢迎萌新和大佬来使用和共同改进框架
##### 如本插件有问题也可加Q群反馈22466457只要是因本插件引起的问题在群里一定可以得到解决
##### 如本插件有问题也可加Q群反馈22466457只要是因本插件引起的问题在群里一定可以得到解决
*/
// 引入全局mixin

View File

@ -3,7 +3,7 @@
"name": "vk-uview-ui",
"displayName": "【开箱即用】uView Vue3 横空出世继承uView1意志再战江湖风云再起",
"version": "1.6.3",
"description": "同时支持 Vue3.0 和 Vue2.0没看错,现在 uView 支持 Vue3.0 了不支持nvue此版本为uView1.0的分支)",
"description": "同时支持 Vue3.0 和 Vue2.0没看错,现在 uView 支持 Vue3.0 了不支持nvue此版本为uView1.0的分支)",
"keywords": [
"vk-uview-ui",
"vk云开发",

View File

@ -14,20 +14,20 @@
## `vk-uview-ui``uview-ui 1.8.3` 功能上有什么区别?
* 1、最大的亮点同时支持 `Vue3.0``Vue2.0`没看错,现在 `uview-ui` 支持 `Vue3.0` 了(这应该是目前为数不多的 `uniapp Vue3.0` 组件库2021-11-18
* 2、以 `uni_modules` 模块形式发布,方便一键更新(同时组件会自动按需加载,无需手动写 `easycom` 规则(注意,需要把之前写的 `easycom` 规则删除,在项目根目录的 `pages.json` 中删除)
* 3、对部分组件进行了微调其中大部分调整不会影响之前的代码运行如车牌号键盘点击1次中文后会自动切英文+数字键盘),但有以下调整可能会影响代码运行,请看完后再考虑是否有必要使用。
* 1、最大的亮点同时支持 `Vue3.0``Vue2.0`没看错,现在 `uview-ui` 支持 `Vue3.0` 了(这应该是目前为数不多的 `uniapp Vue3.0` 组件库2021-11-18
* 2、以 `uni_modules` 模块形式发布,方便一键更新(同时组件会自动按需加载,无需手动写 `easycom` 规则(注意,需要把之前写的 `easycom` 规则删除,在项目根目录的 `pages.json` 中删除)
* 3、对部分组件进行了微调其中大部分调整不会影响之前的代码运行如车牌号键盘点击1次中文后会自动切英文+数字键盘),但有以下调整可能会影响代码运行,请看完后再考虑是否有必要使用。
* * 3.1、`u-picker` 的选择省市区的静态数据源使用 unicloud 中 `opendb-city-china` 表内的数据生成(这样前后端地址数据源保持了一致),但由于数据源变动了,可能会对有些影响。同时该组件还新增了 `addressDiscern` 方法 可用于智能识别收货信息,如在 `张三 13888888888 上海市嘉定区希望路1333弄是啊我庭12号楼1203` 中识别姓名、手机号、地址(支持多种格式)
* * 3.1、`u-picker` 的选择省市区的静态数据源使用 unicloud 中 `opendb-city-china` 表内的数据生成(这样前后端地址数据源保持了一致),但由于数据源变动了,可能会对有些影响。同时该组件还新增了 `addressDiscern` 方法 可用于智能识别收货信息,如在 `张三 13888888888 上海市嘉定区希望路1333弄是啊我庭12号楼1203` 中识别姓名、手机号、地址(支持多种格式)
* * 3.2、删除了 `uview-ui` 内置的 `国际化语言` 功能,(改造成 `Vue3` 比较麻烦,故作者干脆直接删除了)
* * 3.3、还有其他一些细微变动(这个版本是几个月前就已经改造完的,在 uniapp 刚出Vue3的时候就开始了但是由于当时的 uniapp Vue3 bug真的太多当时并没有发布可以想象一下作者当时碰到bug满天飞的场景
* * 3.4、Vue3.0中, uniapp 的 Vue3 版本在H5 APP非nvue微信小程序 中兼容性尚可,其他小程序目前还不行。
> [vk-uview-ui文档](https://vkuviewdoc.fsq.pub/components/icon.html)
___目前大的问题应该没有了作者自己的项目也是用此组件库开发因此无需担心后期无人维护。___
___目前大的问题应该没有了作者自己的项目也是用此组件库开发因此无需担心后期无人维护。___
如果了解了以上须知,那么请继续阅读快速上手。
如果了解了以上须知,那么请继续阅读快速上手。
## 快速上手之Vue2.0

View File

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

View File

@ -1 +1 @@
{"version":3,"file":"camera.js","sources":["compontent/public/camera.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/Y29tcG9udGVudC9wdWJsaWMvY2FtZXJhLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<!-- https://ext.dcloud.net.cn/plugin?id=10333文档在这里自己看 -->\r\n\t\t<qf-image-cropper :src=\"src\" :width=\"width\" :height=\"height\" :radius=\"0\" @crop=\"handleCrop\" />\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app';\r\n\timport QfImageCropper from '@/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue'\r\n\r\n\t// 图片源\r\n\tconst src = ref('') // 可以根据需要动态设置图片路径\r\n\tconst type = ref(0);\r\n\tconst width = ref(900);\r\n\tconst height = ref(600);\r\n\t// 裁剪完成的回调\r\n\tconst handleCrop = (e) => {\r\n\t\t// console.log(\"剪切完了\")\r\n\t\tuni.setStorageSync(`imgkey${type.value}`, e.tempFilePath);\r\n\t\tuni.navigateBack()\r\n\t}\r\n\tonLoad((options) => {\r\n\t\tsrc.value = options.url\r\n\t\t//type是一个页面有两个照相的时候做个类型区分\r\n\t\ttype.value = options.type\r\n\t\tif(options.size){\r\n\t\t\twidth.value = 1500;\r\n\t\t\theight.value = 1000;\r\n\t\t}\r\n\t});\r\n</script>","import MiniProgramPage from 'D:/officialAccount/compontent/public/camera.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad","MiniProgramPage"],"mappings":";;;;;AAcC,MAAM,iBAAiB,MAAW;;;;AAGlC,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClB,UAAM,OAAOA,kBAAI,CAAC;AAClB,UAAM,QAAQA,kBAAI,GAAG;AACrB,UAAM,SAASA,kBAAI,GAAG;AAEtB,UAAM,aAAa,CAAC,MAAM;AAEzBC,0BAAI,eAAe,SAAS,KAAK,KAAK,IAAI,EAAE,YAAY;AACxDA,oBAAAA,MAAI,aAAc;AAAA,IAClB;AACDC,kBAAM,OAAC,CAAC,YAAY;AACnB,UAAI,QAAQ,QAAQ;AAEpB,WAAK,QAAQ,QAAQ;AACrB,UAAG,QAAQ,MAAK;AACf,cAAM,QAAQ;AACd,eAAO,QAAQ;AAAA,MACf;AAAA,IACH,CAAE;;;;;;;;;;;;;;AClCF,GAAG,WAAWC,SAAe;"}
{"version":3,"file":"camera.js","sources":["compontent/public/camera.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/Y29tcG9udGVudC9wdWJsaWMvY2FtZXJhLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<!-- https://ext.dcloud.net.cn/plugin?id=10333文档在这里自己看 -->\r\n\t\t<qf-image-cropper :src=\"src\" :width=\"width\" :height=\"height\" :radius=\"0\" @crop=\"handleCrop\" />\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app';\r\n\timport QfImageCropper from '@/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue'\r\n\r\n\t// 图片源\r\n\tconst src = ref('') // 可以根据需要动态设置图片路径\r\n\tconst type = ref(0);\r\n\tconst width = ref(900);\r\n\tconst height = ref(600);\r\n\t// 裁剪完成的回调\r\n\tconst handleCrop = (e) => {\r\n\t\t// console.log(\"剪切完了\")\r\n\t\tuni.setStorageSync(`imgkey${type.value}`, e.tempFilePath);\r\n\t\tuni.navigateBack()\r\n\t}\r\n\tonLoad((options) => {\r\n\t\tsrc.value = options.url\r\n\t\t//type是一个页面有两个照相的时候做个类型区分\r\n\t\ttype.value = options.type\r\n\t\tif(options.size){\r\n\t\t\twidth.value = 1500;\r\n\t\t\theight.value = 1000;\r\n\t\t}\r\n\t});\r\n</script>","import MiniProgramPage from 'D:/hldy_xcx/compontent/public/camera.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad","MiniProgramPage"],"mappings":";;;;;AAcC,MAAM,iBAAiB,MAAW;;;;AAGlC,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClB,UAAM,OAAOA,kBAAI,CAAC;AAClB,UAAM,QAAQA,kBAAI,GAAG;AACrB,UAAM,SAASA,kBAAI,GAAG;AAEtB,UAAM,aAAa,CAAC,MAAM;AAEzBC,0BAAI,eAAe,SAAS,KAAK,KAAK,IAAI,EAAE,YAAY;AACxDA,oBAAAA,MAAI,aAAc;AAAA,IAClB;AACDC,kBAAM,OAAC,CAAC,YAAY;AACnB,UAAI,QAAQ,QAAQ;AAEpB,WAAK,QAAQ,QAAQ;AACrB,UAAG,QAAQ,MAAK;AACf,cAAM,QAAQ;AACd,eAAO,QAAQ;AAAA,MACf;AAAA,IACH,CAAE;;;;;;;;;;;;;;AClCF,GAAG,WAAWC,SAAe;"}

View File

@ -1 +1 @@
{"version":3,"file":"downmenu.js","sources":["compontent/public/downmenu.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovb2ZmaWNpYWxBY2NvdW50L2NvbXBvbnRlbnQvcHVibGljL2Rvd25tZW51LnZ1ZQ"],"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<image class=\"botton-img\"\r\n\t\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget===index?1:0}.png`\" />\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} from 'vue'\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\t// default: 0 // 如果想给默认值\r\n\t\t}\r\n\t})\r\n\r\n\tconst itemArray = [\"NU\", \"动态\", \"我的\"];\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.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/index`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/mine`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\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: 999;\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: rgb(42, 133, 235);\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\t.botton-img {\r\n\t\twidth: 38rpx;\r\n\t\theight: 38rpx;\r\n\t\tmargin-bottom: 5rpx;\r\n\t}\r\n</style>","import Component from 'D:/officialAccount/compontent/public/downmenu.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;;;;;;;AAoBC,UAAM,QAAQ;AAQd,UAAM,YAAY,CAAC,MAAM,MAAM,IAAI;AAEnC,UAAM,SAAS,CAAC,UAAU;AACzB,UAAG,SAAO,MAAM,YAAW;AAC1B,gBAAQ,OAAK;AAAA,UACZ,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,UACD,KAAK;AAGJ;AAAA,UACD,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,QACD;AAAA,MAED;AAAA,IACD;;;;;;;;;;;;;;;;;ACjDF,GAAG,gBAAgB,SAAS;"}
{"version":3,"file":"downmenu.js","sources":["compontent/public/downmenu.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV94Y3gvY29tcG9udGVudC9wdWJsaWMvZG93bm1lbnUudnVl"],"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<image class=\"botton-img\"\r\n\t\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget===index?1:0}.png`\" />\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} from 'vue'\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\t// default: 0 // 如果想给默认值\r\n\t\t}\r\n\t})\r\n\r\n\tconst itemArray = [\"NU\", \"动态\", \"我的\"];\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.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/index`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/mine`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\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: 999;\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: rgb(42, 133, 235);\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\t.botton-img {\r\n\t\twidth: 38rpx;\r\n\t\theight: 38rpx;\r\n\t\tmargin-bottom: 5rpx;\r\n\t}\r\n</style>","import Component from 'D:/hldy_xcx/compontent/public/downmenu.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;;;;;;;AAoBC,UAAM,QAAQ;AAQd,UAAM,YAAY,CAAC,MAAM,MAAM,IAAI;AAEnC,UAAM,SAAS,CAAC,UAAU;AACzB,UAAG,SAAO,MAAM,YAAW;AAC1B,gBAAQ,OAAK;AAAA,UACZ,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,UACD,KAAK;AAGJ;AAAA,UACD,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,QACD;AAAA,MAED;AAAA,IACD;;;;;;;;;;;;;;;;;ACjDF,GAAG,gBAAgB,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"addjigou.js","sources":["pages/addjigou/api/addjigou.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增/编辑机构加盟申请信息\r\nexport function changemessage(data){\r\n return request({\r\n url: `/api/orgApplyInfo/save`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取机构加盟申请信息\r\nexport function getMessageList(id){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\nexport function getMessageListsuccess(id){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//获取省市区\r\nexport 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\nexport function getrel(id){\n return request({\n url: `/api/common/queryAreaNameById?id=${id}`,\n\t\tmethod: 'get',\n })\n}"],"names":["request"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,IAAG;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,2CAA2C,EAAE;AAAA,IACxD,QAAQ;AAAA,EACV,CAAK;AACL;AACO,SAAS,sBAAsB,IAAG;AACrC,SAAOA,sBAAQ;AAAA,IACX,KAAK,oDAAoD,EAAE;AAAA,IACjE,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,QAAQ,IAAG;AACvB,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,EAAE;AAAA,IAC7C,QAAQ;AAAA,EACV,CAAK;AACL;;;;;"}
{"version":3,"file":"addjigou.js","sources":["pages/addjigou/api/addjigou.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增/编辑机构加盟申请信息\r\nexport function changemessage(data){\r\n return request({\r\n url: `/api/orgApplyInfo/save`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取机构加盟申请信息\r\nexport function getMessageList(id){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}&status=1,2,3`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\nexport 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\nexport 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\nexport function getrel(id){\n return request({\n url: `/api/common/queryAreaNameById?id=${id}`,\n\t\tmethod: 'get',\n })\n}"],"names":["request"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,IAAG;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,2CAA2C,EAAE;AAAA,IACxD,QAAQ;AAAA,EACV,CAAK;AACL;AACO,SAAS,sBAAsB,IAAG;AACrC,SAAOA,sBAAQ;AAAA,IACX,KAAK,0DAA0D,EAAE;AAAA,IACvE,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,QAAQ,IAAG;AACvB,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,EAAE;AAAA,IAC7C,QAAQ;AAAA,EACV,CAAK;AACL;;;;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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

@ -1 +1 @@
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\nexport const base_url = 'https://www.focusnu.com/nursingunit'\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\t\ttitle: \"提示\",\n\t\t\t\t\t\t\t\tcontent: \"请登录\",\n\t\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\t\tsuccess() {\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/index\",\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AACY,MAAC,WAAW;AAExB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACT,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\nexport const base_url = 'https://www.focusnu.com/nursingunit'\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\t\ttitle: \"提示\",\n\t\t\t\t\t\t\t\tcontent: \"请登录\",\n\t\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\t\tsuccess() {\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/callback\",\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AACY,MAAC,WAAW;AAExB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACT,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}

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,9 @@ 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";
"./pages/login/protocol.js";
"./pages/login/special.js";

View File

@ -4,7 +4,9 @@
"pages/login/index",
"pages/login/phonebumber",
"pages/login/threeselectone",
"pages/login/threeselectonespec",
"pages/login/workjoin",
"pages/login/workjoinsuccess",
"pages/login/code",
"pages/login/protocol",
"pages/login/special",

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

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

View File

@ -1 +1 @@
<view><qf-image-cropper wx:if="{{b}}" bindcrop="{{a}}" u-i="b49cf4ae-0" bind:__l="__l" u-p="{{b}}"/></view>
<view><qf-image-cropper wx:if="{{b}}" bindcrop="{{a}}" u-i="1a29df1e-0" bind:__l="__l" u-p="{{b}}"/></view>

View File

@ -7,7 +7,7 @@ const _sfc_main = {
type: Number,
required: true
// 如果必须传
// default: 0 // 如果想给默认值
// default: 0 // 如果想给默认值
}
},
setup(__props) {

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

@ -118,7 +118,7 @@ const _sfc_main = {
k: pieceSize + "rpx",
l: `url(${bgImage.value})`,
m: containerWidth.value + "rpx " + containerHeight.value + "rpx",
n: `-${originX.value + 30}rpx -${originY.value + 43}rpx`,
n: `-${originX.value + 20}rpx -${originY.value + 13}rpx`,
o: clipPath,
p: containerWidth.value + "rpx",
q: containerHeight.value + "rpx",

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

@ -14,6 +14,7 @@ const _sfc_main = {
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const statusarray = ["loading", "success", "fail"];
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
const textArray = common_vendor.reactive(["", "", "", "", "", "", "", ""]);
const headImge = common_vendor.ref("");
@ -23,7 +24,6 @@ const _sfc_main = {
const nameArray1 = ["机构位置", "详细地址", "机构负责人", "机构负责人电话", "房屋性质", "建筑面积"];
const textArray1 = common_vendor.reactive(["", "", "", "", "", ""]);
const backImge = common_vendor.ref("");
const states = ["待提交", "审核中", "审核通过", "审核未通过"];
common_vendor.ref("");
common_vendor.ref("");
const statesTarget = common_vendor.ref(0);
@ -41,17 +41,19 @@ const _sfc_main = {
longPressActions: {
itemList: ["保存图片"],
success: (data) => {
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:168", "长按操作成功", data);
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:183", "长按操作成功", data);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/all.vue:171", "长按操作失败", err);
common_vendor.index.__f__("error", "at pages/addjigou/all.vue:186", "长按操作失败", err);
}
}
});
}
const next = () => {
common_vendor.index.setStorageSync("specicalid", alldata.value.id);
common_vendor.index.setStorageSync("baddata", alldata.value);
let trans = alldata.value;
trans.id = null;
common_vendor.index.setStorageSync("baddata", trans);
common_vendor.index.setStorageSync("specicalid", trans.id);
common_vendor.index.setStorageSync("backhuancun", {});
common_vendor.index.navigateTo({
url: `/pages/addjigou/name`
@ -67,11 +69,18 @@ const _sfc_main = {
common_vendor.index.navigateBack();
};
const alldata = common_vendor.ref("");
const contentred = common_vendor.ref("");
const special = common_vendor.ref(false);
common_vendor.onLoad((options) => {
if (options.special) {
special.value = true;
}
alldata.value = JSON.parse(options.element);
statesTarget.value = Number(alldata.value.status);
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:200", "????", alldata.value, statesTarget.value);
let data = alldata.value;
if (data.content) {
contentred.value = data.content;
}
textArray[0] = data.name;
textArray[1] = data.sex;
textArray[2] = data.idCard;
@ -87,7 +96,7 @@ const _sfc_main = {
textArray0[2] = data.comCreditCode;
textArray0[3] = data.comLegalPerson;
headImge0.value = `${request_index.base_url}/sys/common/static/${data.comBusinessLicense}`;
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText || "") + (data.orgDistrict_dictText || "");
textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText != null ? data.orgCity_dictText : ``) + (data.orgDistrict_dictText != null ? data.orgDistrict_dictText : ``);
textArray1[1] = data.orgAddress;
textArray1[2] = data.orgLeader;
textArray1[3] = data.orgLeaderPhone;
@ -104,17 +113,24 @@ const _sfc_main = {
modelValue: show.value
}),
c: common_vendor.o(goBack),
d: common_vendor.t(states[statesTarget.value]),
e: common_vendor.n(statesTarget.value < 2 ? `rightStautes` : statesTarget.value == 2 ? `rightStautesred` : `rightStautesblue`),
f: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`,
g: !headImge.value
d: statesTarget.value == 3
}, statesTarget.value == 3 ? {
e: common_vendor.t(contentred.value)
} : {}, {
f: special.value && (alldata.value.modifyStatus == null || alldata.value.modifyStatus == `5` || alldata.value.modifyStatus == `2`)
}, special.value && (alldata.value.modifyStatus == null || alldata.value.modifyStatus == `5` || alldata.value.modifyStatus == `2`) ? {
g: common_vendor.o(next)
} : {}, {
h: !special.value ? `https://www.focusnu.com/media/directive/index/${statusarray[statesTarget.value - 1]}.png` : ``,
i: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`,
j: !headImge.value
}, !headImge.value ? {} : {}, {
h: common_vendor.o(($event) => getMessage(headImge.value)),
i: backImge.value ? backImge.value : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
j: !backImge.value
k: common_vendor.o(($event) => getMessage(headImge.value)),
l: backImge.value ? backImge.value : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
m: !backImge.value
}, !backImge.value ? {} : {}, {
k: common_vendor.o(($event) => getMessage(backImge.value)),
l: common_vendor.f(nameArray, (item, index, i0) => {
n: common_vendor.o(($event) => getMessage(backImge.value)),
o: common_vendor.f(nameArray, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.t(textArray[index] ? textArray[index] : "自动获取"),
@ -122,11 +138,11 @@ const _sfc_main = {
d: common_vendor.o(($event) => openLook(textArray[index]), index)
};
}),
m: headImge0.value ? headImge0.value : `https://www.focusnu.com/media/directive/index/zhizhao.png`,
n: !headImge0.value
p: headImge0.value ? headImge0.value : `https://www.focusnu.com/media/directive/index/zhizhao.png`,
q: !headImge0.value
}, !headImge0.value ? {} : {}, {
o: common_vendor.o(($event) => getMessage(headImge0.value)),
p: common_vendor.f(nameArray0, (item, index, i0) => {
r: common_vendor.o(($event) => getMessage(headImge0.value)),
s: common_vendor.f(nameArray0, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.t(textArray0[index] ? textArray0[index] : "自动获取"),
@ -134,18 +150,15 @@ const _sfc_main = {
d: common_vendor.o(($event) => openLook(textArray0[index]), index)
};
}),
q: common_vendor.f(nameArray1, (item, index, i0) => {
t: 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)
};
}),
r: alldata.value.status == 3
}, alldata.value.status == 3 ? {
s: common_vendor.o(next)
} : {});
})
});
};
}
};

View File

@ -1 +1 @@
<view class="container data-v-9afbabf9"><u-modal wx:if="{{b}}" class="data-v-9afbabf9" u-i="9afbabf9-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">返回</view></view><view class="{{['data-v-9afbabf9', e]}}">{{d}}</view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">身份证上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{h}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{f}}"/><image wx:if="{{g}}" class="data-v-9afbabf9" 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 data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认身份证信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{l}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">营业执照上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{o}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{m}}"/><image wx:if="{{n}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认企业信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{p}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{q}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"><view wx:if="{{r}}" class="finish-button data-v-9afbabf9" bindtap="{{s}}"> 重新提交 </view></view></view>
<view class="container data-v-9afbabf9"><u-modal wx:if="{{b}}" class="data-v-9afbabf9" u-i="9afbabf9-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><image class="greenbgc data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/greenbgc.png"/><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">机构加盟</view></view></view><view wx:if="{{d}}" class="contentred data-v-9afbabf9"><view class="contentred-bgc data-v-9afbabf9"> 驳回原因:{{e}}</view></view><view wx:if="{{f}}" class="finish-button data-v-9afbabf9" bindtap="{{g}}"> 修改信息 </view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="position:relative;height:140rpx;margin-bottom:20rpx;z-index:999"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">身份证</view><image class="shu-img data-v-9afbabf9" src="{{h}}"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" 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 data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{n}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{l}}"/><image wx:if="{{m}}" class="data-v-9afbabf9" 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 data-v-9afbabf9" style="margin:20rpx 0"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">确认身份证信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="margin-bottom:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">营业执照</view></view><view class="white-photo data-v-9afbabf9" bindtap="{{r}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{p}}"/><image wx:if="{{q}}" class="data-v-9afbabf9" 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 data-v-9afbabf9" style="margin-top:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">企业信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{s}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view><view class="content-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">机构信息</view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:0rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{t}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"></view></view>

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -28,25 +28,23 @@
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #eff1fc;
background-color: #F7F7F7;
position: relative;
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
}
.container .white-content.data-v-9afbabf9 {
width: 90%;
margin-left: 5%;
border-radius: 35rpx;
background-color: #f5fbfe;
}
.container .white-content .content-title.data-v-9afbabf9 {
display: flex;
align-items: center;
height: 100rpx;
position: relative;
font-weight: 600;
}
.container .white-content .content-title .content-weight.data-v-9afbabf9 {
font-weight: 600;
margin-left: 70rpx;
margin-top: 20rpx;
font-size: 32rpx;
}
.container .white-content .content-title .content-img.data-v-9afbabf9 {
position: absolute;
@ -56,12 +54,10 @@
height: 100%;
}
.container .white-photo.data-v-9afbabf9 {
width: 90%;
margin-left: 5%;
width: 100%;
height: 300rpx;
border-radius: 35rpx;
background-color: #fff;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
justify-content: space-around;
align-items: center;
display: flex;
@ -71,13 +67,13 @@
height: 200rpx;
}
.container .white-message.data-v-9afbabf9 {
width: 90%;
margin-left: 5%;
margin-top: 30rpx;
width: 100%;
margin-top: 20rpx;
padding-top: 20rpx;
padding-bottom: 20rpx;
margin-bottom: 30rpx;
border-radius: 35rpx;
background-color: #fff;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
justify-content: space-around;
display: flex;
flex-direction: column;
@ -88,21 +84,13 @@
align-items: center;
display: flex;
}
.container .white-message .message-title .shu.data-v-9afbabf9 {
width: 10rpx;
height: 30rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 0 20rpx 0 30rpx;
}
.container .white-message .message-title .message-weight.data-v-9afbabf9 {
font-size: 30rpx;
}
.container .white-message .one.data-v-9afbabf9 {
width: 90%;
margin-left: 5%;
border-bottom: 1rpx solid #d7d7d7;
height: 90rpx;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
@ -110,55 +98,70 @@
}
.container .white-message .one .one-left.data-v-9afbabf9 {
margin-left: 10rpx;
font-size: 30rpx;
}
.container .white-message .one .one-right.data-v-9afbabf9 {
margin-right: 10rpx;
font-size: 30rpx;
color: #999999;
overflow: hidden;
/* 隐藏超出内容 */
white-space: nowrap;
/* 不换行 */
text-overflow: ellipsis;
max-width: 300rpx;
max-width: 380rpx;
}
.photo-left.data-v-9afbabf9 {
z-index: 1;
}
.photo-left .photo-weight.data-v-9afbabf9 {
font-size: 26rpx;
font-size: 32rpx;
font-weight: 600;
color: #333;
}
.photo-left .photo-font.data-v-9afbabf9 {
font-size: 23rpx;
font-size: 28rpx;
margin-top: 10rpx;
color: #666;
}
.gray-font.data-v-9afbabf9 {
padding: 20rpx 60rpx;
padding-bottom: 35rpx;
color: #999999;
}
.finish-button.data-v-9afbabf9 {
display: flex;
justify-content: center;
align-items: center;
width: 45%;
height: 100rpx;
width: 92%;
height: 90rpx;
margin: 0rpx auto;
margin-bottom: 80rpx;
margin-bottom: 10rpx;
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
z-index: 1;
}
.title-back.data-v-9afbabf9 {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 180rpx;
}
.left-father.data-v-9afbabf9 {
display: flex;
align-items: center;
z-index: 1;
}
.left-father .back-img.data-v-9afbabf9 {
width: 50rpx;
height: 50rpx;
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 5rpx;
margin-right: 15rpx;
}
.rightStautes.data-v-9afbabf9 {
width: 170rpx;
@ -192,4 +195,44 @@
align-items: center;
color: #fff;
margin-right: 30rpx;
}
.shu.data-v-9afbabf9 {
width: 14rpx;
height: 36rpx;
background-color: #0097FF;
border-radius: 10rpx;
margin: 3rpx 20rpx 0 30rpx;
}
.line.data-v-9afbabf9 {
margin: 10rpx 0;
}
.shu-img.data-v-9afbabf9 {
position: absolute;
right: 20rpx;
top: 40%;
transform: translateY(-40%);
width: 150rpx;
height: 130rpx;
}
.greenbgc.data-v-9afbabf9 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700rpx;
}
.contentred.data-v-9afbabf9 {
width: 90%;
border: dashed 3rpx #FF4B2F;
border-radius: 15rpx;
margin: 15rpx 0;
margin-left: 5%;
padding: 5rpx;
}
.contentred .contentred-bgc.data-v-9afbabf9 {
background-color: #f0e4e4;
border-radius: 15rpx;
color: red;
padding: 20rpx;
padding-bottom: 30rpx;
}

View File

@ -10,13 +10,13 @@ function changemessage(data) {
}
function getMessageList(id) {
return request_index.request({
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}&status=1,2,3`,
method: "get"
});
}
function getMessageListsuccess(id) {
return request_index.request({
url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,
url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,
method: "get"
});
}

View File

@ -19,9 +19,11 @@ const _sfc_main = {
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
const textArray = common_vendor.reactive(["", "", "", ""]);
const bottomlist = [{
text: "拍摄图片"
text: "拍摄图片",
fontSize: 40
}, {
text: "图片预览"
text: "图片预览",
fontSize: 40
}];
const bottomshow = common_vendor.ref(false);
const tempImagePath = common_vendor.ref("");
@ -64,7 +66,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:140", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:142", "拍照失败:", err);
}
});
}
@ -76,7 +78,7 @@ const _sfc_main = {
common_vendor.index.showLoading();
common_vendor.index.uploadFile({
url: `${request_index.base_url}/api/ocr/businessLicense`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名
@ -95,7 +97,7 @@ const _sfc_main = {
uping.value = true;
return;
}
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:173", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:175", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName) {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
textArray[0] = father.companyName;
@ -128,7 +130,7 @@ const _sfc_main = {
const savephoto = (filePath) => {
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名
@ -200,6 +202,9 @@ const _sfc_main = {
textArray[1] = data.comRegisterAddress;
textArray[2] = data.comCreditCode;
textArray[3] = data.comLegalPerson;
let data0 = common_vendor.index.getStorageSync("backhuancun");
data0.comName = data.id;
common_vendor.index.setStorageSync("backhuancun", data);
if (data.comBusinessLicense) {
headImge.value = `${request_index.base_url}/sys/common/static/${data.comBusinessLicense}`;
fontphoto.value = data.comBusinessLicense;

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -140,7 +140,7 @@
margin-bottom: 80rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
.back-button.data-v-402780bb {
@ -153,7 +153,7 @@
margin-bottom: 80rpx;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
.gray-text.data-v-402780bb {

View File

@ -71,7 +71,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:174", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:166", "拍照失败:", err);
}
});
}
@ -82,7 +82,7 @@ const _sfc_main = {
common_vendor.index.showLoading();
common_vendor.index.uploadFile({
url: `${request_index.base_url}/api/ocr/idCard`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名
@ -91,7 +91,7 @@ const _sfc_main = {
},
formData: {},
success: (uploadRes) => {
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:212", "token", common_vendor.index.getStorageSync("token"));
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:204", "token", common_vendor.index.getStorageSync("token"));
if (!JSON.parse(uploadRes.data).success) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
@ -149,7 +149,7 @@ const _sfc_main = {
const savephoto = (filePath, type) => {
common_vendor.index.uploadFile({
url: `${request_index.base_url}/sys/common/upload`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -137,7 +137,7 @@
margin-top: 20rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
.title-back.data-v-4363d488 {

View File

@ -88,7 +88,7 @@ const _sfc_main = {
list.value = dedupeFirstLetter(res.result);
});
}
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:233", "删除了", index);
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:234", "删除了", index);
};
function isValid11DigitNumber(val) {
return /^(\d{11})$/.test(val);
@ -149,7 +149,11 @@ const _sfc_main = {
data.orgLeaderPhone = form.orgLeaderPhone;
data.orgPropertyType = form.orgPropertyType;
data.orgBuildingArea = form.orgBuildingArea;
data.status = form.status;
if (data.id === null) {
data.status = `4`;
} else {
data.status = form.status;
}
common_vendor.index.setStorageSync("backhuancun", data);
if (allNonEmpty) {
pages_addjigou_api_addjigou.changemessage(common_vendor.index.getStorageSync("backhuancun")).then((res) => {
@ -157,12 +161,12 @@ const _sfc_main = {
if (res.message == `保存成功!`) {
common_vendor.index.setStorageSync("specicalid", "");
common_vendor.index.reLaunch({
url: `/pages/login/special?type=1`
url: `/pages/login/special?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id == null}`
});
} else {
common_vendor.index.setStorageSync("specicalid", res.result.id);
common_vendor.index.reLaunch({
url: `/pages/login/special?type=1`
url: `/pages/login/special?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id == null}`
});
}
} else {
@ -228,7 +232,7 @@ const _sfc_main = {
common_vendor.onShow(() => {
const data = common_vendor.index.getStorageSync("dingwei");
if (data) {
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:407", "data", data);
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:413", "data", data);
jigouweizhi.value = data.name;
form.orgAddress = data.name;
form.orgCoordinateLo = data.lng;
@ -251,6 +255,24 @@ const _sfc_main = {
}
});
}
function formatArea() {
const value = form.orgBuildingArea;
const firstDot = value.indexOf(".");
const lastDot = value.lastIndexOf(".");
let cleaned = value;
if (firstDot !== lastDot) {
cleaned = value.slice(0, lastDot);
}
if (cleaned.includes(".")) {
const [intPart, decimalPart] = cleaned.split(".");
cleaned = intPart + "." + decimalPart.slice(0, 4);
}
if (cleaned !== value) {
common_vendor.nextTick$1(() => {
form.orgBuildingArea = cleaned;
});
}
}
common_vendor.onLoad(() => {
pages_addjigou_api_addjigou.getdate(`xzqhdm`).then((res) => {
list.value = dedupeFirstLetter(res.result);
@ -269,7 +291,7 @@ const _sfc_main = {
} else if (common_vendor.index.getStorageSync("baddata")) {
let data = common_vendor.index.getStorageSync("baddata");
if (data.orgProvince_dictText) {
form.address = data.orgProvince_dictText + data.orgCity_dictText + data.orgDistrict_dictText;
form.address = data.orgProvince_dictText + (data.orgCity_dictText != null ? data.orgCity_dictText : ``) + (data.orgDistrict_dictText != null ? data.orgDistrict_dictText : ``);
}
form.orgProvince = data.orgProvince;
form.orgCity = data.orgCity;
@ -332,8 +354,8 @@ const _sfc_main = {
list: showlist,
modelValue: showselect.value
}),
z: form.orgBuildingArea,
A: common_vendor.o(($event) => form.orgBuildingArea = $event.detail.value),
z: common_vendor.o([($event) => form.orgBuildingArea = $event.detail.value, formatArea]),
A: form.orgBuildingArea,
B: common_vendor.o(goBack),
C: common_vendor.o(next)
};

View File

@ -1 +1 @@
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><u-popup wx:if="{{h}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:100rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{c}}"/></view><view wx:for="{{d}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%;display:flex;align-items:center;justify-content:space-between;position:relative"><view class="data-v-549d1cee" style="margin-left:60rpx">{{item.a}}</view><image class="title-imge data-v-549d1cee" style="width:25rpx;height:25rpx" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{item.b}}"/></view></view><view class="data-v-549d1cee" style="height:100rpx;width:100%"></view><view wx:for="{{e}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{i}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">机构信息</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{l}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{j}}" bindinput="{{k}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{o}}" bindinput="{{p}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{q}}" bindinput="{{r}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{v}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择房屋性质" value="{{s}}" bindinput="{{t}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{y}}" class="data-v-549d1cee" style="font-size:35rpx" bindconfirm="{{w}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积(平方米)" value="{{z}}" bindinput="{{A}}"/><view class="triangle-down-mi data-v-549d1cee"> ㎡ </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{B}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{C}}"> 确认并提交 </view></view></view>
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><u-popup wx:if="{{h}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:100rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{c}}"/></view><view wx:for="{{d}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%;display:flex;align-items:center;justify-content:space-between;position:relative"><view class="data-v-549d1cee" style="margin-left:60rpx">{{item.a}}</view><image class="title-imge data-v-549d1cee" style="width:25rpx;height:25rpx" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{item.b}}"/></view></view><view class="data-v-549d1cee" style="height:100rpx;width:100%"></view><view wx:for="{{e}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{i}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">机构信息</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{l}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{j}}" bindinput="{{k}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{o}}" bindinput="{{p}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{q}}" bindinput="{{r}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{v}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择房屋性质" value="{{s}}" bindinput="{{t}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{y}}" class="data-v-549d1cee" style="font-size:35rpx" bindconfirm="{{w}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积" bindinput="{{z}}" value="{{A}}"/><view class="triangle-down-mi data-v-549d1cee"> 平方米 </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{B}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{C}}"> 确认并提交 </view></view></view>

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -133,7 +133,7 @@
margin-bottom: 80rpx;
color: #fff;
background: linear-gradient(to right, #00C9FF, #0076FF);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
.one-img.data-v-549d1cee {
@ -230,7 +230,7 @@
margin-bottom: 80rpx;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
border-radius: 50rpx;
border-radius: 37rpx;
font-size: 35rpx;
}
.shu.data-v-549d1cee {
@ -254,6 +254,7 @@
transform: translateY(-50%);
right: 26rpx;
font-size: 30rpx;
color: #999999;
}
.uni-scroll-view {

View File

@ -35,7 +35,7 @@ const _sfc_main = {
common_vendor.index.showLoading();
common_vendor.index.uploadFile({
url: `${common_vendor.index.getStorageSync("serverUrl")}/api/ocr/idCard`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

@ -42,7 +42,7 @@ const _sfc_main = {
function uploadImage(filePath) {
common_vendor.index.uploadFile({
url: `${common_vendor.index.getStorageSync("serverUrl")}/api/ocr/idCard`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

@ -21,7 +21,7 @@ const _sfc_main = {
function uploadImage(filePath) {
common_vendor.index.uploadFile({
url: `${common_vendor.index.getStorageSync("serverUrl")}/api/ocr/idCard`,
// 替换为的POST接口地址
// 替换为的POST接口地址
filePath,
name: "file",
// 后端接收时的字段名

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */

View File

@ -1,14 +1,22 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
if (!Math) {
downMenu();
(_easycom_u_modal + downMenu)();
}
const downMenu = () => "../../compontent/public/downmenu.js";
const _sfc_main = {
__name: "index",
setup(__props) {
const show = common_vendor.ref(false);
const content = common_vendor.ref("");
const buttonArray = common_vendor.ref(["单元", "仓库", "后勤", "工区", "办公室 ", "员工", "机构维护"]);
const statusarray = ["loading", "success", "fail"];
const which = common_vendor.ref(0);
const changecard = (e) => {
which.value = e;
@ -31,13 +39,14 @@ const _sfc_main = {
url: `/pages/addjigou/all?element=${JSON.stringify(element)}`
});
};
const jumptolist = () => {
common_vendor.index.navigateTo({
url: `/pages/login/workjoin?type=1`
});
const jumptolist = (res) => {
if (res) {
content.value = res;
show.value = true;
}
};
const again = (item) => {
common_vendor.index.__f__("log", "at pages/index/index.vue:245", "????", item);
common_vendor.index.__f__("log", "at pages/index/index.vue:216", "????", item);
common_vendor.index.setStorageSync("baddata", item);
common_vendor.index.setStorageSync("specicalid", item.id);
common_vendor.index.setStorageSync("backhuancun", {});
@ -61,32 +70,45 @@ const _sfc_main = {
success: function(res) {
pages_addjigou_api_addjigou.getMessageList(res.data).then((res2) => {
menuArray.value = res2.result;
menuArray.value.push({
status: `-1`
});
});
}
});
});
return (_ctx, _cache) => {
return common_vendor.e({
a: whichMenu.value < menuArray.value.length
}, whichMenu.value < menuArray.value.length ? {
b: common_vendor.t(menuArray.value[whichMenu.value].comName)
} : {}, {
return {
a: common_vendor.o(($event) => show.value = $event),
b: common_vendor.p({
title: "驳回原因",
content: content.value,
modelValue: show.value
}),
c: common_vendor.f(menuArray.value, (item, index, i0) => {
return common_vendor.e({
a: item.status == `1`
a: item.comName
}, item.comName ? {
b: common_vendor.t(item.comName)
} : {}, {
c: item.status != `-1` && item.status != `2`
}, item.status != `-1` && item.status != `2` ? {
d: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`
} : {}, {
e: item.status == `1`
}, item.status == `1` ? {
b: common_vendor.t(item.comName),
c: common_vendor.o(($event) => look(item), index)
f: common_vendor.t(item.comName),
g: common_vendor.o(($event) => look(item), index)
} : {}, {
d: item.status == `3`
h: item.status == `3`
}, item.status == `3` ? {
e: common_vendor.t(item.comName),
f: common_vendor.o(($event) => again(item), index),
g: common_vendor.o(jumptolist, index)
i: common_vendor.t(item.comName),
j: common_vendor.o(($event) => again(item), index),
k: common_vendor.o(($event) => jumptolist(item.content), index)
} : {}, {
h: item.status == `2`
l: item.status == `2`
}, item.status == `2` ? {
i: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
m: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
return {
a: `https://www.focusnu.com/media/directive/index/addjiji/${index2}.png`,
b: common_vendor.t(item2),
@ -94,26 +116,35 @@ const _sfc_main = {
};
})
} : {}, {
j: index
n: item.status == `-1`
}, item.status == `-1` ? {
o: common_vendor.o(addjigou, index)
} : {}, {
p: index
});
}),
d: common_vendor.o(addjigou),
e: `700rpx`,
f: which.value,
g: common_vendor.o(swiperchange),
h: common_vendor.f(menuArray.value, (item, index, i0) => {
return {
a: common_vendor.n(whichMenu.value == index ? `black-box` : `gray-box`),
b: index,
c: common_vendor.o(($event) => changecard(index), index)
};
d: `100vh`,
e: which.value,
f: common_vendor.o(swiperchange),
g: 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)
});
}),
i: `https://www.focusnu.com/media/directive/index/addjiji/add.png`,
j: common_vendor.o(moveend),
k: common_vendor.p({
h: common_vendor.p({
itemTarget: 0
})
});
};
};
}
};

View File

@ -1,6 +1,7 @@
{
"navigationBarTitleText": "首页",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"down-menu": "../../compontent/public/downmenu"
}
}

View File

@ -1 +1 @@
<view class="login-container data-v-1cf27b2a"><view class="index-up data-v-1cf27b2a"><image class="index-up-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="white-content-father-time data-v-1cf27b2a"><view class="white-content data-v-1cf27b2a"><view wx:if="{{a}}" class="white-bgc data-v-1cf27b2a"> {{b}}</view></view></view><view class="white-content-father data-v-1cf27b2a"><swiper class="data-v-1cf27b2a" duration="{{500}}" style="{{'width:100%' + ';' + ('height:' + e)}}" current="{{f}}" bindchange="{{g}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="j" class="data-v-1cf27b2a"><swiper-item wx:if="{{item.a}}" class="data-v-1cf27b2a" style="width:100%"><view class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 你的 <text class="data-v-1cf27b2a" style="font-weight:600">{{item.b}}</text></view><view class="second-font data-v-1cf27b2a"> 提交的加盟申请 <text class="data-v-1cf27b2a" style="color:#01A5FF"> 正在审核中 </text></view><view class="button-blue data-v-1cf27b2a" bindtap="{{item.c}}"> 查看 </view></view></swiper-item><swiper-item wx:if="{{item.d}}" class="data-v-1cf27b2a"><view class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a" style="margin-top:320rpx"> 您提交的 </view><view class="second-font data-v-1cf27b2a">{{item.e}}</view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#FF7744"> 审核不通过 </text></view><view class="button-blue-spec data-v-1cf27b2a" bindtap="{{item.f}}"> 重新提交 </view><view class="button-white-spec data-v-1cf27b2a" bindtap="{{item.g}}"> 驳回原因 </view></view></swiper-item><swiper-item wx:if="{{item.h}}" class="data-v-1cf27b2a"><view class="zhiling-box data-v-1cf27b2a"><view class=" data-v-1cf27b2a"> 单元清洁服务指令已执行完毕,点击查看 </view><image class="zhiling-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/index/back.png"/></view><view class="white-box-father data-v-1cf27b2a"><view wx:for="{{item.i}}" wx:for-item="item" wx:key="c" class="white-box data-v-1cf27b2a"><image class="box-img data-v-1cf27b2a" src="{{item.a}}"/><view class="box-font data-v-1cf27b2a">{{item.b}}</view></view><view class="white-box data-v-1cf27b2a"><view class="data-v-1cf27b2a" style="font-weight:600;font-size:80rpx">+</view></view></view></swiper-item></view><swiper-item class="data-v-1cf27b2a"><view class="white-content data-v-1cf27b2a"><image class="white-content-secondimg data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png" lazy-load="false"/><view class="button-blue data-v-1cf27b2a" bindtap="{{d}}"> 添加机构 </view></view></swiper-item></swiper></view><view class="data-v-1cf27b2a" style="z-index:999;position:fixed;bottom:70rpx;width:100%;display:flex;justify-content:center;margin-top:-25rpx;height:100rpx"><view class="jia-box data-v-1cf27b2a"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="data-v-1cf27b2a" bindtap="{{item.c}}"><view class="{{['data-v-1cf27b2a', item.a]}}"></view></view><view class="jia data-v-1cf27b2a" bindtap="{{j}}"><image class="jia-img data-v-1cf27b2a" src="{{i}}"/></view></view></view><down-menu wx:if="{{k}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{k}}"/></view>
<view class="login-container data-v-1cf27b2a"><u-modal wx:if="{{b}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><swiper class="data-v-1cf27b2a" duration="{{500}}" style="{{'width:100%' + ';' + ('height:' + d)}}" current="{{e}}" bindchange="{{f}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="p" class="data-v-1cf27b2a"><swiper-item class="data-v-1cf27b2a" style="position:relative"><view class="index-up data-v-1cf27b2a"><image class="index-up-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="white-content-father-time data-v-1cf27b2a"><view wx:if="{{item.a}}" class="white-content data-v-1cf27b2a"><view class="white-bgc data-v-1cf27b2a" style="font-size:32rpx">{{item.b}}</view></view></view><view class="white-content-father data-v-1cf27b2a"><image wx:if="{{item.c}}" class="chuo-img data-v-1cf27b2a" src="{{item.d}}"/><view wx:if="{{item.e}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.f}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#01A5FF"> 正在审核中 </text></view><view class="button-blue data-v-1cf27b2a" bindtap="{{item.g}}"> 查看 </view></view><view wx:if="{{item.h}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.i}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#FF7744"> 审核不通过 </text></view><view class="button-blue-spec data-v-1cf27b2a" bindtap="{{item.j}}"> 重新提交 </view><view class="button-white-spec data-v-1cf27b2a" bindtap="{{item.k}}"> 驳回原因 </view></view><view wx:if="{{item.l}}" class="data-v-1cf27b2a" style="z-index:1;width:100%"><view class="zhiling-box data-v-1cf27b2a"><view class=" data-v-1cf27b2a"> 单元清洁服务指令已执行完毕,点击查看 </view><image class="zhiling-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/index/back.png"/></view><view class="white-box-father data-v-1cf27b2a"><view wx:for="{{item.m}}" wx:for-item="item" wx:key="c" class="white-box data-v-1cf27b2a"><image class="box-img data-v-1cf27b2a" src="{{item.a}}"/><view class="box-font data-v-1cf27b2a">{{item.b}}</view></view><view class="white-box data-v-1cf27b2a"><view class="data-v-1cf27b2a" style="font-weight:600;font-size:80rpx">+</view></view></view></view></view><view wx:if="{{item.n}}" class="white-content data-v-1cf27b2a" style="margin:0 auto;margin-top:110rpx"><image class="white-content-secondimg data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png" lazy-load="false"/><view class="button-blue data-v-1cf27b2a" bindtap="{{item.o}}"> 添加机构 </view></view></swiper-item></view></swiper><view class="data-v-1cf27b2a" style="z-index:999;position:fixed;bottom:70rpx;width:100%;display:flex;justify-content:center;margin-top:-25rpx;height:100rpx"><view class="jia-box data-v-1cf27b2a"><view wx:for="{{g}}" wx:for-item="item" wx:key="f" class="data-v-1cf27b2a" bindtap="{{item.g}}"><view wx:if="{{item.a}}" class="{{['data-v-1cf27b2a', item.b]}}"></view><view wx:if="{{item.c}}" class="jia data-v-1cf27b2a" bindtap="{{item.e}}"><image class="jia-img data-v-1cf27b2a" src="{{item.d}}"/></view></view></view></view><down-menu wx:if="{{h}}" class="data-v-1cf27b2a" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{h}}"/></view>

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -26,15 +26,14 @@
.login-container.data-v-1cf27b2a {
display: flex;
flex-direction: column;
min-height: 100vh;
min-height: calc(100vh + 90rpx);
width: 100%;
background-color: #eff1fc;
position: relative;
padding-top: 550rpx;
}
.index-up.data-v-1cf27b2a {
position: absolute;
top: -70rpx;
top: 0rpx;
left: 0;
width: 100%;
}
@ -99,16 +98,10 @@
width: 100%;
height: 100%;
}
.white-content-father.data-v-1cf27b2a {
width: 100%;
display: flex;
justify-content: center;
margin-top: 30rpx;
}
.white-content-father .white-content.data-v-1cf27b2a {
.white-content.data-v-1cf27b2a {
z-index: 1;
height: 650rpx;
width: 92%;
margin-left: 4%;
width: 90%;
background-color: #fff;
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
border-radius: 30rpx;
@ -118,7 +111,7 @@
flex-direction: column;
position: relative;
}
.white-content-father .white-content .white-content-img.data-v-1cf27b2a {
.white-content .white-content-img.data-v-1cf27b2a {
position: absolute;
top: 90rpx;
left: 50%;
@ -126,21 +119,30 @@
width: 420rpx;
height: 320rpx;
}
.white-content-father .white-content .white-content-secondimg.data-v-1cf27b2a {
.white-content .white-content-secondimg.data-v-1cf27b2a {
position: absolute;
top: 20rpx;
left: 34%;
transform: translateX(-34%);
width: 610rpx;
height: 450rpx;
z-index: 1;
}
.white-content-father .white-content .white-font.data-v-1cf27b2a {
.white-content .white-font.data-v-1cf27b2a {
margin-top: 350rpx;
font-size: 27rpx;
font-size: 30rpx;
}
.white-content-father .white-content .second-font.data-v-1cf27b2a {
.white-content .second-font.data-v-1cf27b2a {
margin-top: 10rpx;
font-size: 27rpx;
font-size: 30rpx;
}
.white-content-father.data-v-1cf27b2a {
width: 100%;
display: flex;
justify-content: center;
margin-top: 30rpx;
z-index: 1;
position: relative;
}
.bottom-text.data-v-1cf27b2a {
font-size: 22rpx;
@ -149,6 +151,7 @@
width: 100%;
display: flex;
justify-content: center;
margin-top: 600rpx;
}
.white-content-father-time .white-bgc.data-v-1cf27b2a {
width: 100%;
@ -228,147 +231,11 @@
margin-bottom: 25rpx;
}
.white-box-father .white-box .box-font.data-v-1cf27b2a {
font-size: 25rpx;
}
.white-scan.data-v-1cf27b2a {
background-color: #fff;
border-radius: 35rpx;
display: flex;
flex-direction: column;
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
width: 92%;
margin-left: 4%;
height: 700rpx;
z-index: 2;
margin-bottom: 300rpx;
}
.white-scan .scan-title.data-v-1cf27b2a {
width: 100%;
height: 180rpx;
display: flex;
position: relative;
align-items: center;
}
.white-scan .scan-img.data-v-1cf27b2a {
margin-left: 65rpx;
width: 65rpx;
height: 65rpx;
}
.white-scan .scan-font.data-v-1cf27b2a {
margin-left: 30rpx;
}
.white-scan .scan-font .weight.data-v-1cf27b2a {
font-weight: 500;
}
.white-scan .scan-font .noral.data-v-1cf27b2a {
font-size: 25rpx;
color: #999999;
}
.other-scan.data-v-1cf27b2a {
width: 100%;
height: 520rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.other-scan .scan-circle.data-v-1cf27b2a {
width: 300rpx;
height: 300rpx;
border-radius: 50%;
background-color: #fbfbfb;
display: flex;
align-items: center;
position: relative;
}
.other-scan .scan-circle .scan-img.data-v-1cf27b2a {
width: 30%;
height: 30%;
margin: 0 auto;
}
.other-scan .scan-circle .small-circle.data-v-1cf27b2a {
position: absolute;
top: 50%;
left: 50%;
transform-origin: center center;
/* 从中心缩放,否则宽高从左上角开始 */
transform: translate(-50%, -50%);
animation: shrinkExpand-1cf27b2a 1s infinite;
border-radius: 50%;
background-color: #f5f5f5;
}
.other-scan .scan-text.data-v-1cf27b2a {
margin-top: 30rpx;
}
.scan-back.data-v-1cf27b2a {
position: absolute;
right: 60rpx;
top: auto;
color: #999999;
font-size: 32rpx;
}
@keyframes shrinkExpand-1cf27b2a {
0%, 100% {
width: 100%;
height: 100%;
}
50% {
width: 0%;
height: 0%;
}
}
/* 扫码遮罩层 */
.scan-mask.data-v-1cf27b2a {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
}
/* 半透明背景 */
.mask-bg.data-v-1cf27b2a {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
}
/* 中心容器 */
.mask-center.data-v-1cf27b2a {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
}
/* 扫码区域 */
.reader.data-v-1cf27b2a {
width: 600rpx;
height: 600rpx;
background: #000;
/* 可以用透明html5-qrcode 会覆盖视频流 */
border-radius: 16rpx;
box-sizing: border-box;
overflow: hidden;
font-size: 30rpx;
}
.result.data-v-1cf27b2a {
margin: 0 auto;
}
.back-imge.data-v-1cf27b2a {
position: absolute;
top: 100rpx;
left: 30rpx;
width: 50rpx;
height: 50rpx;
z-index: 1;
}
.jia-box.data-v-1cf27b2a {
position: absolute;
top: 0rpx;
@ -382,7 +249,7 @@
width: 30rpx;
height: 30rpx;
border-radius: 50%;
background-color: #01a8ff;
background-color: #fff;
color: #fff;
display: flex;
justify-content: center;
@ -399,14 +266,14 @@
height: 30rpx;
width: 50rpx;
margin-right: 15rpx;
background-color: #cbcdd8;
background-color: #fff;
}
.black-box.data-v-1cf27b2a {
border-radius: 20rpx;
height: 30rpx;
width: 50rpx;
margin-right: 15rpx;
background-color: #A4A8BD;
background-color: black;
}
.button-blue.data-v-1cf27b2a {
position: absolute;
@ -451,4 +318,12 @@
border: 2rpx solid #b1c0ca;
font-size: 33rpx;
margin-top: 80rpx;
}
.chuo-img.data-v-1cf27b2a {
position: absolute;
top: 30rpx;
right: 70rpx;
width: 160rpx;
height: 140rpx;
z-index: 3;
}

View File

@ -8,13 +8,16 @@ const _sfc_main = {
__name: "mine",
setup(__props) {
const phone = common_vendor.ref("");
common_vendor.ref("");
const platId = common_vendor.ref("");
common_vendor.onMounted(() => {
phone.value = common_vendor.index.getStorageSync("tel");
platId.value = common_vendor.index.getStorageSync("platId");
});
const cardMenu = [`机构信息`, `加盟审核`, `机构功能01`, `机构功能02`];
const cardMenu = [`机构信息`, `加盟审核`, `宣传页`, `机构功能02`];
const change = () => {
common_vendor.index.redirectTo({
url: `/pages/login/threeselectone`
common_vendor.index.navigateTo({
url: `/pages/login/threeselectonespec`
});
};
const exit = () => {
@ -24,20 +27,26 @@ const _sfc_main = {
switch (index) {
case 0:
common_vendor.index.navigateTo({
url: `/pages/login/workjoin?type=3`
url: `/pages/login/workjoinsuccess`
});
break;
case 1:
common_vendor.index.navigateTo({
url: `/pages/login/workjoin?type=1`
url: `/pages/login/workjoin`
});
break;
case 2:
common_vendor.index.navigateTo({
url: `/pages/login/special?no=true`
});
break;
}
};
return (_ctx, _cache) => {
return {
a: common_vendor.t(phone.value),
b: common_vendor.f(cardMenu, (item, index, i0) => {
a: common_vendor.t(platId.value),
b: common_vendor.t(phone.value),
c: common_vendor.f(cardMenu, (item, index, i0) => {
return common_vendor.e({
a: `https://www.focusnu.com/media/directive/index/mine/${index}.png`,
b: common_vendor.t(item),
@ -47,9 +56,9 @@ const _sfc_main = {
e: common_vendor.o(($event) => clickButton(index), index)
});
}),
c: common_vendor.o(change),
d: common_vendor.o(exit),
e: common_vendor.p({
d: common_vendor.o(change),
e: common_vendor.o(exit),
f: common_vendor.p({
itemTarget: 2
})
};

View File

@ -1 +1 @@
<view class="login-container data-v-dd3057bc"><image class="bgc-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/bgc.png"/><view class="ball data-v-dd3057bc"><image class="ball-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/head.png"/></view><view class="upfont data-v-dd3057bc"> 迷路往前走 </view><view class="phone data-v-dd3057bc">{{a}}</view><view class="data-v-dd3057bc" style="display:flex"><view class="badid data-v-dd3057bc"> ID </view><view class="data-v-dd3057bc" style="z-index:1"> 2839780810 </view></view><view class="white-father data-v-dd3057bc"><view wx:for="{{b}}" wx:for-item="item" wx:key="d" class="white-card data-v-dd3057bc" bindtap="{{item.e}}"><view class="white-left data-v-dd3057bc"><image class="white-left-imge data-v-dd3057bc" src="{{item.a}}"/><view class=" data-v-dd3057bc">{{item.b}}</view></view><view class="white-right data-v-dd3057bc"><view wx:if="{{item.c}}" class="data-v-dd3057bc" style="font-size:25rpx;margin-top:-4rpx">完善机构信息</view><image class="white-right-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view></view></view><view class="blue-button data-v-dd3057bc" bindtap="{{c}}"><image class="blue-button-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/change.png"/> 切换其他端口 </view><view class="white-button data-v-dd3057bc" bindtap="{{d}}"> 退出登录 </view><down-menu wx:if="{{e}}" class="data-v-dd3057bc" u-i="dd3057bc-0" bind:__l="__l" u-p="{{e}}"/></view>
<view class="login-container data-v-dd3057bc"><image class="bgc-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/bgc.png"/><view class="ball data-v-dd3057bc"><image class="ball-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/head.png"/></view><view class="data-v-dd3057bc" style="display:flex;margin-top:30rpx"><view class="badid data-v-dd3057bc"> ID </view><view class="data-v-dd3057bc" style="z-index:1;margin-top:-3rpx">{{a}}</view></view><view class="phone data-v-dd3057bc">{{b}}</view><view class="white-father data-v-dd3057bc"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="white-card data-v-dd3057bc" bindtap="{{item.e}}"><view class="white-left data-v-dd3057bc"><image class="white-left-imge data-v-dd3057bc" src="{{item.a}}"/><view class="data-v-dd3057bc" style="font-size:32rpx">{{item.b}}</view></view><view class="white-right data-v-dd3057bc"><view wx:if="{{item.c}}" class="data-v-dd3057bc" style="font-size:30rpx;margin-top:-4rpx">变更机构信息</view><image class="white-right-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view></view></view><view class="blue-button data-v-dd3057bc" bindtap="{{d}}"><image class="blue-button-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/change.png"/> 切换其他端口 </view><view class="white-button data-v-dd3057bc" bindtap="{{e}}"> 退出登录 </view><down-menu wx:if="{{f}}" class="data-v-dd3057bc" u-i="dd3057bc-0" bind:__l="__l" u-p="{{f}}"/></view>

View File

@ -2,13 +2,13 @@
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* 如果您是插件开发者,建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
* 如果您是App开发者插件使用者可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
@ -64,7 +64,7 @@
.login-container .phone.data-v-dd3057bc {
color: black;
z-index: 1;
font-size: 32rpx;
font-size: 38rpx;
font-weight: 600;
}
.login-container .badid.data-v-dd3057bc {
@ -128,7 +128,7 @@
color: #067ae9;
border-radius: 40rpx;
margin-top: 50rpx;
font-size: 30rpx;
font-size: 32rpx;
}
.blue-button .blue-button-imge.data-v-dd3057bc {
width: 40rpx;
@ -145,5 +145,5 @@
align-items: center;
border-radius: 40rpx;
margin-top: 30rpx;
font-size: 30rpx;
font-size: 32rpx;
}

View File

@ -21,6 +21,7 @@ const _sfc_main = {
common_vendor.index.setStorageSync("tel", res3.result.tel);
common_vendor.index.setStorageSync("token", res3.result.token);
common_vendor.index.setStorageSync("serverUrl", res3.result.serverUrl);
common_vendor.index.setStorageSync("platId", res3.result.platId);
common_vendor.index.redirectTo({
url: `/pages/login/special`
});
@ -28,6 +29,7 @@ const _sfc_main = {
common_vendor.index.setStorageSync("tel", res3.result.tel);
common_vendor.index.setStorageSync("token", res3.result.token);
common_vendor.index.setStorageSync("serverUrl", res3.result.serverUrl);
common_vendor.index.setStorageSync("platId", res3.result.platId);
common_vendor.index.setStorageSync("izJg", res3.result.izJg);
common_vendor.index.setStorageSync("izJs", res3.result.izJs);
common_vendor.index.setStorageSync("izYg", res3.result.izYg);
@ -55,7 +57,7 @@ const _sfc_main = {
});
},
fail(err) {
common_vendor.index.__f__("error", "at pages/login/callback.vue:279", "获取 code 失败:", err);
common_vendor.index.__f__("error", "at pages/login/callback.vue:281", "获取 code 失败:", err);
}
});
};

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