Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d93a89eb
authored
Jan 16, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改画布
1 parent
cacd5d9b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
public/drawio/extention/js/exScratchpad.js
public/drawio/js/diagramly/App.js
src/api/index.js
src/views/archi-ele-list/index.vue
public/drawio/extention/js/exScratchpad.js
View file @
d93a89e
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`
,
...
...
public/drawio/js/diagramly/App.js
View file @
d93a89e
...
@@ -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
)
{
{
...
...
src/api/index.js
View file @
d93a89e
...
@@ -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
);
}
}
...
...
src/views/archi-ele-list/index.vue
View file @
d93a89e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment