Commit c843fbbc authored by wanghao's avatar wanghao

1 大屏端 中间部门 各类型 图标更换

parent cb2ae5df
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16" height="16" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> <image id="image0" width="16" height="16" x="0" y="0"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAEJSURBVDiNxdIhS4NRFMbx3wXDwhsWbBoMRovJImgQRFiwmwyCRfALGJYnqBj8ClZRMA8XDEY/wMJAw6JhgnAM790czPdd06dc7j33/s9zzj38t1JVICLuUdS8HaWU9uoAG2jUZk+pu1AT35zj4AM/gIhYwAG2McItPrFbASjIPYiIAo8562u+sIZLXNWU0B8DLnCKHk6wlB0UaGEfM+WmlA7H9t+i1HVE7EztIyJuavowoS7m9RhDrOMJqygiojN1Z6yvlNLRGPCc63/JlrsYZMA7HuY5aCub2MA5tpS/McBdBv2m7mSQIqKFDlbyUQ9nqr9RSqk9M4kRsawc02FENNGsAfSrYn+nbw0YXpN2LlE8AAAAAElFTkSuQmCC" ></image>
</svg>
...@@ -98,7 +98,10 @@ export default { ...@@ -98,7 +98,10 @@ export default {
}, },
open() { open() {
this.queryParam.cameraIndexCode = this.deviceData.resourceId; this.queryParam.cameraIndexCode = this.deviceData.resourceId;
getPreviewURLs(this.queryParam).then((response) => { if(this.queryParam.cameraIndexCode == null) {
this.$alert('视频无资源', '无数据', { confirmButtonText: '确定'});
} else {
getPreviewURLs(this.queryParam).then((response) => {
if (response.data.code == "0") { if (response.data.code == "0") {
this.videoOpenNum++; this.videoOpenNum++;
let url = response.data.data.url; let url = response.data.data.url;
...@@ -115,6 +118,7 @@ export default { ...@@ -115,6 +118,7 @@ export default {
); );
} }
}); });
}
}, },
loadScript(src) { loadScript(src) {
return new Promise((reslove) => { return new Promise((reslove) => {
......
...@@ -87,49 +87,49 @@ export default { ...@@ -87,49 +87,49 @@ export default {
{ {
val: 3, val: 3,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/famen.png"), imgurl: require("@/assets/firstimage/famen1.png"),
name: "阀门井", name: "阀门井",
}, },
{ {
val: 4, val: 4,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/changzhan.png"), imgurl: require("@/assets/firstimage/changzhan1.png"),
name: "场 站", name: "场 站",
}, },
{ {
val: 2, val: 2,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/tiaoyaxiang.png"), imgurl: require("@/assets/firstimage/tiaoyaxiang1.png"),
name: "调压箱", name: "调压箱",
}, },
{ {
val: 1, val: 1,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/guandao.png"), imgurl: require("@/assets/firstimage/guandao1.png"),
name: "管道", name: "管道",
}, },
{ {
val: 5, val: 5,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/jiankong.png"), imgurl: require("@/assets/firstimage/jiankong1.png"),
name: "监 控", name: "监 控",
}, },
{ {
val: 6, val: 6,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/user.png"), imgurl: require("@/assets/firstimage/user1.png"),
name: "居民用户", name: "居民用户",
}, },
{ {
val: 61, val: 61,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/syUser.png"), imgurl: require("@/assets/firstimage/syUser1.png"),
name: "商业用户", name: "商业用户",
}, },
{ {
val: 18, val: 18,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/yhq.png"), imgurl: require("@/assets/firstimage/yhq1.png"),
name: "餐饮用户", name: "餐饮用户",
}, },
], ],
......
...@@ -225,43 +225,43 @@ export default { ...@@ -225,43 +225,43 @@ export default {
{ {
val: 2, val: 2,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/tiaoyaxiang.png"), imgurl: require("@/assets/firstimage/tiaoyaxiang1.png"),
name: "调压箱", name: "调压箱",
}, },
{ {
val: 3, val: 3,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/famen.png"), imgurl: require("@/assets/firstimage/famen1.png"),
name: "阀门井", name: "阀门井",
}, },
{ {
val: 4, val: 4,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/changzhan.png"), imgurl: require("@/assets/firstimage/changzhan1.png"),
name: "场 站", name: "场 站",
}, },
{ {
val: 6, val: 6,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/user.png"), imgurl: require("@/assets/firstimage/user1.png"),
name: "居民用户", name: "居民用户",
}, },
{ {
val: 61, val: 61,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/syUser.svg"), imgurl: require("@/assets/firstimage/syUser1.svg"),
name: "商业用户", name: "商业用户",
}, },
{ {
val: 5, val: 5,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/jiankong.png"), imgurl: require("@/assets/firstimage/jiankong1.png"),
name: "监 控", name: "监 控",
}, },
{ {
val: 18, val: 18,
ischeck: false, ischeck: false,
imgurl: require("@/assets/firstimage/yhq.svg"), imgurl: require("@/assets/firstimage/yhq1.svg"),
name: "餐饮单位液化气用户", name: "餐饮单位液化气用户",
}, },
], ],
......
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