This commit is contained in:
姚宇浩 2024-11-12 16:50:20 +08:00
parent cb9ea999ab
commit a5e613a8f3
2 changed files with 19 additions and 5 deletions

View File

@ -167,7 +167,7 @@ router.beforeEach((to, form, next) => {
next();
} else {
if (to.fullPath == '/home/index/map') {
//当未重新登录时menu为空或没有权限标识,无法访问,
//当未重新登录时menu为空或没有权限标识,无法访问,
if (!menu || menu.indexOf('ggfw:ystp') == -1) {
ElMessage.error("您无权限访问该模块,若有需求请联系大数据中心!");
} else {

View File

@ -37,6 +37,7 @@
:prop="item.property"
:show-overflow-tooltip="item.tooltip"
:width="item.width || ''"
:align="item.align || 'left'"
>
<template #default="scope">
<!-- 补助类型 -->
@ -52,6 +53,7 @@
:width="item.width || ''"
:prop="item.property"
:show-overflow-tooltip="item.tooltip"
:align="item.align || 'left'"
/>
</template>
</el-table>
@ -104,6 +106,7 @@
:label="item.label"
:width="item.width || ''"
:prop="item.property"
:align="item.align || 'left'"
/>
</template>
</el-table>
@ -228,6 +231,7 @@
:width="item.width || ''"
:prop="item.property"
:show-overflow-tooltip="item.tooltip"
:align="item.align || 'left'"
/>
</template>
</el-table>
@ -318,7 +322,8 @@ const data = reactive({
{
label: "姓名",
property: "xm",
width: "90",
width: "100",
align: "center",
},
{
label: "地址",
@ -329,6 +334,7 @@ const data = reactive({
label: "年龄",
property: "nl",
width: "80",
align: "center",
},
{
label: "人口标签",
@ -364,8 +370,9 @@ const data = reactive({
{
label: "姓名",
property: "xm",
width: "90",
width: "100",
type: "slot",
align: "center",
},
{
label: "状态",
@ -383,6 +390,7 @@ const data = reactive({
label: "年龄",
property: "nl",
width: "80",
align: "center",
},
{
label: "人口标签",
@ -467,7 +475,8 @@ const lampScreen = (val) => {
{
label: "姓名",
property: "xm",
width: "90",
width: "100",
align: "center",
type: "slot",
},
{
@ -485,6 +494,7 @@ const lampScreen = (val) => {
{
label: "年龄",
property: "nl",
align: "center",
width: "80",
},
{
@ -496,6 +506,8 @@ const lampScreen = (val) => {
label: "推送次数",
property: "pushSendTotal",
type: "slot",
width: "80",
align: "center",
},
];
} else {
@ -503,7 +515,8 @@ const lampScreen = (val) => {
{
label: "姓名",
property: "xm",
width: "90",
width: "100",
align: "center",
type: "slot",
},
{
@ -521,6 +534,7 @@ const lampScreen = (val) => {
{
label: "年龄",
property: "nl",
align: "center",
width: "80",
},
{