@@ -651,6 +651,7 @@
const [y, m, d] = str.split(" ")[0].split("-");
return `${y}年${parseInt(m)}月${parseInt(d)}日`;
}
+ const canshow = ref(true);
onLoad(() => {
payurl.value = base_url
// console.log("cccccccccc", textArray[7])
@@ -659,7 +660,7 @@
if (uni.getStorageSync('specicalid')) {
let data = uni.getStorageSync('baddata')
// console.log("????11111111", data)
-
+ canshow.value = false;
fontphoto.value = data.idCardPositive
endphoto.value = data.idCardNegative
// console.log("???????????", fontphoto.value, endphoto.value)
diff --git a/pages/addoldman/oldmanall.vue b/pages/addoldman/oldmanall.vue
new file mode 100644
index 0000000..320ef4b
--- /dev/null
+++ b/pages/addoldman/oldmanall.vue
@@ -0,0 +1,411 @@
+
+
+
+
+
+
+
+
+ 长者信息
+
+
+
+
+
+
+
+
+ 身份证
+
+
+
+
+ 修改个人信息
+
+
+
+
+
+
+
+
+ 人像面
+ 请上传身份证人像面
+
+
+
+
+
+
+
+
+
+ 国徽面
+ 请上传身份证国徽面
+
+
+
+
+
+
+
+
+
+ 确认身份证信息
+
+
+
+
+ {{item}}
+ {{textArray[index] ? textArray[index] : "自动获取" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/addstaff/all.vue b/pages/addstaff/all.vue
index 3302a51..59ab35a 100644
--- a/pages/addstaff/all.vue
+++ b/pages/addstaff/all.vue
@@ -320,7 +320,7 @@
applyStatus.value = options.applyStatus
}
alldata.value = JSON.parse(options.element);
-
+ // console.log("???")
let data = alldata.value
if (data.content) {
contentred.value = data.content
@@ -365,12 +365,17 @@
textArray1[3] += 'kg'
})
const changeMessage = () => {
- uni.setStorageSync("baddata", alldata.value)
- uni.setStorageSync('specicalid', alldata.value.id);
- uni.setStorageSync("backhuancun", {})
- uni.navigateTo({
- url: `/pages/addstaff/information`
- });
+ if(alldata.value.modifyState=='1'){
+ openLook("该信息正在审核中,请等待")
+ }else{
+ uni.setStorageSync("baddata", alldata.value)
+ uni.setStorageSync('specicalid', alldata.value.id);
+ uni.setStorageSync("backhuancun", {})
+ uni.navigateTo({
+ url: `/pages/addstaff/information`
+ });
+ }
+
}
diff --git a/pages/addstaff/api/addjigou.js b/pages/addstaff/api/addjigou.js
index 6ad4c50..0b66501 100644
--- a/pages/addstaff/api/addjigou.js
+++ b/pages/addstaff/api/addjigou.js
@@ -12,9 +12,9 @@ export function changemessage(data){
}
//根据手机号获取员工信息
-export function getMessageList(id){
+export function getMessageList(orgCode){
return request({
- url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${uni.getStorageSync('openid')}&status=1,2,3`,
+ url: `/api/employessAdvisiory/queryApiEmployessInfo?openId=${uni.getStorageSync('openid')}&orgCode=${orgCode}`,
method: 'get',
})
}
diff --git a/pages/addstaff/healthcertificate.vue b/pages/addstaff/healthcertificate.vue
index d295d96..803a327 100644
--- a/pages/addstaff/healthcertificate.vue
+++ b/pages/addstaff/healthcertificate.vue
@@ -259,8 +259,8 @@
data.qualificationPath = imgArray[2]
data.noCrimeCertificate = imgArray[3]
data.endTime = swapLongTerm(data.endTime);
- data.orgId = uni.getStorageSync('changeyuangongorgId')
-
+ data.orgCode = uni.getStorageSync('changeyuangongorgCode')
+ uni.setStorageSync('changeyuangongorgCode', "");
changemessage(data).then(res => {
if (res.success) {
gopush()
diff --git a/pages/oldmanindex/index.vue b/pages/oldmanindex/index.vue
index 968822a..7648747 100644
--- a/pages/oldmanindex/index.vue
+++ b/pages/oldmanindex/index.vue
@@ -6,12 +6,6 @@