...
|
...
|
@@ -491,6 +491,9 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
admin.req({
|
|
|
url: common.domainName + '/api-web/mxgraph/getPage'
|
|
|
, type: "get"
|
|
|
, data: {
|
|
|
isDefault:1
|
|
|
}
|
|
|
, done: function (data) {
|
|
|
var topolist = data.data;
|
|
|
if(topolist != null && topolist.length > 0){
|
...
|
...
|
@@ -712,7 +715,7 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
|
|
|
//拓扑树组件渲染
|
|
|
$.ajax({
|
|
|
url: common.domainName + '/api-web/mxgraph/getPageByTree?access_token=' + accessToken,
|
|
|
url: common.domainName + '/api-web/mxgraph/getPageByTree?isDefault=1&access_token=' + accessToken,
|
|
|
type: 'get',
|
|
|
success: function (res) {
|
|
|
if (res && res.data) {
|
...
|
...
|
@@ -736,4 +739,4 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
})
|
|
|
|
|
|
});
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
}); |
...
|
...
|
|