|
|
@ -26,7 +26,7 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
<el-form-item label="体检中心" prop="organizationUnitId"> |
|
|
<el-form-item label="体检中心" prop="organizationUnitId"> |
|
|
<el-select v-model="form.organizationUnitId" placeholder="请选择" filterable |
|
|
|
|
|
|
|
|
<el-select v-model="form.organizationUnitId" placeholder="请选择" filterable :disabled="peisid ? true:false" |
|
|
:style="'width:' + Math.floor((window.pageWidth - 655) / 3) + 'px;'"> |
|
|
:style="'width:' + Math.floor((window.pageWidth - 655) / 3) + 'px;'"> |
|
|
<el-option v-for="item in data.organizationdata" :key="item.id" :label="item.displayName" |
|
|
<el-option v-for="item in data.organizationdata" :key="item.id" :label="item.displayName" |
|
|
:value="item.id" /> |
|
|
:value="item.id" /> |
|
|
@ -179,6 +179,7 @@ export default { |
|
|
organizationdata: [], //体检中心数据 |
|
|
organizationdata: [], //体检中心数据 |
|
|
customerOrgType: [], //单位类别 |
|
|
customerOrgType: [], //单位类别 |
|
|
}, |
|
|
}, |
|
|
|
|
|
peisid: null, |
|
|
|
|
|
|
|
|
form:{ |
|
|
form:{ |
|
|
id: "", |
|
|
id: "", |
|
|
@ -216,7 +217,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
created() { |
|
|
created() { |
|
|
|
|
|
|
|
|
|
|
|
this.peisid = window.sessionStorage.getItem('peisid'); |
|
|
|
|
|
if(!this.form.id){ |
|
|
|
|
|
this.form.organizationUnitId = this.peisid; |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//挂载完成 |
|
|
//挂载完成 |
|
|
|