<template>
|
<FYTable @search="onSearch">
|
<template #options>
|
|
</template>
|
|
<template #buttons>
|
|
</template>
|
|
<template #table-column>
|
<el-table-column fixed="left" sortable prop="ncNum" label="编号" width="80">
|
</el-table-column>
|
<el-table-column
|
fixed="left"
|
prop="name"
|
label="名称"
|
:show-overflow-tooltip="true"
|
width="400"
|
>
|
</el-table-column>
|
<el-table-column prop="type" label="类型" width="130" />
|
<el-table-column prop="provincename" label="省" width="90" />
|
<el-table-column prop="cityname" label="市" width="90" />
|
<el-table-column prop="districtname" label="区县" width="90" />
|
<el-table-column prop="townname" label="街道" width="110" />
|
<el-table-column prop="location" label="地址" min-width="400" />
|
<el-table-column prop="longitude" label="经度" width="110" />
|
<el-table-column prop="latitude" label="纬度" width="110" />
|
<el-table-column fixed="right" label="操作" width="160">
|
<template #default="scope">
|
<el-button
|
:loading="scope.row.loading1"
|
type="default"
|
size="small"
|
@click="itemEdit(scope)"
|
>编辑</el-button
|
>
|
<el-button
|
:loading="scope.row.loading2"
|
:type="scope.row.extension1 != '0' ? 'danger' : 'primary'"
|
size="small"
|
@click="itemActive(scope)"
|
>{{ scope.row.extension1 != '0' ? '下线' : '上线' }}</el-button
|
>
|
</template>
|
</el-table-column>
|
</template>
|
</FYTable>
|
</template>
|
<script setup>
|
import nightConstructionApi from '@/api/fysp/nightConstructionApi';
|
</script>
|