style: 调整组件库头部搜索区域右对齐

main
wu.jian2 2 years ago
parent 2e8c08651b
commit 74864a3e4a

@ -165,7 +165,6 @@
</el-select> </el-select>
<el-button <el-button
size="small" size="small"
style="margin-right: 20px"
type="primary" type="primary"
@click="reSearch" @click="reSearch"
> >

@ -23,9 +23,9 @@
class="bs-data-set-management" class="bs-data-set-management"
:is-border="true" :is-border="true"
:is-dialog="true" :is-dialog="true"
:ToAdd='isAdd' :to-add="isAdd"
:doEdit='doEdit' :do-edit="doEdit"
:isDelete='isDelete' :is-delete="isDelete"
:ds-id="dataSetId" :ds-id="dataSetId"
:multiple="multiple" :multiple="multiple"
:ds-value="DataDsValue" :ds-value="DataDsValue"
@ -42,9 +42,9 @@
class="bs-data-set-management" class="bs-data-set-management"
:is-border="true" :is-border="true"
:is-dialog="true" :is-dialog="true"
:ToAdd='isAdd' :to-add="isAdd"
:doEdit='doEdit' :do-edit="doEdit"
:isDelete='isDelete' :is-delete="isDelete"
:ds-id="dataSetId" :ds-id="dataSetId"
:multiple="multiple" :multiple="multiple"
:ds-value="DataDsValue" :ds-value="DataDsValue"
@ -114,36 +114,36 @@ export default {
} }
} }
}, },
isAdd(){ isAdd () {
let a=-1 let a = -1
if(window.BS_CONFIG?.datasetAuth) { if (window.BS_CONFIG?.datasetAuth) {
a=window.BS_CONFIG?.datasetAuth.findIndex(item=>item=='unAdd') a = window.BS_CONFIG?.datasetAuth.findIndex(item => item === 'unAdd')
} }
if(a==-1){ if (a === -1) {
return true return true
}else{ } else {
return false return false
} }
}, },
doEdit(){ doEdit () {
let a=-1 let a = -1
if(window.BS_CONFIG?.datasetAuth) { if (window.BS_CONFIG?.datasetAuth) {
a=window.BS_CONFIG?.datasetAuth.findIndex(item=>item=='unEdit') a = window.BS_CONFIG?.datasetAuth.findIndex(item => item === 'unEdit')
} }
if(a==-1){ if (a === -1) {
return true return true
}else{ } else {
return false return false
} }
}, },
isDelete(){ isDelete () {
let a=-1 let a = -1
if(window.BS_CONFIG?.datasetAuth) { if (window.BS_CONFIG?.datasetAuth) {
a=window.BS_CONFIG?.datasetAuth.findIndex(item=>item=='unDelete') a = window.BS_CONFIG?.datasetAuth.findIndex(item => item === 'unDelete')
} }
if(a==-1){ if (a === -1) {
return true return true
}else{ } else {
return false return false
} }
} }
@ -204,6 +204,7 @@ export default {
::v-deep .bs-container { ::v-deep .bs-container {
padding: 0; padding: 0;
min-height: 550px; min-height: 550px;
background-color: var(--bs-background-2) !important;
.el-table { .el-table {
max-height: calc(90vh - 350px); max-height: calc(90vh - 350px);

Loading…
Cancel
Save