调整一下名字

This commit is contained in:
aixianling
2022-04-28 14:30:20 +08:00
parent 0a815cbb35
commit 97759ee9d2
5 changed files with 12 additions and 63 deletions

View File

@@ -102,6 +102,7 @@
:size.sync="page.size"
@selection-change="(v) => (ids = v.map((e) => e.id))"
@getList="getList()"
:dict="dict"
>
<el-table-column
slot="selectId"
@@ -200,10 +201,8 @@
<script>
import AMapLoader from "@amap/amap-jsapi-loader";
import Template from '../../../../../packages/wechat/AppAskForm/components/Template.vue';
export default {
components: {Template},
name: "List",
label: "网格区块",
props: {
@@ -260,63 +259,13 @@ export default {
let _ = this;
return [
{type: 'selection'},
{
prop: "girdName",
align: "left",
label: "网格名称",
},
{
prop: "girdCode",
align: "center",
label: "网格编码",
},
{
prop: "girdType",
align: "center",
label: "网格类型",
render(h, {row}) {
return h("span", {}, _.dict.getLabel("girdType", row.girdType) || '-');
},
},
{
prop: "girdLevel",
align: "center",
label: "网格层级",
render(h, {row}) {
return h("span", {}, _.dict.getLabel("girdLevel", row.girdLevel) || '-');
},
},
{
prop: "plottingStatus",
align: "center",
label: "标绘状态",
render(h, {row}) {
return h(
"span",
{
style: {
color: _.dict.getColor("plottingStatus", row.plottingStatus),
},
},
_.dict.getLabel("plottingStatus", row.plottingStatus)
);
},
},
{
prop: "createTime",
align: "center",
label: "创建时间",
render(h, {row}) {
return h("span", {}, row.createTime.substring(0, 11));
},
},
{
prop: "girdMemberNames",
align: "center",
slot: 'user',
width: 200,
label: "网格员",
},
{prop: "girdName", align: "left", label: "网格名称",},
{prop: "girdCode", align: "center", label: "网格编码",},
{prop: "girdType", align: "center", label: "网格类型", dict: "girdType"},
{prop: "girdLevel", align: "center", label: "网格层级", dict: "girdLevel"},
{prop: "plottingStatus", align: "center", label: "标绘状态", dict: "plottingStatus"},
{prop: "createTime", align: "center", label: "创建时间", dateFormat: "YYYY-MM-DD"},
{prop: "girdMemberNames", align: "center", slot: 'user', width: 200, label: "网格员"},
];
},
},

View File

@@ -74,7 +74,7 @@
currIndex: 0,
tableData: [],
colConfigs: [
{prop: 'createTime', label: '上报日期', align: 'center', dateFormart: 'YYYY-MM-DD'},
{prop: 'createTime', label: '上报日期', align: 'center', dateFormat: 'YYYY-MM-DD'},
{
prop: 'status',
label: '健康状态',