运营区不分页
This commit is contained in:
parent
e592878ab6
commit
6cd03185f5
|
@ -236,6 +236,10 @@ export default {
|
|||
classify: null,
|
||||
title: null,
|
||||
},
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
pageSize: 999
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
|
@ -321,7 +325,7 @@ export default {
|
|||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
listArea(this.queryParams).then(response => {
|
||||
listArea(this.queryParams2).then(response => {
|
||||
this.areaOptions = response.rows;
|
||||
this.open = true;
|
||||
this.title = "添加文章";
|
||||
|
|
|
@ -1037,6 +1037,11 @@ export default {
|
|||
hardwareVersion: null,
|
||||
deptId:this.deptId
|
||||
},
|
||||
//不分页
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
pageSize: 999
|
||||
},
|
||||
// 列信息
|
||||
columns: [
|
||||
{ key: 0, label: `代理商`, visible: true },
|
||||
|
@ -1117,7 +1122,7 @@ export default {
|
|||
listDept2({ status: "0", pageNum: 1, pageSize: 999 }).then((response) => {
|
||||
this.deptOptions = response.rows;
|
||||
});
|
||||
listArea(this.queryParams).then((response) => {
|
||||
listArea(this.queryParams2).then((response) => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
}
|
||||
|
@ -1448,7 +1453,7 @@ export default {
|
|||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
listModel(this.queryParams).then((response) => {
|
||||
listModel(this.queryParams2).then((response) => {
|
||||
this.modelOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
@ -1495,13 +1500,10 @@ export default {
|
|||
);
|
||||
}
|
||||
// console.log(33333333333)
|
||||
listModel(this.queryParams).then((response) => {
|
||||
listModel(this.queryParams2).then((response) => {
|
||||
this.modelOptions = response.rows;
|
||||
});
|
||||
// listModel(this.queryParams).then((response) => {
|
||||
// this.modelOptions = response.rows;
|
||||
// });
|
||||
listArea(this.queryParams).then((response) => {
|
||||
listArea(this.queryParams2).then((response) => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
@ -1516,7 +1518,7 @@ export default {
|
|||
}
|
||||
);
|
||||
}
|
||||
listArea(this.queryParams).then((response) => {
|
||||
listArea(this.queryParams2).then((response) => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
@ -1611,20 +1613,20 @@ export default {
|
|||
const deviceId = row.deviceId || this.ids;
|
||||
getDevice(deviceId).then((response) => {
|
||||
this.form = response.data;
|
||||
console.log("111111111111111111",this.form)
|
||||
selectAreaListByDeptId(response.data.deptId).then((response) => {
|
||||
this.areaOptions = response.data.areaList;
|
||||
let areaOptions = response.data.areaList;
|
||||
areaOptions.length > 0
|
||||
? (this.form.areaId = areaOptions[0].areaId)
|
||||
: (this.form.areaId = null);
|
||||
this.modelOptions = response.data.modelList;
|
||||
let modelOptions = response.data.modelList;
|
||||
console.log("==============",this.modelOptions.length)
|
||||
modelOptions.length > 0
|
||||
? (this.form.modelId = modelOptions[0].modelId)
|
||||
: (this.form.modelId = null);
|
||||
});
|
||||
// console.log("111111111111111111",this.form)
|
||||
// selectAreaListByDeptId(response.data.deptId).then((response) => {
|
||||
// this.areaOptions = response.data.areaList;
|
||||
// let areaOptions = response.data.areaList;
|
||||
// areaOptions.length > 0
|
||||
// ? (this.form.areaId = areaOptions[0].areaId)
|
||||
// : (this.form.areaId = null);
|
||||
// this.modelOptions = response.data.modelList;
|
||||
// let modelOptions = response.data.modelList;
|
||||
// console.log("==============",this.modelOptions.length)
|
||||
// modelOptions.length > 0
|
||||
// ? (this.form.modelId = modelOptions[0].modelId)
|
||||
// : (this.form.modelId = null);
|
||||
// });
|
||||
this.open = true;
|
||||
this.title = "修改设备";
|
||||
});
|
||||
|
|
|
@ -387,6 +387,11 @@ export default {
|
|||
name: null,
|
||||
status: null,
|
||||
},
|
||||
//不分页
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
pageSize: 999
|
||||
},
|
||||
time1:'24',
|
||||
time2:'',
|
||||
form: {
|
||||
|
@ -482,7 +487,7 @@ export default {
|
|||
this.deptOptions = response.rows;
|
||||
});
|
||||
}
|
||||
listArea(this.queryParams).then(response => {
|
||||
listArea(this.queryParams2).then(response => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
@ -502,7 +507,7 @@ export default {
|
|||
}
|
||||
});
|
||||
}else{
|
||||
listArea(this.queryParams).then(response => {
|
||||
listArea(this.queryParams2).then(response => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
:label="item.deptName"
|
||||
:value="item.deptId"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="车型" prop="model">
|
||||
<el-input
|
||||
|
@ -251,6 +251,11 @@ export default {
|
|||
operator: this.deptId,
|
||||
// operator:,
|
||||
},
|
||||
//不分页
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
pageSize: 999
|
||||
},
|
||||
// 表单参数
|
||||
form: {
|
||||
lowBatteryReminderSwitch: false,
|
||||
|
@ -405,7 +410,7 @@ export default {
|
|||
listFee(this.queryParams).then(response => {
|
||||
this.ruleOptions = response.rows;
|
||||
});
|
||||
listArea(this.queryParams).then((response) => {
|
||||
listArea(this.queryParams2).then((response) => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
|
|
@ -343,6 +343,10 @@ export default {
|
|||
deptId: this.deptId,
|
||||
typeList: "00,03"
|
||||
},
|
||||
queryParams2: {
|
||||
pageNum: 1,
|
||||
pageSize: 999
|
||||
},
|
||||
// 列信息
|
||||
columns: [
|
||||
{ key: 0, label: `用户编号`, visible: true },
|
||||
|
@ -517,7 +521,7 @@ export default {
|
|||
this.loading = false;
|
||||
}
|
||||
);
|
||||
listArea(this.queryParams).then(response => {
|
||||
listArea(this.queryParams2).then(response => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
},
|
||||
|
@ -525,7 +529,7 @@ export default {
|
|||
getDeptTree() {
|
||||
deptTreeSelect().then(response => {
|
||||
this.deptOptions = response.data;
|
||||
|
||||
|
||||
});
|
||||
},
|
||||
// 筛选节点
|
||||
|
@ -622,7 +626,7 @@ export default {
|
|||
if(this.deptId){
|
||||
this.form.deptId=this.deptId
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user