Commit a7260922 by liuyong

修改菜单

1 parent 455a55a1
......@@ -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 ( "版本发布" , "发布成功!" );
},
......
......@@ -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']
},
......
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!