修改小程序bug
This commit is contained in:
parent
81a92488d2
commit
c5193d6dc8
|
|
@ -68,6 +68,7 @@
|
|||
<view class="one-left">机构位置</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择机构位置" v-model="form.address" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -75,6 +76,7 @@
|
|||
<view class="one" style="overflow: hidden;">
|
||||
<view class="one-left">详细地址</view>
|
||||
<input maxlength="30" class="one-right" placeholder="请输入详细地址" v-model="form.orgAddress" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
|
|
@ -82,6 +84,7 @@
|
|||
<view class="one-left">机构负责人</view>
|
||||
<input maxlength="5" class="one-right" type="text" placeholder="请输入机构负责人姓名"
|
||||
v-model="form.orgLeader" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
|
|
@ -89,6 +92,7 @@
|
|||
<view class="one-left">机构负责人电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入机构负责人电话"
|
||||
v-model="form.orgLeaderPhone" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -97,6 +101,7 @@
|
|||
<view class="one-left">房屋性质</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择房屋性质" v-model="form.orgPropertyType" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -110,6 +115,7 @@
|
|||
<view class="triangle-down-mi">
|
||||
m²
|
||||
</view>
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -475,7 +481,7 @@
|
|||
form.orgLeaderPhone = data.orgLeaderPhone;
|
||||
form.orgPropertyType = data.orgPropertyType;
|
||||
form.orgBuildingArea = data.orgBuildingArea;
|
||||
console.log("111",form)
|
||||
console.log("111", form)
|
||||
} else if (uni.getStorageSync('baddata')) {
|
||||
let data = uni.getStorageSync('baddata');
|
||||
if (data.orgProvince_dictText) {
|
||||
|
|
@ -490,9 +496,9 @@
|
|||
form.orgLeaderPhone = data.orgLeaderPhone;
|
||||
form.orgPropertyType = data.orgPropertyType;
|
||||
form.orgBuildingArea = data.orgBuildingArea;
|
||||
console.log("222",form)
|
||||
}else{
|
||||
|
||||
console.log("222", form)
|
||||
} else {
|
||||
|
||||
form.orgLeaderPhone = uni.getStorageSync('tel');
|
||||
}
|
||||
})
|
||||
|
|
@ -580,6 +586,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
|
||||
.one-left {
|
||||
margin-left: 10rpx;
|
||||
|
|
@ -592,15 +599,21 @@
|
|||
height: 100%;
|
||||
color: #999999;
|
||||
overflow: hidden;
|
||||
/* 隐藏超出内容 */
|
||||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
// font-size: 25rpx;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 330rpx;
|
||||
max-width: 300rpx;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -771,7 +784,7 @@
|
|||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 26rpx;
|
||||
right: 50rpx;
|
||||
font-size: 30rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,24 +46,29 @@
|
|||
<view class="one">
|
||||
<view class="one-left">姓名</view>
|
||||
<input class="one-right" maxlength="5" placeholder="请输入姓名" v-model="form.name" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
|
||||
<view class="one">
|
||||
<view class="one-left">电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入电话" v-model="form.tel" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">身份证号</view>
|
||||
<input class="one-right" type="number" maxlength="18" placeholder="请输入身份证号"
|
||||
v-model="form.idCard" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">家庭住址</view>
|
||||
<input class="one-right" maxlength="30" placeholder="请输入家庭住址" v-model="form.homeAddress" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">工作单位</view>
|
||||
<input class="one-right" maxlength="40" placeholder="请输入工作单位" v-model="form.workUnit" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -620,6 +625,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
|
||||
.one-left {
|
||||
margin-left: 10rpx;
|
||||
|
|
@ -639,8 +645,18 @@
|
|||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
text-overflow: ellipsis;
|
||||
max-width: 330rpx;
|
||||
max-width: 300rpx;
|
||||
}
|
||||
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
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);
|
||||
|
||||
|
|
|
|||
|
|
@ -38,23 +38,28 @@
|
|||
<view class="one">
|
||||
<view class="one-left">监护人姓名</view>
|
||||
<input class="one-right" disabled maxlength="5" placeholder="自动获取" v-model="form.name" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">监护人电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入监护人电话"
|
||||
v-model="form.tel"/>
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">身份证号</view>
|
||||
<input class="one-right" disabled maxlength="18" placeholder="自动获取" v-model="form.idCard" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">家庭住址</view>
|
||||
<input class="one-right" maxlength="30" placeholder="请输入家庭住址" v-model="form.homeAddress" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">工作单位</view>
|
||||
<input class="one-right" maxlength="40" placeholder="请输入工作单位" v-model="form.workUnit" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
|
@ -115,6 +120,7 @@
|
|||
<view class="one-left">医保类型</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择医保类型" v-model="form.medicalTypename" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showmarry" :list="showmarrylist" label-name="label"
|
||||
|
|
@ -123,6 +129,7 @@
|
|||
<view class="one-left">失能等级</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
:placeholder="showlevellist.length>0?'请选择失能等级':'无'" v-model="form.disabilityReimbursementTypename" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showlevel" :list="showlevellist" label-name="label"
|
||||
|
|
@ -920,12 +927,21 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
|
||||
.one-left {
|
||||
margin-left: 10rpx;
|
||||
font-size: 30rpx;
|
||||
width: 250rpx;
|
||||
}
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.one-right {
|
||||
margin-right: 10rpx;
|
||||
|
|
@ -936,7 +952,7 @@
|
|||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
text-overflow: ellipsis;
|
||||
max-width: 380rpx;
|
||||
max-width: 300rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1081,6 +1097,15 @@
|
|||
z-index: 3;
|
||||
width: 250rpx;
|
||||
}
|
||||
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.one-right {
|
||||
font-size: 30rpx;
|
||||
|
|
@ -1092,7 +1117,7 @@
|
|||
/* 不换行 */
|
||||
// font-size: 25rpx;
|
||||
text-overflow: ellipsis;
|
||||
width: 330rpx;
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@
|
|||
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);
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,15 @@
|
|||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="contentred" v-if="!applyStatus&&contentred">
|
||||
<view class="contentred-bgc">
|
||||
驳回原因:{{contentred}}
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="!applyStatus&&contentred">
|
||||
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
||||
<text style="word-break: break-all; width: 73%;">{{contentred}}</text>
|
||||
</view>
|
||||
<view class="white-message">
|
||||
<view>
|
||||
<view v-for="(item,index) in nameArray1" :key="index" class="one"
|
||||
|
|
@ -329,8 +338,9 @@
|
|||
alldata.value = JSON.parse(options.element);
|
||||
// console.log("???")
|
||||
let data = alldata.value
|
||||
if (data.content) {
|
||||
contentred.value = data.content
|
||||
console.log("00000",data)
|
||||
if (options.auditContent) {
|
||||
contentred.value = options.auditContent
|
||||
}
|
||||
textArray[0] = data.name;
|
||||
textArray[1] = data.sex;
|
||||
|
|
@ -562,21 +572,20 @@
|
|||
height: 700rpx;
|
||||
}
|
||||
|
||||
.contentred {
|
||||
.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);
|
||||
.contentred-bgc{
|
||||
background-color: rgb(240,228,228);
|
||||
border-radius: 15rpx;
|
||||
color: red;
|
||||
padding: 20rpx;
|
||||
padding-bottom: 30rpx;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
<view class="one-left">婚否</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择婚否" v-model="form.maritalStatus" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
|
||||
|
|
@ -35,35 +36,39 @@
|
|||
<view class="one-left">联系电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入联系电话"
|
||||
v-model="form.tel" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one" style="position: relative;">
|
||||
<view class="one-left">身高</view>
|
||||
<input class="one-right" type="number" maxlength="10" placeholder="请输入身高"
|
||||
v-model="form.showheight" />
|
||||
<input class="one-right" type="number" maxlength="10" placeholder="请输入身高"
|
||||
v-model="form.height" />
|
||||
<view class="triangle-down-mi">
|
||||
cm
|
||||
</view>
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showshengao" :list="showshengaolist"
|
||||
:default-value="[showshengaolist.findIndex(item => item.value == form.height)]"
|
||||
@confirm="confirmshowshengao"></u-select>
|
||||
<view class="one" style="position: relative;" >
|
||||
<view class="one" style="position: relative;">
|
||||
<view class="one-left">体重</view>
|
||||
<input class="one-right" type="number" maxlength="10" placeholder="请输入体重"
|
||||
v-model="form.showweight" />
|
||||
v-model="form.weight" />
|
||||
<view class="triangle-down-mi">
|
||||
kg
|
||||
</view>
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showtizhong" :list="showtizhonglist"
|
||||
:default-value="[showtizhonglist.findIndex(item => item.value == form.weight)]"
|
||||
:default-value="[showtizhonglist.findIndex(item => item.value == form.weight)]"
|
||||
@confirm="confirmshowtizhong"></u-select>
|
||||
<view class="one" style="position: relative;" @click="showhealth = true">
|
||||
<view class="one-left">健康状况</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择健康状况" v-model="form.healthStatus" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
|
||||
|
|
@ -74,6 +79,7 @@
|
|||
<view class="one-left">政治面貌</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择政治面貌" v-model="form.politicalAppearance" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
|
||||
|
|
@ -83,27 +89,31 @@
|
|||
<view class="one">
|
||||
<view class="one-left">紧急联系人</view>
|
||||
<input class="one-right" maxlength="5" placeholder="请输入紧急联系人" v-model="form.contactName" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">紧急联系人电话</view>
|
||||
<input class="one-right" maxlength="11" type="number" placeholder="请输入紧急联系人电话"
|
||||
v-model="form.contactTel" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">联系人与本人关系</view>
|
||||
<input class="one-right" maxlength="10" placeholder="请输入联系人与本人关系"
|
||||
v-model="form.contactRelationship" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one" style="position: relative;" @click="showform = true">
|
||||
<view class="one-left">户口性质</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择户口性质" v-model="form.hukouType" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">现住址</view>
|
||||
<input class="one-right" maxlength="30" placeholder="请输入现住址"
|
||||
v-model="form.currentAddress" />
|
||||
<input class="one-right" maxlength="30" placeholder="请输入现住址" v-model="form.currentAddress" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showform" :list="showformlist"
|
||||
@confirm="confirmshowform"></u-select>
|
||||
|
|
@ -328,14 +338,12 @@
|
|||
title: '请输入户口性质',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
else if (!form.currentAddress) {
|
||||
} else if (!form.currentAddress) {
|
||||
uni.showToast({
|
||||
title: '请输入现住址',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
const data = form
|
||||
const merged2 = {
|
||||
...uni.getStorageSync('backhuancun'),
|
||||
|
|
@ -501,6 +509,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
|
||||
.one-left {
|
||||
margin-left: 10rpx;
|
||||
|
|
@ -518,10 +527,19 @@
|
|||
/* 不换行 */
|
||||
// font-size: 25rpx;
|
||||
text-overflow: ellipsis;
|
||||
width: 330rpx;
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.triangle-down {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
@ -536,7 +554,7 @@
|
|||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 26rpx;
|
||||
right: 55rpx;
|
||||
font-size: 30rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
|
||||
.font-title {
|
||||
margin-top: 0rpx;
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@
|
|||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
|
||||
<view class="white-content">
|
||||
|
||||
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;">
|
||||
<view class="content-title" style="margin: 20rpx 0;justify-content: space-between;margin-top: 30rpx;">
|
||||
<view style="display: flex;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight" style="margin-top: -2rpx;">供应商信息</view>
|
||||
<view class="content-weight" style="margin-top: -2rpx;">营业执照</view>
|
||||
<image class="shu-img"
|
||||
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
|
||||
</view>
|
||||
|
|
@ -31,27 +31,10 @@
|
|||
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
||||
<text style="word-break: break-all; width: 73%;">{{datas.auditContent}}</text>
|
||||
</view>
|
||||
<view class="white-message">
|
||||
<view>
|
||||
<view v-for="(item,index) in nameArray1" :key="index" class="one"
|
||||
@click="openLook(textArray1[index])">
|
||||
<view class="one-left">{{item}}</view>
|
||||
<view class="one-right">{{textArray1[index] ? textArray1[index] : "自动获取" }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
<view class="content-title" :style="!applyStatus?{height: `100rpx`}:{height: `140rpx`}"
|
||||
style="position: relative;margin-bottom: 20rpx;z-index: 999;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">营业执照</view>
|
||||
|
||||
</view>
|
||||
<view class="white-photo" @click="getMessage(headImge)">
|
||||
<view class="photo-left">
|
||||
<view class="photo-weight">营业执照</view>
|
||||
<!-- <view class="photo-font">请上传营业执照</view> -->
|
||||
<view class="photo-weight"></view>
|
||||
<view class="photo-font">请上传营业执照</view>
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
|
|
@ -60,8 +43,26 @@
|
|||
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
|
||||
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
<view class="content-title" :style="!applyStatus?{height: `100rpx`}:{height: `140rpx`}"
|
||||
style="position: relative;margin-bottom: 20rpx;z-index: 999;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">供应商信息</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="white-message">
|
||||
<view>
|
||||
<view v-for="(item,index) in nameArray1" :key="index" class="one"
|
||||
@click="openLook(textArray1[index])">
|
||||
<view class="one-left">{{item}}</view>
|
||||
<view class="one-right">{{textArray1[index] ? textArray1[index] : "自动获取" }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view style="display: flex;width: 100%;" v-if="(code>0&&!datas.suppliersStatus)||(code>0&&datas.suppliersStatus==3)">
|
||||
<view class="finish-button" @click="next" >
|
||||
<text v-if="code==1">重新</text>申请
|
||||
|
|
@ -475,6 +476,7 @@
|
|||
height: 300rpx;
|
||||
border-radius: 35rpx;
|
||||
background-color: #fff;
|
||||
margin-bottom: 30rpx;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
|
@ -490,7 +492,7 @@
|
|||
margin-top: 20rpx;
|
||||
padding-top: 20rpx;
|
||||
padding-bottom: 20rpx;
|
||||
margin-bottom: 30rpx;
|
||||
|
||||
border-radius: 35rpx;
|
||||
background-color: #fff;
|
||||
justify-content: space-around;
|
||||
|
|
|
|||
|
|
@ -8,72 +8,28 @@
|
|||
</view>
|
||||
</view>
|
||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
|
||||
<view class="white-content" style="margin-top: 20rpx;">
|
||||
<view class="content-title">
|
||||
|
||||
<view class="white-content">
|
||||
<view class="content-title" style="margin-top: 10rpx;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">
|
||||
供应商信息
|
||||
营业执照
|
||||
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(必填)</view>
|
||||
</view>
|
||||
|
||||
<view class="content-img" style="display: flex;align-items: center;justify-content: flex-end;color: red;">
|
||||
<text v-if="form.suppliersStatus==1" >待审核</text>
|
||||
<text v-if="form.suppliersStatus==2" style="color: #0089FE;">审核通过</text>
|
||||
<text v-if="form.suppliersStatus==3">审核驳回</text>
|
||||
<text v-if="form.suppliersStatus==4">待审核</text>
|
||||
<text v-if="form.suppliersStatus==5">审核驳回</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="form.suppliersStatus==3||form.suppliersStatus==5">
|
||||
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
||||
<text style="word-break: break-all; width: 73%;">{{form.auditContent}}</text>
|
||||
</view>
|
||||
<view class="white-message">
|
||||
<view>
|
||||
<view class="one">
|
||||
<view class="one-left">供应商名称</view>
|
||||
<input class="one-right" maxlength="20" placeholder="请输入供应商名称" v-model="form.suppliersName" />
|
||||
</view>
|
||||
<view class="one" style="position: relative;" @click="showmarry = true">
|
||||
<view class="one-left">供应商性质</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择供应商性质" v-model="form.name" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showmarry" :list="showmarrylist"
|
||||
@confirm="confirmmarry"></u-select>
|
||||
<view class="one">
|
||||
<view class="one-left">供应商地址</view>
|
||||
<input class="one-right" maxlength="50" placeholder="请输入供应商地址"
|
||||
v-model="form.suppliersAddress" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">负责人</view>
|
||||
<input class="one-right" maxlength="8" placeholder="请输入负责人" v-model="form.personInCharge" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">联系电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入联系电话"
|
||||
v-model="form.contactNumber" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">开户行</view>
|
||||
<input class="one-right" maxlength="15" placeholder="请输入开户行" v-model="form.openingBank" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">开户行账号</view>
|
||||
<input class="one-right" maxlength="19" type="number" placeholder="请输入开户行账号" v-model="form.openingBankNo" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
<view class="white-content">
|
||||
<view class="content-title" style="margin-bottom: 25rpx;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">营业执照</view>
|
||||
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(必填)</view>
|
||||
<view class="content-img"
|
||||
style="display: flex;align-items: center;justify-content: flex-end;color: red;">
|
||||
<text v-if="form.suppliersStatus==1">待审核</text>
|
||||
<text v-if="form.suppliersStatus==2" style="color: #0089FE;">审核通过</text>
|
||||
<text v-if="form.suppliersStatus==3">审核驳回</text>
|
||||
<text v-if="form.suppliersStatus==4">待审核</text>
|
||||
<text v-if="form.suppliersStatus==5">审核驳回</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;"
|
||||
v-if="form.suppliersStatus==3||form.suppliersStatus==5">
|
||||
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
||||
<text style="word-break: break-all; width: 73%;">{{form.auditContent}}</text>
|
||||
</view>
|
||||
<view class="white-photo" @click="selectphoto()">
|
||||
<view class="photo-left">
|
||||
|
|
@ -89,17 +45,74 @@
|
|||
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
|
||||
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
<view style="display: flex;width: 100%;" >
|
||||
<view class="finish-button" style="background: #efecec;border: 1px solid #d4d4d4;color: #b9b2b2;" v-if="form.izModify==true">
|
||||
信息变更中
|
||||
<view class="white-content">
|
||||
<view class="content-title" style="margin-bottom: 25rpx;margin-top: 20rpx;">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">供应商信息</view>
|
||||
<view style="margin-top: 8rpx;margin-left: 12rpx;;font-size: 23rpx;">(必填)</view>
|
||||
</view>
|
||||
<view class="white-message">
|
||||
<view>
|
||||
<view class="one">
|
||||
<view class="one-left">供应商名称</view>
|
||||
<input class="one-right" maxlength="20" disabled placeholder="请输入供应商名称"
|
||||
v-model="form.suppliersName" />
|
||||
|
||||
</view>
|
||||
<view class="one" @click="showmarry = true">
|
||||
<view class="one-left">供应商性质</view>
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请选择供应商性质" v-model="form.name" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
<!-- <image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" /> -->
|
||||
</view>
|
||||
<u-select style="font-size: 35rpx;" v-model="showmarry" :list="showmarrylist"
|
||||
@confirm="confirmmarry"></u-select>
|
||||
<view class="one">
|
||||
<view class="one-left">供应商地址</view>
|
||||
<input class="one-right" maxlength="50" disabled placeholder="请输入供应商地址"
|
||||
v-model="form.suppliersAddress" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">负责人</view>
|
||||
<input class="one-right" maxlength="8" placeholder="请输入负责人" v-model="form.personInCharge" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">联系电话</view>
|
||||
<input class="one-right" type="number" maxlength="11" placeholder="请输入联系电话"
|
||||
v-model="form.contactNumber" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">开户行</view>
|
||||
<input class="one-right" maxlength="15" placeholder="请输入开户行" v-model="form.openingBank" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
<view class="one">
|
||||
<view class="one-left">开户行账号</view>
|
||||
<input class="one-right" maxlength="19" type="number" placeholder="请输入开户行账号"
|
||||
v-model="form.openingBankNo" />
|
||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view style="display: flex;width: 100%;">
|
||||
<view class="finish-button" style="background: #efecec;border: 1px solid #d4d4d4;color: #b9b2b2;"
|
||||
v-if="form.izModify==true">
|
||||
信息变更中
|
||||
</view>
|
||||
<view class="finish-button" @click="next" v-else>
|
||||
确认并提交
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow"></u-action-sheet>
|
||||
</div>
|
||||
|
|
@ -124,7 +137,9 @@
|
|||
applySupOrg
|
||||
} from './api/api.js'
|
||||
import model from "@/compontent/public/model.vue"
|
||||
import { log } from 'three';
|
||||
// import {
|
||||
// log
|
||||
// } from 'three';
|
||||
|
||||
|
||||
const uping = ref(true);
|
||||
|
|
@ -145,14 +160,14 @@ import { log } from 'three';
|
|||
]
|
||||
)
|
||||
const bottomlist = [{
|
||||
text: '拍照',
|
||||
fontSize: 40
|
||||
},{
|
||||
text: '从相册选择',
|
||||
fontSize: 40
|
||||
}, {
|
||||
text: '图片预览',
|
||||
fontSize: 40
|
||||
text: '拍照',
|
||||
fontSize: 40
|
||||
}, {
|
||||
text: '从相册选择',
|
||||
fontSize: 40
|
||||
}, {
|
||||
text: '图片预览',
|
||||
fontSize: 40
|
||||
}]
|
||||
|
||||
|
||||
|
|
@ -172,7 +187,7 @@ import { log } from 'three';
|
|||
// 负责人
|
||||
personInCharge: "",
|
||||
// 联系电话
|
||||
contactNumber: "",
|
||||
contactNumber: uni.getStorageSync('tel'),
|
||||
// 开户行
|
||||
openingBank: "",
|
||||
// 开户行账号
|
||||
|
|
@ -181,8 +196,8 @@ import { log } from 'three';
|
|||
imgPath: "",
|
||||
name: "",
|
||||
openId: uni.getStorageSync('openid'),
|
||||
applyOrg:"",
|
||||
orgCode:"",
|
||||
applyOrg: "",
|
||||
orgCode: "",
|
||||
})
|
||||
const bottomshow = ref(false)
|
||||
const selectphoto = () => {
|
||||
|
|
@ -200,7 +215,7 @@ import { log } from 'three';
|
|||
}
|
||||
const photoclick = (element) => {
|
||||
console.log(element)
|
||||
if (element==2) {
|
||||
if (element == 2) {
|
||||
uni.previewImage({
|
||||
urls: [`${media_base_url}${form.imgPath}`], // 必填,所有要预览的图片地址数组
|
||||
// current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
|
|
@ -212,7 +227,7 @@ import { log } from 'three';
|
|||
} else {
|
||||
uni.chooseImage({
|
||||
count: 1,
|
||||
sourceType:element==0? ['camera']:['album'],
|
||||
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||
success: chooseRes => {
|
||||
// tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||
uni.navigateTo({
|
||||
|
|
@ -243,11 +258,66 @@ import { log } from 'three';
|
|||
}
|
||||
})
|
||||
}
|
||||
// 上传图片到服务器
|
||||
function uploadImage(filePath) {
|
||||
uping.value = false;
|
||||
uni.showLoading()
|
||||
uni.uploadFile({
|
||||
url: `${base_url}/api/ocr/businessLicense`, // 替换为您的POST接口地址
|
||||
filePath,
|
||||
name: 'file', // 后端接收时的字段名
|
||||
header: {
|
||||
'X-Access-Token': uni.getStorageSync('token') || '',
|
||||
},
|
||||
formData: {
|
||||
biz: `temp`
|
||||
},
|
||||
success: uploadRes => {
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = true;
|
||||
|
||||
return
|
||||
}
|
||||
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName) {
|
||||
|
||||
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
|
||||
console.log("8888", father)
|
||||
form.suppliersName = father.companyName;
|
||||
form.suppliersAddress = father.businessAddress;
|
||||
// form.openingBankNo = Number(father.creditCode);
|
||||
form.personInCharge = father.legalPerson;
|
||||
savephoto(filePath);
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = true;
|
||||
uni.hideLoading()
|
||||
}
|
||||
},
|
||||
fail: err => {
|
||||
uni.showToast({
|
||||
title: '上传出错',
|
||||
icon: 'error'
|
||||
})
|
||||
uping.value = true;
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
}
|
||||
onShow(() => {
|
||||
const img = uni.getStorageSync('imgkey0')
|
||||
if (img) {
|
||||
// uploadImage(img)
|
||||
savephoto(img)
|
||||
uploadImage(img)
|
||||
// savephoto(img)
|
||||
uni.removeStorageSync('imgkey0')
|
||||
}
|
||||
})
|
||||
|
|
@ -307,7 +377,7 @@ import { log } from 'three';
|
|||
return /^1[3-9]\d{9}$/.test(val);
|
||||
}
|
||||
const next = () => {
|
||||
|
||||
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
|
|
@ -362,7 +432,7 @@ import { log } from 'three';
|
|||
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title:'正在加载~'
|
||||
title: '正在加载~'
|
||||
})
|
||||
gotopush()
|
||||
}
|
||||
|
|
@ -370,13 +440,13 @@ import { log } from 'three';
|
|||
|
||||
}
|
||||
const gotopush = () => {
|
||||
if (form.id&&form.suppliersStatus!=3) {
|
||||
if(!form.orgCode ){
|
||||
uni.showToast({
|
||||
if (form.id && form.suppliersStatus != 3) {
|
||||
if (!form.orgCode) {
|
||||
uni.showToast({
|
||||
title: '请选择机构',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
})
|
||||
return
|
||||
}
|
||||
editSuppliers(form).then((res) => {
|
||||
// console.log("res",res)
|
||||
|
|
@ -387,27 +457,27 @@ import { log } from 'three';
|
|||
uni.reLaunch({
|
||||
url: `/pages/addsupplier/successpush`
|
||||
});
|
||||
}else if(res.code == 500){
|
||||
} else if (res.code == 500) {
|
||||
uni.showToast({
|
||||
title:res.message,
|
||||
icon:'none'
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
})
|
||||
} else {
|
||||
if(!uni.getStorageSync('nostaffmessage')){
|
||||
uni.showToast({
|
||||
if (!uni.getStorageSync('nostaffmessage')) {
|
||||
uni.showToast({
|
||||
title: '请选择机构',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
addSuppliers(form).then((res) => {
|
||||
if(res.code == 500){
|
||||
if (res.code == 500) {
|
||||
uni.showToast({
|
||||
title:res.message,
|
||||
icon:'none'
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
uni.hideLoading()
|
||||
return
|
||||
|
|
@ -423,11 +493,11 @@ import { log } from 'three';
|
|||
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
|
||||
success: (res) => {
|
||||
|
||||
setTimeout(() =>
|
||||
{
|
||||
setTimeout(() => {
|
||||
uni.hideLoading()
|
||||
uni.setStorageSync(
|
||||
'isstaffchange', form.suppliersStatus==3?true:false);
|
||||
'isstaffchange', form
|
||||
.suppliersStatus == 3 ? true : false);
|
||||
uni.reLaunch({
|
||||
url: `/pages/addsupplier/successpush`
|
||||
});
|
||||
|
|
@ -508,6 +578,7 @@ import { log } from 'three';
|
|||
width: 400rpx;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.small-blue {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
@ -604,6 +675,8 @@ import { log } from 'three';
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
|
||||
|
||||
.one-left {
|
||||
margin-left: 10rpx;
|
||||
|
|
@ -617,15 +690,21 @@ import { log } from 'three';
|
|||
height: 100%;
|
||||
color: #999999;
|
||||
overflow: hidden;
|
||||
/* 隐藏超出内容 */
|
||||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
// font-size: 25rpx;
|
||||
text-overflow: ellipsis;
|
||||
width: 330rpx;
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.one-left-imge {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8rpx;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.triangle-down {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
|
||||
.font-title {
|
||||
margin-top: 0rpx;
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@
|
|||
flex-direction: column;
|
||||
min-height: calc(100vh);
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
// padding-top: 550rpx;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
.photo-imge {
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
.title-imge {
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
.title-imge {
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
|
||||
.font-title {
|
||||
margin-top: 0rpx;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
.photo-imge {
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
<template>
|
||||
<view class="login-container" :style="!workArray.length?{backgroundColor:`#F7F7F7`}:{}">
|
||||
<model :show="show" @close="show=false" :content="content" />
|
||||
<!-- <view class="title-back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<view style="font-size: 30rpx;">审核记录</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
|
|
@ -48,6 +42,9 @@
|
|||
<image style="margin-left: 10rpx;height: 28rpx;width: 28rpx;margin-right: 10rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/ruzhu/time.png" />
|
||||
{{item.createTime}}
|
||||
<view class="gray-border">
|
||||
{{item.modifyType===`zz`?`长者变更`:`监护人变更`}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="applying" v-if="item.modifyStatus===`1`">
|
||||
待审核
|
||||
|
|
@ -172,7 +169,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
|
@ -363,11 +360,22 @@
|
|||
}
|
||||
|
||||
.gray-font {
|
||||
// margin-left: 20rpx;
|
||||
font-size: 32rpx;
|
||||
margin-top: 20rpx;
|
||||
color: #B1B1B1;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.gray-border{
|
||||
color: black;
|
||||
// padding: 5rpx;
|
||||
padding: 5rpx 8rpx;
|
||||
border: 2rpx solid black;
|
||||
margin-left: 20rpx;
|
||||
font-size: 23rpx;
|
||||
border-radius: 13rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.gray-bgc {
|
||||
|
|
|
|||
|
|
@ -23,75 +23,89 @@
|
|||
<view class="two-card">
|
||||
<view class="left-card">
|
||||
NUID:{{ item.elderInfo && item.elderInfo.nuId }}
|
||||
<view class="left-card-view">
|
||||
<image class="left-card-imge" src="https://www.focusnu.com/media/directive/index/uniicon.png" />
|
||||
{{ item.nuName }}
|
||||
</view>
|
||||
<view
|
||||
style="font-size: 45rpx;font-weight: 600;margin-top: 10rpx;display: flex;justify-content: space-between;align-items: center;">
|
||||
style="font-size: 45rpx;font-weight: 600;margin-top: 70rpx;display: flex;justify-content: space-between;align-items: center;color: black;">
|
||||
{{ timeText }}
|
||||
<image style="width: 60rpx;height: 60rpx;"
|
||||
<image style="width: 50rpx;height: 50rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/oldmanphoto/time.png"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
</view>
|
||||
<view style="display: flex;color: #7C788D;margin-left: 5rpx;">
|
||||
<view style="display: flex;margin-left: 5rpx;">
|
||||
{{ dateText }}
|
||||
<view style="margin-left: 20rpx;">
|
||||
{{ weekdayText }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view style="display: flex;margin-top: 20rpx;justify-content: space-around;">
|
||||
<view style="display: flex;flex-direction: column;align-items: center;">
|
||||
<image style="width: 50rpx;height: 50rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/oldmanphoto/shi.png"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
<view style="display: flex;flex-direction: column;align-items: center;">
|
||||
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||
湿度
|
||||
</view>
|
||||
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== undefined && item.humidDeviceList[0].humidity !== null)
|
||||
? item.humidDeviceList[0].humidity
|
||||
: '—' }}%
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="display: flex;flex-direction: column;align-items: center;">
|
||||
<image style="width: 50rpx;height: 50rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/oldmanphoto/wen.png"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
<view style="display: flex;flex-direction: column;align-items: center;">
|
||||
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||
温度
|
||||
</view>
|
||||
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== undefined && item.humidDeviceList[0].temperature !== null) ? item.humidDeviceList[0].temperature : '—' }}℃
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="right-card">
|
||||
<view class="right-top-card">
|
||||
<image style="width: 80rpx;height: 80rpx;margin-right: 10rpx;"
|
||||
<image style="width: 70rpx;height: 70rpx;margin-right: 10rpx;"
|
||||
:src="`https://www.focusnu.com/media/directive/index/oldmanphoto/${item.elderInfo.sex == '男'?`old`:`woman`}.png`"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
<view class="">
|
||||
<view style="font-size: 32rpx;font-weight: 600;margin-bottom: 5rpx;">
|
||||
{{ (item.elderInfo && item.elderInfo.name) + '/' + getAge(item.elderInfo.dateOfBirth) + '岁' }}
|
||||
<view style="font-size: 32rpx;font-weight: 600;margin-bottom: 8rpx;">
|
||||
{{ (item.elderInfo && item.elderInfo.name) }}
|
||||
</view>
|
||||
<view style="color: #7C788D;margin-left: 5rpx;font-size: 22rpx;">
|
||||
<view style="margin-left: 5rpx;font-size: 20rpx;display: flex;">
|
||||
<view>
|
||||
{{ item.nuName }}
|
||||
{{ item.elderInfo?.sex }}
|
||||
</view>
|
||||
<view class="gray-shu">
|
||||
|
||||
</view>
|
||||
<view class="">
|
||||
<text style="font-weight: 600;">
|
||||
{{ getAge(item.elderInfo.dateOfBirth) }}岁
|
||||
</text>
|
||||
|
||||
</view>
|
||||
<view class="gray-shu">
|
||||
|
||||
</view>
|
||||
{{ item.elderInfo?.dateOfBirth.replace('年', '.').replace('月', '.').replace('日', '') }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
<view class="right-top-card"
|
||||
style="margin-top: 17rpx;padding: 0 30rpx;padding-top: 20rpx;font-size: 25rpx;">
|
||||
<view class="">
|
||||
{{ item.departName }}
|
||||
style="margin-top: 20rpx;padding: 0 30rpx;font-size: 25rpx;">
|
||||
|
||||
<view style="display: flex;flex-direction: column;width: 50%;padding-left: 15rpx;">
|
||||
<image style="width: 45rpx;height: 45rpx;margin-bottom: 5rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/oldmanphoto/shi.png"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
<view style="display: flex;">
|
||||
<view style="font-size: 23rpx;margin-right: 15rpx;">
|
||||
湿度
|
||||
</view>
|
||||
<view style="font-size: 25rpx;">
|
||||
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== undefined && item.humidDeviceList[0].humidity !== null)
|
||||
? item.humidDeviceList[0].humidity
|
||||
: '—' }}%
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="display: flex;flex-direction: column;width: 50%;padding-left: 15rpx;">
|
||||
<image style="width: 45rpx;height: 45rpx;margin-bottom: 5rpx;"
|
||||
src="https://www.focusnu.com/media/directive/index/oldmanphoto/wen.png"
|
||||
mode="widthFix" lazy-load="false" />
|
||||
<view style="display: flex;">
|
||||
<view style="font-size: 23rpx;margin-right: 15rpx;">
|
||||
温度
|
||||
</view>
|
||||
<view style="font-size: 25rpx;">
|
||||
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== undefined && item.humidDeviceList[0].temperature !== null) ? item.humidDeviceList[0].temperature : '—' }}℃
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -285,7 +299,7 @@
|
|||
ref,
|
||||
onMounted,
|
||||
onUnmounted,
|
||||
nextTick
|
||||
nextTick
|
||||
} from 'vue';
|
||||
import {
|
||||
onLoad,
|
||||
|
|
@ -648,10 +662,10 @@
|
|||
})
|
||||
}
|
||||
const hong = ref(0);
|
||||
const isred = ()=>{
|
||||
const isred = () => {
|
||||
hong.value = hong.value;
|
||||
isRead().then(res => {
|
||||
nextTick(()=>{
|
||||
nextTick(() => {
|
||||
hong.value = res.result;
|
||||
})
|
||||
})
|
||||
|
|
@ -673,7 +687,7 @@
|
|||
flex-direction: column;
|
||||
min-height: calc(100vh);
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
@ -1179,10 +1193,10 @@
|
|||
|
||||
.two-card {
|
||||
position: absolute;
|
||||
top: -20rpx;
|
||||
top: 8rpx;
|
||||
left: 3%;
|
||||
width: 94%;
|
||||
height: 340rpx;
|
||||
height: 310rpx;
|
||||
// background-color: red;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
|
|
@ -1192,10 +1206,24 @@
|
|||
width: 50%;
|
||||
background-color: #fff;
|
||||
border-radius: 50rpx;
|
||||
color: #5D5F66;
|
||||
// display: flex;
|
||||
padding: 0 30rpx;
|
||||
padding: 0 40rpx;
|
||||
padding-top: 40rpx;
|
||||
font-size: 21rpx;
|
||||
.left-card-view{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 23rpx;
|
||||
margin-top: 10rpx;
|
||||
color: black;
|
||||
|
||||
.left-card-imge{
|
||||
width: 25rpx;
|
||||
height: 25rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.right-card {
|
||||
|
|
@ -1204,8 +1232,8 @@
|
|||
|
||||
.right-top-card {
|
||||
width: 95%;
|
||||
margin-left: 4%;
|
||||
height: 163rpx;
|
||||
margin-left: 5%;
|
||||
height: 145.5rpx;
|
||||
border-radius: 50rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
|
|
@ -1214,4 +1242,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gray-shu {
|
||||
height: 23rpx;
|
||||
width: 3rpx;
|
||||
background-color: #CDCDCD;
|
||||
margin: auto 7rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<!-- <view style="font-size: 30rpx;">机构加盟</view> -->
|
||||
<view style="font-size: 30rpx;">绑定护理单元</view>
|
||||
</view>
|
||||
</view>
|
||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
|
||||
|
|
|
|||
|
|
@ -91,11 +91,8 @@
|
|||
uni.navigateTo({
|
||||
url: "/pages/oldmanindex/flushJobs"
|
||||
})
|
||||
// changeData()
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/workjoinsuccess`
|
||||
// });
|
||||
|
||||
|
||||
break;
|
||||
case 1:
|
||||
// loadingData()
|
||||
|
|
@ -192,7 +189,7 @@
|
|||
// min-height: 300rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: #fff;
|
||||
// padding: 30rpx 0;
|
||||
padding: 30rpx 0;
|
||||
z-index: 1;
|
||||
|
||||
.white-card {
|
||||
|
|
|
|||
|
|
@ -4,13 +4,16 @@
|
|||
<!-- <view class="white-content"> -->
|
||||
<image style="width: 200rpx;height:200rpx" :src="isjianhu?`https://www.focusnu.com/media/directive/index/jumpImge/jianhu.png`: `https://www.focusnu.com/media/directive/index/jumpImge/addold.png`" />
|
||||
<view class="white-font">
|
||||
尊敬的用户,您已成功{{ ischange? '修改':"添加" }}{{ isjianhu?`监护人`: `长者` }}信息 {{ ischange? '请等待机构审核':"" }}
|
||||
尊敬的用户,您已成功{{ ischange? '修改':"添加" }}{{ isjianhu?`监护人`: `长者` }}信息
|
||||
</view>
|
||||
<view class="bottom-font">
|
||||
<text style="color: #068DFF;">{{ seconds }}秒后</text>自动跳转到长者端 ...
|
||||
|
||||
<!-- <text style="color: #068DFF;">{{ seconds }}秒后</text>自动跳转到长者端 ... -->
|
||||
{{ ischange? '请等待机构审核':"" }}
|
||||
</view>
|
||||
<!-- </view> -->
|
||||
<view class="bottom-button" @click="goToBack">
|
||||
我的长者
|
||||
</view>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -25,7 +28,7 @@
|
|||
onUnload
|
||||
} from '@dcloudio/uni-app';
|
||||
|
||||
const seconds = ref(6)
|
||||
// const seconds = ref(6)
|
||||
|
||||
const goBack = () => {
|
||||
uni.navigateBack()
|
||||
|
|
@ -36,7 +39,7 @@
|
|||
const isjianhu = ref(false)
|
||||
onLoad((element) => {
|
||||
// 保证每次进页面都从 6 开始
|
||||
seconds.value = 6
|
||||
// seconds.value = 6
|
||||
// console.log("????",element)
|
||||
if(element.type){
|
||||
ischange.value = true
|
||||
|
|
@ -45,23 +48,23 @@
|
|||
isjianhu.value = true;
|
||||
}
|
||||
// 每 1 秒减 1,减到 0 清理计时器(不做其他动作)
|
||||
timer = setInterval(() => {
|
||||
if (seconds.value > 0) {
|
||||
seconds.value -= 1
|
||||
} else {
|
||||
clearInterval(timer)
|
||||
timer = null;
|
||||
goToBack()
|
||||
}
|
||||
}, 1000)
|
||||
// timer = setInterval(() => {
|
||||
// if (seconds.value > 0) {
|
||||
// seconds.value -= 1
|
||||
// } else {
|
||||
// clearInterval(timer)
|
||||
// timer = null;
|
||||
// goToBack()
|
||||
// }
|
||||
// }, 1000)
|
||||
})
|
||||
|
||||
// 页面卸载时清理(防止内存泄漏)
|
||||
onUnload(() => {
|
||||
if (timer) {
|
||||
clearInterval(timer)
|
||||
timer = null
|
||||
}
|
||||
// if (timer) {
|
||||
// clearInterval(timer)
|
||||
// timer = null
|
||||
// }
|
||||
})
|
||||
const goToBack = () => {
|
||||
uni.reLaunch({
|
||||
|
|
@ -76,7 +79,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
|
|
@ -109,4 +112,23 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.bottom-button {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0rpx;
|
||||
margin-top: 80rpx;
|
||||
margin-bottom: 90rpx;
|
||||
width: 80%;
|
||||
height: 90rpx;
|
||||
border-radius: 35rpx;
|
||||
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
|
||||
border: 2rpx solid #9AD1FF;
|
||||
color: #007CFF;
|
||||
font-size: 33rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 3;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@
|
|||
flex-direction: column;
|
||||
min-height: calc(100vh);
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<view class="tianjia" @click="search">
|
||||
<!-- <view class="tianjia" @click="search">
|
||||
检索
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view
|
||||
style="width: 100%;margin-top: 170rpx;display: flex;flex-direction: column;justify-content: center;align-items: center;"
|
||||
|
|
@ -395,7 +395,7 @@
|
|||
|
||||
|
||||
.input-all {
|
||||
width: 500rpx;
|
||||
width: 625rpx;
|
||||
height: 65rpx;
|
||||
border-radius: 30rpx;
|
||||
background-color: #F7F7F7;
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@
|
|||
<view style="display: flex;width: 100%;margin-top: 30rpx;align-items: center;">
|
||||
<view class="blue-shu"></view>
|
||||
<view class="blue-font">
|
||||
入住机构
|
||||
入驻机构
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
|
@ -359,62 +359,69 @@
|
|||
});
|
||||
}
|
||||
const again = (item) => {
|
||||
|
||||
getMessageList().then(res => {
|
||||
console.log("这里面有啥", res.result[0])
|
||||
let data = res.result[0]
|
||||
data = {
|
||||
...data,
|
||||
dateOfBirth: data.birthDate,
|
||||
marriedOrNot: data.maritalStatus,
|
||||
address: data.address,
|
||||
emergencyContact: data.contactName,
|
||||
emergencyTel: data.contactTel,
|
||||
emergencyRelationship: data.contactRelationship,
|
||||
hukouNature: data.hukouType,
|
||||
idCardPositive: data.cardZmPath,
|
||||
idCardNegative: data.cardFmPath,
|
||||
healthCertificatePositive: data.healthZmPath,
|
||||
healthCertificateNegative: data.healthFmPath,
|
||||
bankPositive: data.bankZmPath,
|
||||
bankNegative: data.bankFmPath,
|
||||
qualification: data.qualificationPath,
|
||||
noCrimeCertificate: data.noCrimeCertificate,
|
||||
houseAddress: data.idCardAddress,
|
||||
employeeId: data.id,
|
||||
id: null,
|
||||
createTime: null,
|
||||
updateBy: null,
|
||||
updateTime: null,
|
||||
orgCode: item.orgCode
|
||||
getMessageList(item.orgCode).then(res => {
|
||||
uni.setStorageSync("changeyuangongorgCode", item.orgCode)
|
||||
if (res.success) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&auditContent=${item.auditContent}`
|
||||
});
|
||||
}
|
||||
Apply(data).then((data) => {
|
||||
if (data.success) {
|
||||
uni.requestSubscribeMessage({
|
||||
// 这里填后台申请好的 templateId 数组
|
||||
tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
|
||||
success: (res) => {
|
||||
popupshow.value = true
|
||||
setTimeout(() => {
|
||||
loadingData()
|
||||
}, 1000)
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error('订阅接口调用失败:', err);
|
||||
uni.showToast({
|
||||
title: '订阅失败',
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
|
||||
})
|
||||
// getMessageList().then(res => {
|
||||
// console.log("这里面有啥", res.result[0])
|
||||
// let data = res.result[0]
|
||||
// data = {
|
||||
// ...data,
|
||||
// dateOfBirth: data.birthDate,
|
||||
// marriedOrNot: data.maritalStatus,
|
||||
// address: data.address,
|
||||
// emergencyContact: data.contactName,
|
||||
// emergencyTel: data.contactTel,
|
||||
// emergencyRelationship: data.contactRelationship,
|
||||
// hukouNature: data.hukouType,
|
||||
// idCardPositive: data.cardZmPath,
|
||||
// idCardNegative: data.cardFmPath,
|
||||
// healthCertificatePositive: data.healthZmPath,
|
||||
// healthCertificateNegative: data.healthFmPath,
|
||||
// bankPositive: data.bankZmPath,
|
||||
// bankNegative: data.bankFmPath,
|
||||
// qualification: data.qualificationPath,
|
||||
// noCrimeCertificate: data.noCrimeCertificate,
|
||||
// houseAddress: data.idCardAddress,
|
||||
// employeeId: data.id,
|
||||
// id: null,
|
||||
// createTime: null,
|
||||
// updateBy: null,
|
||||
// updateTime: null,
|
||||
// orgCode: item.orgCode
|
||||
// }
|
||||
// Apply(data).then((data) => {
|
||||
// if (data.success) {
|
||||
// uni.requestSubscribeMessage({
|
||||
// // 这里填后台申请好的 templateId 数组
|
||||
// tmplIds: ['cWVzXm1C-iitx1gNFn1nZdijq9R_3fCv8vLbiqs9zww'],
|
||||
// success: (res) => {
|
||||
// popupshow.value = true
|
||||
// setTimeout(() => {
|
||||
// loadingData()
|
||||
// }, 1000)
|
||||
// },
|
||||
// fail: (err) => {
|
||||
// console.error('订阅接口调用失败:', err);
|
||||
// uni.showToast({
|
||||
// title: '订阅失败',
|
||||
// icon: 'none'
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
|
||||
|
||||
// }
|
||||
|
||||
|
||||
// })
|
||||
|
||||
// })
|
||||
}
|
||||
const jumpTo = () => {
|
||||
uni.navigateTo({
|
||||
|
|
@ -474,7 +481,7 @@
|
|||
})
|
||||
})
|
||||
getMessageList().then(res => {
|
||||
console.log("special", res)
|
||||
// console.log("special", res)
|
||||
uni.setStorageSync("staff", res.result[0])
|
||||
})
|
||||
}
|
||||
|
|
@ -550,7 +557,7 @@
|
|||
flex-direction: column;
|
||||
min-height: calc(100vh);
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<view class="tianjia" @click="search">
|
||||
<!-- <view class="tianjia" @click="search">
|
||||
检索
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view style="width: 100%;display: flex;flex-wrap: wrap;">
|
||||
<view v-for="(item,index) in hulijigouArray" :key="index" class="zhiling-box-card"
|
||||
|
|
@ -389,7 +389,7 @@
|
|||
|
||||
|
||||
.input-all {
|
||||
width: 500rpx;
|
||||
width: 625rpx;
|
||||
height: 65rpx;
|
||||
border-radius: 30rpx;
|
||||
background-color: #F7F7F7;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,7 @@
|
|||
<template>
|
||||
<view class="login-container" :style="!workArray.length?{backgroundColor:`#F7F7F7`}:{}">
|
||||
<model :show="show" @close="show=false" :content="content" />
|
||||
<!-- <view class="title-back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<view style="font-size: 30rpx;">审核记录</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
|
|
@ -80,11 +75,12 @@
|
|||
</view>
|
||||
</view>
|
||||
<view style="width: 100%;display: flex;justify-content: center;">
|
||||
<view class="blue-button"
|
||||
<!-- 重新申请暂不展示 -->
|
||||
<!-- <view class="blue-button"
|
||||
v-if="item.applyStatus != 1 && item.applyStatus != 2 && item.izHistory == `N` && item.applyType!=`2`"
|
||||
@click.stop="again(item)">
|
||||
重新申请
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="white-button"
|
||||
v-if="item.applyStatus != 1 && item.applyStatus != 2 && item.applyType !='0'"
|
||||
@click.stop="openLook(item.auditContent)">
|
||||
|
|
@ -202,7 +198,7 @@
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
background-color: #F7F7F7;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue