对接未符合项
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
<div class="title-text" :title="$t('standard')">
|
<div class="title-text" :title="$t('standard')">
|
||||||
<span>{{$t('standard')}}</span>
|
<span>{{$t('standard')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
||||||
v-model="queryParam.serialNumber"></a-input>
|
v-model="queryParam.serialNumber"></j-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
@@ -16,13 +16,13 @@
|
|||||||
<div class="title-text" :title="$t('title')">
|
<div class="title-text" :title="$t('title')">
|
||||||
<span>{{$t('title')}}</span>
|
<span>{{$t('title')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
||||||
v-model="queryParam.title"></a-input>
|
v-model="queryParam.title"></j-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" style="width: 64px" :title="$t('areaOfResponsibility')">
|
<div class="title-text" style="width: 64px" :title="$t('areaOfResponsibility')">
|
||||||
<span>{{$t('areaOfResponsibility')}}</span>
|
<span>{{$t('areaOfResponsibility')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
>
|
>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
<div class="page">
|
<div class="page" v-if="dataSource.length > 0">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
show-quick-jumper
|
show-quick-jumper
|
||||||
@@ -66,6 +66,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'nonConformance',
|
name: 'nonConformance',
|
||||||
data() {
|
data() {
|
||||||
@@ -99,26 +101,23 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'problemType'
|
dataIndex: 'problemType'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: this.$t('problemType'),
|
|
||||||
align: 'center',
|
|
||||||
dataIndex: 'problemType'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: this.$t('Sponsor'),
|
title: this.$t('Sponsor'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'Sponsor'
|
dataIndex: 'initiator'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('personLiable'),
|
title: this.$t('personLiable'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'personLiable'
|
dataIndex: 'duty'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
url: {}
|
url: {
|
||||||
|
page: '/project/ncrTrackController/queryPage'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -144,7 +143,22 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
|
let query = {
|
||||||
|
pageNo: this.pageNo,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
projectLibraryId:this.$route.query.id,
|
||||||
|
...this.queryParam
|
||||||
|
}
|
||||||
|
getAction(this.url.page, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.dataSource = res.result.records || []
|
||||||
|
this.total = res.result.total
|
||||||
|
this.loading = false
|
||||||
|
} else {
|
||||||
|
this.dataSource = []
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user