企业技术需求和产品 、专家成果上传自动审核
This commit is contained in:
@ -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) {
|
||||
// 企业
|
||||
|
Reference in New Issue
Block a user