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> </a-button>
</template> </template>
<div class="engineeringBox" v-if="detailsList.length > 0"> <div class="engineeringBox" v-if="detailsList.length > 0">
<div style="width: calc(100% - 12px)" v-for="(item,index) in detailsList"> <div style="width: calc(100% - 12px);margin-bottom: 40px" v-for="(item,index) in detailsList">
<div class="title-header-text" v-if="index == 0"> <div class="title-header-text" v-if="index == 0 && detailsList[0].dataStatus == 'current'">
{{$t('currentInformation')}} {{$t('currentInformation')}}
</div> </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')}} {{$t('deliveryHistory')}}
</div> </div>
<a-row :gutter="24" style="margin-bottom: 18px"> <a-row :gutter="24" style="margin-bottom: 18px">
@@ -443,7 +450,8 @@
remindDispose: '/project/projectTaskInventoryEO/remindDispose', remindDispose: '/project/projectTaskInventoryEO/remindDispose',
page: '/project/feedbackHistory/page', page: '/project/feedbackHistory/page',
confirmEdit: '/project/projectTaskInventoryDetailEO/edit' confirmEdit: '/project/projectTaskInventoryDetailEO/edit'
} },
feedbackId: ''
} }
}, },
mounted() { mounted() {
@@ -641,13 +649,14 @@
}, },
detailsClick(val) { detailsClick(val) {
this.visibleDetails = true this.visibleDetails = true
this.getDetails(val) this.feedbackId = val.id
this.getDetails()
}, },
getDetails(row) { getDetails() {
let query = { let query = {
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
feedbackId: row.id feedbackId: this.feedbackId
} }
this.pageLoading = true this.pageLoading = true
getAction(this.url.page, query).then((res) => { getAction(this.url.page, query).then((res) => {