Commit dace08b0 authored by 石盼盼's avatar 石盼盼

Merge branch 'spp' into 'master'

添加暂无员工

See merge request !40
parents 3c20eb7e 433f0e6b
...@@ -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.png" /> <img class="gr-img" :src="gr_img" />
<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()
}, },
......
...@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment