This commit is contained in:
熊成强 2020-11-13 15:28:16 +08:00
parent fc988f3093
commit 7174c821ea
3 changed files with 3 additions and 5 deletions

View File

@ -285,7 +285,7 @@ export default {
async cb (info) {
const obj = {status: 8, menuName: '转交了', transferStaffId: info.value}
if (this.info) obj.flowRecordId = this.info.flowRecordId
if (this.$attrs.flowRecordId) obj.flowRecordId = this.$attrs.flowRecordId
if (this.formList.flowRecordId !== 0) obj.flowRecordId = this.formList.flowRecordId
const params = Object.assign({}, this.form, {resultRecordId: this.$route.query.id || ''}, obj)
let res = await apiSaveapproval(params)
if (res.code !== 200) {

View File

@ -305,7 +305,7 @@ width: 50px;
border-bottom: 1px solid @borderColor;
}
.table-list{
margin: 0 0 10px 0;
padding: 0 0 10px 0;
// border: 1px solid @borderColor;
// border-bottom: none;
overflow: auto;

View File

@ -10,7 +10,7 @@
departmentName:obj.departmentName
}" />
<div class="performance-content-title-right">
<UseButton v-if="isShow" :flowRecordId='flowRecordId' :formList='formList' :tableInfo.sync='tableInfo'/>
<UseButton v-if="isShow" :formList='formList' :tableInfo.sync='tableInfo'/>
</div>
</div>
<div class="performance-content-center">
@ -149,7 +149,6 @@ export default {
data () {
return {
isShow: false,
flowRecordId: '',
right: {
showRight: false
},
@ -213,7 +212,6 @@ export default {
break
}
}
this.flowRecordId = res.data.flowRecordList.filter(i => i.isActive).length > 0 ? (res.data.flowRecordList.filter(i => i.isActive)[0].flowDetailRespList ? res.data.flowRecordList.filter(i => i.isActive)[0].flowDetailRespList[0].flowRecordId : '') : ''
this.formList = res.data
this.isShow = true
}