diff --git a/src/api/system/station.js b/src/api/system/station.js index 8988a96..e881784 100644 --- a/src/api/system/station.js +++ b/src/api/system/station.js @@ -75,7 +75,7 @@ export function getSubordinateRegions(Code) { export function getInfoLists(Code) { return request({ - url: `/system/nurseType/getInfoList?nurseTypeCode=${Code}`, + url: `/system/station/getNurseStationType?nurseTypeCode=${Code}`, method: 'get' }) } diff --git a/src/views/system/station/index.vue b/src/views/system/station/index.vue index 52e9c2c..a840093 100644 --- a/src/views/system/station/index.vue +++ b/src/views/system/station/index.vue @@ -669,7 +669,7 @@ export default { //护理类型 nurseTypeCode: "nurse_type_code", nurseStationTypelist: [], - nurseStationType2:null, + nurseStationType2: null, //shengshiqu value3: "", value2: "", @@ -864,8 +864,9 @@ export default { }, //查看类型 looktype(item) { - console.log(item); - getInfoLists(item.nurseTypeCode).then((res) => { + // console.log(item); + this.typelooks = []; + getInfoLists(item.nurseStationType).then((res) => { console.log(res); this.typelooks = res.data; this.typeopen = true; @@ -1050,7 +1051,7 @@ export default { this.form.nurseStationType.length == 0 ) { } else { - this.nurseStationType2 = this.form.nurseStationType.split(","); + this.nurseStationType2 = this.form.nurseStationType.split(","); this.form.nurseStationType = this.nurseStationType2; } // this.form.nurseStationLabelList = [];