1、修改地址
parent
61bff3d91d
commit
098a49b1c9
|
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
// 应用后端分支名称,部署上线需要
|
// 应用后端分支名称,部署上线需要
|
||||||
javaGitBranch: "<branch-name>",
|
javaGitBranch: "<branch-name>",
|
||||||
// 接口服务地址
|
// 接口服务地址
|
||||||
API_HOST: "https://gbs-gateway.qhdsafety.com",
|
API_HOST: "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// 应用唯一标识符
|
// 应用唯一标识符
|
||||||
|
|
@ -25,7 +25,7 @@ module.exports = {
|
||||||
contextInject: {
|
contextInject: {
|
||||||
// 应用Key
|
// 应用Key
|
||||||
appKey: "",
|
appKey: "",
|
||||||
fileUrl: "https://jpfz.qhdsafety.com/gbsFileTest/",
|
fileUrl: "",
|
||||||
},
|
},
|
||||||
// public/index.html注入全局变量
|
// public/index.html注入全局变量
|
||||||
windowInject: {
|
windowInject: {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
export const FIRE_RESOURCE_PERMISSION_QUERY_KEYS = {
|
||||||
|
add: "addPermissionKey",
|
||||||
|
info: "infoPermissionKey",
|
||||||
|
update: "updatePermissionKey",
|
||||||
|
remove: "removePermissionKey",
|
||||||
|
};
|
||||||
|
|
||||||
|
export const FIRE_RESOURCE_SUPERVISION_PERMISSION_MAP = {
|
||||||
|
rescueTeam: {
|
||||||
|
add: "xfjyd-jgd-add",
|
||||||
|
info: "xfjyd-jgd-info",
|
||||||
|
update: "xfjyd-jgd-update",
|
||||||
|
remove: "xfjyd-jgd-remove",
|
||||||
|
},
|
||||||
|
controlRoom: {
|
||||||
|
add: "xfkzs-jgd-add",
|
||||||
|
info: "xfkzs-jgd-info",
|
||||||
|
update: "xfkzs-jgd-update",
|
||||||
|
remove: "xfkzs-jgd-remove",
|
||||||
|
},
|
||||||
|
pumpRoom: {
|
||||||
|
add: "xfbf-jgd-add",
|
||||||
|
info: "xfbf-jgd-info",
|
||||||
|
update: "xfbf-jgd-update",
|
||||||
|
remove: "xfbf-jgd-remove",
|
||||||
|
},
|
||||||
|
waterSource: {
|
||||||
|
add: "xfsy-jgd-add",
|
||||||
|
info: "xfsy-jgd-info",
|
||||||
|
update: "xfsy-jgd-update",
|
||||||
|
remove: "xfsy-jgd-remove",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getPermissionKey = (query, action, defaultKey) => {
|
||||||
|
const queryKey = FIRE_RESOURCE_PERMISSION_QUERY_KEYS[action];
|
||||||
|
return query?.[queryKey] || defaultKey;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getPermissionKeyFromSearch = (search, action, defaultKey) => {
|
||||||
|
const queryKey = FIRE_RESOURCE_PERMISSION_QUERY_KEYS[action];
|
||||||
|
if (!queryKey) return defaultKey;
|
||||||
|
|
||||||
|
const searchParams = new URLSearchParams(search || "");
|
||||||
|
return searchParams.get(queryKey) || defaultKey;
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
.fire-resource-list-toolbar-flat {
|
||||||
|
:global([class*="pro-card"]),
|
||||||
|
:global([class*="pro-card-body"]),
|
||||||
|
:global([class*="pro-table"]),
|
||||||
|
:global([class*="pro-table-list-toolbar"]),
|
||||||
|
:global([class*="pro-table-list-toolbar-container"]) {
|
||||||
|
background: transparent !important;
|
||||||
|
border: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global([class*="pro-table-list-toolbar-container"]) {
|
||||||
|
padding-top: 0 !important;
|
||||||
|
padding-bottom: 16px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global([class*="pro-table-list-toolbar"])::before,
|
||||||
|
:global([class*="pro-table-list-toolbar"])::after,
|
||||||
|
:global([class*="pro-table-list-toolbar-container"])::before,
|
||||||
|
:global([class*="pro-table-list-toolbar-container"])::after {
|
||||||
|
border: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
.search-layout {
|
||||||
|
[class*="-row"] > [class*="-col"]:last-child [class*="-form-item"] {
|
||||||
|
margin-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="-row"] > [class*="-col"]:last-child [class*="-form-item-label"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="-row"] > [class*="-col"]:last-child [class*="-form-item-control"] {
|
||||||
|
flex: 0 0 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class*="-row"] > [class*="-col"]:last-child [class*="-form-item-control-input-content"] {
|
||||||
|
display: flex !important;
|
||||||
|
justify-content: flex-end !important;
|
||||||
|
align-items: center !important;
|
||||||
|
gap: 8px !important;
|
||||||
|
padding-right: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue