|
|
@@ -9,10 +9,10 @@
|
|
|
<em>姓名:</em>
|
|
|
<el-input v-model="panel.name" placeholder="请输入用户名"></el-input>
|
|
|
</el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <em>手机号:</em>
|
|
|
- <el-input v-model="panel.phone" placeholder="请输入手机号" type="number" ></el-input>
|
|
|
- </el-col>
|
|
|
+ <!--<el-col :span="4">-->
|
|
|
+ <!--<em>手机号:</em>-->
|
|
|
+ <!--<el-input v-model="panel.phone" placeholder="请输入手机号" type="number" ></el-input>-->
|
|
|
+ <!--</el-col>-->
|
|
|
<el-col :span="4">
|
|
|
<em>店面:</em>
|
|
|
<el-select v-model="panel.shopId">
|
|
|
@@ -81,12 +81,12 @@
|
|
|
sortable
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="Phone"
|
|
|
- label="手机号"
|
|
|
- sortable
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
+ <!--<el-table-column-->
|
|
|
+ <!--prop="Phone"-->
|
|
|
+ <!--label="手机号"-->
|
|
|
+ <!--sortable-->
|
|
|
+ <!-->-->
|
|
|
+ <!--</el-table-column>-->
|
|
|
<el-table-column
|
|
|
prop="AdminType"
|
|
|
label="角色"
|
|
|
@@ -167,9 +167,9 @@
|
|
|
<el-form-item label="姓名">
|
|
|
<el-input v-model="form.name"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="手机号">
|
|
|
- <el-input v-model="form.phone"></el-input>
|
|
|
- </el-form-item>
|
|
|
+ <!--<el-form-item label="手机号">-->
|
|
|
+ <!--<el-input v-model="form.phone"></el-input>-->
|
|
|
+ <!--</el-form-item>-->
|
|
|
<el-form-item label="所属门店">
|
|
|
<el-select v-model="form.shopId" placeholder="请选择所属门店">
|
|
|
<el-option
|
|
|
@@ -338,14 +338,14 @@ export default {
|
|
|
this.$message.error('错了哦,姓名字数超过8个字');
|
|
|
return false
|
|
|
}
|
|
|
- if (!that.form.phone) {
|
|
|
- this.$message.error('错了哦,手机号码不能为空');
|
|
|
- return false
|
|
|
- }
|
|
|
- if (!globalCheckPhone(that.form.phone)) {
|
|
|
- this.$message.error('错了哦,手机号格式不正确');
|
|
|
- return false
|
|
|
- }
|
|
|
+ // if (!that.form.phone) {
|
|
|
+ // this.$message.error('错了哦,手机号码不能为空');
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // if (!globalCheckPhone(that.form.phone)) {
|
|
|
+ // this.$message.error('错了哦,手机号格式不正确');
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
if (that.form.memo) {
|
|
|
if (that.form.name.memo > 200) {
|
|
|
this.$message.error('错了哦,备注字数超过200个字');
|
|
|
@@ -359,7 +359,7 @@ export default {
|
|
|
usercode: that.form.userCode,
|
|
|
password: that.form.password,
|
|
|
name: that.form.name,
|
|
|
- phone: that.form.phone,
|
|
|
+ // phone: that.form.phone,
|
|
|
adminType: that.form.adminType,
|
|
|
memo: that.form.memo,
|
|
|
};
|
|
|
@@ -414,14 +414,14 @@ export default {
|
|
|
this.$message.error('错了哦,姓名字数超过8个字');
|
|
|
return false
|
|
|
}
|
|
|
- if (!that.form.phone) {
|
|
|
- this.$message.error('错了哦,手机号码不能为空');
|
|
|
- return false
|
|
|
- }
|
|
|
- if (!globalCheckPhone(that.form.phone)) {
|
|
|
- this.$message.error('错了哦,手机号格式不正确');
|
|
|
- return false
|
|
|
- }
|
|
|
+ // if (!that.form.phone) {
|
|
|
+ // this.$message.error('错了哦,手机号码不能为空');
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // if (!globalCheckPhone(that.form.phone)) {
|
|
|
+ // this.$message.error('错了哦,手机号格式不正确');
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
if (that.form.memo) {
|
|
|
if (that.form.name.memo > 200) {
|
|
|
this.$message.error('错了哦,备注字数超过200个字');
|
|
|
@@ -436,7 +436,7 @@ export default {
|
|
|
usercode: that.form.userCode,
|
|
|
password: that.form.password,
|
|
|
name: that.form.name,
|
|
|
- phone: that.form.phone,
|
|
|
+ // phone: that.form.phone,
|
|
|
memo: that.form.memo,
|
|
|
};
|
|
|
let postdata = qs.stringify(param);
|
|
|
@@ -615,7 +615,7 @@ export default {
|
|
|
token: localStorage.token,
|
|
|
shopId: this.panel.shopId,
|
|
|
name: this.panel.name,
|
|
|
- phone: this.panel.phone,
|
|
|
+ // phone: this.panel.phone,
|
|
|
adminType: this.panel.adminType,
|
|
|
start: 1,//
|
|
|
tableMax: 9999,//
|