大屏
This commit is contained in:
@@ -580,7 +580,7 @@
|
|||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
click: e => {
|
click: e => {
|
||||||
console.log(params)
|
this.getLaunchCode(params.row.wxUserId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}, '联系TA'
|
}, '联系TA'
|
||||||
@@ -735,6 +735,20 @@
|
|||||||
}[status]
|
}[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) {
|
mapStatus (status, type) {
|
||||||
const index = Number(status)
|
const index = Number(status)
|
||||||
return [{
|
return [{
|
||||||
@@ -973,6 +987,10 @@
|
|||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
div {
|
div {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin: 0 18px;
|
margin: 0 18px;
|
||||||
@@ -1180,7 +1198,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: 14px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@@ -1196,6 +1214,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
width: 70%;
|
||||||
|
text-align: right;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user