Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
994bb2df
Commit
994bb2df
authored
5 years ago
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改绑定app流程
parent
70c47b22
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
9 deletions
+27
-9
relatedApp.axml
components/relatedApp/relatedApp.axml
+2
-2
relatedApp.js
components/relatedApp/relatedApp.js
+1
-1
bindingApp.js
pages/bindingApp/bindingApp.js
+22
-4
unbindApp.axml
pages/unbindApp/unbindApp.axml
+2
-2
No files found.
components/relatedApp/relatedApp.axml
View file @
994bb2df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="sidebarContent" catchTap="preventSort">
<view class="sidebarContent" catchTap="preventSort">
<view class="sidebarLogo">
<view class="sidebarLogo">
<template is="avater" data="{{item: userInfo}}"/>
<template is="avater" data="{{item: userInfo}}"/>
<view>{{ userInfo.user
n
ame }}</view>
<view>{{ userInfo.user
N
ame }}</view>
</view>
</view>
<view class="hasAssociated" a:if="{{relatedAppList.length !== 1}}">
<view class="hasAssociated" a:if="{{relatedAppList.length !== 1}}">
<view class="associated">
<view class="associated">
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<view class="applicationMsg" data-item="{{item}}" catchTap="toAppDetails">
<view class="applicationMsg" data-item="{{item}}" catchTap="toAppDetails">
<view>
<view>
<view>
<view>
{{item.
thirdUserIdentify
}}
{{item.
userName
}}
</view>
</view>
<view>
<view>
支持会议日程双向同步,实时同步日程信息等
支持会议日程双向同步,实时同步日程信息等
...
...
This diff is collapsed.
Click to expand it.
components/relatedApp/relatedApp.js
View file @
994bb2df
...
@@ -21,7 +21,7 @@ create.Component({
...
@@ -21,7 +21,7 @@ create.Component({
let
relatedAppList
=
this
.
data
.
relatedAppList
;
let
relatedAppList
=
this
.
data
.
relatedAppList
;
let
relatedAppPlatformList
=
this
.
data
.
relatedAppPlatformList
;
let
relatedAppPlatformList
=
this
.
data
.
relatedAppPlatformList
;
relatedAppList
.
push
({
relatedAppList
.
push
({
thirdUserIdentify
:
this
.
$store
.
data
.
relatedAppNeedUpdate
.
name
,
userName
:
this
.
$store
.
data
.
relatedAppNeedUpdate
.
name
,
platform
:
this
.
$store
.
data
.
relatedAppNeedUpdate
.
platform
platform
:
this
.
$store
.
data
.
relatedAppNeedUpdate
.
platform
});
});
relatedAppPlatformList
.
push
(
relatedAppPlatformList
.
push
(
...
...
This diff is collapsed.
Click to expand it.
pages/bindingApp/bindingApp.js
View file @
994bb2df
...
@@ -2,7 +2,8 @@ import {
...
@@ -2,7 +2,8 @@ import {
getOutlookUrl
,
getOutlookUrl
,
getZoomUrl
,
getZoomUrl
,
authorizationCodeReplacementToken
,
authorizationCodeReplacementToken
,
sendZoomCode
sendZoomCode
,
getThirdUserPlatForm
}
from
"../../api/request"
;
}
from
"../../api/request"
;
import
"dingtalk-jsapi/entry/mobile"
;
import
"dingtalk-jsapi/entry/mobile"
;
import
openLink
from
"dingtalk-jsapi/api/biz/util/openLink"
;
import
openLink
from
"dingtalk-jsapi/api/biz/util/openLink"
;
...
@@ -24,9 +25,6 @@ create.Page({
...
@@ -24,9 +25,6 @@ create.Page({
openLink
({
openLink
({
url
:
res
.
data
.
data
url
:
res
.
data
.
data
});
});
// this.setData({
// url: res.data.data
// });
});
});
}
else
if
(
e
.
platform
===
"zoom"
)
{
}
else
if
(
e
.
platform
===
"zoom"
)
{
getZoomUrl
(
""
).
then
(
res
=>
{
getZoomUrl
(
""
).
then
(
res
=>
{
...
@@ -36,6 +34,26 @@ create.Page({
...
@@ -36,6 +34,26 @@ create.Page({
});
});
}
}
},
},
onShow
()
{
const
interval
=
setInterval
(()
=>
{
getThirdUserPlatForm
().
then
(
res
=>
{
let
relatedAppPlatformList
=
[];
res
.
data
.
data
.
forEach
(
item
=>
{
if
(
item
.
platform
===
this
.
data
.
platform
)
{
clearInterval
(
interval
);
this
.
$store
.
data
.
relatedAppNeedUpdate
=
{
name
:
item
.
userName
,
platform
:
this
.
data
.
platform
};
this
.
update
();
dd
.
navigateBack
({
delta
:
1
});
}
});
});
},
1000
);
},
test
(
e
)
{
test
(
e
)
{
const
code
=
e
.
detail
.
code
;
const
code
=
e
.
detail
.
code
;
const
state
=
e
.
detail
.
state
;
const
state
=
e
.
detail
.
state
;
...
...
This diff is collapsed.
Click to expand it.
pages/unbindApp/unbindApp.axml
View file @
994bb2df
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
<view class="platformImg {{item.platform}}">
<view class="platformImg {{item.platform}}">
</view>
</view>
<view class="platformName">
<view class="platformName">
{{item.
thirdUserIdentify
}}
{{item.
userName
}}
</view>
</view>
</view>
</view>
<view class="platformMsg" a:if="{{item.platform === 'zoom'}}">
<view class="platformMsg" a:if="{{item.platform === 'zoom'}}">
<view class="platformImg {{item.platform}}">
<view class="platformImg {{item.platform}}">
</view>
</view>
<view class="platformName">
<view class="platformName">
{{item.
thirdUserIdentify
}}
{{item.
userName
}}
</view>
</view>
</view>
</view>
<view class="unBinding" onTap="showPopup">
<view class="unBinding" onTap="showPopup">
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment