调整一下名字
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
tableData: [],
|
||||
recordList: [],
|
||||
colConfigs: [
|
||||
{prop: 'createTime', label: '上报日期', align: 'center', dateFormart: 'YYYY-MM-DD'},
|
||||
{prop: 'createTime', label: '上报日期', align: 'center', dateFormat: 'YYYY-MM-DD'},
|
||||
{prop: 'status', label: '健康状态', align: 'center', formart: v => v === '0' ? '异常' : '正常' }
|
||||
],
|
||||
tabList: ['基本信息', '每日上报', '异常处理']
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
{ prop: 'type', label: '类型', formart: v => this.dict.getLabel('villInfoType', v) },
|
||||
{ prop: 'title', label: '标题', align: 'left' },
|
||||
{ prop: 'status', label: '发布状态', align: 'center', formart: v => this.dict.getLabel('villInfoStatus', v) },
|
||||
{ prop: 'createDate', label: '发布时间', dateFormart: 'YYYY-MM-DD', align: 'center' },
|
||||
{ prop: 'createDate', label: '发布时间', dateFormat: 'YYYY-MM-DD', align: 'center' },
|
||||
{ prop: 'createUser', label: '发布人', align: 'center' },
|
||||
{ prop: 'areaName', label: '来源地区', align: 'center' },
|
||||
{ slot: 'options', label: '操作' }
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
return [
|
||||
{prop: 'type', label: '类型', formart: v => this.dict.getLabel('villInfoType', v)},
|
||||
{prop: 'title', label: '标题', align: 'left'},
|
||||
{prop: 'createDate', label: '创建时间', dateFormart: 'YYYY-MM-DD', align: 'center'},
|
||||
{prop: 'createDate', label: '创建时间', dateFormat: 'YYYY-MM-DD', align: 'center'},
|
||||
{prop: 'createUser', label: '发布人', align: 'center'},
|
||||
{slot: 'options', label: '操作'}
|
||||
]
|
||||
|
||||
@@ -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: "网格员"},
|
||||
];
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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: '健康状态',
|
||||
|
||||
Reference in New Issue
Block a user