|
@@ -25,12 +25,12 @@
|
|
:data="medicalRecordlist"
|
|
:data="medicalRecordlist"
|
|
border
|
|
border
|
|
style="width: 100%">
|
|
style="width: 100%">
|
|
- <el-table-column
|
|
|
|
|
|
+ <!--<el-table-column
|
|
:resizable = "false"
|
|
:resizable = "false"
|
|
label="所属医院"
|
|
label="所属医院"
|
|
prop="hospitalName"
|
|
prop="hospitalName"
|
|
>
|
|
>
|
|
- </el-table-column>
|
|
|
|
|
|
+ </el-table-column>-->
|
|
<el-table-column
|
|
<el-table-column
|
|
:resizable = "false"
|
|
:resizable = "false"
|
|
prop="behospitalCode"
|
|
prop="behospitalCode"
|
|
@@ -105,11 +105,25 @@
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
let {hisTypes} = this.$route.params;
|
|
let {hisTypes} = this.$route.params;
|
|
|
|
+ if(!hisTypes){
|
|
|
|
+ this.getHisTypes();
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.hisTypes = hisTypes;
|
|
this.hisTypes = hisTypes;
|
|
},
|
|
},
|
|
watch:{
|
|
watch:{
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
+ getHisTypes(){
|
|
|
|
+ api.getRecordHopitalList().then((res)=>{
|
|
|
|
+ if(res.data.code==="0"){
|
|
|
|
+ const data = res.data.data;
|
|
|
|
+ this.hisTypes =data;
|
|
|
|
+ }else{
|
|
|
|
+ this.warning("获取医院列表失败");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
dateFormatter(item,prop,it){
|
|
dateFormatter(item,prop,it){
|
|
return it.substr(0,10);
|
|
return it.substr(0,10);
|
|
},
|
|
},
|