Commit 9394822b authored by 皮倩雯's avatar 皮倩雯

fix: '修改gis默认密码'

parent 0d6a4215
Pipeline #83334 passed with stages
...@@ -112,7 +112,7 @@ const AddModal = props => { ...@@ -112,7 +112,7 @@ const AddModal = props => {
m_Ip: obj.IP, m_Ip: obj.IP,
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
gsAppName: obj.gis, gsAppName: obj.gis,
}), }),
}; };
...@@ -217,7 +217,7 @@ const AddModal = props => { ...@@ -217,7 +217,7 @@ const AddModal = props => {
proxy: 'javasvc.panda-water.cn/geoserver', proxy: 'javasvc.panda-water.cn/geoserver',
Port: '18088', Port: '18088',
User: 'admin', User: 'admin',
Pwd: 'geoserver', Pwd: 'panda_server@2023',
isTainDiTu: 0, isTainDiTu: 0,
levelEndEnlarge: false, levelEndEnlarge: false,
}); });
...@@ -370,7 +370,7 @@ const AddModal = props => { ...@@ -370,7 +370,7 @@ const AddModal = props => {
GetGridSetList({ GetGridSetList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis || 'geoserver217', gsAppName: obj.gis || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -391,7 +391,7 @@ const AddModal = props => { ...@@ -391,7 +391,7 @@ const AddModal = props => {
GetCustomBaseMapByName({ GetCustomBaseMapByName({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis || 'geoserver217', gsAppName: obj.gis || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -429,7 +429,7 @@ const AddModal = props => { ...@@ -429,7 +429,7 @@ const AddModal = props => {
GetCustomBaseMapList({ GetCustomBaseMapList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis, gsAppName: obj.gis,
}).then(res => { }).then(res => {
......
...@@ -338,7 +338,7 @@ const NewEditModal = props => { ...@@ -338,7 +338,7 @@ const NewEditModal = props => {
levelEndEnlarge: false, levelEndEnlarge: false,
Port: '18088', Port: '18088',
User: 'admin', User: 'admin',
Pwd: 'geoserver', Pwd: 'panda_server@2023',
}); });
} }
} else { } else {
...@@ -417,7 +417,7 @@ const NewEditModal = props => { ...@@ -417,7 +417,7 @@ const NewEditModal = props => {
GetGridSetList({ GetGridSetList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis || 'geoserver217', gsAppName: obj.gis || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -440,7 +440,7 @@ const NewEditModal = props => { ...@@ -440,7 +440,7 @@ const NewEditModal = props => {
GetCustomBaseMapByName({ GetCustomBaseMapByName({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis || 'geoserver217', gsAppName: obj.gis || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -474,7 +474,7 @@ const NewEditModal = props => { ...@@ -474,7 +474,7 @@ const NewEditModal = props => {
GetCustomBaseMapList({ GetCustomBaseMapList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gis, gsAppName: obj.gis,
}).then(res => { }).then(res => {
......
...@@ -144,7 +144,7 @@ const AddModal = props => { ...@@ -144,7 +144,7 @@ const AddModal = props => {
proxy: 'javasvc.panda-water.cn/geoserver', proxy: 'javasvc.panda-water.cn/geoserver',
Port: '18088', Port: '18088',
User: 'admin', User: 'admin',
Pwd: 'geoserver', Pwd: 'panda_server@2023',
isTainDiTu: 0, isTainDiTu: 0,
levelEndEnlarge: false, levelEndEnlarge: false,
}); });
...@@ -230,7 +230,7 @@ const AddModal = props => { ...@@ -230,7 +230,7 @@ const AddModal = props => {
GetGridSetList({ GetGridSetList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gsAppName || 'geoserver217', gsAppName: obj.gsAppName || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -251,7 +251,7 @@ const AddModal = props => { ...@@ -251,7 +251,7 @@ const AddModal = props => {
GetCustomBaseMapByName({ GetCustomBaseMapByName({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gsAppName || 'geoserver217', gsAppName: obj.gsAppName || 'geoserver217',
layerName: bb, layerName: bb,
...@@ -284,7 +284,7 @@ const AddModal = props => { ...@@ -284,7 +284,7 @@ const AddModal = props => {
GetCustomBaseMapList({ GetCustomBaseMapList({
m_Port: obj.Port || '18088', m_Port: obj.Port || '18088',
m_User: obj.User || 'admin', m_User: obj.User || 'admin',
m_Pwd: obj.Pwd || 'geoserver', m_Pwd: obj.Pwd || 'panda_server@2023',
m_Ip: obj.IP || '192.168.12.7', m_Ip: obj.IP || '192.168.12.7',
gsAppName: obj.gsAppName, gsAppName: obj.gsAppName,
}).then(res => { }).then(res => {
......
...@@ -26,7 +26,7 @@ const VectorData = props => { ...@@ -26,7 +26,7 @@ const VectorData = props => {
const [allLoading, setAllLoading] = useState(false); // 更新状态 const [allLoading, setAllLoading] = useState(false); // 更新状态
const [type, setType] = useState(''); // 弹窗类型 const [type, setType] = useState(''); // 弹窗类型
const [solutionNames, setSolutionNames] = useState(''); const [solutionNames, setSolutionNames] = useState('');
const [formObj, setFormObj] = useState({ user: 'admin', password: 'geoserver' }); const [formObj, setFormObj] = useState({ user: 'admin', password: 'panda_server@2023' });
const [record, setRecord] = useState(); const [record, setRecord] = useState();
const [currentMetaData, setCurrentMetaData] = useState(null); const [currentMetaData, setCurrentMetaData] = useState(null);
const [searchValue, setSearchValue] = useState(''); const [searchValue, setSearchValue] = useState('');
......
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