+++1.2.9修正推送规则中时间不显示/频率单位为小时
1 parent 28286fc commit c3092e4dd86faaacfdd968bff3a6816a510e661e
@田松 田松 authored on 4 Feb 2021
Showing 5 changed files
View
2
■■■
config/index.js
}
},
 
// Various Dev Server settings
host: "192.168.30.113", // can be overwritten by process.env.HOST
host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
notifyOnErrors: true,
View
12
src/components/configure/PushRules.vue
></el-option>
</el-select>
</div>
<div class="DialogList">
<span class="DialogListName">推送频率(秒):</span>
<span class="DialogListName">推送频率(小时):</span>
<el-input
placeholder="请输入站点名称"
v-model="pushFrequency"
clearable
DialogTitle: "", //弹窗得标题
platForm: "", //平台编号
platFormData: [], //平台编号渲染数据
platFormName: "", //平台名称
pushFrequency: 28800, //推送频率
pushFrequency: 8, //推送频率
startTime: "08:00:00", //时间
endTime: "08:00:00" //时间
};
},
name: rows.platFormName
}
];
this.platForm = rows.platForm;
this.pushFrequency = rows.pushFrequency;
this.pushFrequency = rows.pushFrequency / 3600;
this.startTime = rows.startTime;
this.endTime = rows.endTime;
},
// 新增
// 设置默认值
this.platFormData = response.data.data;
this.platForm = response.data.data[0].platformCode;
this.platFormName = response.data.data[0].name;
this.pushFrequency = 28800;
this.pushFrequency = 8;
this.startTime = "08:00:00";
this.endTime = "22:00:00";
}
} else {
params2 = {
data: {
platForm: this.platForm, //平台编号
platFormName: this.platFormName, //平台名称
pushFrequency: this.pushFrequency, //推送频率
pushFrequency: this.pushFrequency * 3600, //推送频率
startTime: this.startTime, //推送起始时间
endTime: this.endTime //推送结束时间
}
};
PostUrl = this.nozzle.warnRuleInsertUpdateWarnPushRule;
params2 = {
data: {
platForm: this.platForm, //平台编号
pushFrequency: this.pushFrequency, //推送频率
pushFrequency: this.pushFrequency * 3600, //推送频率
startTime: this.startTime, //推送起始时间
endTime: this.endTime //推送结束时间
}
};
View
src/components/site/previewOfSiteStatus.vue
View
src/element/index.js
View
src/router/index.js