|
|
|
@ -89,6 +89,9 @@
|
|
|
|
|
:loading="sampLoading"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
<p class="looktime" v-if="lookTime && showLookTime">
|
|
|
|
|
{{ $moment(lookTime).format("YYYY-MM-DD HH:mm:ss") }}
|
|
|
|
|
</p>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -167,6 +170,9 @@
|
|
|
|
|
:loading="upperLoading"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
<p class="looktime" v-if="lookTime && showLookTime">
|
|
|
|
|
{{ $moment(lookTime).format("YYYY-MM-DD HH:mm:ss") }}
|
|
|
|
|
</p>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -238,6 +244,9 @@
|
|
|
|
|
:loading="idLoading"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
<p class="looktime" v-if="lookTime && showLookTime">
|
|
|
|
|
{{ $moment(lookTime).format("YYYY-MM-DD HH:mm:ss") }}
|
|
|
|
|
</p>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -347,6 +356,9 @@
|
|
|
|
|
:loading="waterLoading"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
<p class="looktime" v-if="lookTime && showLookTime">
|
|
|
|
|
{{ $moment(lookTime).format("YYYY-MM-DD HH:mm:ss") }}
|
|
|
|
|
</p>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -479,6 +491,9 @@
|
|
|
|
|
:loading="osdLoading"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
|
<p class="looktime" v-if="lookTime && showLookTime">
|
|
|
|
|
{{ $moment(lookTime).format("YYYY-MM-DD HH:mm:ss") }}
|
|
|
|
|
</p>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -711,6 +726,8 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
showLookTime: false,
|
|
|
|
|
lookTime: "", //查询时间
|
|
|
|
|
isShow: false,
|
|
|
|
|
activeName: "2",
|
|
|
|
|
deviceTimeForm: {
|
|
|
|
@ -820,6 +837,7 @@ export default {
|
|
|
|
|
methods: {
|
|
|
|
|
//tab被触发
|
|
|
|
|
handleClick(tab, event) {
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
window.clearInterval(this.timer);
|
|
|
|
|
this.timer = null;
|
|
|
|
|
this.i = 0;
|
|
|
|
@ -856,6 +874,7 @@ export default {
|
|
|
|
|
//采样参数重置数据
|
|
|
|
|
samphandleClick() {
|
|
|
|
|
this.samplingForm = {};
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
clearInterval(this.timer);
|
|
|
|
|
this.i = 0;
|
|
|
|
|
this.timer = null;
|
|
|
|
@ -863,6 +882,7 @@ export default {
|
|
|
|
|
//上位机重置数据
|
|
|
|
|
uphandleClick() {
|
|
|
|
|
this.upperComputer = {};
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
clearInterval(this.timer);
|
|
|
|
|
this.i = 0;
|
|
|
|
|
this.timer = null;
|
|
|
|
@ -870,6 +890,7 @@ export default {
|
|
|
|
|
//id重置数据
|
|
|
|
|
idhandleClick() {
|
|
|
|
|
this.idParameter = {};
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
clearInterval(this.timer);
|
|
|
|
|
this.i = 0;
|
|
|
|
|
this.timer = null;
|
|
|
|
@ -877,6 +898,7 @@ export default {
|
|
|
|
|
//osd重置
|
|
|
|
|
osdhandleClick(tab) {
|
|
|
|
|
console.log(tab);
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
if (tab.label == "设置参数") {
|
|
|
|
|
this.osdParams = {};
|
|
|
|
|
this.$set(this.osdParams, "showTime", this.timelist[0].id);
|
|
|
|
@ -1374,7 +1396,7 @@ export default {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.requestid = res.data.requestId;
|
|
|
|
|
//this.getinfo1();
|
|
|
|
|
|
|
|
|
|
this.lookTime = res.data.date;
|
|
|
|
|
clearInterval(this.timer);
|
|
|
|
|
this.timer = window.setInterval(() => {
|
|
|
|
|
this.getinfo();
|
|
|
|
@ -1443,6 +1465,7 @@ export default {
|
|
|
|
|
message: "信息已更新",
|
|
|
|
|
type: "success",
|
|
|
|
|
});
|
|
|
|
|
this.showLookTime = true;
|
|
|
|
|
} else if (this.i > 9) {
|
|
|
|
|
window.clearInterval(this.timer);
|
|
|
|
|
this.timer = null;
|
|
|
|
@ -1535,6 +1558,7 @@ export default {
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
},
|
|
|
|
|
handleclose() {
|
|
|
|
|
this.lookTime = "";
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
this.activeName = "2";
|
|
|
|
|
this.tabsActive = "first";
|
|
|
|
@ -1573,6 +1597,9 @@ export default {
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less">
|
|
|
|
|
.parameterSetDialog {
|
|
|
|
|
.looktime {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
.zzinfo {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 22px;
|
|
|
|
|