diff --git a/src/api/system/stationAvatar.js b/src/api/system/stationAvatar.js index 8355f87..d42ceb0 100644 --- a/src/api/system/stationAvatar.js +++ b/src/api/system/stationAvatar.js @@ -9,8 +9,16 @@ export function updateNurseStationHeads(data) { }) } +//海报视频上传 +export function updatePoserHeads(data) { + return request({ + url: '/system/poser/updatePoserHeads', + method: 'post', + data: data + }) +} export function posts(data) { return request({ diff --git a/src/views/system/poser/index.vue b/src/views/system/poser/index.vue index f063bac..69ec9cc 100644 --- a/src/views/system/poser/index.vue +++ b/src/views/system/poser/index.vue @@ -762,11 +762,9 @@ export default { getListBy(this.queryParams).then(res => { this.nurseStationlist = res.rows; this.queryParams.nurseStationId = res.rows[0].id; - this.nurseItemquery.nurseStationId = JSON.parse( - JSON.stringify(res.rows[0].id) - ); + this.nurseItemquery.nurseStationId = res.rows[0].id; + this.getList(); }); - this.getList(); }, //打开护理站列表 nurseStationshowclick() { @@ -794,7 +792,7 @@ export default { } this.form.nurseItemName = null; this.form.nurseItemId = null; - this.nurseitemid = null + this.nurseitemid = null; this.nurseStationshow = false; this.nurseItemnuser = item.id; this.nurseItemquery.nurseStationId = item.id; diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 7076419..7098564 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -2,9 +2,18 @@