You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
{{template "header" }}
|
|
<div id="app" style="width:100%">
|
|
<template>
|
|
<el-container v-loading.fullscreen.lock="fullscreenLoading">
|
|
<el-aside>
|
|
{{template "setting_left" .}}
|
|
</el-aside>
|
|
|
|
<el-main class="mainMain">
|
|
<el-form :model="account" :rules="rules" ref="account" label-width="120px">
|
|
<el-form-item label="用户名" prop="username">
|
|
<el-input v-model="account.username"></el-input>
|
|
</el-form-item>
|
|
<el-form-item label="密码" prop="password">
|
|
<el-input v-model="account.password"></el-input>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" @click="setAccount('account')">立即创建</el-button>
|
|
<el-button @click="resetForm('account')">取消</el-button>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-main>
|
|
|
|
</el-container>
|
|
</template>
|
|
|
|
</div>
|
|
</body>
|
|
<script>
|
|
var Password="{{.Password}}";
|
|
var Username="{{.Username}}";
|
|
</script>
|
|
{{template "setting_bottom" .}}
|