Commit f231f2ea authored by 李纪文's avatar 李纪文

fix: 改_site取值不一致问题

parent e134601c
......@@ -119,7 +119,10 @@ const ConfigurationView = (props) => {
? globalConfig.userInfo.LocalSite
: '',
version: '全部',
_site: globalConfig.userInfo && globalConfig.userInfo.site ? globalConfig.userInfo.site : '',
_site:
globalConfig.userInfo && globalConfig.userInfo.LocalSite
? globalConfig.userInfo.LocalSite
: '',
});
if (drawInfo.code === 0) {
const data = drawInfo.data ? (drawInfo.data.list ? drawInfo.data.list : []) : [];
......@@ -152,7 +155,10 @@ const ConfigurationView = (props) => {
// 获取点表信息
const pointInfo = await getPointAddress({
code: devices.join(','),
_site: globalConfig.userInfo && globalConfig.userInfo.site ? globalConfig.userInfo.site : '',
_site:
globalConfig.userInfo && globalConfig.userInfo.LocalSite
? globalConfig.userInfo.LocalSite
: '',
});
editionArr = deepCopy(pointInfo && pointInfo.data ? pointInfo.data : [], []);
};
......@@ -704,7 +710,10 @@ const ConfigurationView = (props) => {
dimension: list.dimension,
siteCode: list.siteCode,
fileName: list.deployURL.split('\\').pop(),
_site: globalConfig.userInfo && globalConfig.userInfo.site ? globalConfig.userInfo.site : '',
_site:
globalConfig.userInfo && globalConfig.userInfo.LocalSite
? globalConfig.userInfo.LocalSite
: '',
});
if (response.code === 0) {
if (isClose) return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment