Commit bac50618 by xue_wengang

移动设备管理管理添加查询条件

parent e96e8b41
......@@ -156,6 +156,16 @@ export default {
prop: "sbmc",
type: "input",
},
{
prop: "bdidcard",
label: "绑定身份证",
type: "input",
},
{
prop: "bdxm",
label: "绑定姓名",
type: "input",
},
],
// 表单数据
formData: {},
......@@ -373,7 +383,7 @@ export default {
limit: 10,
},
},
bdidcard:"",
bdidcard: "",
};
},
......@@ -414,7 +424,7 @@ export default {
this.bdidcard = bdidcard;
self
.doQueryRequest(
{sfzh:bdidcard,page, limit, ...self.queryYh },
{ sfzh: bdidcard, page, limit, ...self.queryYh },
"/aapydgl/selectYhsqYy"
)
.then((res) => {
......@@ -438,16 +448,12 @@ export default {
this.yysq(this.bdidcard);
},
handleItem(selection, row) {
let index = selection.findIndex(
(item) => item.yydm == row.yydm
);
let index = selection.findIndex((item) => item.yydm == row.yydm);
if (row.countryCode == 1) {
if (index < 0) {
this.qxList.push(row);
} else {
let subindex = this.qxList.findIndex(
(item) => item.yydm == row.yydm
);
let subindex = this.qxList.findIndex((item) => item.yydm == row.yydm);
this.qxList.splice(subindex, 1);
}
}
......@@ -541,7 +547,7 @@ export default {
});
} else if (index == 3) {
let self = this;
if(row.sbzt=='2'){
if (row.sbzt == "2") {
self
.doQueryRequest({ sfzh: row.bdidcard }, "/aapydgl/qxYcsbkz")
.then((res) => {
......@@ -550,12 +556,14 @@ export default {
this.getList();
}
});
}else{
} else {
self
.doQueryRequest({ sfzh: row.bdidcard }, "/aapydgl/ycsbkz")
.then((res) => {
if (res.code == 200) {
self.$message.success("设备远程控制成功");
let url = `http://10.142.16.189:9006/#/pages/login/loginJump?zjhm=${row.bdidcard}`
window.open(url,"_blank")
this.getList();
}
});
......
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 to comment