+
diff --git a/src/views/iscs/iscsSystem/config/pis/lcdControl.vue b/src/views/iscs/iscsSystem/config/pis/lcdControl.vue
index 64cc1e513..68b60815b 100644
--- a/src/views/iscs/iscsSystem/config/pis/lcdControl.vue
+++ b/src/views/iscs/iscsSystem/config/pis/lcdControl.vue
@@ -8,6 +8,7 @@
开启LCD屏
+
关闭LCD屏
确定
diff --git a/src/views/iscs/iscsSystem/config/pis/timePreview.vue b/src/views/iscs/iscsSystem/config/pis/timePreview.vue
index 2be15008d..441926965 100644
--- a/src/views/iscs/iscsSystem/config/pis/timePreview.vue
+++ b/src/views/iscs/iscsSystem/config/pis/timePreview.vue
@@ -77,8 +77,8 @@ export default {
/deep/{
.time_preview{padding:20px;}
.preview_header_text{margin-top:10px;text-align: center;color: #9af1ec;font-size: 18px;padding-bottom: 10px;}
- .time_preview_content{width:100%;height:500px;border-top: 2px solid #8c8a89;overflow-y: auto;margin-top:10px;display:flex;border-left: 2px solid #8c8a89;border-right: 2px solid #fff;border-bottom: 2px solid #fff;}
- .time_preview_footer{width:650px;margin-top:20px;border-top: 2px solid #8c8a89;
+ .time_preview_content{width:94%;height:500px;border-top: 2px solid #8c8a89;overflow-y: auto;margin-left:3%;margin-top:10px;display:flex;border-left: 2px solid #8c8a89;border-right: 2px solid #fff;border-bottom: 2px solid #fff;}
+ .time_preview_footer{width:650px;margin-top:20px;border-top: 2px solid #8c8a89;margin-left:3%;
border-left: 2px solid #8c8a89;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;background:#aabbbb;}
diff --git a/src/views/jlmap3d/device/jl3ddevice.vue b/src/views/jlmap3d/device/jl3ddevice.vue
index 7456ee6b0..1be06fe87 100644
--- a/src/views/jlmap3d/device/jl3ddevice.vue
+++ b/src/views/jlmap3d/device/jl3ddevice.vue
@@ -102,7 +102,10 @@
computed: {
code() {
return this.$route.query.code;
- }
+ },
+ mapId() {
+ return this.$route.query.mapId;
+ },
},
mounted() {
window.updatemenulist = this.updatemenulist;
@@ -133,11 +136,11 @@
initolddata: function (group,header) {
// let mapdata = this.$store.state.socket.device;
let dom = document.getElementById('jl3d');
- this.jl3d = new Jl3ddevice(dom,group,header);
+ this.jl3d = new Jl3ddevice(dom,group,header,this.mapId);
},
initnewdata: function (group,header){
let dom = document.getElementById('jl3d');
- this.jl3d = new Jl3ddeviceNew(dom,group,header);
+ this.jl3d = new Jl3ddeviceNew(dom,group,header,this.mapId);
},
close3ddeviceview: function(){
this.$emit('closedevice3dview');
diff --git a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue
index 7392fc72b..07045e547 100644
--- a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue
+++ b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue
@@ -2,12 +2,14 @@
-
+
+ :value="item.value"
+ :disabled="item.disabled"
+ >
@@ -81,7 +83,7 @@ import axios from 'axios';
groupnum:"",
userrole:'',
drawWay:'',
-
+ nowdrive:null,
}
},
watch: {
@@ -95,29 +97,36 @@ import axios from 'axios';
computed: {
group() {
return this.$route.query.group;
- }
+ },
+ userId() {
+ return this.$store.state.user ? this.$store.state.user.id : '';
+ },
},
async mounted() {
// this.teststomp = new StompClient();
-
+ this.updatetrainlist();
},
beforeDestroy() {
},
methods: {
currentsel(selVal){
- this.selVal = selVal;
- this.dialogVisible = true;
+ let oldgroupnum = this.groupnum;
this.groupnum = selVal;
- for(let i=0;i
{
+ this.selVal = selVal;
+ this.dialogVisible = true;
+ // this.groupnum = selVal;
+ for(let i=0;i {
-
- console.log(error);
+ this.groupnum = oldgroupnum;
+ this.selVal = oldgroupnum;
+ this.$emit('warningmsg',error.message);
+ this.value = this.nowdrive;
});
},
clickselect(e){
@@ -125,26 +134,38 @@ import axios from 'axios';
getSimulationMemberNew(this.group).then(netdata => {
this.userrole = netdata.data.role;
});
- getSimulationTrainlistNew(this.group).then(netdata => {
- this.options = [];
- this.trainlist = netdata.data;
- for(let i=0;i {
+ this.options = [];
+ this.trainlist = netdata.data;
+
+ for(let i=0;i
diff --git a/src/views/jlmap3d/drive/jl3ddrive.vue b/src/views/jlmap3d/drive/jl3ddrive.vue
index 427ef654a..bbf4807aa 100644
--- a/src/views/jlmap3d/drive/jl3ddrive.vue
+++ b/src/views/jlmap3d/drive/jl3ddrive.vue
@@ -33,7 +33,7 @@
-
+
@@ -265,6 +265,15 @@ export default {
updatestatus(newdata){
this.trainnum = newdata.groupNumber;
this.$refs.mmiui.updatetrainstatus(newdata);
+ },
+ warningmsg(nowmsg){
+ this.controlmsg = nowmsg;
+ this.msgshow = true;
+ setTimeout(this.warningmsgoff,3000);
+ },
+ warningmsgoff(){
+ this.msgshow = false;
+
},
}
@@ -377,7 +386,7 @@ export default {
position:absolute;
}
.msgtext{
- width:400px;
+ width:100%;
height:50px;
border-radius:5px;
background:#C0C0C0;
diff --git a/src/views/jlmap3d/maintainer/component/devicefaultlist.vue b/src/views/jlmap3d/maintainer/component/devicefaultlist.vue
new file mode 100644
index 000000000..43a8092b0
--- /dev/null
+++ b/src/views/jlmap3d/maintainer/component/devicefaultlist.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
设备编号:{{part.code}}
+
设备类型:{{part.type}}
+
故障内容:
+
{{part.text}}
+
前往确认
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/jlmap3d/maintainer/component/faultdevice.vue b/src/views/jlmap3d/maintainer/component/faultdevice.vue
new file mode 100644
index 000000000..6416d4580
--- /dev/null
+++ b/src/views/jlmap3d/maintainer/component/faultdevice.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue
index ac05aefbd..c7f95e942 100644
--- a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue
+++ b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue
@@ -10,17 +10,28 @@