mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-20 23:49:36 +08:00
修改了对应的企业bug
This commit is contained in:
parent
03318d29ab
commit
736d66e304
@ -989,6 +989,7 @@ export default {
|
||||
// 删除联系人
|
||||
handleDeleteContact(contactInfo) {
|
||||
console.log(contactInfo)
|
||||
contactInfo.icsCustomerId = this.$route.query.customerId
|
||||
// contactInfo.
|
||||
updateStaffByCustomer(contactInfo).then(res => {
|
||||
if (res.code === 0) {
|
||||
|
@ -52,7 +52,7 @@
|
||||
<a-divider type='vertical' />
|
||||
<a v-if='removeEnable' @click='delByIds([record.id])'>删除</a>
|
||||
<a-divider type='vertical' />
|
||||
<a-tag @click='verifySuccess(record.id)' v-if='record.status == 0' color='green'>通过</a-tag>
|
||||
<a-tag @click='verifySuccess(record,1)' v-if='record.status == 0' color='green'>通过</a-tag>
|
||||
<a-tag @click='verifyReject(record.id)' v-if='record.status == 0 || record.status == 1'
|
||||
color='volcano'>驳回</a-tag>
|
||||
</span>
|
||||
@ -163,12 +163,9 @@ export default {
|
||||
created() {
|
||||
},
|
||||
methods: {
|
||||
verifySuccess(id){
|
||||
console.log(id)
|
||||
saveVisitorPerson({
|
||||
id,
|
||||
status: 1
|
||||
}).then(res => {
|
||||
verifySuccess(record,status){
|
||||
record.status = status
|
||||
saveVisitorPerson(record).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.$message.success('审核通过')
|
||||
this.handleOk()
|
||||
|
Loading…
x
Reference in New Issue
Block a user