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 a7260922
authored
Dec 08, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改菜单
1 parent
455a55a1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
public/drawio/extention/js/exMenus.js
public/drawio/js/diagramly/App.js
public/drawio/js/diagramly/Menus.js
public/drawio/extention/js/exMenus.js
View file @
a726092
...
...
@@ -32,14 +32,14 @@ var exToolbar = function (toolbarContainer) {
swal
({
title
:
""
,
text
:
'该操作将发布架构设计新版本,请确认是否继续?'
,
confirmButtonColor
:
'rgb(13,134,127)'
,
icon
:
"warning"
,
buttons
:
[
"取消"
,
"发布"
]
}).
then
(
res
=>
{
if
(
res
)
{
$
.
ajax
({
type
:
"post"
,
url
:
"http://
192.168.161.129:7001
/ynMol/updateYnMol"
,
data
:
JSON
.
stringify
(
{
method
:
"post"
,
url
:
"http://
43.143.211.42:7003
/ynMol/updateYnMol"
,
data
:
{
metaModelId
:
urlParams
[
'id'
],
version
:
urlParams
[
'version'
],
state
:
urlParams
[
'state'
],
}
)
,
contentType
:
'
json'
,
},
// contentType: 'application/
json',
success
:
function
(
result
)
{
swal
(
"版本发布"
,
"发布成功!"
);
},
...
...
public/drawio/js/diagramly/App.js
View file @
a726092
...
...
@@ -3766,7 +3766,7 @@ App.prototype.showSplash = function(force)
}
else
if
(
urlParams
[
'id'
])
{
//二次开发,初始化画面内容
$
.
ajax
({
method
:
"post"
,
url
:
'http://
192.168.148.128
:7003/ynMol/getByMetaModelId'
,
url
:
'http://
43.143.211.42
:7003/ynMol/getByMetaModelId'
,
data
:
{
metaModelId
:
urlParams
[
'id'
]
},
...
...
public/drawio/js/diagramly/Menus.js
View file @
a726092
...
...
@@ -4723,7 +4723,7 @@
if
(
res
)
{
$
.
ajax
({
method
:
"post"
,
url
:
"http://
192.168.148.128
:7003/ynMol/upMxGraph"
,
url
:
"http://
43.143.211.42
:7003/ynMol/upMxGraph"
,
data
:
{
metaModelId
:
urlParams
[
'id'
],
metaModelData
:
mxGraphModel
...
...
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