企业技术需求和产品 、专家成果上传自动审核

This commit is contained in:
cxc
2022-12-05 16:46:53 +08:00
parent 2b10fba50b
commit 081ba02e40
17 changed files with 227 additions and 61 deletions

View File

@ -130,7 +130,9 @@ function reason(item) {
alert("拒绝原因:\n" + item.remark);
}
function noClicking() {
return identityList.value.some((item) => item.status == 0);
return identityList.value.some(
(item) => item.status == 0 || item.status == 1
);
}
const backToHome = () => {
router.push({
@ -140,7 +142,7 @@ const backToHome = () => {
// item.status -1>未入驻 0>审核中 1>通过 2拒绝
function handleStatus(item) {
// console.log(item);
if (noClicking()) return ElMessageBox.alert("您已有入驻申请");
if (noClicking()) return ElMessageBox.alert("一个账号只能申请一个身份");
if (item.status === "4" || item.status === "2") {
if (item.id == 1) {
// 企业