Browse Source

处理事件提交接口修改

xiaowang-12345
mk 10 months ago
parent
commit
7d338934bd
  1. 1
      src/api/index.js
  2. 8
      src/api/service.js
  3. 5
      src/views/HotlineDetail/index.vue

1
src/api/index.js

@ -19,6 +19,7 @@ const api = {
agencyGridDepttree:'/gov/org/customeragency/agencyGridDepttree',
process:'/governance/icEvent/process',
reply:'/governance/icEvent/reply',
multiReply:'/governance/icEvent/multiReply',
refund:'/governance/icEvent/reply',
agencyRootDepttree:'/gov/org/customeragency/rootAgencyGridDepttree',

8
src/api/service.js

@ -113,6 +113,14 @@ export function reply(data) {
data
})
}
//处理事件
export function multiReply(data) {
return request({
url: api.multiReply,
method: 'post',
data
})
}
//各种找人详情
export function getSearchResis(params) {
return request({

5
src/views/HotlineDetail/index.vue

@ -320,7 +320,7 @@
<script>
import { getUserInfo } from '@/api/user'
import throttle from 'lodash/debounce'
import { icEventList,agencyGridDepttree,process,reply,refund,agencyRootDepttree } from '@/api/service'
import { icEventList,agencyGridDepttree,process,reply,refund,multiReply } from '@/api/service'
import { uploadvariedfile } from '@/api/basic'
import { Dialog } from 'vant';
@ -820,7 +820,8 @@ export default {
// this.$toast.fail("")
// return
// }
await reply({
await multiReply({
operationType:this.operationType, //[11,10,9]
content: this.content,//
files: this.fileList.concat(this.pictureList,this.docList),//

Loading…
Cancel
Save