提交 bd73bf93 编写于 作者: B break60 提交者: lgcareer

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"
上级 1f303675
......@@ -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 () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册