ソースを参照

Merge pull request 'projects/mesxc-dy' (#194) from projects/mesxc-dy into projects/mesxc-test

Reviewed-on: http://git.picaiba.com/mt-fe-group/yudao-dev/pulls/194
pull/195/head^2
高天泽 7ヶ月前
コミット
4f810ee26a
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      src/views/monitoring/equipmentFullParams/index.vue

+ 2
- 2
src/views/monitoring/equipmentFullParams/index.vue ファイルの表示

@@ -281,11 +281,11 @@ export default {
async handleSearchBarBtnClick({ btnName, timeVal }) {
if (timeVal && timeVal.length > 0) {
console.log('nihc ', timeVal)
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 10 * 60 * 1000) {
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 30 * 60 * 1000) {
this.queryParams.recordTime = timeVal;
await this.handleQuery();
} else {
this.$message.warning('时间范围最大一小时限制!')
this.$message.warning('时间范围最大30分钟限制!')
}
} else {
this.queryParams.recordTime = [];


読み込み中…
キャンセル
保存