From 91c3b62ea372bca02be9e8107222686ae721825a Mon Sep 17 00:00:00 2001 From: datang Date: Wed, 8 Mar 2023 09:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E9=80=9A=E8=BF=87=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/business/Detail.vue | 16 +++++++++++++--- src/views/crm/customer/Detail.vue | 23 ++++++++++++++++++----- src/views/crm/message/index.vue | 1 - 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/views/crm/business/Detail.vue b/src/views/crm/business/Detail.vue index a58673a..c529dfe 100644 --- a/src/views/crm/business/Detail.vue +++ b/src/views/crm/business/Detail.vue @@ -113,7 +113,7 @@ :record-id="detailData.flow_id" :owner-user-id="detailData.owner_user_id" class="examine-info" - examine-type="crm_contract" + examine-type="crm_business" @on-handle="examineHandle"/> @@ -190,7 +190,7 @@ import RelativeTeam from '../components/RelativeTeam' // 团队成员 import RelativeProduct from '../components/RelativeProduct' // 团队成员 import RelativeFiles from '../components/RelativeFiles' // 相关附件 import RelativePrint from '../components/RelativePrint' // 相关打印 - +import ExamineInfo from '@/components/Examine/ExamineInfo' import CRMAllCreate from '../components/CRMAllCreate' // 新建页面 import DetailMixin from '../mixins/Detail' import { separator } from '@/filters/vueNumeralFilter/filters' @@ -211,6 +211,7 @@ export default { RelativeProduct, RelativeFiles, RelativePrint, + ExamineInfo, CRMAllCreate }, mixins: [DetailMixin], @@ -424,7 +425,6 @@ export default { this.userOptions = userList.map(item => { return item }) - console.log(this.userOptions) this.userLoading = false }) .catch(() => { @@ -694,6 +694,16 @@ export default { .catch(() => {}) } }, + /** + * 审核操作 + */ + examineHandle(data) { + // 1 审核通过 2 审核拒绝 4 已撤回 + if (data.type == 1) { + this.getDetial() + } + this.$emit('handle', { type: 'examine' }) + }, /** * 新建 */ diff --git a/src/views/crm/customer/Detail.vue b/src/views/crm/customer/Detail.vue index 144b58c..d440d4e 100644 --- a/src/views/crm/customer/Detail.vue +++ b/src/views/crm/customer/Detail.vue @@ -32,6 +32,7 @@ @close="hideView">