|
@@ -69,14 +69,7 @@
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
|
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
|
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- plain
|
|
|
|
- @click="openForm('create')"
|
|
|
|
- v-hasPermi="['inspection:record:create']"
|
|
|
|
- >
|
|
|
|
- <Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
|
|
- </el-button>
|
|
|
|
|
|
+
|
|
<el-button
|
|
<el-button
|
|
type="success"
|
|
type="success"
|
|
plain
|
|
plain
|
|
@@ -93,20 +86,25 @@
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<ContentWrap>
|
|
<ContentWrap>
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
|
- <el-table-column
|
|
|
|
- label="创建时间"
|
|
|
|
- align="center"
|
|
|
|
- prop="createTime"
|
|
|
|
- :formatter="dateFormatter"
|
|
|
|
- width="180px"
|
|
|
|
- />
|
|
|
|
- <el-table-column label="关联图层名" align="center" prop="shpName" />
|
|
|
|
- <el-table-column label="用户ID" align="center" prop="id" />
|
|
|
|
|
|
+ <el-table-column label="编号" align="center" prop="id" />
|
|
|
|
+ <el-table-column label="巡检人ID" align="center" prop="creator" />
|
|
<el-table-column label="巡检人" align="center" prop="username" />
|
|
<el-table-column label="巡检人" align="center" prop="username" />
|
|
- <el-table-column label="状态" align="center" prop="status" />
|
|
|
|
<el-table-column label="路线记录" align="center" prop="geom" />
|
|
<el-table-column label="路线记录" align="center" prop="geom" />
|
|
<el-table-column label="备注" align="center" prop="remarks" />
|
|
<el-table-column label="备注" align="center" prop="remarks" />
|
|
- <el-table-column label="图片路径" align="center" prop="picture" />
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="开始时间"
|
|
|
|
+ align="center"
|
|
|
|
+ prop="createTime"
|
|
|
|
+ :formatter="dateFormatter"
|
|
|
|
+ width="180px"
|
|
|
|
+ />
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="结束时间"
|
|
|
|
+ align="center"
|
|
|
|
+ prop="endTime"
|
|
|
|
+ :formatter="dateFormatter"
|
|
|
|
+ width="180px"
|
|
|
|
+ />
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button
|
|
<el-button
|