You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.1 KiB
88 lines
2.1 KiB
<template>
|
|
<!-- 备件维修工单 -->
|
|
<view class="container">
|
|
<u-navbar back-icon-color='#fff' :background="{ background: '#409eff'}" back-text="" title-color='#fff'
|
|
title="备件维修工单">
|
|
<template v-slot:right>
|
|
<u-icon name="plus" color="#fff" size="36" style="padding-right: 30rpx;" @click="addForm"></u-icon>
|
|
</template>
|
|
</u-navbar>
|
|
<Search @search='search' @screen='screen' />
|
|
<sparePartsApplicationList :data="data" :labelList='labelList'></sparePartsApplicationList>
|
|
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import sparePartsApplicationList from '@/components/sparePartsApplicationList/index.vue'
|
|
export default {
|
|
components: {
|
|
sparePartsApplicationList
|
|
},
|
|
data() {
|
|
return {
|
|
labelList: [{
|
|
label: '申请单号',
|
|
field: 'dec1',
|
|
}, {
|
|
label: '申请类型',
|
|
field: 'dec2',
|
|
}, {
|
|
label: ' 申 请 人',
|
|
field: 'dec3',
|
|
}],
|
|
data: {
|
|
isShowTime: true,
|
|
isShowStatus: true,
|
|
list: [{
|
|
title: '备件002领用',
|
|
dec1: '维修领用',
|
|
dec2: '刘冰雨',
|
|
status: 6
|
|
}, {
|
|
title: '设备报修205245',
|
|
dec1: 'BX-20224648',
|
|
dec2: 'BX-20224648',
|
|
dec3: 'BX-20224648',
|
|
dec4: 'BX-20224648',
|
|
dec5: 'BX-20224648',
|
|
time: '2023-12-12 06:00:00',
|
|
status: 2
|
|
}, {
|
|
title: '设备报修205245',
|
|
dec1: 'BX-20224648',
|
|
dec2: 'BX-20224648',
|
|
dec3: 'BX-20224648',
|
|
dec4: 'BX-20224648',
|
|
dec5: 'BX-20224648',
|
|
time: '2023-12-12 06:00:00',
|
|
status: 3
|
|
}, {
|
|
title: '设备报修205245',
|
|
dec1: 'BX-20224648',
|
|
dec2: 'BX-20224648',
|
|
dec3: 'BX-20224648',
|
|
dec4: 'BX-20224648',
|
|
dec5: 'BX-20224648',
|
|
time: '2023-12-12 06:00:00',
|
|
status: 4
|
|
}]
|
|
}
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
// 筛选
|
|
screen() {
|
|
this.$tab.navigateTo(`/pages/sparePartsApplication/screen`)
|
|
},
|
|
addForm() {
|
|
this.$tab.navigateTo(`/pages/sparePartsApplication/addForm`)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|