|
|
@@ -7,11 +7,11 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="4">
|
|
|
<em>用户名:</em>
|
|
|
- <el-input v-model="panel.userCode" placeholder="请输入用户名"></el-input>
|
|
|
+ <el-input v-model="panel.name" placeholder="请输入用户名"></el-input>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
<em>手机号:</em>
|
|
|
- <el-input v-model="panel.tel" placeholder="请输入手机号"></el-input>
|
|
|
+ <el-input v-model="panel.phone" placeholder="请输入手机号"></el-input>
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
<em>店面:</em>
|
|
|
@@ -186,8 +186,9 @@
|
|
|
// panel 配置项目
|
|
|
panel: {
|
|
|
userCode: '',
|
|
|
- tel: '',
|
|
|
- shopId: 0,
|
|
|
+ name: '',
|
|
|
+ phone: '',
|
|
|
+ shopId: '',
|
|
|
options: [],
|
|
|
draw: 1,
|
|
|
start: 0,
|
|
|
@@ -392,7 +393,7 @@
|
|
|
that.panel.options = turnShopResToOption(json.Rs);
|
|
|
that.shops = turnShopResToOption(json.Rs);
|
|
|
that.form.shopId = json.Rs[0].ShopID;
|
|
|
- that.panel.options.unshift({value: 0, label: "全部"});
|
|
|
+ that.panel.options.unshift({value: '', label: "全部"});
|
|
|
} else {
|
|
|
that.$message.error(json.Memo);
|
|
|
}
|
|
|
@@ -519,7 +520,7 @@
|
|
|
return false
|
|
|
}
|
|
|
let row = that.multipleSelection[0];
|
|
|
- this.form.shopidshopid = row.ShopId;
|
|
|
+ this.form.shopid = row.ShopId;
|
|
|
this.form.userId = row.Id;
|
|
|
this.form.name = row.Name;
|
|
|
this.form.userCode = row.Usercode;
|
|
|
@@ -541,15 +542,12 @@
|
|
|
// 页面数据查询
|
|
|
getTableQuery() {
|
|
|
let that = this;
|
|
|
- // this.getGetChildRegionSelect(0, 1);
|
|
|
that.loading = true;
|
|
|
- // 查询检测设备。上级区域id,区域id必传。regionid传0,查询supregionid对应所有子区域的检测设备。 如果supregionid,regionid都传0,默认查询企业ID下所有检测设备
|
|
|
let param = {
|
|
|
token: localStorage.token,
|
|
|
- supregionid: 0,//
|
|
|
- regionid: this.panel.regionid,//
|
|
|
- comid: 1,//
|
|
|
- tagname: that.panel.tagname,//标签名
|
|
|
+ shopId: this.panel.shopId,
|
|
|
+ name: this.panel.name,
|
|
|
+ phone: this.panel.phone,
|
|
|
start: 1,//
|
|
|
tableMax: 9999,//
|
|
|
};
|