提交 cd20f0e4 编写于 作者: guangjun.yang's avatar guangjun.yang

goAddPatient

上级 2f4fbf80
...@@ -310,54 +310,54 @@ ...@@ -310,54 +310,54 @@
default: '', default: '',
}, },
}, },
watch: { // watch: {
isShowSelectPatient(val){ // isShowSelectPatient(val){
if(val){ // if(val){
this.getPatientsList() // this.getPatientsList()
//获取搜索诊断 // //获取搜索诊断
this.getDiseaseData(); // this.getDiseaseData();
// 获取常量 性别、年龄 // // 获取常量 性别、年龄
getConstants({ // getConstants({
numList: 'P057,P006' // numList: 'P057,P006'
}).then(res=>{ // }).then(res=>{
this.sexOptions = [{ // this.sexOptions = [{
no: '', // no: '',
value: '不限' // value: '不限'
}]; // }];
this.sexOptions = this.sexOptions.concat(res.data.P006);//性别 // this.sexOptions = this.sexOptions.concat(res.data.P006);//性别
this.ageOptions = [ // this.ageOptions = [
// {no: '', value: '年龄范围'} // // {no: '', value: '年龄范围'}
]; // ];
this.ageOptions = this.ageOptions.concat(res.data.P057);//年龄段 // this.ageOptions = this.ageOptions.concat(res.data.P057);//年龄段
}); // });
// 获取所有疾病 // // 获取所有疾病
getDiseasesList().then(res=>{ // getDiseasesList().then(res=>{
this.diseaseOptions = [ // this.diseaseOptions = [
// {diseaseId: '', diseaseName: '基础疾病'} // // {diseaseId: '', diseaseName: '基础疾病'}
]; // ];
this.diseaseOptions = this.diseaseOptions.concat(res.data); // this.diseaseOptions = this.diseaseOptions.concat(res.data);
}); // });
// 获取所有分组 // // 获取所有分组
getLabelList({type: 1}).then(res=>{ // getLabelList({type: 1}).then(res=>{
this.labelOptions = [ // this.labelOptions = [
// {labelId: '', labelName: '分组'} // // {labelId: '', labelName: '分组'}
] // ]
this.labelOptions = this.labelOptions.concat(res.data.labelNameList); // this.labelOptions = this.labelOptions.concat(res.data.labelNameList);
}); // });
// 获取履约计划列表 // // 获取履约计划列表
getPlanList({ // getPlanList({
pageNo: -1, // pageNo: -1,
}).then(res => { // }).then(res => {
if(res.code == '000000') { // if(res.code == '000000') {
this.fuPlanOptions = res.data.fPlanDtoList; // this.fuPlanOptions = res.data.fPlanDtoList;
} // }
}) // })
} // }
}, // },
}, // },
methods: { methods: {
checkboxInit(row,index){ checkboxInit(row,index){
if(row.disableNum == undefined) { if(row.disableNum == undefined) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册