26668
This commit is contained in:
@@ -194,8 +194,8 @@
|
|||||||
this.id = this.params.id
|
this.id = this.params.id
|
||||||
this.dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
this.dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
||||||
this.getInfo(this.params.id)
|
this.getInfo(this.params.id)
|
||||||
this.getList(this.params.id)
|
this.getList()
|
||||||
this.getRecordList(this.params.id)
|
this.getRecordList()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -210,11 +210,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getRecordList (id) {
|
getRecordList () {
|
||||||
this.instance.post(`/app/appepidemicunusuallog/list`, null, {
|
this.instance.post(`/app/appepidemicunusuallog/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search,
|
...this.search,
|
||||||
recordId: id
|
recordId: this.params.id
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => {
|
this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getList(this.params.id)
|
this.getList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -286,11 +286,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getList (id) {
|
getList () {
|
||||||
this.instance.post(`/app/appepidemichealthreport/list`, null, {
|
this.instance.post(`/app/appepidemichealthreport/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search,
|
...this.search,
|
||||||
memberId: id
|
memberId: this.params.id
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
this.getInfo(this.params.id)
|
this.getInfo(this.params.id)
|
||||||
})
|
})
|
||||||
|
|
||||||
this.getList(this.params.id)
|
this.getList()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => {
|
this.instance.post(`/app/appepidemicunusuallog/delete?ids=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getList(this.params.id)
|
this.getList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
this.getList(this.params.id)
|
this.getList()
|
||||||
this.$message.success('添加成功!')
|
this.$message.success('添加成功!')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -229,11 +229,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getList (id) {
|
getList () {
|
||||||
this.instance.post(`/app/appepidemicunusuallog/list`, null, {
|
this.instance.post(`/app/appepidemicunusuallog/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search,
|
...this.search,
|
||||||
recordId: id
|
recordId: this.params.id
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user