Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
wangtao
3 years ago
Commit
a008f7e03f246071266ab5daf87393aa1658bb13
2 parents
e0731b6d
f624618b
Merge branch 'master' of
http://113.200.75.45:82/monitor_v3/hg-monitor-web
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/resManageAdd.js
hg-monitor-web-base/src/main/resources/static/src/controller/resManageAdd.js
View file @
a008f7e
...
...
@@ -886,6 +886,14 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi
if
(
v
.
paramCode
==
'driverpre'
)
v
.
defaultValue
=
'jdbc:mysql://'
;
})
}
//JDBC协议时,修改人大金仓的默认值
if
(
k
.
protocolCode
==
'JDBC'
&&
resType
==
'DATABASE_KINGBASE'
)
{
$
.
each
(
k
.
protocolParamList
,
function
(
i
,
v
)
{
if
(
v
.
paramCode
==
'DBType'
)
v
.
defaultValue
=
'king'
;
if
(
v
.
paramCode
==
'driver'
)
v
.
defaultValue
=
'com.kingbase.Driver'
;
if
(
v
.
paramCode
==
'driverpre'
)
v
.
defaultValue
=
'jdbc:kingbase8://'
;
})
}
})
return
data
;
}
...
...
Please
register
or
login
to post a comment