|
|
@ -268,6 +268,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import _ from 'lodash' |
|
|
|
import _ from 'lodash' |
|
|
|
|
|
|
|
import { mapActions } from 'vuex' |
|
|
|
import mLog from './log' |
|
|
|
import mLog from './log' |
|
|
|
import mMr from './tasks/mr' |
|
|
|
import mMr from './tasks/mr' |
|
|
|
import mSql from './tasks/sql' |
|
|
|
import mSql from './tasks/sql' |
|
|
@ -356,9 +357,11 @@ |
|
|
|
taskType: String, |
|
|
|
taskType: String, |
|
|
|
self: Object, |
|
|
|
self: Object, |
|
|
|
preNode: Array, |
|
|
|
preNode: Array, |
|
|
|
rearList: Array |
|
|
|
rearList: Array, |
|
|
|
|
|
|
|
instanceId: Number |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
...mapActions('dag', ['getTaskInstanceList']), |
|
|
|
/** |
|
|
|
/** |
|
|
|
* depend |
|
|
|
* depend |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -633,8 +636,12 @@ |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(!hasMatch && o.workerGroupId!=undefined){ |
|
|
|
if(o.workerGroup == undefined) { |
|
|
|
this.workerGroup = 'default' |
|
|
|
this.store.dispatch('dag/getTaskInstanceList',{ |
|
|
|
|
|
|
|
pageSize: 10, pageNo: 1, processInstanceId: this.instanceId, name: o.name |
|
|
|
|
|
|
|
}).then(res => { |
|
|
|
|
|
|
|
this.workerGroup = res.totalList[0].workerGroup |
|
|
|
|
|
|
|
}) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.workerGroup = o.workerGroup |
|
|
|
this.workerGroup = o.workerGroup |
|
|
|
} |
|
|
|
} |
|
|
|