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
6a97f680
Commit
6a97f680
authored
Aug 17, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-1.4.5' into test
parents
7a3f1140
8d17eb09
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2464 additions
and
2149 deletions
+2464
-2149
.env.js
.env.js
+1
-1
appoint-time.vue
src/components/appoint/appoint-time.vue
+375
-321
feedback.vue
src/components/order/feedback.vue
+469
-0
index.vue
src/components/order/index.vue
+1
-1
performanceRecord.vue
src/components/order/performanceRecord.vue
+240
-208
detail.vue
src/pages/order/detail.vue
+1226
-1089
feedback.vue
src/pages/order/feedback.vue
+152
-529
No files found.
.env.js
View file @
6a97f680
;(
function
()
{
;(
function
()
{
let
NODE_ENV
=
'test'
// dev:开发环境 | test:测试环境 | prod:生产环境
let
NODE_ENV
=
'test'
// dev:开发环境 | test:测试环境 | prod:生产环境
let
ENV_VAR
=
null
let
ENV_VAR
=
null
let
VERSION_NUMBER
=
'1.4.
0
'
//版本号
let
VERSION_NUMBER
=
'1.4.
1
'
//版本号
//小程序是否审核通过,参数配置在ucenter库version表,对应版本号的is_audit设置为1,将显示学习视频
//小程序是否审核通过,参数配置在ucenter库version表,对应版本号的is_audit设置为1,将显示学习视频
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
if
(
NODE_ENV
===
'dev'
)
{
if
(
NODE_ENV
===
'dev'
)
{
...
...
src/components/appoint/appoint-time.vue
View file @
6a97f680
This diff is collapsed.
Click to expand it.
src/components/order/feedback.vue
0 → 100644
View file @
6a97f680
This diff is collapsed.
Click to expand it.
src/components/order/index.vue
View file @
6a97f680
...
@@ -299,7 +299,7 @@ export default {
...
@@ -299,7 +299,7 @@ export default {
待预约 orderStatus == 31 and appointmentDatetime == null 工单状态等于30并且预约时间为空
待预约 orderStatus == 31 and appointmentDatetime == null 工单状态等于30并且预约时间为空
待签到 orderStatus == 31 and appointmentDatetime is not null 工单状态等于30并且预约时间不为空
待签到 orderStatus == 31 and appointmentDatetime is not null 工单状态等于30并且预约时间不为空
待完工 orderStatus >31 and orderStatus < 80 工单状态大于31 小于80
待完工 orderStatus >31 and orderStatus < 80 工单状态大于31 小于80
审核中 orderStatus ==85 or orderStatus == 87 or orderStatus == 88 工单状态 等于85 或者 等于
有87
审核中 orderStatus ==85 or orderStatus == 87 or orderStatus == 88 工单状态 等于85 或者 等于
87 或者 等于88
异常 orderStatus ==86 工单状态 等于86
异常 orderStatus ==86 工单状态 等于86
已完工 orderStatus in(80,81,89,110) 工单状态 等于80 or 81 or 89 or 110
已完工 orderStatus in(80,81,89,110) 工单状态 等于80 or 81 or 89 or 110
*/
*/
...
...
src/components/order/performanceRecord.vue
View file @
6a97f680
...
@@ -3,12 +3,24 @@
...
@@ -3,12 +3,24 @@
<view
class=
"top-item"
>
<view
class=
"top-item"
>
<text>
履约记录
</text>
<text>
履约记录
</text>
</view>
</view>
<view
v-if=
"orderRecords.length == 0"
class=
"no-record-view"
>
当前暂无履约记录
</view>
<view
v-if=
"orderRecords.length == 0"
class=
"no-record-view"
<view
v-else
:class=
"['record-list-view',
{'short': orderRecords.length
<
=
showLenght
}]"
>
>
当前暂无履约记录
</view
>
<view
v-else
:class=
"[
'record-list-view',
{ short: orderRecords.length
<
=
showLenght
},
]"
>
<view
class=
"record-right-view"
>
<view
class=
"record-right-view"
>
<view
class=
"dashed-line-view"
></view>
<view
class=
"dashed-line-view"
></view>
<view
class=
"order-list"
>
<view
class=
"order-list"
>
<view
v-for=
"(record,index) in showOrderRecords"
:key=
"record.operationContent"
:class=
"['order-cell',
{'first': index == 0}]">
<view
v-for=
"(record, index) in showOrderRecords"
:key=
"record.operationContent"
:class=
"['order-cell',
{ first: index == 0 }]"
>
<view
class=
"node-view"
>
<view
class=
"node-view"
>
<view
class=
"node-border-view"
>
<view
class=
"node-border-view"
>
<view
class=
"node-middle-view"
></view>
<view
class=
"node-middle-view"
></view>
...
@@ -16,28 +28,47 @@
...
@@ -16,28 +28,47 @@
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<view
class=
"line-view-top"
>
<view
class=
"line-view-top"
>
<text>
{{
$u
.
timeFormat
(
record
.
operationDatetime
,
'yyyy.mm.dd   hh:MM:ss'
)
}}
</text>
<text>
{{
<text
style=
"color: red;"
>
{{
record
.
overTime
?
'超时'
:
''
}}{{
record
.
overTime
&&
record
.
exception
?
'/'
:
''
}}{{
record
.
exception
?
'异常'
:
''
}}
</text>
$u
.
timeFormat
(
<text
style=
"color: #2272FF;"
v-show=
"record.isTrace"
>
跟进
</text>
record
.
operationDatetime
,
'yyyy.mm.dd   hh:MM:ss'
)
}}
</text>
<text
style=
"color: red;"
>
{{
record
.
overTime
?
'超时'
:
''
}}{{
record
.
overTime
&&
record
.
exception
?
'/'
:
''
}}{{
record
.
exception
?
'异常'
:
''
}}
</text
>
<text
style=
"color: #2272FF;"
v-show=
"record.isTrace"
>
跟进
</text
>
</view>
</view>
<view
class=
"line-view-item"
>
<view
class=
"line-view-item"
>
<view>
<view>
<text>
{{
record
.
operationTypeText
}}
</text>
<text>
{{
record
.
operationTypeText
}}
</text>
</view>
</view>
<view
class=
"item-operation-view"
v-show=
"record.isTrace"
>
<view
class=
"item-operation-view"
v-show=
"record.isTrace"
>
<text
class=
"item-label"
>
{{
record
.
traceLabel
+
":"
}}
</text>
<text
class=
"item-label"
>
{{
record
.
traceLabel
+
':'
}}
</text>
<text
class=
"item-content"
>
{{
record
.
traceTime
}}
</text>
<text
class=
"item-content"
>
{{
record
.
traceTime
}}
</text>
</view>
</view>
<view
class=
"item-operation-view"
v-show=
"record.operationContent"
>
<view
class=
"item-operation-view"
v-show=
"record.operationContent"
>
<text
class=
"item-label"
>
备注:
</text>
<text
class=
"item-label"
>
备注:
</text>
<text
class=
"item-content"
>
{{
record
.
operationContent
}}
</text>
<text
class=
"item-content"
>
{{
record
.
operationContent
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
v-if=
"orderRecords && orderRecords.length > showLenght"
@
click=
"readMoreRecord = !readMoreRecord"
>
<view
v-if=
"orderRecords && orderRecords.length > showLenght"
@
click=
"readMoreRecord = !readMoreRecord"
>
<view
v-if=
"readMoreRecord"
class=
"read-more-toggle"
>
<view
v-if=
"readMoreRecord"
class=
"read-more-toggle"
>
<u-icon
name=
"arrow-down"
></u-icon>
<u-icon
name=
"arrow-down"
></u-icon>
<text
class=
"read-more-text"
>
查看更多
</text>
<text
class=
"read-more-text"
>
查看更多
</text>
...
@@ -49,19 +80,18 @@
...
@@ -49,19 +80,18 @@
</view>
</view>
<view
v-else
style=
"height: 10rpx;"
></view>
<view
v-else
style=
"height: 10rpx;"
></view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
props
:
{
// 履约记录
// 履约记录
orderRecords
:
{
orderRecords
:
{
type
:
Array
,
type
:
Array
,
default
()
{
default
()
{
return
[]
return
[]
}
},
},
},
},
},
data
()
{
data
()
{
...
@@ -72,18 +102,22 @@
...
@@ -72,18 +102,22 @@
},
},
computed
:
{
computed
:
{
showOrderRecords
()
{
showOrderRecords
()
{
if
(
this
.
readMoreRecord
&&
this
.
orderRecords
&&
this
.
orderRecords
.
length
>
0
)
{
if
(
this
.
readMoreRecord
&&
this
.
orderRecords
&&
this
.
orderRecords
.
length
>
0
)
{
return
this
.
orderRecords
.
slice
(
0
,
this
.
showLenght
)
return
this
.
orderRecords
.
slice
(
0
,
this
.
showLenght
)
}
else
{
}
else
{
return
this
.
orderRecords
return
this
.
orderRecords
}
}
},
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.order-record-view
{
.order-record-view
{
.top-item
{
.top-item
{
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#333333
;
color
:
#333333
;
...
@@ -111,7 +145,7 @@
...
@@ -111,7 +145,7 @@
.dashed-line-view
{
.dashed-line-view
{
position
:
absolute
;
position
:
absolute
;
width
:
2rpx
;
width
:
2rpx
;
border-left
:
1px
dashed
#2272FF
;
border-left
:
1px
dashed
#2272ff
;
height
:
100%
;
height
:
100%
;
top
:
14rpx
;
top
:
14rpx
;
left
:
11rpx
;
left
:
11rpx
;
...
@@ -134,21 +168,21 @@
...
@@ -134,21 +168,21 @@
z-index
:
1
;
z-index
:
1
;
.node-border-view
{
.node-border-view
{
border
:
2rpx
solid
#2272FF
;
border
:
2rpx
solid
#2272ff
;
border-radius
:
11rpx
;
border-radius
:
50%
;
width
:
22rpx
;
width
:
22rpx
;
height
:
22rpx
;
height
:
22rpx
;
//
display: flex;
display
:
flex
;
//
align-items: center;
align-items
:
center
;
// justify-content: center;
justify-content
:
center
;
padding
:
5rpx
;
// padding: 6rpx;
background-color
:
#FFFFFF
;
background-color
:
#ffffff
;
.node-middle-view
{
.node-middle-view
{
width
:
10rpx
;
width
:
10rpx
;
height
:
10rpx
;
height
:
10rpx
;
background-color
:
#2272FF
;
background-color
:
#2272ff
;
border-radius
:
6rpx
;
border-radius
:
50%
;
}
}
}
}
}
}
...
@@ -173,7 +207,7 @@
...
@@ -173,7 +207,7 @@
.item-operation-view
{
.item-operation-view
{
margin-top
:
20rpx
;
margin-top
:
20rpx
;
.item-label
{
.item-label
{
color
:
#2272FF
;
color
:
#2272ff
;
}
}
.item-content
{
.item-content
{
word-break
:
break-all
;
word-break
:
break-all
;
...
@@ -181,7 +215,6 @@
...
@@ -181,7 +215,6 @@
}
}
}
}
}
}
}
}
}
}
}
}
...
@@ -189,7 +222,7 @@
...
@@ -189,7 +222,7 @@
.read-more-toggle
{
.read-more-toggle
{
text-align
:
center
;
text-align
:
center
;
color
:
#2272FF
;
color
:
#2272ff
;
font-size
:
26rpx
;
font-size
:
26rpx
;
padding-top
:
30rpx
;
padding-top
:
30rpx
;
padding-bottom
:
30rpx
;
padding-bottom
:
30rpx
;
...
@@ -205,11 +238,10 @@
...
@@ -205,11 +238,10 @@
text-align
:
right
;
text-align
:
right
;
.line-view
{
.line-view
{
background-color
:
#F4F5F
7
;
background-color
:
#f4f5f
7
;
height
:
2rpx
;
height
:
2rpx
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
}
}
}
}
}
}
</
style
>
</
style
>
src/pages/order/detail.vue
View file @
6a97f680
This diff is collapsed.
Click to expand it.
src/pages/order/feedback.vue
View file @
6a97f680
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