1 Commits
master ... zyj

Author SHA1 Message Date
e8ea1610f3 抽屉按钮 2023-04-27 19:03:05 +08:00
15 changed files with 321 additions and 68 deletions

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form
ref="form"
:rules="rules"
@@ -72,12 +76,12 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</el-col>
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</div>
</div>
</template>
<script>
@@ -203,3 +207,17 @@ export default {
},
};
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div>
<section style="padding: 20px">
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<section style="padding: 20px;flex: 1;">
<el-card shadow="never" class="box-card no-wrap">
<div slot="header">
<span class="card-header-icon"
@@ -365,6 +369,12 @@
</el-tabs>
</el-card> -->
</section>
<div class="generalDetails_footer">
<slot name="footer">
<el-button @click="close" type="primary">关闭</el-button>
</slot>
</div>
<el-dialog
v-el-drag-dialog
title="添加系统角色"
@@ -947,4 +957,16 @@ export default {
padding-top: 5px;
font-size: 14px;
}
.generalDetails_footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -179,18 +179,31 @@
direction="ltr"
size="55%"
>
<div style="padding: 20px;">
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-form
ref="form"
:model="updatePwd"
:rules="rules"
label-width="100px"
style="flex:1;padding: 20px;"
>
<el-form-item label="新密码" prop="encryptPsw">
<el-input v-model="updatePwd.encryptPsw" style="width: 50%" />
</el-form-item>
</el-form>
<div style="text-align: right">
<div style="min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;">
<el-button @click="updatePwdDialog = false;">取消</el-button>
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
</div>
@@ -263,6 +276,7 @@
<SysCustomerInfoInfo
v-if="showTableDrawer"
:sys-customer-info="sysCustomerInfo"
@closeDialog="closeDialog"
@closedialogs="closeDialogs"
/>
</el-drawer>
@@ -611,6 +625,7 @@ export default {
this.updateDialog = false;
this.updateInfoDialog = false;
this.addInfoDialog = false;
this.showTableDrawer = false;
},
},
};

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">>
<el-row style="flex:1;padding: 20px;">
<el-form
ref="form"
:rules="rules"
@@ -65,12 +69,15 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</el-col>
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
type="primary"
@click="submit"
>提交</el-button>
</div>
</div>
</template>
<script>
@@ -193,3 +200,17 @@ export default {
},
};
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div>
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form
:model="oilVehicleOwner"
label-width="100px"
@@ -136,12 +140,13 @@
<el-col />
</el-row> -->
</el-card>
<el-col :span="24" style="text-align: right;padding: 20px;">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</el-col>
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</div>
</div>
</template>
<script>
@@ -229,4 +234,16 @@ export default {
.clearfix:after {
clear: both;
}
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -654,6 +654,7 @@ export default {
closeDialog() {
this.addDialog = false;
this.updateDialog = false;
this.outPutDialog = false;
},
},
};

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form :model="data" label-width="100px" :size="$store.getters.size">
<el-row :gutter="gridNum.row.gutter">
<el-col :xs="gridNum.cols.xs" :sm="gridNum.cols.sm" :md="gridNum.cols.md" :lg="gridNum.cols.lg" :xl="gridNum.cols.xl">
@@ -14,7 +18,9 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
@@ -25,9 +31,7 @@
type="primary"
@click="importIf"
>根据条件导出</el-button>
</el-col>
</el-form>
</el-row>
</div>
</div>
</template>
<script>
@@ -63,3 +67,17 @@ export default {
}
}
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div>
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form
:model="oilVehicleOwner"
label-width="100px"
@@ -136,12 +140,12 @@
<el-col />
</el-row> -->
</el-card>
<el-col :span="24" style="text-align: right;padding: 20px;;">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</el-col>
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">提交</el-button>
</div>
</div>
</template>
<script>
@@ -223,3 +227,17 @@ export default {
},
};
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form :model="oilCompanyMatch" label-width="140px" :rules="ruleForm" ref="ruleForm" :size="$store.getters.size">
<el-row :gutter="gridNum.row.gutter">
<el-col :xs="gridNum.cols.xs" :sm="gridNum.cols.sm" :md="gridNum.cols.md" :lg="gridNum.cols.lg" :xl="gridNum.cols.xl">
@@ -94,15 +98,16 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
type="primary"
@click="submit"
>提交</el-button>
</el-col>
</el-form>
</el-row>
</div>
</div>
</template>
<script>
@@ -192,3 +197,17 @@ export default {
}
}
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form :model="oilCompanyMatch" :rules="ruleForm" ref="ruleForm" label-width="140px" :size="$store.getters.size">
<el-row :gutter="gridNum.row.gutter">
<el-col :xs="gridNum.cols.xs" :sm="gridNum.cols.sm" :md="gridNum.cols.md" :lg="gridNum.cols.lg" :xl="gridNum.cols.xl">
@@ -97,15 +101,15 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
type="primary"
@click="submit"
>提交</el-button>
</el-col>
</el-form>
</el-row>
</div>
</div>
</template>
<script>
@@ -210,3 +214,17 @@ export default {
}
}
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div v-loading="loading" style="padding:20px">
<el-row>
<div v-loading="loading" style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form ref="ruleForm" :rules="ruleForm" :model="oilTfOrder" label-width="120px" :size="$store.getters.size">
<el-row :span="24">
<el-col :span="13">
@@ -145,13 +149,22 @@
</el-form-item>
</el-col>
</el-row>
<div :span="24"
style="background:#fff;margin-top:20px;text-align: right;width:100%;">
</el-form>
</el-row>
<div
style="min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit" style="margin-right:10px">提交</el-button>
</div>
</el-form>
</el-row>
</div>
</template>
<script>

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="flex:1;padding: 20px;">
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
<el-row :gutter="gridNum.row.gutter">
<el-col :span="12">
@@ -63,15 +67,15 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
type="primary"
@click="submit"
>提交</el-button>
</el-col>
</el-form>
</el-row>
</div>
</div>
</template>
<script>
@@ -183,3 +187,17 @@ export default {
}
}
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -1,6 +1,10 @@
<template>
<div>
<section style="padding:20px;">
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<section style="padding:20px;flex: 1;">
<el-card class="box-card no-wrap" style="margin-bottom:10px">
<div class="my-cell">
@@ -322,6 +326,12 @@
</el-card>
<!-- 登录授权 -->
</section>
<div class="generalDetails_footer">
<slot name="footer">
<el-button @click="close" type="primary">关闭</el-button>
</slot>
</div>
<el-dialog
v-el-drag-dialog
title="添加系统角色"
@@ -670,4 +680,16 @@ export default {
margin-right: 20px;
text-align: center;
}
.generalDetails_footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>

View File

@@ -220,18 +220,31 @@
direction="ltr"
size="55%"
>
<div style="padding: 20px;">
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-form
ref="form"
:model="updatePwd"
:rules="rules"
label-width="100px"
style="flex:1;padding: 20px;"
>
<el-form-item label="新密码" prop="encryptPsw">
<el-input v-model="updatePwd.encryptPsw" style="width: 50%" />
</el-form-item>
</el-form>
<div style="text-align: right">
<div style="min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;">
<el-button @click="handleClose">取消</el-button>
<el-button type="primary" @click="updatePwdSubmit">提交</el-button>
</div>
@@ -318,6 +331,7 @@
>
<SysCustomerInfoInfo
v-if="showTableDrawer"
@closeDialog="closeDialog"
:sys-customer-info="sysCustomerInfo"
/>
</el-drawer>
@@ -689,6 +703,7 @@ export default {
this.addDialog = false;
this.updateDialog = false;
this.updatePwdDialog = false;
this.showTableDrawer = false;
},
},
};

View File

@@ -1,6 +1,10 @@
<template>
<div style="padding: 20px;">
<el-row>
<div style="width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;">
<el-row style="padding: 20px;flex: 1;">
<el-form ref="form" :rules="rules" :model="sysCustomerInfo" label-width="100px" :size="$store.getters.size">
<el-row :gutter="gridNum.row.gutter">
<el-col :span="12">
@@ -55,15 +59,15 @@
</el-form-item>
</el-col>
</el-row>
<el-col :span="24" style="text-align: right">
</el-form>
</el-row>
<div class="_footer">
<el-button @click="close">取消</el-button>
<el-button
type="primary"
@click="submit"
>提交</el-button>
</el-col>
</el-form>
</el-row>
</div>
</div>
</template>
<script>
@@ -178,3 +182,17 @@ export default {
}
}
</script>
<style scoped>
._footer {
min-height: 50px;
position: sticky;
bottom: 0px;
width: 100%;
display: flex;
justify-content: right;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #e5e5e5;
z-index: 999999;
}
</style>