youhua
This commit is contained in:
parent
7a41945f41
commit
87e0828e9a
@ -23,12 +23,12 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="popup-item-content">
|
||||
<div class="popup-item-content-item">
|
||||
<div v-if="!isSignle" class="popup-item-content-item">
|
||||
<div class="content" v-show="!isSignle">
|
||||
<el-checkbox :value ='isAll' @change="handleChangChoose($event)">全选</el-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
<div v-for="(i) in showData" :key="i.departmentId" class="popup-item-content-item borderItem">
|
||||
<div v-for="(i) in showData" :key="i.departmentId" class="popup-item-content-item">
|
||||
<div class="content"><el-checkbox :value ='handleCheck(i)' @change='handleChangChoose($event,i)' >{{i.departmentName}}</el-checkbox></div>
|
||||
<div class="popup-item-content-item-next" :class="{isHasActive:handleCheck(i)|| !i.list}" @click='handleNext(i)'>下级</div>
|
||||
</div>
|
||||
@ -109,7 +109,7 @@ export default {
|
||||
beforeMount () {},
|
||||
mounted () {
|
||||
this.data = this.deplist
|
||||
this.tags = this.showDataList.list.concat([]) || []
|
||||
this.tags = this.showDataList ? this.showDataList.list.concat([]) : []
|
||||
this.showData = this.data.length > -1 ? this.data : []
|
||||
},
|
||||
methods: {
|
||||
@ -232,7 +232,7 @@ export default {
|
||||
&-title{
|
||||
color:#9b9b9b;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid @borderColor;
|
||||
// border-bottom: 1px solid @borderColor;
|
||||
padding: 10px;
|
||||
}
|
||||
&-content{
|
||||
@ -241,6 +241,9 @@ export default {
|
||||
.borderItem{
|
||||
border-top: 1px solid @borderColor;
|
||||
}
|
||||
&-item:first-child{
|
||||
// border-top:none;
|
||||
}
|
||||
&-item:nth-last-child(1){
|
||||
border-bottom: 1px solid @borderColor;
|
||||
}
|
||||
@ -250,6 +253,7 @@ export default {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-top: 1px solid @borderColor;
|
||||
.isHasActive{
|
||||
color: rgba(196, 196, 196, 0.933) !important;
|
||||
border-left: 1px solid rgba(196, 196, 196, 0.933) !important;
|
||||
|
||||
@ -176,7 +176,7 @@ export default {
|
||||
this.handleGetData(Object.assign({}, this.form, this.params))
|
||||
},
|
||||
handlePush (id) {
|
||||
this.$router.push({name: 'assessment-stepList', query: {id: 10}})
|
||||
this.$router.push({name: 'assessment-stepList', query: {id}})
|
||||
},
|
||||
async handleGetData (parmas = this.params) {
|
||||
try {
|
||||
|
||||
@ -282,7 +282,7 @@ export default {
|
||||
// this.handleKaoping()
|
||||
this.$router.push({
|
||||
name: 'assessment-performance',
|
||||
query: { id: 267 }
|
||||
query: { id }
|
||||
})
|
||||
console.log('id: ', id)
|
||||
},
|
||||
|
||||
@ -50,7 +50,9 @@ export default {
|
||||
|
||||
showDialogDepart: false,
|
||||
//
|
||||
showData: {},
|
||||
showData: {
|
||||
list: []
|
||||
},
|
||||
//
|
||||
len: 1,
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user