|
|
@@ -244,6 +244,7 @@ export default {
|
|
|
showSearch: true,
|
|
|
// 总条数
|
|
|
total: 0,
|
|
|
+ inparm: 0,
|
|
|
// 【请填写功能名称】表格数据
|
|
|
deviceList: [],
|
|
|
devices: null,
|
|
|
@@ -418,19 +419,16 @@ export default {
|
|
|
this.multiple = !selection.length
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
- handleAdd() {
|
|
|
+ handleAdd(val) {
|
|
|
this.open = true;
|
|
|
this.title = "新增";
|
|
|
this.form.orgId = this.selectOrgId;
|
|
|
- console.log(this.form.orgId)
|
|
|
- // getHostByOrgId(this.form).then(response => {
|
|
|
- // this.form.hostId = null;
|
|
|
- // this.hostList = response.data;
|
|
|
- // })
|
|
|
},
|
|
|
changeSelectDevice(val) {
|
|
|
getDeviceType(val).then(response => {
|
|
|
this.devices = response.data;
|
|
|
+ this.form.deviceType=null;
|
|
|
+ this.queryParams.deviceType=null;
|
|
|
})
|
|
|
},
|
|
|
/** 修改按钮操作 */
|