diff --git a/src/api/healthCenter/index.js b/src/api/healthCenter/index.js index 15eac282..08a5016a 100644 --- a/src/api/healthCenter/index.js +++ b/src/api/healthCenter/index.js @@ -94,9 +94,9 @@ export function editChronicApi(data) { }) } // 慢性病-更新 -export function delChronicApi(Id) { +export function delChronicApi(chronicId) { return request({ - url: '/smart-canteen/health_chronic/del/'+Id, + url: '/smart-canteen/health_chronic/del/'+chronicId, method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/views/healthCenter/chronicDisease/index.vue b/src/views/healthCenter/chronicDisease/index.vue index e632f101..53f25f73 100644 --- a/src/views/healthCenter/chronicDisease/index.vue +++ b/src/views/healthCenter/chronicDisease/index.vue @@ -63,7 +63,7 @@ - + @@ -74,9 +74,9 @@ - + @@ -197,7 +197,7 @@ export default { }, handleDelete(row) { this.$modal.confirm('是否确认删除数据项?').then(function() { - return delChronicApi(row.id); + return delChronicApi(row.chronicId); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); diff --git a/src/views/healthCenter/healthRecords/index.vue b/src/views/healthCenter/healthRecords/index.vue index 1d1d4c0a..3ba891ab 100644 --- a/src/views/healthCenter/healthRecords/index.vue +++ b/src/views/healthCenter/healthRecords/index.vue @@ -456,6 +456,7 @@ export default { pageNum: 1, pageSize: 10, articleTitle: "",//标题 + deptIdList:[], chronicList:[], //慢性病 placeIdList:[], //位置 doctorAdvice:[], diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index e77fe515..854484b8 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -261,7 +261,8 @@ >