|
|
@@ -182,16 +182,17 @@ export async function checkMenuClickPermission(path?: string): Promise<{
|
|
|
if (!canClickstatus) {
|
|
|
const messages: string[] = [];
|
|
|
|
|
|
- if (contractManagement) {
|
|
|
- messages.push("合同已到期,请上传最新合同。");
|
|
|
- }
|
|
|
- if (foodBusinessLicense) {
|
|
|
- console.log(foodBusinessLicense);
|
|
|
- messages.push("食品经营许可证已到期,请上传最新许可证。");
|
|
|
- }
|
|
|
- if (entertainmentBusinessLicense) {
|
|
|
- messages.push("娱乐经营许可证已到期,请上传最新许可证。");
|
|
|
- }
|
|
|
+ // 暂时关闭三个权限检查
|
|
|
+ // if (contractManagement) {
|
|
|
+ // messages.push("合同已到期,请上传最新合同。");
|
|
|
+ // }
|
|
|
+ // if (foodBusinessLicense) {
|
|
|
+ // console.log(foodBusinessLicense);
|
|
|
+ // messages.push("食品经营许可证已到期,请上传最新许可证。");
|
|
|
+ // }
|
|
|
+ // if (entertainmentBusinessLicense) {
|
|
|
+ // messages.push("娱乐经营许可证已到期,请上传最新许可证。");
|
|
|
+ // }
|
|
|
|
|
|
if (messages.length) {
|
|
|
ElMessage.warning({
|