Commit 388b8eff authored by 王晓倩's avatar 王晓倩

安全台账修改下拉框问题

parent 7365846e
......@@ -43,9 +43,6 @@ public class TSafeEquipmentStandingBook extends BaseEntity
/** 安全装置类型 */
private String equipmentType;
/** 安全装置类型 */
private String equipments;
/** 安装时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
......
......@@ -422,11 +422,12 @@ export default {
this.options = response.data;
});
getEquipment(row.safeEquipmentId).then(response => {
this.form = response.data;
let data = response.data;
data.equipments = [];
this.form = data;
if(this.form.equipmentType){
this.form.equipments = this.form.equipmentType.split(",");
}
// this.form.equipments = ["1","2","3"];
this.open1 = true;
this.title1 = "修改用户加装安全装置台账";
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment