事件上报

This commit is contained in:
liuye
2023-05-08 11:44:04 +08:00
parent 7df86b8163
commit 009128e068
3 changed files with 5 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ export default {
return //当数据总量和列表总量一样时,不用再加载数据
}
this.$loading()
this.$instance.post(`/app/appclapeventinfo/listByWxApplet`, null, {
this.$instance.post(`/app/appresidentreportinfo/list`, null, {
params: {
current: this.current, size: 15
}
@@ -92,7 +92,7 @@ export default {
},
handleDelete(ids) {
this.$dialog.confirm({content: "是否要进行删除?"}).then(() => {
this.$instance.post("/app/appclapeventinfo/delete", null, {
this.$instance.post("/app/appresidentreportinfo/delete", null, {
params: {ids}
}).then(res => {
if (res?.code == 0) {

View File

@@ -87,7 +87,7 @@ export default {
methods: {
getInfo(id = this.info.id) {
this.$loading()
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
this.$instance.post(`/app/appresidentreportinfo/queryDetailById?id=${id}`).then(res => {
if (res?.data) {
this.info = res.data
if (res.data.eventStatus > 1) {

View File

@@ -164,7 +164,7 @@ export default {
})
},
getDict() {
this.$instance.post(`/app/appclapeventgroup/list?current=1&size=100000`).then(res => {
this.$instance.post(`/app/appresidentreportgroup/list?current=1&size=100000`).then(res => {
if (res.code == 0) {
this.dictList = res.data.records.map(v => {
return {
@@ -201,7 +201,7 @@ export default {
this.flag = true
this.$loading()
this.$instance.post(`/app/appclapeventinfo/addOrUpdate`, {
this.$instance.post(`/app/appresidentreportinfo/addByApplet`, {
...this.form,
openid: this.user.openid,
portrait: this.user.avatarUrl,