|
@@ -332,7 +332,7 @@
|
|
|
class="videoBoxiframe"
|
|
|
width="100%"
|
|
|
height="600px"
|
|
|
- src="http://localhost:8081?token=stream-1"
|
|
|
+ :src="'http://10.155.32.4:9984/ws.html?token=' + form.wtId +'_TD&autoplay=true'"
|
|
|
></iframe>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
@@ -522,30 +522,30 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- formdata(res) {
|
|
|
- if (res) {
|
|
|
- this.form = this.formdata;
|
|
|
- this.form.tjss = this.form.tjss
|
|
|
- ? new Date(this.form.tjss).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- this.form.prodtdepttime = this.form.prodtdepttime
|
|
|
- ? new Date(this.form.prodtdepttime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- this.form.departuretime = this.form.departuretime
|
|
|
- ? new Date(this.form.departuretime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- this.form.arrivaltime = this.form.arrivaltime
|
|
|
- ? new Date(this.form.arrivaltime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- this.form.repairedtime = this.form.repairedtime
|
|
|
- ? new Date(this.form.repairedtime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- this.form.checktime = this.form.checktime
|
|
|
- ? new Date(this.form.checktime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
- : null;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ formdata(res) {
|
|
|
+ if (res) {
|
|
|
+ this.form = this.formdata;
|
|
|
+ this.form.tjss = this.form.tjss
|
|
|
+ ? new Date(this.form.tjss).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ this.form.prodtdepttime = this.form.prodtdepttime
|
|
|
+ ? new Date(this.form.prodtdepttime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ this.form.departuretime = this.form.departuretime
|
|
|
+ ? new Date(this.form.departuretime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ this.form.arrivaltime = this.form.arrivaltime
|
|
|
+ ? new Date(this.form.arrivaltime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ this.form.repairedtime = this.form.repairedtime
|
|
|
+ ? new Date(this.form.repairedtime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ this.form.checktime = this.form.checktime
|
|
|
+ ? new Date(this.form.checktime).formatDate("yyyy-MM-dd hh:mm:ss")
|
|
|
+ : null;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|