diff --git a/frontend-sjgl/src/api/user/index.ts b/frontend-sjgl/src/api/user/index.ts
index 29bbef41..17d87724 100644
--- a/frontend-sjgl/src/api/user/index.ts
+++ b/frontend-sjgl/src/api/user/index.ts
@@ -57,6 +57,14 @@ export function getRole (queryParams:any) {
params: queryParams
});
}
+//获取角色
+export function listGroupedByTenant (queryParams:any) {
+ return request({
+ url: '/system/role/listGroupedByTenant',
+ method: 'POST',
+ data: queryParams
+ });
+}
//新建用户
export function addUsers (queryParams:any,roleids:any) {
return request({
diff --git a/frontend-sjgl/src/utils/request.ts b/frontend-sjgl/src/utils/request.ts
index e286afcf..b6180639 100644
--- a/frontend-sjgl/src/utils/request.ts
+++ b/frontend-sjgl/src/utils/request.ts
@@ -19,7 +19,18 @@ service.interceptors.request.use(
`Expected 'config' and 'config.headers' not to be undefined`
);
}
+ const menuPaths = [
+ '/system/menu/getMenuButtonTree',
+ '/system/menu/addMenu',
+ '/system/menu/updateById',
+ '/system/menu/deleteById',
+ '/system/menu/changeMenuOrder',
+ '/system/menu/uploadIcon',
+ '/system/menu/deleteIcon'
+ ];
+ if (!menuPaths.some(p => config.url.includes(p))) {
config.headers.tenant_id = '2';
+ }
if (
config.url.includes('/dec-lygk-base-server') ||
config.url.includes('/wmp-env-server') ||
diff --git a/frontend-sjgl/src/views/system/menu/index.vue b/frontend-sjgl/src/views/system/menu/index.vue
index 39db7894..b54aba60 100644
--- a/frontend-sjgl/src/views/system/menu/index.vue
+++ b/frontend-sjgl/src/views/system/menu/index.vue
@@ -34,8 +34,8 @@ const menuInfoRef = ref();
const btnInfoRef = ref();
const loading = ref(false);
//定义tabbar
-const systemcode = ref('2');
-const activeIndex = ref('2');
+const systemcode = ref('1');
+const activeIndex = ref('1');
function handleSelect(key: string) {
if (key == '1') {
systemcode.value = '1';
@@ -585,9 +585,9 @@ onMounted(() => {
mode="horizontal"
@select="handleSelect"
>
-
+ 水电水利建设项目全过程环境管理信息平台
全过程数据管理子系统
-
+ 填报管理子系统
- 全过程数据管理子系统
+ 水电水利建设项目全过程环境管理信息平台
全过程数据管理子系统
填报管理子系统
diff --git a/frontend-sjgl/src/views/system/record/index.vue b/frontend-sjgl/src/views/system/record/index.vue
index e21042a1..bd32b0f8 100644
--- a/frontend-sjgl/src/views/system/record/index.vue
+++ b/frontend-sjgl/src/views/system/record/index.vue
@@ -247,6 +247,7 @@ function handleClose() {
:before-close="handleClose"
top="30px"
draggable
+ style="pointer-events: all;"
:destroy-on-close="false"
>
export default {
- name: "review",
+ name: 'review'
};
@@ -994,7 +1033,10 @@ function handleClearSelection() {
:value="item.itemCode"
/>
- 搜索
@@ -1022,7 +1064,7 @@ function handleClearSelection() {
:header-cell-style="{
background: 'rgb(250 250 250)',
color: ' #383838',
- height: '50px',
+ height: '50px'
}"
>
@@ -1040,8 +1082,8 @@ function handleClearSelection() {
>
{{
- scope.row.basinNames.split(",").slice(0, 6).join(",") +
- (scope.row.basinNames.split(",").length > 6 ? "..." : "")
+ scope.row.basinNames.split(',').slice(0, 6).join(',') +
+ (scope.row.basinNames.split(',').length > 6 ? '...' : '')
}}
@@ -1060,17 +1102,25 @@ function handleClearSelection() {
>
{{
- scope.row.stationNames.split(",").slice(0, 6).join(",") +
- (scope.row.stationNames.split(",").length > 6 ? "..." : "")
+ scope.row.stationNames.split(',').slice(0, 6).join(',') +
+ (scope.row.stationNames.split(',').length > 6 ? '...' : '')
}}
-
+
-
+
-
+
{{ getName(regStatusArr, scope.row.regStatus) }}
@@ -1166,7 +1221,12 @@ function handleClearSelection() {
width="620px"
draggable
>
-
+
-
-
+
+
+
+
@@ -1223,7 +1295,9 @@ function handleClearSelection() {
"
>
取 消
- 保存
+ 保存
@@ -1256,9 +1330,15 @@ function handleClearSelection() {
- 全选
- 反选
- 取消选中
+ 全选
+ 反选
+ 取消选中
@@ -1298,13 +1378,23 @@ function handleClearSelection() {
:header-cell-style="{
background: 'rgb(250 250 250)',
color: ' #383838',
- height: '50px',
+ height: '50px'
}"
>
-
+
-
+
{{ getName(dictData, scope.row.type) }}
@@ -1365,7 +1455,9 @@ function handleClearSelection() {
@@ -1378,7 +1470,9 @@ function handleClearSelection() {
append-to-body
:before-close="closeResult"
>
- 已将密码重置为:{{ msgText }}
+ 已将密码重置为:{{
+ msgText
+ }}
-
+
-
+
-
+
{{ getName(regStatusArr, scope.row.regStatus) }}
@@ -1166,7 +1221,12 @@ function handleClearSelection() {
width="620px"
draggable
>
-
+
-
-
+
+
+
+
@@ -1223,7 +1295,9 @@ function handleClearSelection() {
"
>
取 消
- 保存
+ 保存
@@ -1256,9 +1330,15 @@ function handleClearSelection() {
- 全选
- 反选
- 取消选中
+ 全选
+ 反选
+ 取消选中
@@ -1298,13 +1378,23 @@ function handleClearSelection() {
:header-cell-style="{
background: 'rgb(250 250 250)',
color: ' #383838',
- height: '50px',
+ height: '50px'
}"
>
-
+
-
+
{{ getName(dictData, scope.row.type) }}
@@ -1365,7 +1455,9 @@ function handleClearSelection() {
@@ -1378,7 +1470,9 @@ function handleClearSelection() {
append-to-body
:before-close="closeResult"
>
- 已将密码重置为:{{ msgText }}
+ 已将密码重置为:{{
+ msgText
+ }}