|
@@ -7,6 +7,7 @@
|
|
|
<el-form-item label="所属医院:" prop="hospitalId">
|
|
|
<el-select v-model="form.hospitalId"
|
|
|
placeholder="请选择"
|
|
|
+ @change="getQcFlawList"
|
|
|
size="small">
|
|
|
<el-option
|
|
|
v-for="item in hisTypes"
|
|
@@ -110,9 +111,10 @@
|
|
|
if(info){
|
|
|
const infoCopy = Object.assign({},info);
|
|
|
infoCopy.casesEntryIds?this.casesEIds = infoCopy.casesEntryIds.split(","):'';
|
|
|
- this.getQcFlawList(infoCopy.modeId);
|
|
|
+
|
|
|
this.title='字段映射维护-修改映射字段';
|
|
|
this.form = infoCopy;
|
|
|
+ this.getQcFlawList();
|
|
|
}
|
|
|
},
|
|
|
watch:{
|
|
@@ -122,7 +124,11 @@
|
|
|
},
|
|
|
methods:{
|
|
|
getQcFlawList(val){
|
|
|
- const param={modeId:val,name:"",pages:1,size:500};
|
|
|
+ const { hospitalId, modeId } = this.form
|
|
|
+ if(hospitalId === '' || modeId === ''){
|
|
|
+ return
|
|
|
+ }
|
|
|
+ const param={modeId:modeId,hospitalId:hospitalId,name:""};
|
|
|
api.getQcFlawList(param).then((res)=>{
|
|
|
if(res.data.code==="0") {
|
|
|
const data = res.data.data;
|