diff --git a/src/router/index.js b/src/router/index.js index 6a07ba0..6422bec 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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 { diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index f7710b0..6ed50f9 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -37,6 +37,7 @@ :prop="item.property" :show-overflow-tooltip="item.tooltip" :width="item.width || ''" + :align="item.align || 'left'" > @@ -104,6 +106,7 @@ :label="item.label" :width="item.width || ''" :prop="item.property" + :align="item.align || 'left'" /> @@ -228,6 +231,7 @@ :width="item.width || ''" :prop="item.property" :show-overflow-tooltip="item.tooltip" + :align="item.align || 'left'" /> @@ -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", }, {