大屏
This commit is contained in:
		| @@ -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; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user