修改待提交才展示批量提交按钮

This commit is contained in:
wulin 2020-08-26 16:03:33 +08:00
parent a815f0925a
commit 02a59e9885

View File

@ -77,7 +77,7 @@
<div>
<el-button type="primary" style="margin-bottom: 10px" @click="submitBt()">批量提交</el-button>
<el-button type="primary" style="margin-bottom: 10px" @click="submitBt()" v-if="isHiden">批量提交</el-button>
</div>
<el-tabs type="border-card" v-model="tabValue" @tab-click="tabChange">
@ -231,7 +231,8 @@ export default {
addOrUpdateVisible: false,
recordIdsSelect: [],
tabValue: '1,2,5',
isChangeDepartmentrtment: 0
isChangeDepartmentrtment: 0,
isHiden: false
}
},
computed: {},
@ -307,6 +308,11 @@ export default {
})
},
tabChange (row) {
if(row.name === '3') {
this.isHiden = true
} else {
this.isHiden = false
}
this.dataForm.status = row.name
this.getDataList(row.name)
},