友
This commit is contained in:
parent
fc988f3093
commit
7174c821ea
@ -285,7 +285,7 @@ export default {
|
|||||||
async cb (info) {
|
async cb (info) {
|
||||||
const obj = {status: 8, menuName: '转交了', transferStaffId: info.value}
|
const obj = {status: 8, menuName: '转交了', transferStaffId: info.value}
|
||||||
if (this.info) obj.flowRecordId = this.info.flowRecordId
|
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)
|
const params = Object.assign({}, this.form, {resultRecordId: this.$route.query.id || ''}, obj)
|
||||||
let res = await apiSaveapproval(params)
|
let res = await apiSaveapproval(params)
|
||||||
if (res.code !== 200) {
|
if (res.code !== 200) {
|
||||||
|
|||||||
@ -305,7 +305,7 @@ width: 50px;
|
|||||||
border-bottom: 1px solid @borderColor;
|
border-bottom: 1px solid @borderColor;
|
||||||
}
|
}
|
||||||
.table-list{
|
.table-list{
|
||||||
margin: 0 0 10px 0;
|
padding: 0 0 10px 0;
|
||||||
// border: 1px solid @borderColor;
|
// border: 1px solid @borderColor;
|
||||||
// border-bottom: none;
|
// border-bottom: none;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
departmentName:obj.departmentName
|
departmentName:obj.departmentName
|
||||||
}" />
|
}" />
|
||||||
<div class="performance-content-title-right">
|
<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>
|
</div>
|
||||||
<div class="performance-content-center">
|
<div class="performance-content-center">
|
||||||
@ -149,7 +149,6 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
isShow: false,
|
isShow: false,
|
||||||
flowRecordId: '',
|
|
||||||
right: {
|
right: {
|
||||||
showRight: false
|
showRight: false
|
||||||
},
|
},
|
||||||
@ -213,7 +212,6 @@ export default {
|
|||||||
break
|
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.formList = res.data
|
||||||
this.isShow = true
|
this.isShow = true
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user