|
@@ -134,6 +134,7 @@ export default {
|
|
toolTipCom,
|
|
toolTipCom,
|
|
},
|
|
},
|
|
router:this.$router, //将router传进去,不然组件里面拿不到
|
|
router:this.$router, //将router传进去,不然组件里面拿不到
|
|
|
|
+ store:this.$store,//将store传进去,不然组件里面拿不到
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
// 传一个对象进去
|
|
// 传一个对象进去
|
|
@@ -162,6 +163,7 @@ export default {
|
|
this.mouldText = document.getElementById('mould-text')
|
|
this.mouldText = document.getElementById('mould-text')
|
|
|
|
|
|
let edbName=this.treeData.EdbName+(this.treeData.IsStop?'(暂停更新)':'')
|
|
let edbName=this.treeData.EdbName+(this.treeData.IsStop?'(暂停更新)':'')
|
|
|
|
+ let edbNameEn=this.treeData.EdbNameEn+(this.treeData.IsStop?'(Pause Updates)':'')
|
|
this.mouldText.innerText=edbName
|
|
this.mouldText.innerText=edbName
|
|
let node = this.graph.createNode({
|
|
let node = this.graph.createNode({
|
|
shape: 'vue-shape',
|
|
shape: 'vue-shape',
|
|
@@ -178,7 +180,9 @@ export default {
|
|
},
|
|
},
|
|
data:{
|
|
data:{
|
|
EdbName:edbName,
|
|
EdbName:edbName,
|
|
|
|
+ EdbNameEn:edbNameEn,
|
|
RuleTitle:this.treeData.RuleTitle,
|
|
RuleTitle:this.treeData.RuleTitle,
|
|
|
|
+ RuleTitleEn:this.treeData.RuleTitleEn,
|
|
routeQuery:{
|
|
routeQuery:{
|
|
ClassifyId:this.treeData.ClassifyId,
|
|
ClassifyId:this.treeData.ClassifyId,
|
|
UniqueCode:this.treeData.UniqueCode,
|
|
UniqueCode:this.treeData.UniqueCode,
|
|
@@ -204,7 +208,7 @@ export default {
|
|
let dataList = []
|
|
let dataList = []
|
|
list.forEach(element => {
|
|
list.forEach(element => {
|
|
let edbName=element.EdbName+(element.IsStop?'(暂停更新)':'')
|
|
let edbName=element.EdbName+(element.IsStop?'(暂停更新)':'')
|
|
-
|
|
|
|
|
|
+ let edbNameEn=element.EdbNameEn+(this.treeData.IsStop?'(Pause Updates)':'')
|
|
this.mouldText.innerText=edbName
|
|
this.mouldText.innerText=edbName
|
|
let node = this.graph.createNode({
|
|
let node = this.graph.createNode({
|
|
shape: 'vue-shape',
|
|
shape: 'vue-shape',
|
|
@@ -225,7 +229,9 @@ export default {
|
|
color:element.IsStop?"red!important":'#000000',
|
|
color:element.IsStop?"red!important":'#000000',
|
|
},
|
|
},
|
|
EdbName:edbName,
|
|
EdbName:edbName,
|
|
|
|
+ EdbNameEn:edbNameEn,
|
|
RuleTitle:element.RuleTitle,
|
|
RuleTitle:element.RuleTitle,
|
|
|
|
+ RuleTitleEn:element.RuleTitleEn,
|
|
routeQuery:{
|
|
routeQuery:{
|
|
ClassifyId:element.ClassifyId,
|
|
ClassifyId:element.ClassifyId,
|
|
UniqueCode:element.UniqueCode,
|
|
UniqueCode:element.UniqueCode,
|