Commit 28a8f55f by 莫晓莉

解决冲突

parents 972d8a7e 82a2bb03
......@@ -11,5 +11,6 @@
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="./js/mxClient.js"></script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -884,7 +884,6 @@ import microDialog from "../../../output-dialog/micro-excel";
import mxgraph from "@/utils/mxgraph";
const {
mxGraph,
......@@ -898,6 +897,7 @@ const {
mxCodec,
mxGraphModel,
mxGeometry,
mxCell
} = mxgraph;
......@@ -923,6 +923,7 @@ export default {
graphXml: "",
xmlDocuments: "", //获取解码的xml
boxInformation: "", //弹框信息
nodeData:{},//节点数据
// mxl=================================
InsertOrUpdateVisible: false,
......@@ -1088,11 +1089,17 @@ export default {
}
},
excelLnputDetermine() {
this.excelLnput = !this.excelLnput;
let val = this.form;
console.log(this.form,4654564);
console.log(val);
for(let name in this.form) {
var edit = new mxCellAttributeChange(this.nodeData, name, this.form[name]);
this.graph.getModel().execute(edit);
}
console.log(edit,4564564564654);
},
// 子组件发射回来的弹窗变量变为true
fathertrans(res) {
......@@ -1298,6 +1305,7 @@ export default {
const cell = this.R.pathOr([], ["properties", "cell"], evt);
console.info(cell); // 在控制台输出双击的cell
this.nodeData = cell
// this.setXml();
this.doubleClickCell=cell;
......@@ -1337,6 +1345,22 @@ export default {
inputOutputFields().then((res) => {});
if (cell.ids == "step1" || cell.ctype == "ExcelInput") {
this.excelLnput = !this.excelLnput;
// console.log(cell.value.attributes,1111111);
// this.form = cell.value.attributes["name"].value
console.log(cell.value.attributes);
console.log(cell.value.attributes.uriNameFieldName.value);
let obj = cell.value.attributes
for(let vel in obj){
let key = obj[vel]
this.form = {
[key.name] : `${key.value}`
}
console.log(this.form,4564676354676);
}
return;
} else if (cell.ids == "step7" || cell.ctype == "TableInput") {
this.TableInputDialog = !this.TableInputDialog;
......
......@@ -1205,6 +1205,7 @@ props: ["dragItem"],
},
handleNodeClick(data,node){
console.log('点击当前节点===',node);
this.nodePath=data.path;//当前选择数
this.curNodeIconCls=data.iconCls;//当前选中节点
this.nodePath=data.path;
console.log('当前节点的文件夹路径:',this.nodePath);
......@@ -1219,9 +1220,6 @@ props: ["dragItem"],
// this.tabShowFlag=true;//核心对象显项卡显示
this.activeName="second";
// var xmlDocument = mxUtils.parseXml(res);
// var decoder = new mxCodec(xmlDocument);
// var node = xmlDocument.documentElement;
......
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