This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Augcl
/
workorder-front
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
上传
master
前端-胡立永
3 months ago
parent
1dc43d2442
commit
820600ac13
2 changed files
with
54 additions
and
46 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+43
-10
components/work/WorkOrderitem.vue
+11
-36
pages_order/order/WorkOrders.vue
+ 43
- 10
components/work/WorkOrderitem.vue
View File
@ -1,20 +1,48 @@
<
template
>
<
view
class
=
"Urgent-Work-List"
@click
="$emit('click')"
>
<
view
class
=
"Work-List"
>
任务号
:
{
{
obj
.
taskNo
}
}
<
view
class
=
"label"
>
任务号
:
<
/
view
>
<
view
class
=
"text"
>
{
{
obj
.
taskNo
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"Work-List"
>
担当信息
:
{
{
obj
.
responsibler
}
}
<
view
class
=
"label"
>
担当信息
:
<
/
view
>
<
view
class
=
"text"
>
{
{
obj
.
responsibler
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"Work-List"
>
机型信息
:
{
{
obj
.
model
}
}
<
view
class
=
"label"
>
机型信息
:
<
/
view
>
<
view
class
=
"text"
>
{
{
obj
.
model
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"Work-List"
>
数量
:
{
{
obj
.
number
}
}
<
view
class
=
"label"
>
数量
:
<
/
view
>
<
view
class
=
"text"
>
{
{
obj
.
number
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"Work-List"
>
工单状态
:
{
{
obj
.
remark
}
}
<
view
class
=
"label"
>
工单状态
:
<
/
view
>
<
view
class
=
"text"
>
{
{
obj
.
remark
}
}
<
/
view
>
<
/
view
>
<
/
view
>
<
/
template
>
@ -35,14 +63,19 @@
<
style
scoped
lang
=
"scss"
>
.
Urgent
-
Work
-
List
{
margin
-
top
:
20
rpx
;
bo
rder
:
6
rpx
solid
$uni
-
color
;
margin
:
30
rpx
0
;
bo
x
-
shadow
:
0
0
10
rpx
10
rpx
#
00000009
;
border
-
radius
:
25
rpx
;
padding
:
15
rpx
;
background
-
color
:
#
fff
;
font
-
size
:
28
rpx
;
.
Work
-
List
{
margin
:
15
rpx
0
rpx
;
letter
-
spacing
:
2
px
display
:
flex
;
padding
:
20
rpx
0
rpx
;
.
label
{
width
:
150
rpx
;
flex
-
shrink
:
0
;
}
}
}
<
/
style
>
+ 11
- 36
pages_order/order/WorkOrders.vue
View File
@ -26,7 +26,7 @@
{
{
TemplateById
.
responsibler
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"work-box
x
"
>
<
view
class
=
"work-box"
>
<
view
class
=
"works"
>
机型信息
:
<
/
view
>
@ -50,11 +50,11 @@
{
{
TemplateById
.
remark
}
}
<
/
view
>
<
/
view
>
<
view
class
=
"work-box
x
"
>
<
view
class
=
"works
s
"
>
<
view
class
=
"work-box"
>
<
view
class
=
"works"
>
备注
:
<
/
view
>
<
view
class
=
"index
x
"
>
<
view
class
=
"index"
>
<
/
view
>
<
/
view
>
@ -80,7 +80,6 @@
@
click
=
"$utils.navigateTo('/pages_order/order/ModifyWorkOrder')"
>
修改
<
/
view
>
<
/
view
>
<
/
view
>
<
/
template
>
@ -96,7 +95,6 @@
onLoad
(
args
)
{
this
.
id
=
args
.
id
this
.
queryTemplateById
(
)
console
.
log
(
args
)
}
,
methods
:
{
/
/
根
据
i
d
获
取
工
单
详
情
@ -110,8 +108,6 @@
}
)
}
,
}
}
<
/
script
>
@ -120,54 +116,34 @@
.
page
{
background
-
color
:
#
fff
;
height
:
100
vh
;
font
-
size
:
28
rpx
;
.
Box
{
margin
-
top
:
40
rpx
;
.
work
-
box
{
padding
:
0
rpx
30
rpx
;
margin
:
15
rpx
0
rpx
;
margin
:
20
rpx
0
rpx
;
display
:
flex
;
align
-
items
:
center
;
font
-
size
:
35
rpx
;
}
.
work
-
boxx
{
padding
:
0
rpx
30
rpx
;
margin
:
15
rpx
0
rpx
;
display
:
flex
;
flex
-
wrap
:
wrap
;
font
-
size
:
35
rpx
;
.
indexx
{
margin
-
top
:
3
rpx
;
.
works
{
width
:
150
rpx
;
flex
-
shrink
:
0
;
}
.
workss
{
width
:
170
rpx
;
font
-
size
:
35
rpx
;
.
index
{
margin
-
top
:
3
rpx
;
}
}
}
.
working
-
procedure
{
text
-
align
:
center
;
margin
-
top
:
150
rpx
;
font
-
size
:
35
rpx
;
.
working
{
margin
:
25
rpx
0
rpx
;
color
:
rgb
(
83
,
125
,
180
)
;
}
}
.
modify
{
text
-
align
:
center
;
margin
-
top
:
150
rpx
;
display
:
flex
;
align
-
items
:
center
;
justify
-
content
:
center
;
@ -177,7 +153,6 @@
border
-
radius
:
15
rpx
;
color
:
#
fff
;
}
}
}
<
/
style
>
Write
Preview
Loading…
Cancel
Save