der提交加参数

This commit is contained in:
qq787203167
2022-05-20 14:04:53 +08:00
parent 3638c8d9c2
commit 2cc812b9b0
@@ -186,11 +186,18 @@
</a-button>
</template>
<div class="engineeringBox" v-if="detailsList.length > 0">
<div style="width: calc(100% - 12px)" v-for="(item,index) in detailsList">
<div class="title-header-text" v-if="index == 0">
<div style="width: calc(100% - 12px);margin-bottom: 40px" v-for="(item,index) in detailsList">
<div class="title-header-text" v-if="index == 0 && detailsList[0].dataStatus == 'current'">
{{$t('currentInformation')}}
</div>
<div class="title-header-text" style="margin-top: 40px" v-if="index == 1">
<div class="title-header-text" style="margin-top: 40px"
v-if="index == 1 && detailsList[1].dataStatus == 'history'"
>
{{$t('deliveryHistory')}}
</div>
<div class="title-header-text"
v-if="detailsList[0].dataStatus == 'history'"
>
{{$t('deliveryHistory')}}
</div>
<a-row :gutter="24" style="margin-bottom: 18px">
@@ -443,7 +450,8 @@
remindDispose: '/project/projectTaskInventoryEO/remindDispose',
page: '/project/feedbackHistory/page',
confirmEdit: '/project/projectTaskInventoryDetailEO/edit'
}
},
feedbackId: ''
}
},
mounted() {
@@ -641,13 +649,14 @@
},
detailsClick(val) {
this.visibleDetails = true
this.getDetails(val)
this.feedbackId = val.id
this.getDetails()
},
getDetails(row) {
getDetails() {
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
feedbackId: row.id
feedbackId: this.feedbackId
}
this.pageLoading = true
getAction(this.url.page, query).then((res) => {