@ -28,6 +28,8 @@ public class TreeSelect implements Serializable
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<TreeSelect> children;
private String idStr;
public TreeSelect()
{
@ -80,4 +82,14 @@ public class TreeSelect implements Serializable
this.children = children;
}
public String getIdStr() {
if(id == null){
return "0";
}else{
return id+"";
@ -465,6 +465,9 @@ export default {
selectAreaSupervisor(){
selectAreaSupervisor().then(res =>{
console.log(res)
res.data.forEach( (item) =>{
item.id = item.idStr
})
this.reousrceIptions = res.data