事件上报
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
|||||||
return //当数据总量和列表总量一样时,不用再加载数据
|
return //当数据总量和列表总量一样时,不用再加载数据
|
||||||
}
|
}
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$instance.post(`/app/appclapeventinfo/listByWxApplet`, null, {
|
this.$instance.post(`/app/appresidentreportinfo/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
current: this.current, size: 15
|
current: this.current, size: 15
|
||||||
}
|
}
|
||||||
@@ -92,7 +92,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleDelete(ids) {
|
handleDelete(ids) {
|
||||||
this.$dialog.confirm({content: "是否要进行删除?"}).then(() => {
|
this.$dialog.confirm({content: "是否要进行删除?"}).then(() => {
|
||||||
this.$instance.post("/app/appclapeventinfo/delete", null, {
|
this.$instance.post("/app/appresidentreportinfo/delete", null, {
|
||||||
params: {ids}
|
params: {ids}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getInfo(id = this.info.id) {
|
getInfo(id = this.info.id) {
|
||||||
this.$loading()
|
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) {
|
if (res?.data) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
if (res.data.eventStatus > 1) {
|
if (res.data.eventStatus > 1) {
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getDict() {
|
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) {
|
if (res.code == 0) {
|
||||||
this.dictList = res.data.records.map(v => {
|
this.dictList = res.data.records.map(v => {
|
||||||
return {
|
return {
|
||||||
@@ -201,7 +201,7 @@ export default {
|
|||||||
this.flag = true
|
this.flag = true
|
||||||
|
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$instance.post(`/app/appclapeventinfo/addOrUpdate`, {
|
this.$instance.post(`/app/appresidentreportinfo/addByApplet`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
openid: this.user.openid,
|
openid: this.user.openid,
|
||||||
portrait: this.user.avatarUrl,
|
portrait: this.user.avatarUrl,
|
||||||
|
|||||||
Reference in New Issue
Block a user