| | |
| | | <!-- 列表 --> |
| | | <ContentWrap> |
| | | <el-table border stripe v-loading="loading" :data="list"> |
| | | <el-table-column fixed label="测点编码" header-align="center" align="left" min-width="100" prop="pointNo" /> |
| | | <el-table-column fixed label="测点编码" header-align="center" align="left" min-width="110" prop="pointNo" /> |
| | | <el-table-column label="测点名称" header-align="center" align="left" min-width="200" prop="pointName" /> |
| | | <el-table-column label="测点类型" align="center" prop="pointType" width="100"> |
| | | <template #default="scope"> |
| | |
| | | <el-table-column label="数据类型" align="center" prop="dataType" width="100"> |
| | | <template #default="scope"> |
| | | <dict-tag :type="DICT_TYPE.POINT_DATA_TYPE" :value="scope.row.dataType" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="值类型" align="center" prop="valueType" width="120"> |
| | | <template #default="scope"> |
| | | <dict-tag :type="DICT_TYPE.VALUETYPE" :value="scope.row.valueType" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="测量单位" align="center" prop="unit" width="100"/> |
| | |
| | | <script lang="ts" setup> |
| | | import DaPointForm from './DaPointForm.vue' |
| | | import * as DaPoint from '@/api/data/da/point' |
| | | import {DICT_TYPE, getDictOptions} from "@/utils/dict"; |
| | | import {DICT_TYPE} from "@/utils/dict"; |
| | | |
| | | defineOptions({name: 'DataPoint'}) |
| | | |