Commit a7260922 by liuyong

修改菜单

1 parent 455a55a1
...@@ -32,14 +32,14 @@ var exToolbar = function (toolbarContainer) { ...@@ -32,14 +32,14 @@ var exToolbar = function (toolbarContainer) {
swal({ title: "", text: '该操作将发布架构设计新版本,请确认是否继续?',confirmButtonColor:'rgb(13,134,127)',icon: "warning", buttons: ["取消", "发布"] }).then(res => { swal({ title: "", text: '该操作将发布架构设计新版本,请确认是否继续?',confirmButtonColor:'rgb(13,134,127)',icon: "warning", buttons: ["取消", "发布"] }).then(res => {
if(res) { if(res) {
$.ajax({ $.ajax({
type: "post", method: "post",
url: "http://192.168.161.129:7001/ynMol/updateYnMol", url: "http://43.143.211.42:7003/ynMol/updateYnMol",
data: JSON.stringify({ data: {
metaModelId: urlParams['id'], metaModelId: urlParams['id'],
version: urlParams['version'], version: urlParams['version'],
state: urlParams['state'], state: urlParams['state'],
}), },
contentType: 'json', // contentType: 'application/json',
success: function( result ) { success: function( result ) {
swal ( "版本发布" , "发布成功!" ); swal ( "版本发布" , "发布成功!" );
}, },
......
...@@ -3766,7 +3766,7 @@ App.prototype.showSplash = function(force) ...@@ -3766,7 +3766,7 @@ App.prototype.showSplash = function(force)
}else if (urlParams['id']) {//二次开发,初始化画面内容 }else if (urlParams['id']) {//二次开发,初始化画面内容
$.ajax({ $.ajax({
method: "post", method: "post",
url: 'http://192.168.148.128:7003/ynMol/getByMetaModelId', url: 'http://43.143.211.42:7003/ynMol/getByMetaModelId',
data: { data: {
metaModelId: urlParams['id'] metaModelId: urlParams['id']
}, },
......
...@@ -4723,7 +4723,7 @@ ...@@ -4723,7 +4723,7 @@
if(res) { if(res) {
$.ajax({ $.ajax({
method: "post", method: "post",
url: "http://192.168.148.128:7003/ynMol/upMxGraph", url: "http://43.143.211.42:7003/ynMol/upMxGraph",
data: { data: {
metaModelId: urlParams['id'], metaModelId: urlParams['id'],
metaModelData: mxGraphModel metaModelData: mxGraphModel
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!