From d486727bd7f37f429b7c7c8d972b4f7344a1683d Mon Sep 17 00:00:00 2001 From: "DESKTOP-J7ED0MB\\yinjinlu" <411641505@qq.com> Date: Mon, 17 Oct 2022 23:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 ++ src/views/mes/report/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 13c6cf2..3cd0b44 100644 --- a/src/main.js +++ b/src/main.js @@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +import webSite from '@/config/website' +Vue.prototype.website = webSite // 全局方法挂载 Vue.prototype.getDicts = getDicts diff --git a/src/views/mes/report/index.vue b/src/views/mes/report/index.vue index c3b1c45..7e9ba2b 100644 --- a/src/views/mes/report/index.vue +++ b/src/views/mes/report/index.vue @@ -81,14 +81,14 @@ type="text" icon="el-icon-edit" @click="handlePreview(scope.row.name)" - v-hasPermi="['ureport:edit']" + v-hasPermi="['mes:report:edit']" >预览 删除