jc
fanluyan 1 year ago
parent 0e377ce0c4
commit 482182bd38

@ -91,7 +91,7 @@
>查询</el-button >查询</el-button
> >
<p class="looktime" v-if="lookTime && showLookTime"> <p class="looktime" v-if="lookTime && showLookTime">
{{ $moment(lookTime*1000).format("YYYY-MM-DD HH:mm:ss") }} {{ $moment(lookTime * 1000).format("YYYY-MM-DD HH:mm:ss") }}
</p> </p>
<!-- <el-button <!-- <el-button
class="searchImage" class="searchImage"
@ -721,6 +721,16 @@ export default {
name: "", name: "",
}, },
], // ], //
nxratiolist: [
{
id: 7,
name: "1280X720",
},
{
id: 8,
name: "1920X1080",
},
], //
// //
selaccess: "", // selaccess: "", //
capturenr: {}, // capturenr: {}, //
@ -806,6 +816,10 @@ export default {
case 65290: case 65290:
this.ratiolist = this.henanratiolist; this.ratiolist = this.henanratiolist;
break; break;
//
case 65298:
this.ratiolist = this.nxratiolist;
break;
} }
if (val.protocol == 65281) { if (val.protocol == 65281) {
@ -941,7 +955,7 @@ export default {
console.log(res); console.log(res);
this.requestid = res.data.requestId; this.requestid = res.data.requestId;
this.showLookTime = false; this.showLookTime = false;
// this.lookTime = res.data.date; // this.lookTime = res.data.date;
//this.getinfo1(); //this.getinfo1();
clearInterval(this.timer); clearInterval(this.timer);
this.timer = window.setInterval(() => { this.timer = window.setInterval(() => {
@ -970,8 +984,8 @@ export default {
message: "信息已更新", message: "信息已更新",
type: "success", type: "success",
}); });
this.lookTime =res.data.requestTime ; this.lookTime = res.data.requestTime;
this.showLookTime = true; this.showLookTime = true;
} else if (this.i > 9) { } else if (this.i > 9) {
window.clearInterval(this.timer); window.clearInterval(this.timer);

@ -1,6 +1,6 @@
<template> <template>
<div class="thumb-example"> <div class="thumb-example">
<div class="radioBox" v-if="roleUser == 1 || roleUser == 0"> <div class="radioBox" v-if="roleUser == 8 || roleUser == 0">
{{ radioPx }} <span v-if="fileSize">({{ fileSize }})</span> {{ radioPx }} <span v-if="fileSize">({{ fileSize }})</span>
<span v-if="protocolInfo == '65280'"> I1 </span> <span v-if="protocolInfo == '65280'"> I1 </span>
<span v-if="protocolInfo == '65296'"> 西 </span> <span v-if="protocolInfo == '65296'"> 西 </span>
@ -60,6 +60,7 @@
<i class="el-icon-arrow-left"></i> <i class="el-icon-arrow-left"></i>
</div> </div>
<el-button <el-button
v-if="mediaType !== 1"
class="downBtn" class="downBtn"
@click.stop="downLoadPic(currentPicPath, currentPicPath)" @click.stop="downLoadPic(currentPicPath, currentPicPath)"
>下载图片</el-button >下载图片</el-button

@ -62,6 +62,7 @@
v-model="appForm.usbchecked" v-model="appForm.usbchecked"
></el-checkbox> ></el-checkbox>
</el-form-item> --> </el-form-item> -->
<el-form-item label="报文子包起始号"> <el-form-item label="报文子包起始号">
<el-select v-model="appForm.upgradePacketBase" placeholder="请选择"> <el-select v-model="appForm.upgradePacketBase" placeholder="请选择">
<el-option <el-option
@ -102,6 +103,12 @@
<el-form-item label="CMA服务器ip"> <el-form-item label="CMA服务器ip">
<el-input v-model="appForm.server"></el-input> <el-input v-model="appForm.server"></el-input>
</el-form-item> </el-form-item>
<el-form-item>
<el-checkbox
label="故障上报"
v-model="appForm.reportFault"
></el-checkbox>
</el-form-item>
<el-form-item label="CMA服务器端口" class="cmaClass"> <el-form-item label="CMA服务器端口" class="cmaClass">
<el-input v-model="appForm.port"></el-input> <el-input v-model="appForm.port"></el-input>
<span class="infoSpan">(1025-65535)</span> <span class="infoSpan">(1025-65535)</span>
@ -179,6 +186,7 @@ export default {
bsManufacturer: "", // bsManufacturer: "", //
productionDate: "", // productionDate: "", //
workStatusTimes: 3, workStatusTimes: 3,
reportFault: "", //
}, },
protocolOptions: [ protocolOptions: [
{ {
@ -301,7 +309,7 @@ export default {
}, },
{ {
name: "configs", name: "configs",
value: 17, value: 18,
}, },
// //
{ name: "name1", value: "channels" }, { name: "name1", value: "channels" },
@ -374,9 +382,13 @@ export default {
{ name: "value16", value: this.appForm.upgradePacketBase }, { name: "value16", value: this.appForm.upgradePacketBase },
{ name: "type16", value: 0 }, { name: "type16", value: 0 },
// //
{ name: "name1", value: "workStatusTimes" }, { name: "name17", value: "workStatusTimes" },
{ name: "value1", value: this.appForm.workStatusTimes }, { name: "value17", value: this.appForm.workStatusTimes },
{ name: "type1", value: 0 }, { name: "type17", value: 0 },
//
{ name: "name18", value: "reportFault" },
{ name: "value18", value: this.appForm.reportFault ? 1 : 0 },
{ name: "type18", value: 0 },
]; ];
this.setTermFn(params); this.setTermFn(params);
} else { } else {
@ -535,6 +547,7 @@ export default {
this.appForm.bsManufacturer = resultContent.bsManufacturer; // this.appForm.bsManufacturer = resultContent.bsManufacturer; //
this.appForm.productionDate = resultContent.productionDate * 1000; // this.appForm.productionDate = resultContent.productionDate * 1000; //
this.appForm.workStatusTimes = resultContent.workStatusTimes; // this.appForm.workStatusTimes = resultContent.workStatusTimes; //
this.appForm.reportFault = resultContent.reportFault; //
} else { } else {
this.appForm.channels = 4; //,4 this.appForm.channels = 4; //,4
this.appForm.packetSize = 2048; // this.appForm.packetSize = 2048; //
@ -554,6 +567,7 @@ export default {
this.appForm.bsManufacturer = ""; // this.appForm.bsManufacturer = ""; //
this.appForm.productionDate = ""; // this.appForm.productionDate = ""; //
this.appForm.productionDate = 3; // this.appForm.productionDate = 3; //
this.appForm.reportFault = ""; //
} }
this.$message({ this.$message({
@ -607,6 +621,7 @@ export default {
this.appForm.bsManufacturer = ""; // this.appForm.bsManufacturer = ""; //
this.appForm.productionDate = ""; // this.appForm.productionDate = ""; //
this.appForm.productionDate = 3; // this.appForm.productionDate = 3; //
this.appForm.reportFault = ""; //
window.clearInterval(this.searchTimer); window.clearInterval(this.searchTimer);
this.searchTimer = null; this.searchTimer = null;
this.searchNum = 0; this.searchNum = 0;

@ -967,8 +967,10 @@ export default {
.searchTime { .searchTime {
.channelBox { .channelBox {
margin-bottom: 12px; margin-bottom: 12px;
display: flex;
align-items: center;
.clearButton { .clearButton {
margin-left: 24px; margin-left: auto;
} }
} }
.timeContain { .timeContain {

Loading…
Cancel
Save