优化aitable
This commit is contained in:
@@ -249,7 +249,7 @@ export default {
|
||||
label: '微信类型',
|
||||
align: 'center',
|
||||
width: '100px',
|
||||
formart: v => this.dict.getLabel('wxUserType', v)
|
||||
format: v => this.dict.getLabel('wxUserType', v)
|
||||
},
|
||||
{prop: 'wxUserNames', label: '所属员工', align: 'center', width: '100px'},
|
||||
{slot: 'tags', label: '标签', align: 'center', width: '268px'},
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
{ prop: 'povertyNumber', label: '监测家庭数量', align: 'center' },
|
||||
{ prop: 'logNumber', label: '开展走访次数', align: 'center' },
|
||||
// { prop: 'povertyHouseholdNumber', label: '已走访家庭数量', align: 'center' },
|
||||
{ prop: 'finishRate', label: '走访进度', align: 'center', formart: v => (v * 100).toFixed(1) + '%' }
|
||||
{ prop: 'finishRate', label: '走访进度', align: 'center', format: v => (v * 100).toFixed(1) + '%' }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -182,11 +182,11 @@
|
||||
colConfigs () {
|
||||
return [
|
||||
{ prop: 'name', label: '户主姓名', align: 'left' },
|
||||
{ prop: 'sex', label: '性别', align: 'center', formart: v => this.dict.getLabel('sex', v) },
|
||||
{ prop: 'sex', label: '性别', align: 'center', format: v => this.dict.getLabel('sex', v) },
|
||||
{ prop: 'idNumber', label: '身份证号', align: 'center' },
|
||||
{ prop: 'householdPhone', label: '户主联系方式', align: 'center' },
|
||||
{ prop: 'address', label: '家庭住址', align: 'center' },
|
||||
{ prop: 'status', label: '状态', align: 'center', formart: v => this.dict.getLabel('fpPrtpStatus', v) },
|
||||
{ prop: 'status', label: '状态', align: 'center', format: v => this.dict.getLabel('fpPrtpStatus', v) },
|
||||
{ prop: 'girdMemberName', label: '网格员', align: 'center' },
|
||||
{ prop: 'girdMemberPhone', label: '网格员电话', align: 'center' },
|
||||
{ prop: 'visitCount', label: '走访次数', align: 'center' }
|
||||
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
{
|
||||
slot: 'joinStatus',
|
||||
},
|
||||
{prop: 'signInStatus', align: 'center', label: '签到', formart: v => v === '1' ? '已签到' : '未签到'},
|
||||
{prop: 'signInStatus', align: 'center', label: '签到', format: v => v === '1' ? '已签到' : '未签到'},
|
||||
{
|
||||
slot: 'option',
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
label: "公文类型",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (documentType) =>
|
||||
format: (documentType) =>
|
||||
this.$dict.getLabel("officialDocumentName", documentType),
|
||||
},
|
||||
{
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
label: "阅示类型",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (readType) =>
|
||||
format: (readType) =>
|
||||
this.$dict.getLabel("officialDocumentReadType", readType),
|
||||
},
|
||||
{
|
||||
@@ -159,7 +159,7 @@ export default {
|
||||
label: "保密等级",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (confidentialityLevel) =>
|
||||
format: (confidentialityLevel) =>
|
||||
this.$dict.getLabel("officialDocumentConfidentialityLevel", confidentialityLevel),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
label: "申报方式",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (declareType) =>
|
||||
format: (declareType) =>
|
||||
this.$dict.getLabel("helpDeclarationType", declareType),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
{ type: 'selection' },
|
||||
{prop: 'name', label: '姓名', align: 'left'},
|
||||
{prop: 'phone', label: '联系方式', align: 'center' },
|
||||
{prop: 'riskType', label: '风险类型', align: 'center', formart: v => this.dict.getLabel('fpRiskType', v) },
|
||||
{prop: 'riskType', label: '风险类型', align: 'center', format: v => this.dict.getLabel('fpRiskType', v) },
|
||||
{prop: 'areaName', label: '所属区域', align: 'center' },
|
||||
{prop: 'remarks', label: '备注说明', align: 'center' },
|
||||
{prop: 'createTime', label: '操作时间', align: 'center'},
|
||||
|
||||
@@ -89,10 +89,10 @@
|
||||
{ type: 'selection' },
|
||||
{ prop: 'name', label: '姓名', align: 'left'},
|
||||
{ prop: 'phone', label: '联系方式', align: 'center' },
|
||||
{ prop: 'riskType', label: '风险类型', align: 'center', formart: v => this.dict.getLabel('fpRiskType', v) },
|
||||
{ prop: 'riskType', label: '风险类型', align: 'center', format: v => this.dict.getLabel('fpRiskType', v) },
|
||||
{ prop: 'areaName', label: '所属区域', align: 'center' },
|
||||
{ prop: 'remarks', label: '备注说明', align: 'center' },
|
||||
{ prop: 'status', label: '状态', align: 'center', formart: v => this.dict.getLabel('fpRiskPersonStatus', v) },
|
||||
{ prop: 'status', label: '状态', align: 'center', format: v => this.dict.getLabel('fpRiskPersonStatus', v) },
|
||||
{ prop: 'createTime', label: '处理时间', align: 'center' },
|
||||
{ prop: 'createUserName', label: '处理人', align: 'center' }
|
||||
]
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
{ prop: 'visitTime', align: 'center', label: '走访时间' },
|
||||
{ prop: 'name', align: 'center', label: '慰问对象' },
|
||||
{ prop: 'menuLevel3Name', align: 'center', label: '对象类型' },
|
||||
{ prop: 'reality', align: 'center', label: '现实状态', formart: v => v ? this.dict.getLabel('visitCondolenceReality', v) : '-' },
|
||||
{ prop: 'reality', align: 'center', label: '现实状态', format: v => v ? this.dict.getLabel('visitCondolenceReality', v) : '-' },
|
||||
{ prop: 'createUserName', align: 'center', label: '走访人' }
|
||||
],
|
||||
tableData: [],
|
||||
|
||||
Reference in New Issue
Block a user