Commit 0450f69a authored by 我在何方's avatar 我在何方

修复跟客户经理

parent 71359030
...@@ -278,11 +278,11 @@ export function creatDelayApproval(data){ ...@@ -278,11 +278,11 @@ export function creatDelayApproval(data){
} }
// 取消客户延期调入公海池的审批申请 // 取消客户延期调入公海池的审批申请
export function cancelDelayApproval(data) { export function cancelDelayApproval(query) {
return request({ return request({
url: '/ecw/customer/cancel/delay/approval', url: '/ecw/customer/cancel/delay/approval',
method: 'put', method: 'put',
data: data, params:query,
}) })
} }
......
...@@ -201,10 +201,11 @@ ...@@ -201,10 +201,11 @@
inputPattern: /[\S]+/, inputPattern: /[\S]+/,
inputErrorMessage: '不能为空' inputErrorMessage: '不能为空'
}).then(({value}) => { }).then(({value}) => {
return cancelDelayApproval(this.handlerParams.formId, value) console.log(this.handlerParams.approvalId)
return cancelDelayApproval({approveId:this.handlerParams.approvalId,reason:value})
}) })
.then(res => { .then(res => {
this.getList() this.$store.dispatch('tagsView/delCurrentView')
}) })
} }
} }
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
if(this.$route.query.number){ if(this.$route.query.number){
this.form.number = this.$route.query.number this.form.number = this.$route.query.number
} }
userList('documentary customer service').then(res =>this.creatorData = res.data) userList('customer service').then(res =>this.creatorData = res.data)
}, },
methods: { methods: {
getList() { getList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment