...
|
...
|
@@ -493,6 +493,9 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun |
|
|
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) {
|
...
|
...
|
@@ -714,7 +717,7 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun |
|
|
|
|
|
//拓扑树组件渲染
|
|
|
$.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) {
|
...
|
...
|
|