Commit d93a89eb by liuyong

修改画布

1 parent cacd5d9b
function initSetScratchpad(that) {//左侧便签本初始化数据 function initSetScratchpad() {//左侧便签本初始化数据
$.ajax({ $.ajax({
method: "post", method: "post",
url: `http://${ajaxUrl}:7003/short-cut-model/qSCMList`, url: `http://${ajaxUrl}:7003/short-cut-model/qSCMList`,
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
*/ */
App = function(editor, container, lightbox) App = function(editor, container, lightbox)
{ {
EditorUi.call(this, editor, container, (lightbox != null) ? lightbox : EditorUi.call(this, editor, container, (lightbox != null) ? lightbox :
(urlParams['lightbox'] == '1' || (uiTheme == 'min' && (urlParams['lightbox'] == '1' || (uiTheme == 'min' &&
urlParams['chrome'] != '0'))); urlParams['chrome'] != '0')));
...@@ -190,7 +189,6 @@ App = function(editor, container, lightbox) ...@@ -190,7 +189,6 @@ App = function(editor, container, lightbox)
// var graph = this.editor.graph; // var graph = this.editor.graph;
// setGraphOnlyView(graph) // setGraphOnlyView(graph)
}; };
...@@ -5715,8 +5713,7 @@ App.prototype.loadLibraries = function(libs, done) ...@@ -5715,8 +5713,7 @@ App.prototype.loadLibraries = function(libs, done)
if (service == 'L') if (service == 'L')
{ {
const that = this; initSetScratchpad();
initSetScratchpad(that);
if (isLocalStorage || mxClient.IS_CHROMEAPP) if (isLocalStorage || mxClient.IS_CHROMEAPP)
{ {
......
...@@ -26,6 +26,9 @@ export function add_jia_gou_gui_shu(params) {// 新增架构归属 ...@@ -26,6 +26,9 @@ export function add_jia_gou_gui_shu(params) {// 新增架构归属
export function query_jia_gou_gui_shu(params) {// 查询架构归属 export function query_jia_gou_gui_shu(params) {// 查询架构归属
return post('/network/ele/archi-blg-list', params); return post('/network/ele/archi-blg-list', params);
} }
export function query_jia_gou_gui_shu_belong_icon(params) {// 查询架构归属分类下的图标
return post('/network/graph-mx-pool/qGMXPs', params);
}
export function delete_jia_gou_gui_shu(params) {// 删除架构元素列表某项 export function delete_jia_gou_gui_shu(params) {// 删除架构元素列表某项
return post('/network/ele/del-ele', params); return post('/network/ele/del-ele', params);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!