parent
40fd7fe768
commit
e86eba70ec
@ -0,0 +1,40 @@
|
||||
<template>
|
||||
<div class="component">
|
||||
<el-radio-group v-model="data.zyType" style="width: 25%">
|
||||
<el-radio label="0">派工</el-radio>
|
||||
<el-radio label="1">报工</el-radio>
|
||||
</el-radio-group>
|
||||
<el-radio-group v-model="data.bzType" @change="init">
|
||||
<el-radio label="01">白班</el-radio>
|
||||
<el-radio label="02">二班</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"ZyjhSelectComp",
|
||||
data(){
|
||||
return {
|
||||
data:{
|
||||
zyType:'0',
|
||||
bzType:'01'
|
||||
}
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
init(){
|
||||
this.$emit('initWorkers',this.data.bzType)
|
||||
},
|
||||
getData(){
|
||||
return this.data
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.component .el-radio .el-radio__label {
|
||||
color: white;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue