Commit eaf42f75 by LJM

bug

parent 96b8a361
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<!--搜索区--> <!--搜索区-->
<el-form :inline="true" :model="formParam" class="demo-form-inline" ref="formParam" label-width="80px"> <el-form :inline="true" :model="formParam" class="demo-form-inline" ref="formParam" label-width="80px">
<el-form-item label="子账号" prop="mobile"> <el-form-item label="子账号" prop="mobile">
<el-input v-model="formParam.mobile" placeholder="请输入子账号" @keyup.enter.native="submit" clearable></el-input> <el-input v-model="formParam.mobile" placeholder="请输入子账号" @keyup.enter.native="submit" clearable maxlength="30"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="名称" prop="name"> <el-form-item label="名称" prop="name">
<el-input v-model="formParam.name" placeholder="请输入子账号" @keyup.enter.native="submit" clearable></el-input> <el-input v-model="formParam.name" placeholder="请输入子账号" @keyup.enter.native="submit" clearable max="30"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select v-model="formParam.status" placeholder="请选择" clearable> <el-select v-model="formParam.status" placeholder="请选择" clearable>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-option label="删除" value="0"></el-option> <el-option label="删除" value="0"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="创建渠道" prop="status"> <el-form-item label="创建渠道" prop="create_type">
<el-select v-model="formParam.create_type" placeholder="请选择" clearable> <el-select v-model="formParam.create_type" placeholder="请选择" clearable>
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option label="芯链系统" value="1"></el-option> <el-option label="芯链系统" value="1"></el-option>
...@@ -75,9 +75,6 @@ import Menu from "@/components/menu.vue"; ...@@ -75,9 +75,6 @@ import Menu from "@/components/menu.vue";
import {Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, MessageBox, Option, Pagination, Popover, Radio, RadioButton, RadioGroup, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui' import {Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, MessageBox, Option, Pagination, Popover, Radio, RadioButton, RadioGroup, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui'
Vue.prototype.$msgbox = MessageBox; Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Radio).use(RadioGroup).use(RadioButton); Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Radio).use(RadioGroup).use(RadioButton);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination).use(Popover).use(Tag).use(Tooltip); Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination).use(Popover).use(Tag).use(Tooltip);
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
<el-input v-model="formParam.mobile" placeholder="请输入手机号"></el-input> <el-input v-model="formParam.mobile" placeholder="请输入手机号"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="密码" prop="password_raw"> <el-form-item label="密码" prop="password_raw">
<el-input v-model="formParam.password_raw" placeholder="请输入登录密码"></el-input> <el-input placeholder="请输入登录密码" v-model="formParam.password_raw" show-password></el-input>
</el-form-item> </el-form-item>
<el-form-item label="名称" prop="name"> <el-form-item label="名称" prop="name">
<el-input v-model="formParam.name" placeholder="请输入名称"></el-input> <el-input v-model="formParam.name" placeholder="请输入名称" maxlength="10"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="邮箱" prop="email"> <el-form-item label="邮箱" prop="email">
<el-input v-model="formParam.email" placeholder="请输入邮箱"></el-input> <el-input v-model="formParam.email" placeholder="请输入邮箱"></el-input>
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
formParam: { formParam: {
mobile: '', mobile: '',
name: '', name: '',
password_raw: '', password_raw: '123456',
email: '', email: '',
user_message_rule: [], user_message_rule: [],
user_rule: [] user_rule: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment