flat: 修改企业管理drawer
This commit is contained in:
@@ -47,11 +47,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
<el-dialog
|
<el-drawer
|
||||||
title="新增用户"
|
title="新增用户"
|
||||||
:visible.sync="distributionCodeDialog"
|
:visible.sync="distributionCodeDialog"
|
||||||
append-to-body
|
append-to-body
|
||||||
width="30%">
|
width="40%"
|
||||||
|
>
|
||||||
|
<div class="drawer_content">
|
||||||
<el-form :model="inviteCodeForm" :rules="inviteCodeRules" filterable ref="inviteCode" label-width="100px"
|
<el-form :model="inviteCodeForm" :rules="inviteCodeRules" filterable ref="inviteCode" label-width="100px"
|
||||||
class="demo-ruleForm">
|
class="demo-ruleForm">
|
||||||
<el-form-item label="企业名称:" prop="companyId">
|
<el-form-item label="企业名称:" prop="companyId">
|
||||||
@@ -79,11 +81,12 @@
|
|||||||
placeholder="请输入备注"></el-input>
|
placeholder="请输入备注"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span class="dialog-footer footer_btns">
|
||||||
<el-button @click="distributionCodeDialog = false">取 消</el-button>
|
<el-button @click="distributionCodeDialog = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="inviteCodeSubmit">确 定</el-button>
|
<el-button type="primary" @click="inviteCodeSubmit">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</basic-container>
|
</basic-container>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -169,9 +172,15 @@ const curdOptions = {
|
|||||||
{
|
{
|
||||||
label: '启用状态',
|
label: '启用状态',
|
||||||
prop: 'isEnabled',
|
prop: 'isEnabled',
|
||||||
|
type: 'select',
|
||||||
|
dicData: [
|
||||||
|
{label: '否', value: 0},
|
||||||
|
{label: '是', value: 1},
|
||||||
|
],
|
||||||
slot: true,
|
slot: true,
|
||||||
width: 100
|
width: 100
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
label: '审核状态',
|
label: '审核状态',
|
||||||
prop: 'reviewStatus',
|
prop: 'reviewStatus',
|
||||||
width: 100,
|
width: 100,
|
||||||
@@ -420,6 +429,17 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style scoped>
|
||||||
|
.drawer_content {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer_btns {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user