This commit is contained in:
parent
c5193d6dc8
commit
70d2aefcc0
|
|
@ -14,13 +14,20 @@ export function changemessage(data,ukey){
|
||||||
//根据手机号获取机构加盟申请信息
|
//根据手机号获取机构加盟申请信息
|
||||||
export function getMessageList(id){
|
export function getMessageList(id){
|
||||||
return request({
|
return request({
|
||||||
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}&status=1,2,3`,
|
url: `/api/orgApplyInfo/queryOrgHomePageList?openId=${id}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function queryOrgHis(id){
|
||||||
|
return request({
|
||||||
|
url: `/api/orgApplyInfo/queryOrgHis?openId=${id}&optType=rz,bg`,
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export function getMessageListsuccess(id){
|
export function getMessageListsuccess(id){
|
||||||
return request({
|
return request({
|
||||||
url: `/api/orgApplyInfo/queryAuditInfo?status=0,2,4,5&openId=${id}`,
|
url: `/api/orgApplyInfo/queryOrgHis?openId=${id}&optType=rbg`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,10 @@
|
||||||
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
|
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
|
||||||
const textArray = reactive(["", "", "", ""]);
|
const textArray = reactive(["", "", "", ""]);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -116,7 +119,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [headImge.value], // 必填,所有要预览的图片地址数组
|
urls: [headImge.value], // 必填,所有要预览的图片地址数组
|
||||||
current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -126,7 +129,19 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0&size=1`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,10 @@
|
||||||
|
|
||||||
const bottomshow = ref(false);
|
const bottomshow = ref(false);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -134,7 +137,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
||||||
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -144,7 +147,19 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,8 @@
|
||||||
<view>
|
<view>
|
||||||
<view class="one">
|
<view class="one">
|
||||||
<view class="one-left">机构负责人</view>
|
<view class="one-left">机构负责人</view>
|
||||||
<input maxlength="5" class="one-right" type="text" placeholder="请输入机构负责人姓名"
|
<input :maxlength="fzrmax" class="one-right" type="text" placeholder="请输入机构负责人姓名"
|
||||||
|
@focus="fzrmax = 30" @blur="fzrmax = 5"
|
||||||
v-model="form.orgLeader" />
|
v-model="form.orgLeader" />
|
||||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -185,7 +186,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
const fzrmax = ref(5)
|
||||||
function onSelect1(arr) {
|
function onSelect1(arr) {
|
||||||
form.orgPropertyType = arr[0].label
|
form.orgPropertyType = arr[0].label
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -118,13 +118,15 @@
|
||||||
relationship: ""
|
relationship: ""
|
||||||
})
|
})
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}]
|
}]
|
||||||
|
|
||||||
function isValid11DigitNumber(val) {
|
function isValid11DigitNumber(val) {
|
||||||
// return /^(\d{11})$/.test(val);
|
// return /^(\d{11})$/.test(val);
|
||||||
return /^1[3-9]\d{9}$/.test(val);
|
return /^1[3-9]\d{9}$/.test(val);
|
||||||
|
|
@ -134,7 +136,7 @@
|
||||||
return /^(\d{18})$/.test(val);
|
return /^(\d{18})$/.test(val);
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [specialImgeshow.value], // 必填,所有要预览的图片地址数组
|
urls: [specialImgeshow.value], // 必填,所有要预览的图片地址数组
|
||||||
current: specialImgeshow.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
current: specialImgeshow.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -144,7 +146,18 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
angetMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,10 @@
|
||||||
|
|
||||||
const bottomshow = ref(false);
|
const bottomshow = ref(false);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -230,7 +233,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [headImge.value, backImge.value, specialImgeshow.value], // 必填,所有要预览的图片地址数组
|
urls: [headImge.value, backImge.value, specialImgeshow.value], // 必填,所有要预览的图片地址数组
|
||||||
current: targetphoto.value ? (targetphoto.value == 1 ? backImge.value : specialImgeshow
|
current: targetphoto.value ? (targetphoto.value == 1 ? backImge.value : specialImgeshow
|
||||||
|
|
@ -241,7 +244,19 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="goBack">
|
<view class="left-father" @click="uni.navigateBack({delta:2})">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<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>
|
||||||
|
|
@ -118,7 +118,10 @@
|
||||||
|
|
||||||
const bottomshow = ref(false);
|
const bottomshow = ref(false);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -140,7 +143,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
||||||
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -150,7 +153,19 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
// tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0&size=1`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,22 +23,30 @@
|
||||||
<view style="display: flex;">
|
<view style="display: flex;">
|
||||||
<view class="shu"></view>
|
<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"
|
<!-- <image class="shu-img" v-if="(alldata.applyStatus==1&&alldata.applyStatus==4)||code==1"
|
||||||
:src="applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[applyStatus-1]}.png`:``" />
|
:src="alldata.applyStatus? `https://www.focusnu.com/media/directive/index/${statusarray[alldata.applyStatus-1]}.png`:``" /> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="small-blue" @click="changeMessage" v-if="!applyStatus">
|
<view class="small-blue" @click="changeMessage" v-if="alldata.applyStatus!=1&&alldata.applyStatus!=4&&code<0">
|
||||||
编辑
|
编辑
|
||||||
</view>
|
</view>
|
||||||
|
<view class="content-img"
|
||||||
|
style="display: flex;align-items: center;justify-content: flex-end;color: red;">
|
||||||
|
<text v-if="alldata.applyStatus==1">待审核</text>
|
||||||
|
<text v-if="alldata.applyStatus==2" style="color: #0089FE;">审核通过</text>
|
||||||
|
<text v-if="alldata.applyStatus==3">审核驳回</text>
|
||||||
|
<text v-if="alldata.applyStatus==4">待审核</text>
|
||||||
|
<text v-if="alldata.applyStatus==5">审核驳回</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="contentred" v-if="!applyStatus&&contentred">
|
<!-- <view class="contentred" v-if="!applyStatus&&contentred">
|
||||||
<view class="contentred-bgc">
|
<view class="contentred-bgc">
|
||||||
驳回原因:{{contentred}}
|
驳回原因:{{contentred}}
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="!applyStatus&&contentred">
|
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="(alldata.applyStatus==3||alldata.applyStatus==5)&&alldata.auditContent">
|
||||||
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
<text style="color: #222;margin-left: 40rpx;width: 20%;white-space: nowrap;">驳回原因:</text>
|
||||||
<text style="word-break: break-all; width: 73%;">{{contentred}}</text>
|
<text style="word-break: break-all; width: 73%;">{{alldata.auditContent}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="white-message">
|
<view class="white-message">
|
||||||
<view>
|
<view>
|
||||||
|
|
@ -94,7 +102,7 @@
|
||||||
<view v-for="(item,index) in nameArray" :key="index" class="one"
|
<view v-for="(item,index) in nameArray" :key="index" class="one"
|
||||||
@click="openLook(textArray[index])">
|
@click="openLook(textArray[index])">
|
||||||
<view class="one-left">{{item}}</view>
|
<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>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -146,7 +154,7 @@
|
||||||
<view v-for="(item,index) in nameArray0" :key="index" class="one"
|
<view v-for="(item,index) in nameArray0" :key="index" class="one"
|
||||||
@click="openLook(textArray0[index])">
|
@click="openLook(textArray0[index])">
|
||||||
<view class="one-left">{{item}}</view>
|
<view class="one-left">{{item}}</view>
|
||||||
<view class="one-right">{{textArray0[index] ? textArray0[index] : "自动获取" }}</view>
|
<view class="one-right">{{textArray0[index] ? textArray0[index] : "无" }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -329,19 +337,16 @@
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}
|
}
|
||||||
const alldata = ref("");
|
const alldata = ref("");
|
||||||
const contentred = ref("")
|
const applyStatus = ref("")
|
||||||
const applyStatus = ref(false);
|
const code = ref(-1);
|
||||||
onLoad((options) => {
|
onLoad((options) => {
|
||||||
if (options.applyStatus) {
|
if(options.code==1){
|
||||||
applyStatus.value = options.applyStatus
|
code.value = 1
|
||||||
}
|
}
|
||||||
alldata.value = JSON.parse(options.element);
|
alldata.value = JSON.parse(options.element);
|
||||||
// console.log("???")
|
// console.log("???")
|
||||||
let data = alldata.value
|
let data = alldata.value
|
||||||
console.log("00000",data)
|
console.log("00000",data)
|
||||||
if (options.auditContent) {
|
|
||||||
contentred.value = options.auditContent
|
|
||||||
}
|
|
||||||
textArray[0] = data.name;
|
textArray[0] = data.name;
|
||||||
textArray[1] = data.sex;
|
textArray[1] = data.sex;
|
||||||
textArray[2] = data.idCard;
|
textArray[2] = data.idCard;
|
||||||
|
|
@ -373,7 +378,9 @@
|
||||||
"contactTel",
|
"contactTel",
|
||||||
"contactRelationship",
|
"contactRelationship",
|
||||||
"hukouType",
|
"hukouType",
|
||||||
"currentAddress"
|
"currentAddress",
|
||||||
|
"applyStatus",
|
||||||
|
"auditContent"
|
||||||
]
|
]
|
||||||
|
|
||||||
keys.forEach((key, index) => {
|
keys.forEach((key, index) => {
|
||||||
|
|
@ -385,7 +392,7 @@
|
||||||
})
|
})
|
||||||
const changeMessage = () => {
|
const changeMessage = () => {
|
||||||
// console.log("????", alldata.value)
|
// console.log("????", alldata.value)
|
||||||
if (alldata.value.modifyState == '1') {
|
if (alldata.value.applyStatus == '1') {
|
||||||
openLook("该信息正在审核中,请等待")
|
openLook("该信息正在审核中,请等待")
|
||||||
} else {
|
} else {
|
||||||
uni.setStorageSync("baddata", alldata.value)
|
uni.setStorageSync("baddata", alldata.value)
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="goBack">
|
<view class="left-father" @click="uni.navigateBack({delta:3})">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<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>
|
||||||
|
|
@ -101,7 +101,10 @@
|
||||||
|
|
||||||
const bottomshow = ref(false);
|
const bottomshow = ref(false);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -123,7 +126,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
||||||
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -133,7 +136,20 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
// 拍照成功后,调用上传函数
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="goBack">
|
<view class="left-father" @click="uni.navigateBack({delta:4})">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<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>
|
||||||
|
|
@ -147,7 +147,10 @@
|
||||||
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
|
const nameArray = ["企业名称", "注册地址", "信用代码", "法人"];
|
||||||
const textArray = reactive(["", "", "", ""]);
|
const textArray = reactive(["", "", "", ""]);
|
||||||
const bottomlist = [{
|
const bottomlist = [{
|
||||||
text: '拍摄图片',
|
text: '拍照',
|
||||||
|
fontSize: 40
|
||||||
|
}, {
|
||||||
|
text: '从相册选择',
|
||||||
fontSize: 40
|
fontSize: 40
|
||||||
}, {
|
}, {
|
||||||
text: '图片预览',
|
text: '图片预览',
|
||||||
|
|
@ -173,7 +176,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
const photoclick = (element) => {
|
const photoclick = (element) => {
|
||||||
if (element) {
|
if (element==2) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [`${media_base_url}${imgArray[imgetarget.value]}`], // 必填,所有要预览的图片地址数组
|
urls: [`${media_base_url}${imgArray[imgetarget.value]}`], // 必填,所有要预览的图片地址数组
|
||||||
// current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
// current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||||
|
|
@ -183,7 +186,19 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getMessage()
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
sourceType: element == 0 ? ['camera'] : ['album'],
|
||||||
|
success: chooseRes => {
|
||||||
|
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/compontent/public/camera?url=${chooseRes.tempFilePaths[0]}&type=0&size=1`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: err => {
|
||||||
|
console.error('拍照失败:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,27 @@
|
||||||
<view class="content-title">
|
<view class="content-title">
|
||||||
<view class="shu"></view>
|
<view class="shu"></view>
|
||||||
<view class="content-weight">个人信息</view>
|
<view class="content-weight">个人信息</view>
|
||||||
|
<view class="content-img"
|
||||||
|
style="display: flex;align-items: center;justify-content: flex-end;color: red;">
|
||||||
|
<view class="applying" v-if="form.applyStatus===`1`&&form.applyType =='0'">
|
||||||
|
待确认
|
||||||
|
</view>
|
||||||
|
<view class="applysuccess" v-if="form.applyStatus===`2`&&form.applyType =='0'">
|
||||||
|
已接受
|
||||||
|
</view>
|
||||||
|
<view class="applyfail" v-if="form.applyStatus===`3`&&form.applyType =='0'">
|
||||||
|
已拒绝
|
||||||
|
</view>
|
||||||
|
<text v-if="form.applyStatus==1&&form.applyType >0">待审核</text>
|
||||||
|
<text v-if="form.applyStatus==2&&form.applyType >0" style="color: #0089FE;">审核通过</text>
|
||||||
|
<text v-if="form.applyStatus==3&&form.applyType >0">审核驳回</text>
|
||||||
|
<text v-if="form.applyStatus==4">待审核</text>
|
||||||
|
<text v-if="form.applyStatus==5">审核驳回</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="margin:0 auto 0;width: 100%;color: red;display: flex;" v-if="(form.applyStatus==3||form.applyStatus==5)&&form.auditContent">
|
||||||
|
<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>
|
||||||
<view class="white-message">
|
<view class="white-message">
|
||||||
<view>
|
<view>
|
||||||
|
|
@ -88,7 +109,7 @@
|
||||||
|
|
||||||
<view class="one">
|
<view class="one">
|
||||||
<view class="one-left">紧急联系人</view>
|
<view class="one-left">紧急联系人</view>
|
||||||
<input class="one-right" maxlength="5" placeholder="请输入紧急联系人" v-model="form.contactName" />
|
<input class="one-right" :maxlength="jjlxrmax" placeholder="请输入紧急联系人" @focus="jjlxrmax = 50" @blur="jjlxrmax = 8" v-model="form.contactName" />
|
||||||
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
<image class="one-left-imge" src="https://www.focusnu.com/media/directive/index/canread.png" />
|
||||||
</view>
|
</view>
|
||||||
<view class="one">
|
<view class="one">
|
||||||
|
|
@ -147,6 +168,7 @@
|
||||||
|
|
||||||
|
|
||||||
// const showmarry
|
// const showmarry
|
||||||
|
const jjlxrmax = ref(8)
|
||||||
|
|
||||||
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
|
const nameArray = ["姓名", "性别", "身份证号码", "民族", "出生日期", "住址", "签发机关", "有效期限"];
|
||||||
const textArray = reactive(["", "", "", "", "", "", "", ""]);
|
const textArray = reactive(["", "", "", "", "", "", "", ""]);
|
||||||
|
|
@ -378,7 +400,9 @@
|
||||||
"contactTel",
|
"contactTel",
|
||||||
"contactRelationship",
|
"contactRelationship",
|
||||||
"hukouType",
|
"hukouType",
|
||||||
"currentAddress"
|
"currentAddress",
|
||||||
|
'auditContent',
|
||||||
|
"applyStatus"
|
||||||
]
|
]
|
||||||
|
|
||||||
keys.forEach(key => {
|
keys.forEach(key => {
|
||||||
|
|
|
||||||
|
|
@ -168,12 +168,12 @@
|
||||||
<view class="middle-small">
|
<view class="middle-small">
|
||||||
<image class="middle-small-img"
|
<image class="middle-small-img"
|
||||||
:src="`https://www.focusnu.com/media/directive/index/jigouindex/houqin.png`" />
|
:src="`https://www.focusnu.com/media/directive/index/jigouindex/houqin.png`" />
|
||||||
后勤
|
机构信息
|
||||||
</view>
|
</view>
|
||||||
<view class="middle-small">
|
<view class="middle-small">
|
||||||
<image class="middle-small-img"
|
<image class="middle-small-img"
|
||||||
:src="`https://www.focusnu.com/media/directive/index/jigouindex/gongqu.png`" />
|
:src="`https://www.focusnu.com/media/directive/index/jigouindex/gongqu.png`" />
|
||||||
公区
|
信息变更
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="white-box-father">
|
<view class="white-box-father">
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
<view style="font-size: 32rpx;">{{item}}</view>
|
<view style="font-size: 32rpx;">{{item}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="white-right">
|
<view class="white-right">
|
||||||
<view style="font-size: 30rpx;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" />
|
<image class="white-right-imge" src="https://www.focusnu.com/media/directive/index/mine/more.png" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
// uni.setStorageSync('platId', res.result.platId);
|
// uni.setStorageSync('platId', res.result.platId);
|
||||||
})
|
})
|
||||||
|
|
||||||
const cardMenu = [`机构信息`, `加盟审核`, `机构功能`]
|
const cardMenu = [ `审核记录`, `机构功能`]
|
||||||
|
|
||||||
const change = () => {
|
const change = () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|
@ -81,18 +81,18 @@
|
||||||
|
|
||||||
const clickButton = (index) => {
|
const clickButton = (index) => {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 3:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/login/workjoinsuccess`
|
url: `/pages/login/workjoinsuccess`
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 0:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/login/workjoin`
|
url: `/pages/login/workjoin`
|
||||||
});
|
});
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 1:
|
||||||
// uni.navigateTo({
|
// uni.navigateTo({
|
||||||
// url: `/pages/login/special?no=true`
|
// url: `/pages/login/special?no=true`
|
||||||
// });
|
// });
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
|
||||||
<view class="left-father" @click="goBack">
|
<view class="left-father" @click="goBack">
|
||||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
<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>
|
</view>
|
||||||
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
|
<view :style="{height:`${uni.getStorageSync('moveHeight') + 30}px`}"></view>
|
||||||
|
|
@ -74,7 +74,7 @@
|
||||||
onPullDownRefresh
|
onPullDownRefresh
|
||||||
} from '@dcloudio/uni-app'
|
} from '@dcloudio/uni-app'
|
||||||
import {
|
import {
|
||||||
getMessageList,
|
queryOrgHis,
|
||||||
getMessageListsuccess
|
getMessageListsuccess
|
||||||
} from '@/pages/addjigou/api/addjigou.js'
|
} from '@/pages/addjigou/api/addjigou.js'
|
||||||
const type = ref(0)
|
const type = ref(0)
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
uni.getStorage({
|
uni.getStorage({
|
||||||
key: 'openid',
|
key: 'openid',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
getMessageList(res.data).then(res => {
|
queryOrgHis(res.data).then(res => {
|
||||||
workArray.value = res.result
|
workArray.value = res.result
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
uni.getStorage({
|
uni.getStorage({
|
||||||
key: 'openid',
|
key: 'openid',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
getMessageList(res.data).then(res => {
|
queryOrgHis(res.data).then(res => {
|
||||||
workArray.value = res.result
|
workArray.value = res.result
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,9 @@ export function getOrgInfo(title){
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取审核的列表
|
//获取审核的列表
|
||||||
export function getEmployeesOrgRela(openId){
|
export function getEmployeesOrgRela(openId,orgCode){
|
||||||
return request({
|
return request({
|
||||||
url: `/api/employeesapply/getEmployeesOrgRela?openId=${openId}&invited=0,1,2`,
|
url: `/api/employeesapply/getEmployeesOrgRela?openId=${openId}&invited=0,1,2&orgCode=${orgCode}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -495,16 +495,31 @@
|
||||||
}
|
}
|
||||||
const hong = ref(0);
|
const hong = ref(0);
|
||||||
const changeStatus = (item, status) => {
|
const changeStatus = (item, status) => {
|
||||||
let data = {
|
uni.showModal({
|
||||||
employeeId: item.employeesId,
|
title: '提示',
|
||||||
status: status ? 2 : 3,
|
content: status?'是否接受邀请':'是否拒绝邀请',
|
||||||
orgCode: item.orgCode
|
success: function (res) {
|
||||||
}
|
if (res.confirm) {
|
||||||
invitedConfirm(data).then(res => {
|
let data = {
|
||||||
if (res.success) {
|
employeeId: item.employeesId,
|
||||||
loadingData()
|
status: status ? 2 : 3,
|
||||||
|
orgCode: item.orgCode
|
||||||
|
}
|
||||||
|
invitedConfirm(data).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
loadingData()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
} else if (res.cancel) {
|
||||||
|
console.log('用户点击取消');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
const clickButton = (item, index) => {
|
const clickButton = (item, index) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
<view class="bgc-card">
|
<view class="bgc-card">
|
||||||
<view class="under-scroll">
|
<view class="under-scroll">
|
||||||
<view v-for="(item,index) in workArray" :key="index">
|
<view v-for="(item,index) in workArray" :key="index">
|
||||||
<view class="white-small" @click="jumpToAll">
|
<view class="white-small" @click="jumpToAll(item)">
|
||||||
<view class="card-font">
|
<view class="card-font">
|
||||||
|
|
||||||
{{item.departName}}
|
{{item.departName}}
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
<view class="gray-font">
|
<view class="gray-font">
|
||||||
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
|
<image style="margin-left: 10rpx;height: 25rpx;width: 25rpx;margin-right: 10rpx;"
|
||||||
src="https://www.focusnu.com/media/directive/index/ruzhu/time.png" />
|
src="https://www.focusnu.com/media/directive/index/ruzhu/time.png" />
|
||||||
{{item.createTime}}
|
{{item.auditTime}}
|
||||||
</view>
|
</view>
|
||||||
<view class="applying" v-if="item.applyStatus===`1`&&item.applyType!=`2`">
|
<view class="applying" v-if="item.applyStatus===`1`&&item.applyType!=`2`">
|
||||||
{{ item.applyType =='0' ?`待确认`:`待审核` }}
|
{{ item.applyType =='0' ?`待确认`:`待审核` }}
|
||||||
|
|
@ -181,10 +181,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const jumpToAll = (element) => {
|
const jumpToAll = (element) => {
|
||||||
getMessageList().then(res => {
|
|
||||||
|
getMessageList(element.orgCode).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&applyStatus=${element.applyStatus}`
|
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&applyStatus=${element.applyStatus}&code=1`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
export const base_url = 'https://www.focusnu.com/opeapi'
|
||||||
|
|
||||||
export const media_base_url = 'https://www.focusnu.com/media/'
|
export const media_base_url = 'https://www.focusnu.com/media/'
|
||||||
|
// export const base_url = 'http://192.168.2.24:8081/opeapi'
|
||||||
// export const base_url = 'http://192.168.2.27:8081/opeapi'
|
// export const base_url = 'http://192.168.2.27:8081/opeapi'
|
||||||
// 请求超出时间
|
// 请求超出时间
|
||||||
const timeout = 5000
|
const timeout = 5000
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue