Commit bac50618 by xue_wengang

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

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