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
31144aca
Commit
31144aca
authored
May 10, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
c330d0ff
44afb4c8
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1841 additions
and
1697 deletions
+1841
-1697
setting.vue
src/components/photo/setting.vue
+449
-449
index.vue
src/components/take/index.vue
+637
-637
pages.json
src/pages.json
+9
-1
mine.vue
src/pages/index/mine.vue
+109
-100
order.vue
src/pages/index/order.vue
+3
-2
index.vue
src/pages/mine/contract/index.vue
+108
-0
complete.vue
src/pages/order/complete.vue
+22
-4
list.vue
src/pages/photo/list.vue
+504
-504
hetong.png
src/static/photo/hetong.png
+0
-0
No files found.
src/components/photo/setting.vue
View file @
31144aca
src/components/take/index.vue
View file @
31144aca
src/pages.json
View file @
31144aca
...
@@ -139,6 +139,14 @@
...
@@ -139,6 +139,14 @@
{
{
"root"
:
"pages/mine"
,
"root"
:
"pages/mine"
,
"pages"
:
[
"pages"
:
[
{
"path"
:
"contract/index"
,
"style"
:{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
//隐藏系统导航栏
}
},
{
{
"path"
:
"address/index"
,
"path"
:
"address/index"
,
"style"
:
{
"style"
:
{
...
...
src/pages/index/mine.vue
View file @
31144aca
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
return
this
.
info
.
headImage
||
this
.
placeholderImage
return
this
.
info
.
headImage
||
this
.
placeholderImage
},
},
wodebeijingImage
()
{
wodebeijingImage
()
{
return
this
.
imageUrl
+
'wodebeijing.png'
return
this
.
imageUrl
+
'wodebeijing.png'
},
},
placeholderImage
()
{
placeholderImage
()
{
return
this
.
imageUrl
+
'touxiang.png'
return
this
.
imageUrl
+
'touxiang.png'
...
@@ -186,30 +186,36 @@
...
@@ -186,30 +186,36 @@
font-size
:
40rpx
;
font-size
:
40rpx
;
padding-left
:
30rpx
;
padding-left
:
30rpx
;
}
}
.mine-content
{
.mine-content
{
.header-view
{
.header-view
{
padding
:
30rpx
30rpx
80rpx
30rpx
;
padding
:
30rpx
30rpx
80rpx
30rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.head-image
{
.head-image
{
width
:
144rpx
;
width
:
144rpx
;
height
:
144rpx
;
height
:
144rpx
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
72rpx
;
border-radius
:
72rpx
;
&
.has-image
{
&
.has-image
{
border
:
4rpx
solid
#FFFFFF
;
border
:
4rpx
solid
#FFFFFF
;
}
}
}
}
.header-content
{
.header-content
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
z-index
:
1
;
z-index
:
1
;
margin-left
:
24rpx
;
margin-left
:
24rpx
;
.name-view
{
.name-view
{
font-size
:
44rpx
;
font-size
:
44rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
margin-bottom
:
14rpx
;
margin-bottom
:
14rpx
;
margin-top
:
6rpx
;
margin-top
:
6rpx
;
}
}
.tel-view
{
.tel-view
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
26rpx
;
border-radius
:
26rpx
;
...
@@ -220,13 +226,15 @@
...
@@ -220,13 +226,15 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
&
.active
{
&
.active
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
border
:
2rpx
solid
#FFFFFF
;
border
:
2rpx
solid
#FFFFFF
;
background-color
:
#2272FF
;
background-color
:
#2272FF
;
}
}
.tel-arrow-icon
{
.tel-arrow-icon
{
transform
:
rotate
(
90deg
)
;
transform
:
rotate
(
90deg
);
margin-left
:
6rpx
;
margin-left
:
6rpx
;
}
}
}
}
...
@@ -237,6 +245,7 @@
...
@@ -237,6 +245,7 @@
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
16rpx
16rpx
0
0
;
border-radius
:
16rpx
16rpx
0
0
;
overflow
:
hidden
;
overflow
:
hidden
;
.item-title
{
.item-title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#333333
;
color
:
#333333
;
...
...
src/pages/index/order.vue
View file @
31144aca
...
@@ -335,6 +335,7 @@
...
@@ -335,6 +335,7 @@
+
"&categoryId="
+
item
.
categoryId
+
"&categoryId="
+
item
.
categoryId
+
"&orderServiceType="
+
item
.
orderServiceType
+
"&orderServiceType="
+
item
.
orderServiceType
+
"&inGuaranteePeriod="
+
item
.
inGuaranteePeriod
+
"&inGuaranteePeriod="
+
item
.
inGuaranteePeriod
+
"&auditResultsId="
+
Object
.
keys
(
item
.
auditResults
)[
0
]
})
})
},
},
handleAction
(
item
)
{
handleAction
(
item
)
{
...
...
src/pages/mine/contract/index.vue
0 → 100644
View file @
31144aca
<
template
>
<view
class=
"contract"
>
<u-navbar
title=
"我的合同"
b:is-back=
"false"
:background=
"background"
:border-bottom=
"false"
></u-navbar>
<view
class=
"content"
>
<text
class=
"title"
>
合同清单
</text>
<view
class=
"jf-currency-class"
>
<view
class=
"left"
>
自营平台技 工入驻签约 合同
</view>
<view
class=
"text1"
>
《自营平台技工入驻签约合同》
</view>
<view
class=
"text2"
>
下载时间: 2021.05.06 14:25:00
</view>
</view>
<view
class=
"jf-currency-class"
>
<view
class=
"left"
>
新风机技工入驻签约合同
</view>
<view
class=
"text1"
>
《新风机技工入驻签约合同》
</view>
<view
class=
"text2"
>
下载时间: 2021.05.06 15:01:48
</view>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
background
:
{
backgroundColor
:
"#F4F5F7"
,
// 导航栏背景图
// background: 'url(https://cdn.uviewui.com/uview/swiper/1.jpg) no-repeat',
// 还可以设置背景图size属性
// backgroundSize: 'cover',
// 渐变色
// backgroundImage: 'linear-gradient(45deg, rgb(28, 187, 180), rgb(141, 198, 63))'
},
};
},
onLoad
()
{},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.contract
{
width
:
100%
;
height
:
100vh
;
background
:
#f4f5f7
;
}
.content
{
width
:
100%
;
height
:
100%
;
padding
:
40rpx
30rpx
0
30rpx
;
}
.title
{
width
:
65px
;
height
:
16px
;
font-size
:
16px
;
font-family
:
PingFang-SC-Bold
,
PingFang-SC
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
16px
;
}
.jf-currency-class
{
width
:
100%
;
height
:
180rpx
;
border-radius
:
12rpx
;
padding-top
:
40rpx
;
margin-top
:
74rpx
;
background
:
#ffffff
;
position
:
relative
;
.left
{
width
:
160rpx
;
height
:
200rpx
;
padding
:
30rpx
14rpx
0
14rpx
;
position
:
absolute
;
top
:
-40rpx
;
left
:
30rpx
;
background
:
url(@/static/photo/hetong.png)
;
border-radius
:
6px
;
color
:
#ffffff
;
font-size
:
26rpx
;
line-height
:
38rpx
;
font-family
:
PingFang-SC-Bold
,
PingFang-SC
;
font-weight
:
bold
;
}
.text1
{
font-size
:
32rpx
;
font-family
:
PingFang-SC-Bold
,
PingFang-SC
;
font-weight
:
bold
;
color
:
#2272ff
;
margin-left
:
208rpx
;
}
.text2
{
font-size
:
24rpx
;
color
:
#999999
;
margin-left
:
220rpx
;
margin-top
:
22rpx
;
}
}
.current-img
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
}
</
style
>
\ No newline at end of file
src/pages/order/complete.vue
View file @
31144aca
...
@@ -122,6 +122,7 @@
...
@@ -122,6 +122,7 @@
categoryId
:
0
,
categoryId
:
0
,
orderServiceType
:
''
,
orderServiceType
:
''
,
inGuaranteePeriod
:
''
,
inGuaranteePeriod
:
''
,
auditResultsId
:
''
,
list
:
[],
list
:
[],
tabIndex
:
0
,
tabIndex
:
0
,
scrollTop
:
0
,
//tab标题的滚动条位置
scrollTop
:
0
,
//tab标题的滚动条位置
...
@@ -195,6 +196,7 @@
...
@@ -195,6 +196,7 @@
this
.
categoryId
=
option
.
categoryId
this
.
categoryId
=
option
.
categoryId
this
.
orderServiceType
=
decodeURIComponent
(
option
.
orderServiceType
)
this
.
orderServiceType
=
decodeURIComponent
(
option
.
orderServiceType
)
this
.
inGuaranteePeriod
=
option
.
inGuaranteePeriod
this
.
inGuaranteePeriod
=
option
.
inGuaranteePeriod
this
.
auditResultsId
=
option
.
auditResultsId
}
else
{
}
else
{
this
.
orderId
=
11880091
this
.
orderId
=
11880091
this
.
categoryId
=
1100000214
this
.
categoryId
=
1100000214
...
@@ -250,12 +252,29 @@
...
@@ -250,12 +252,29 @@
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
self
.
list
=
res
.
data
.
config
self
.
list
=
res
.
data
.
config
self
.
form
=
res
.
data
.
value
||
{}
self
.
form
=
res
.
data
.
value
||
{}
// 异常单处理
if
(
self
.
auditResultsId
)
self
.
checkCompleteError
()
}
else
{
}
else
{
console
.
log
(
res
.
message
,
"获取订单完工项目失败!"
);
console
.
log
(
res
.
message
,
"获取订单完工项目失败!"
);
}
}
});
});
}
}
},
},
checkCompleteError
()
{
// 异常单定位错误项
let
self
=
this
self
.
list
.
forEach
((
panel
,
panelIndex
)
=>
{
panel
.
items
.
forEach
((
group
,
groupIndex
)
=>
{
group
.
items
.
forEach
((
ele
,
eleIndex
)
=>
{
if
(
ele
.
fieldsName
===
self
.
auditResultsId
)
{
self
.
waitHandlerPanelIndex
=
panelIndex
self
.
waitHandlerGroupIndex
=
groupIndex
self
.
waitHandlerEleIndex
=
eleIndex
}
})
})
})
this
.
locationCompleteItem
(
self
.
waitHandlerPanelIndex
,
self
.
waitHandlerGroupIndex
,
self
.
waitHandlerEleIndex
)
},
saveComplete
(){
// 保存完工信息
saveComplete
(){
// 保存完工信息
let
self
=
this
let
self
=
this
let
param
=
{}
let
param
=
{}
...
@@ -307,7 +326,6 @@
...
@@ -307,7 +326,6 @@
}
else
if
(
value
&&
Array
.
isArray
(
value
)
&&
value
.
length
>
0
){
}
else
if
(
value
&&
Array
.
isArray
(
value
)
&&
value
.
length
>
0
){
panelResult
.
submitted
++
panelResult
.
submitted
++
}
else
if
(
first
){
// 记录第一个 为空 并且需要必填的项 用于定位
}
else
if
(
first
){
// 记录第一个 为空 并且需要必填的项 用于定位
console
.
log
(
ele
)
first
=
false
first
=
false
self
.
waitHandlerPanelIndex
=
panelIndex
self
.
waitHandlerPanelIndex
=
panelIndex
self
.
waitHandlerGroupIndex
=
groupIndex
self
.
waitHandlerGroupIndex
=
groupIndex
...
...
src/pages/photo/list.vue
View file @
31144aca
src/static/photo/hetong.png
0 → 100644
View file @
31144aca
1.15 KB
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