无人机申请,增加参数
This commit is contained in:
parent
7ea1bc972b
commit
bcef134cf9
|
@ -738,6 +738,7 @@ export default {
|
||||||
const handleWrjApply = (formName) => {
|
const handleWrjApply = (formName) => {
|
||||||
let _data = {
|
let _data = {
|
||||||
deviceId: formName.system && formName.system[0] && formName.system[0].resourceId,
|
deviceId: formName.system && formName.system[0] && formName.system[0].resourceId,
|
||||||
|
deviceName: formName.system && formName.system[0] && formName.system[0].resourceName,
|
||||||
title: formName.title,
|
title: formName.title,
|
||||||
name: formName.user,
|
name: formName.user,
|
||||||
phone: formName.phone,
|
phone: formName.phone,
|
||||||
|
|
|
@ -333,12 +333,12 @@
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 西海岸-无人机、单兵设备 -->
|
||||||
<div class="infrastructrue-table" v-else-if="isXiHaiAn && wrjFlag">
|
<div class="infrastructrue-table" v-else-if="isXiHaiAn && wrjFlag">
|
||||||
<a-table class="ant-table-striped" :dataSource="dataSource2" :columns="columns2" :scroll="{ y: tableHeight }"
|
<a-table class="ant-table-striped" :dataSource="dataSource2" :columns="columns2" :scroll="{ y: tableHeight }"
|
||||||
rowKey="channelId" :rowClassName="
|
rowKey="channelId" :rowClassName="
|
||||||
(record, index) => (index % 2 === 1 ? 'table-striped' : null)
|
(record, index) => (index % 2 === 1 ? 'table-striped' : null)
|
||||||
" :pagination="pagination" @change="handleTableChange">
|
" :pagination="pagination" @change="handleTableChange">
|
||||||
<!-- todo-->
|
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.dataIndex === 'operation'">
|
<template v-if="column.dataIndex === 'operation'">
|
||||||
<a @click="goToApply(record)" style="margin-right: 10px">
|
<a @click="goToApply(record)" style="margin-right: 10px">
|
||||||
|
@ -678,7 +678,7 @@ const goToWrj = (data) => {
|
||||||
window.open(data.url)
|
window.open(data.url)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 申请
|
// 西海岸-无人机、单兵设备申请
|
||||||
const goToApply = (data) => {
|
const goToApply = (data) => {
|
||||||
console.log(data, dept)
|
console.log(data, dept)
|
||||||
let arr = [
|
let arr = [
|
||||||
|
@ -1622,7 +1622,7 @@ const onSelectAll = (selected, selectedRows, changeRows) => {
|
||||||
console.log('heiheiheiehiehei', selected, selectedRows, changeRows)
|
console.log('heiheiheiehiehei', selected, selectedRows, changeRows)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 切换tab todo
|
// 切换tab
|
||||||
const handleTableChange = (val) => {
|
const handleTableChange = (val) => {
|
||||||
pagination.value.current = val.current
|
pagination.value.current = val.current
|
||||||
pagination.value.pageSize = val.pageSize
|
pagination.value.pageSize = val.pageSize
|
||||||
|
@ -1637,9 +1637,6 @@ const handleTableChange = (val) => {
|
||||||
}else {
|
}else {
|
||||||
getCamera()
|
getCamera()
|
||||||
}
|
}
|
||||||
console.log('_arr------------>', _arr);
|
|
||||||
console.log('clickList------------>', clickList);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const showMsg = () => {
|
const showMsg = () => {
|
||||||
|
|
Loading…
Reference in New Issue