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