Commit ae148de6 by 史敦盼

xiugai

1 parent eb7d5888
...@@ -9,7 +9,7 @@ const initAttributePanel = function(that) { ...@@ -9,7 +9,7 @@ const initAttributePanel = function(that) {
let regex = new RegExp(`${startChar}(.*)${endChar}`); let regex = new RegExp(`${startChar}(.*)${endChar}`);
var saveDataParams = str.match(regex)[1].split(';')[0]; var saveDataParams = str.match(regex)[1].split(';')[0];
// console.log('saveDataParams', JSON.parse(saveDataParams)) // console.log('saveDataParams', JSON.parse(saveDataParams))
var { archiBelongId, assetId } = JSON.parse(saveDataParams); var { archiBelongId, assetId, graphId } = JSON.parse(saveDataParams);
// graph.getModel().setValue(cell, '测试'); // graph.getModel().setValue(cell, '测试');
// cell.setValue('测试'); // cell.setValue('测试');
...@@ -113,7 +113,8 @@ const initAttributePanel = function(that) { ...@@ -113,7 +113,8 @@ const initAttributePanel = function(that) {
archiBelongId, archiBelongId,
assetId, assetId,
archiAssetState: 2, archiAssetState: 2,
fieldsValue fieldsValue,
graphId
} }
console.log('params', params) console.log('params', params)
$.ajax({ $.ajax({
......
...@@ -182,7 +182,8 @@ ...@@ -182,7 +182,8 @@
archiBelongId: item3.archiBelongId, archiBelongId: item3.archiBelongId,
state: item3.state, state: item3.state,
version: item3.version, version: item3.version,
archiAssetState: item3.archiAssetState archiAssetState: item3.archiAssetState,
graphId: item3.graphId
} }
// console.log(item3.fieldsValue) // console.log(item3.fieldsValue)
fns.push( fns.push(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!