Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
repair_workers_h5
Commits
dace08b0
Commit
dace08b0
authored
Oct 20, 2021
by
石盼盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'spp' into 'master'
添加暂无员工 See merge request
!40
parents
3c20eb7e
433f0e6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
admin_detail.vue
src/views/my/admin_detail.vue
+23
-18
order_detail.vue
src/views/my/order_detail.vue
+2
-2
No files found.
src/views/my/admin_detail.vue
View file @
dace08b0
...
@@ -130,6 +130,7 @@
...
@@ -130,6 +130,7 @@
<div
class=
"workers"
>
<div
class=
"workers"
>
<div
class=
"gr-item"
v-for=
"(child_item,child_index) in columns"
:key=
"child_index"
>
<div
class=
"gr-item"
v-for=
"(child_item,child_index) in columns"
:key=
"child_index"
>
<div
class=
"bm-item"
>
{{
child_item
.
name
}}
</div>
<div
class=
"bm-item"
>
{{
child_item
.
name
}}
</div>
<div
v-if=
"child_item.user.length"
>
<div
<div
class=
"people-item flex-h flex-vc flex-hb"
class=
"people-item flex-h flex-vc flex-hb"
v-for=
"(lchild_item,lchild_index) in child_item.user"
v-for=
"(lchild_item,lchild_index) in child_item.user"
...
@@ -137,7 +138,7 @@
...
@@ -137,7 +138,7 @@
@
click=
"chooseWorker(lchild_item,lchild_index)"
@
click=
"chooseWorker(lchild_item,lchild_index)"
>
>
<div
class=
"flex-h flex-vc"
>
<div
class=
"flex-h flex-vc"
>
<img
class=
"gr-img"
src=
"@assets/images/gr.pn
g"
/>
<img
class=
"gr-img"
:src=
"gr_im
g"
/>
<div
<div
class=
"gr-name"
class=
"gr-name"
v-if=
"lchild_item.repired_count !== 0 || lchild_item.repiring_count !== 0"
v-if=
"lchild_item.repired_count !== 0 || lchild_item.repiring_count !== 0"
...
@@ -150,6 +151,8 @@
...
@@ -150,6 +151,8 @@
/>
/>
</div>
</div>
</div>
</div>
<div
v-else
class=
"none"
>
暂无员工
</div>
</div>
</div>
</div>
<div
class=
"allBtn btn-box flex-h flex-hc"
>
<div
class=
"allBtn btn-box flex-h flex-hc"
>
<div
class=
"button"
@
click=
"Cancel"
>
取消
</div>
<div
class=
"button"
@
click=
"Cancel"
>
取消
</div>
...
@@ -181,6 +184,7 @@ import { trimStrSpace } from '@assets/js/format.js'
...
@@ -181,6 +184,7 @@ import { trimStrSpace } from '@assets/js/format.js'
import
{
ImagePreview
,
CellGroup
}
from
'
vant
'
;
import
{
ImagePreview
,
CellGroup
}
from
'
vant
'
;
import
select_img
from
'
@assets/images/select.png
'
import
select_img
from
'
@assets/images/select.png
'
import
unselect_img
from
'
@assets/images/un_select.png
'
import
unselect_img
from
'
@assets/images/un_select.png
'
import
gr_img
from
'
@assets/images/gr.png
'
export
default
{
export
default
{
name
:
'
admin_detail
'
,
name
:
'
admin_detail
'
,
data
()
{
data
()
{
...
@@ -188,6 +192,7 @@ export default {
...
@@ -188,6 +192,7 @@ export default {
showWorker
:
false
,
showWorker
:
false
,
select_img
,
select_img
,
unselect_img
,
unselect_img
,
gr_img
,
reson
:
''
,
//取消原因
reson
:
''
,
//取消原因
qxShow
:
false
,
// 发起转单弹窗
qxShow
:
false
,
// 发起转单弹窗
workerName
:
''
,
workerName
:
''
,
...
@@ -210,7 +215,7 @@ export default {
...
@@ -210,7 +215,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
order_id
=
this
.
$route
.
query
.
id
this
.
order_id
=
this
.
$route
.
query
.
id
// this.order_id =
177
// this.order_id =
211
this
.
getDetail
()
this
.
getDetail
()
this
.
getWorkers
()
this
.
getWorkers
()
},
},
...
...
src/views/my/order_detail.vue
View file @
dace08b0
...
@@ -244,8 +244,8 @@ export default {
...
@@ -244,8 +244,8 @@ export default {
}
}
},
},
created
()
{
created
()
{
//
this.order_id = this.$route.query.id
this
.
order_id
=
this
.
$route
.
query
.
id
this
.
order_id
=
211
//
this.order_id = 211
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
...
...
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