Commit 961a60c3 by 莫晓莉

关闭画布

parent dfdaaad5
...@@ -399,7 +399,7 @@ props: ["dragItem"], ...@@ -399,7 +399,7 @@ props: ["dragItem"],
deleteLink,//删除资源库模块的方法 deleteLink,//删除资源库模块的方法
dialogVisibleRemind:false,//资源库信息删除提示弹窗 dialogVisibleRemind:false,//资源库信息删除提示弹窗
testDialogueFlag:false,//测试弹弹窗 testDialogueFlag:false,//测试弹弹窗
tabShowFlag:true,//控制选项卡的显示和隐藏 tabShowFlag:false,//控制选项卡的显示和隐藏
picName:'',//画板的标签明名称 picName:'',//画板的标签明名称
accessDataList:[],//连接类型 accessDataList:[],//连接类型
typesList:[],//资源库连接类型 typesList:[],//资源库连接类型
...@@ -1023,7 +1023,10 @@ props: ["dragItem"], ...@@ -1023,7 +1023,10 @@ props: ["dragItem"],
removeTab(){}, removeTab(){
this.tabShowFlag=false;//关闭画布
this.activeName="first";//关闭关闭资源库
},
//选出要传给后台的参数集合便于编辑方法 check //选出要传给后台的参数集合便于编辑方法 check
// chooseParams(objParams){ // chooseParams(objParams){
// var newObject={}; // var newObject={};
...@@ -1212,7 +1215,9 @@ props: ["dragItem"], ...@@ -1212,7 +1215,9 @@ props: ["dragItem"],
pamer.append("type", "transformation"); pamer.append("type", "transformation");
open(pamer).then(res=>{ open(pamer).then(res=>{
console.log(res,'返回空白画布xml'); console.log(res,'返回空白画布xml');
this.blankCanvas = res this.blankCanvas = res;
this.tabShowFlag=true;//核心对象显项卡显示
this.activeName="second";
// var xmlDocument = mxUtils.parseXml(res); // var xmlDocument = mxUtils.parseXml(res);
// var decoder = new mxCodec(xmlDocument); // var decoder = new mxCodec(xmlDocument);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment