Commit f54fd41c by 莫晓莉

mxl

parent 75bf95a4
......@@ -1250,11 +1250,14 @@ export default {
// console.log(cell.value.attributes,99999999999999);
console.log('获取cell--',cell);
// cell.title = cell.value.attributes.label.value;
// cell.ctype = cell.value.attributes.ctype.value;
// let height = cell.geometry.height;
// let width = cell.geometry.width;
// let x = cell.geometry.x;
......@@ -1288,6 +1291,8 @@ export default {
// height,
// style
// );
cell.title = cell.value.attributes.label.value;
cell.ctype = cell.value.attributes.ctype.value;
......@@ -1305,6 +1310,7 @@ export default {
const cell = this.R.pathOr([], ["properties", "cell"], evt);
console.info(cell); // 在控制台输出双击的cell
this.nodeData = cell
// this.setXml();
this.doubleClickCell=cell;
......@@ -1388,7 +1394,7 @@ export default {
//更新
this.updateVisible = !this.updateVisible;
return;
} else if (cell.ids == "step14") {
} else if (cell.ids == "step15") {
//文本文件输出
this.fileVisible = !this.fileVisible;
return;
......@@ -1400,15 +1406,15 @@ export default {
//插入、更新
this.InsertOrUpdateVisible = !this.InsertOrUpdateVisible;
return;
} else if (cell.ids == "step11") {
} else if (cell.ids == "step10") {
//删除
this.deleteVisible = !this.deleteVisible;
return;
} else if (cell.ids == "step10") {
} else if (cell.ids == "step11") {
//SQL文件输出
this.sqlVisible = !this.sqlVisible;
return;
} else if (cell.ids == "step9") {
} else if (cell.ids == "step9" || cell.ctype == "TextFileInput") {
//Excel输出
this.excelOutPutVisible = !this.excelOutPutVisible;
return;
......@@ -1733,10 +1739,10 @@ export default {
save(pamers).then((res) => {
console.log(res);
if (res.success) {
that.$message.success("保存流程成功!暂时请查先看控制台。");
this.$message.success("保存流程成功!暂时请查先看控制台。");
this.createGraph();
} else {
that.$message.error(res.errMsg);
this.$message.error(res.errMsg);
}
});
},
......@@ -1832,6 +1838,7 @@ export default {
//输出组件保存************************
saveOutputDialog(params){
// var graph = getActiveGraph().getGraph();
var outPutForm=params;
this.graph.getModel().beginUpdate();
try
......@@ -1845,6 +1852,7 @@ export default {
{
this.graph.getModel().endUpdate();
}
console.log('保存组件到画布===',this.graph);
}
//输出组件保存******************/
},
......
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