优化aitable
This commit is contained in:
		| @@ -99,7 +99,7 @@ | ||||
|         colConfigs: [ | ||||
|           { prop: 'title',  label: '标题', align: 'left', width: '200px' }, | ||||
|           { prop: 'areaName', label: '地区', align: 'left' }, | ||||
|           { prop: 'examineStatus', label: '状态', align: 'center', formart: v => this.dict.getLabel('auditStatus', v) }, | ||||
|           { prop: 'examineStatus', label: '状态', align: 'center', format: v => this.dict.getLabel('auditStatus', v) }, | ||||
|           { prop: 'examineOpinion', label: '审核意见', align: 'center' }, | ||||
|           { prop: 'createUserName', label: '发布人', align: 'center' }, | ||||
|           { prop: 'createTime', label: '发布时间', align: 'center' }, | ||||
| @@ -166,7 +166,7 @@ | ||||
|           } | ||||
|         }) | ||||
|       }, | ||||
|        | ||||
|  | ||||
|       audit (id) { | ||||
|         this.id = id | ||||
|         this.isShow = true | ||||
|   | ||||
| @@ -76,7 +76,7 @@ | ||||
|         colConfigs: [ | ||||
|           { prop: 'title',  label: '标题', align: 'left', width: '200px' }, | ||||
|           { prop: 'areaName', label: '地区', align: 'left' }, | ||||
|           { prop: 'examineStatus', label: '状态', align: 'center', formart: v => this.dict.getLabel('auditStatus', v) }, | ||||
|           { prop: 'examineStatus', label: '状态', align: 'center', format: v => this.dict.getLabel('auditStatus', v) }, | ||||
|           { prop: 'examineOpinion', label: '审核意见', align: 'center' }, | ||||
|           { prop: 'viewCount', label: '浏览次数', align: 'center' }, | ||||
|           { prop: 'createUserName', label: '发布人', align: 'center' }, | ||||
|   | ||||
| @@ -152,7 +152,7 @@ | ||||
|           { type: 'selection', align: 'center'}, | ||||
|           { prop: 'title',  label: this.activeName == 'ruralProdect' ? '产品名称' : '标题', align: 'left', width: '200px' }, | ||||
|           { prop: 'areaName', label: '地区', align: 'center' }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', formart: v => v === '1' ? '已发布' : '未发布' }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', format: v => v === '1' ? '已发布' : '未发布' }, | ||||
|           { prop: 'createDate', label: '发布时间', align: 'center' }, | ||||
|           { prop: 'createUnitName', label: '发布单位', align: 'center' }, | ||||
|           { prop: 'createUserName', label: '发布人', align: 'center' }, | ||||
|   | ||||
| @@ -71,7 +71,7 @@ | ||||
|         return [ | ||||
|           { type: 'selection' }, | ||||
|           { prop: 'title', label: '标题' }, | ||||
|           { prop: 'type', align: 'center', label: '类型', formart: v => this.dict.getLabel('agriculturalType', v) }, | ||||
|           { prop: 'type', align: 'center', label: '类型', format: v => this.dict.getLabel('agriculturalType', v) }, | ||||
|           { prop: 'phone', align: 'center', label: '联系电话' }, | ||||
|           { prop: 'contactPerson', align: 'center', label: '发布人' }, | ||||
|           { prop: 'createTime', align: 'center', label: '发布时间' } | ||||
|   | ||||
| @@ -81,9 +81,9 @@ | ||||
|       ...mapState(['user']), | ||||
|       colConfigs() { | ||||
|         return [ | ||||
|           { prop: 'type', label: '类型', formart: v => this.dict.getLabel('villInfoType', v) }, | ||||
|           { prop: 'type', label: '类型', format: v => this.dict.getLabel('villInfoType', v) }, | ||||
|           { prop: 'title', label: '标题', align: 'left' }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', formart: v => this.dict.getLabel('villInfoStatus', v) }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', format: v => this.dict.getLabel('villInfoStatus', v) }, | ||||
|           { prop: 'createDate', label: '发布时间', dateFormat: 'YYYY-MM-DD', align: 'center' }, | ||||
|           { prop: 'createUser', label: '发布人', align: 'center' }, | ||||
|           { prop: 'areaName', label: '来源地区', align: 'center' }, | ||||
|   | ||||
| @@ -74,7 +74,7 @@ | ||||
|         colConfigs: [ | ||||
|           { prop: 'title',  label: '标题', align: 'left', width: '200px' }, | ||||
|           { prop: 'areaName', label: '地区', align: 'center' }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', formart: v => v === '1' ? '已发布' : '未发布' }, | ||||
|           { prop: 'status', label: '发布状态', align: 'center', format: v => v === '1' ? '已发布' : '未发布' }, | ||||
|           { prop: 'createUserName', label: '发布人', align: 'center' }, | ||||
|           { prop: 'createDate', label: '发布时间', align: 'center' }, | ||||
|           { slot: 'options', label: '操作', align: 'center' } | ||||
|   | ||||
| @@ -76,7 +76,7 @@ export default { | ||||
|       colConfigs: [ | ||||
|         {prop: 'title', label: '标题', align: 'left', width: '200px'}, | ||||
|         {prop: 'areaName', label: '地区', align: 'center'}, | ||||
|         {prop: 'status', label: '发布状态', align: 'center', formart: v => v === '1' ? '已发布' : '未发布'}, | ||||
|         {prop: 'status', label: '发布状态', align: 'center', format: v => v === '1' ? '已发布' : '未发布'}, | ||||
|         {prop: 'createUserName', label: '发布人', align: 'center'}, | ||||
|         {prop: 'createDate', label: '发布时间', align: 'center'}, | ||||
|         {slot: 'options', label: '操作', align: 'center'} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user