Compare commits

..

No commits in common. "152dacfc847b915f0f10cbd468243bd423686c55" and "e0cd26ccbc33724f74cb5ee023a08decdaaba404" have entirely different histories.

2 changed files with 11 additions and 45 deletions

View File

@ -1,9 +0,0 @@
import request from '@/utils/request'
// 查询参数列表
export function list() {
return request({
url: '/fence/fenceTag/list',
method: 'get'
})
}

View File

@ -1,48 +1,33 @@
<template>
<div>
<h2>电子围栏</h2>
<el-table :data="tableData" style="width: 100%">
<el-table-column label="围栏标签主键id" width="180">
<el-table-column label="日期" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{ scope.row.fenceTagId }}</span>
<span style="margin-left: 10px">{{ scope.row.date }}</span>
</template>
</el-table-column>
<el-table-column label="围栏标签名称" width="180">
<el-table-column label="日期" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{ scope.row.fenceTagName}}</span>
<span style="margin-left: 10px">{{ scope.row.data}}</span>
</template>
</el-table-column>
<el-table-column label="创建人" width="180">
<el-table-column label="日期" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{ scope.row.createdBy }}</span>
<span style="margin-left: 10px">{{ scope.row.data }}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" width="180">
<el-table-column label="日期" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{ scope.row.createdTime}}</span>
</template>
</el-table-column>
<el-table-column label="更新人" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{scope.row.updatedBy}}</span>
</template>
</el-table-column>
<el-table-column label="更新时间" width="180">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span style="margin-left: 10px">{{scope.row.updatedTime}}</span>
<span style="margin-left: 10px">{{scope.row.data}}</span>
</template>
</el-table-column>
@ -54,9 +39,8 @@
<script>
//jsjsjson,
//import from ',
import { list } from "@/api/system/fence";
export default {
export default {
//import使"
components: {},
props: {},
@ -70,8 +54,7 @@ export default {
status: null,
alarmType: null,
fenceTagId: null,
},
tableData:[],
}
};
},
// data",
@ -79,17 +62,9 @@ export default {
//data",
watch: {},
//",
methods: {
FenceList() {
list().then(res => {
console.log(res.data.data)
this.tableData=res.data.data
})
},
},
methods: {},
// - 访this",
created() {
this.FenceList();
},
// - 访DOM",
mounted() {