提取这些代码的的后端字段,生成java类<el-table-column label="计划ID" prop="planId"/> <el-table-column…
- User
提取这些代码的的后端字段,生成java类 {{ (scope.row.planBudget / 100).toFixed(2) }} 元 {{ (scope.row.planBudget / 100).toFixed(2) }} 元 {{ scope.row.smoothStatus === 1 ? '平滑' : '快速' }} {{ statusMap[scope.row.planStatus] }} {{ statusMap[scope.row.budgetStatus] }} {{ (scope.row.debit / 10000).toFixed(4) }} 元
- Assistant
public class TableColumn { private String label; private String prop; private String slotScope;
public TableColumn(String label, String prop) { this.label = label; this.prop = prop; } public TableColumn(String label, String prop, String slotScope) { this.label = label; this.prop = prop; this.slotScope = slotScope; } public String getLabel() { return label; } public void setLabel(String label) { this.label = label; } public String getProp() { return prop; } public void setProp(String prop) { this.prop = prop; } public String getSlotScope() { return slotScope; } public void setSlotScope(String slotScope) { this.slotScope = slotScope; }}
- User
提取这些字段,生成java类,只需要prop里的值,比如wmPoiId这种 {{ (scope.row.planBudget / 100).toFixed(2) }} 元 {{ (scope.row.planBudget / 100).toFixed(2) }} 元 {{ scope.row.smoothStatus === 1 ? '平滑' : '快速' }} {{ statusMap[scope.row.planStatus] }} {{ statusMap[scope.row.budgetStatus] }} {{ (scope.row.debit / 10000).toFixed(4) }} 元
- Assistant
public class TableColumn { private String prop;
public TableColumn(String prop) { this.prop = prop; } public String getProp() { return prop; } public void setProp(String prop) { this.prop = prop; }}