审批通过按钮

master_merge
戴余标 2 years ago
parent cec4ac45ee
commit 91c3b62ea3

@ -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"/>
<flexbox class="d-container-bd" align="stretch">
@ -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' })
},
/**
* 新建
*/

@ -32,6 +32,7 @@
@close="hideView">
<template slot="name">
<i v-if="detailData.is_lock == 1" class="wk wk-circle-password" />
<el-tooltip v-if="!isSeasDetail" :content="detailData.star == 0 ? '添加关注' : '取消关注'" effect="dark" placement="top">
<i
:class="{active: detailData.star != 0}"
@ -45,12 +46,11 @@
v-if="detailData.flow_id"
:id="id"
:record-id="detailData.flow_id"
:owner-user-id="detailData.owner_user_id"
:owner-user-id="1"
class="examine-info"
examine-type="crm_customer_check"
@on-handle="examineHandle"/>
<flexbox
class="d-container-bd"
align="stretch">
@ -131,7 +131,7 @@ import RelativeHandle from '../components/RelativeHandle' // 相关操作
import RelativeTeam from '../components/RelativeTeam' //
import RelativeVisit from '../components/RelativeVisit' // 访
import RelativeInvoice from '../components/RelativeInvoice' //
import ExamineInfo from '@/components/Examine/ExamineInfo'
import CRMAllCreate from '../components/CRMAllCreate' //
import DetailMixin from '../mixins/Detail'
@ -153,7 +153,8 @@ export default {
RelativeTeam,
RelativeVisit,
CRMAllCreate,
RelativeInvoice
RelativeInvoice,
ExamineInfo
},
mixins: [DetailMixin],
props: {
@ -184,6 +185,7 @@ export default {
data() {
return {
// loading
flow_id: 17,
loading: false,
crmType: 'customer',
headDetails: [
@ -365,8 +367,19 @@ export default {
}
},
watch: {},
mounted() {},
mounted() {
},
methods: {
/**
* 审核操作
*/
examineHandle(data) {
// 1 2 4
if (data.type == 1) {
this.getDetial()
}
this.$emit('handle', { type: 'examine' })
},
/**
* 详情
*/

@ -279,7 +279,6 @@ export default {
refreshNum() {
for (let index = 0; index < this.leftSides.length; index++) {
const element = this.leftSides[index]
console.log(this.leftSides[index])
if (this.messageNum.hasOwnProperty(element.infoType)) {
element.num = this.messageNum[element.infoType] || 0
element.hidden = false

Loading…
Cancel
Save