西海岸:单兵无人机 申请按钮,更改为未申请状态才可申请

This commit is contained in:
guoyue 2022-09-22 16:04:24 +08:00
parent fe3eb0aa68
commit 10fdc587a2
1 changed files with 9 additions and 3 deletions

View File

@ -341,10 +341,12 @@
" :pagination="pagination" @change="handleTableChange">
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'operation'">
<a @click="goToApply(record)" style="margin-right: 10px">
<a-button @click="goToApply(record)" type="link" :disabled="record.state != 1">
申请
</a>
<a @click="showWrj(record)">详情</a>
</a-button>
<a-button @click="showWrj(record)" type="link">
详情
</a-button>
</template>
</template>
</a-table>
@ -1567,18 +1569,21 @@ const columns2 = ref([
title: '名称',
dataIndex: 'wrjName',
key: 'wrjName',
align: 'center'
},
{
title: '申请状态',
dataIndex: 'wrjState',
width: '60%',
key: 'wrjState',
align: 'center'
},
{
title: '操作',
dataIndex: 'operation',
width: '20%',
key: 'wrjName',
align: 'center'
},
])
// const allClick = ref([])
@ -2098,4 +2103,5 @@ video::-webkit-media-controls {
margin-top: 14px;
cursor: pointer;
}
</style>