Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
9578e392
Commit
9578e392
authored
Apr 26, 2021
by
郭晓清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
误提交代码回滚
parent
da86b864
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
App.vue
src/App.vue
+1
-1
index.vue
src/pages/login/index.vue
+1
-2
detail.vue
src/pages/order/detail.vue
+11
-3
index.vue
src/pages/order/index.vue
+1
-0
No files found.
src/App.vue
View file @
9578e392
...
...
@@ -159,7 +159,7 @@ export default {
setUserData
(
userInfo
)
{
if
(
userInfo
&&
userInfo
.
token
)
{
// 如果已经登录则直接获取相关信息
this
.
$u
.
vuex
(
'vuex_token'
,
"RTOKENf22df8e7b9db396f560e8f61bebceea2000cb05c"
);
// userInfo.token
this
.
$u
.
vuex
(
'vuex_token'
,
userInfo
.
token
);
// RTOKENf22df8e7b9db396f560e8f61bebceea2000cb05c
this
.
$u
.
vuex
(
'vuex_user'
,
userInfo
);
this
.
$u
.
vuex
(
'vuex_wx_uid'
,
userInfo
.
wxopenid
);
}
else
{
...
...
src/pages/login/index.vue
View file @
9578e392
...
...
@@ -181,10 +181,9 @@ export default {
},
setUserData
(
userInfo
)
{
if
(
userInfo
&&
userInfo
.
token
)
{
debugger
// 如果已经登录则直接获取相关信息
util
.
setOpenid
(
userInfo
.
wxopenid
);
this
.
$u
.
vuex
(
'vuex_token'
,
"RTOKENf22df8e7b9db396f560e8f61bebceea2000cb05c"
);
// userInfo.token
this
.
$u
.
vuex
(
'vuex_token'
,
userInfo
.
token
);
uni
.
setStorageSync
(
"user-info"
,
userInfo
);
}
else
{
this
.
$u
.
vuex
(
'vuex_token'
,
''
);
...
...
src/pages/order/detail.vue
View file @
9578e392
...
...
@@ -112,19 +112,19 @@
</view>
</view>
<take-photo
type=
"test"
v-if=
"takeStatus"
@
close=
"closeTake"
></take-photo>
<
!--
<PopView
title=
"aaaa"
message=
"bbbb"
:visible
.
sync=
"visibale"
@
click=
"handleClick"
/>
--
>
<
PopView
title=
"查看交互规范"
message=
"为完善交付质量,请查看对应的交付规范"
:visible
.
sync=
"visibale"
@
click=
"handleClick"
/
>
</view>
</
template
>
<
script
>
import
appointTime
from
'@/components/appoint/appoint-time.vue'
import
takePhoto
from
'@/components/take/index.vue'
//
import PopView from "@/components/popView/index.vue"
import
PopView
from
"@/components/popView/index.vue"
export
default
{
components
:
{
appointTime
,
'take-photo'
:
takePhoto
,
//
PopView
PopView
},
data
()
{
return
{
...
...
@@ -136,6 +136,7 @@
// backgroundSize: 'cover',
// 渐变色
},
visibale
:
false
,
orderId
:
null
,
order
:
{},
allowRejection
:
false
,
// 允许拒单
...
...
@@ -221,6 +222,7 @@
console
.
log
(
"==="
,
res
.
data
)
self
.
order
=
res
.
data
this
.
getCurrentBtn
()
this
.
visibale
=
true
// self.order.operationType = "accept"
// }else{
// self.order.operationType = "appointment"
...
...
@@ -439,6 +441,12 @@
this
.
btnClass
=
'timeOut-btn'
self
.
$refs
[
'uCountDown'
].
seconds
+=
2
}
},
handleClick
(){
this
.
visibale
=
false
// 去完工
uni
.
navigateTo
({
url
:
'pages/photo/list'
})
}
}
};
...
...
src/pages/order/index.vue
View file @
9578e392
...
...
@@ -182,6 +182,7 @@
submissionTime
:
'2021.04.19 16:24:48'
,
// 提交时间
auditResults
:
{},
// 审核结果
orderBusinessType
:
'R'
,
// 业务类型 R 为抢单
orderId
:
'1100000216'
}]
}
...
...
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