Commit 485129a4 authored by lizhichao's avatar lizhichao

所属企业 改为string

parent 576d3722
......@@ -48,16 +48,16 @@ public class TSupMajorHazard extends BaseEntity
@Excel(name = "分级情况")
private String fLevel;
public Long getBeyondEnterpriseId() {
public String getBeyondEnterpriseId() {
return beyondEnterpriseId;
}
public void setBeyondEnterpriseId(Long beyondEnterpriseId) {
public void setBeyondEnterpriseId(String beyondEnterpriseId) {
this.beyondEnterpriseId = beyondEnterpriseId;
}
/** 权属单位 */
private Long beyondEnterpriseId;
private String beyondEnterpriseId;
/** 创建时间 */
private Date fCreateTime;
......
......@@ -54,7 +54,7 @@ public class TVehicleInfo extends BaseEntity
/** 所属企业 */
@Excel(name = "所属企业")
private int beyondEnterpriseId;
private String beyondEnterpriseId;
/** 责任人 */
@Excel(name = "责任人")
......@@ -265,11 +265,11 @@ public class TVehicleInfo extends BaseEntity
return vehicleInspect;
}
public int getBeyondEnterpriseId() {
public String getBeyondEnterpriseId() {
return beyondEnterpriseId;
}
public void setBeyondEnterpriseId(int beyondEnterpriseId) {
public void setBeyondEnterpriseId(String beyondEnterpriseId) {
this.beyondEnterpriseId = beyondEnterpriseId;
}
......
......@@ -161,7 +161,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="所属单位" prop="beyondEnterpriseId">
<el-select v-model="form.beyondEnterpriseId" placeholder="请选择所属单位名称" style="width: 100%" @change="selectworkAssignEnterprose($event)">
<el-select v-model="form.beyondEnterpriseId" placeholder="请选择所属单位名称" style="width: 100%" >
<el-option
v-for="item in enterprises"
:key="item.enterpriseId"
......@@ -420,15 +420,15 @@ export default {
this.form.longitude = res[0];
this.form.latitude = res[1];
},
getInspectionUserList(enterpriseId){
getInspectionUsers(enterpriseId,"se").then(response =>{
this.inspectors = response.data;
})
},
selectworkAssignEnterprose(enterpriseId){
this.getInspectionUserList(enterpriseId);
},
// getInspectionUserList(enterpriseId){
// getInspectionUsers(enterpriseId,"se").then(response =>{
// this.inspectors = response.data;
// })
// },
//
// selectworkAssignEnterprose(enterpriseId){
// this.getInspectionUserList(enterpriseId);
// },
//所属单位
getEnterpriseLists(){
const param = {};
......
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