This commit is contained in:
yanran200730
2023-05-05 15:40:13 +08:00
parent 4398d76a91
commit e80e0c61d9

View File

@@ -580,7 +580,7 @@
},
on: {
click: e => {
console.log(params)
this.getLaunchCode(params.row.wxUserId)
}
},
}, '联系TA'
@@ -735,6 +735,20 @@
}[status]
},
getLaunchCode (wxUserId) {
this.instance.post(`/api/appdvcpconfig/getLaunchCode`, null, {
params: {
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
userid: wxUserId,
operatorUserid: this.$store.state.user.info.areaId
}
}).then(res => {
if (res.code === 0) {
location.href = `wxwork://launch?launch_code=${res.data}`
}
})
},
mapStatus (status, type) {
const index = Number(status)
return [{
@@ -973,6 +987,10 @@
margin-bottom: 12px;
color: #fff;
&:last-child {
margin-bottom: 0;
}
div {
flex: 1;
margin: 0 18px;
@@ -1180,7 +1198,7 @@
justify-content: space-between;
width: 100%;
line-height: 1;
margin-bottom: 14px;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
@@ -1196,6 +1214,8 @@
}
span {
width: 70%;
text-align: right;
font-size: 14px;
color: #fff;
}