Download workflow instance map width adjustment and change "desc" field to "description" (#1073)
* Dependency workflow add dependency correction value * Download workflow instance map width adjustment and change "desc" field to "description"
This commit is contained in:
parent
1f30367586
commit
bd73bf93d3
|
|
@ -37,7 +37,7 @@ DownChart.prototype.maxVal = function () {
|
|||
let x = parseInt(_.maxBy(tasksAllList, 'x').x + 100)
|
||||
|
||||
resolve({
|
||||
width: x > 600 ? x : dom.width(),
|
||||
width: (x > 600 ? x : dom.width()) + 100,
|
||||
height: (y > 500 ? y : dom.height()) + 100
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
this._verification().then(res => {
|
||||
if (this.name === this.item.alias) {
|
||||
return new Promise((resolve,reject) => {
|
||||
this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve()
|
||||
this.desc === this.item.description ? reject({msg:'内容未修改'}) : resolve()
|
||||
})
|
||||
}else{
|
||||
return this.store.dispatch('resource/resourceVerifyName', {
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
let item = this.item || {}
|
||||
if (item) {
|
||||
this.name = item.alias
|
||||
this.desc = item.desc
|
||||
this.desc = item.description
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@
|
|||
this.className = this.item.className || ''
|
||||
this.argTypes = this.item.argTypes || ''
|
||||
this.database = this.item.database || ''
|
||||
this.desc = this.item.desc || ''
|
||||
this.desc = this.item.description || ''
|
||||
this.resourceId = _.filter(this.udfResourceList, v => v.id === this.item.resourceId)[0]
|
||||
} else {
|
||||
this.resourceId = this.udfResourceList.length && this.udfResourceList[0] || []
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
this._verification().then(res => {
|
||||
if (this.name === this.item.alias) {
|
||||
return new Promise((resolve,reject) => {
|
||||
this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve()
|
||||
this.desc === this.item.description ? reject({msg:'内容未修改'}) : resolve()
|
||||
})
|
||||
}else{
|
||||
return this.store.dispatch('resource/resourceVerifyName', {
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
let item = this.item || {}
|
||||
if (item) {
|
||||
this.name = item.alias
|
||||
this.desc = item.desc
|
||||
this.desc = item.description
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue