|
@@ -6,7 +6,7 @@
|
|
<div class="header-button-lf">
|
|
<div class="header-button-lf">
|
|
<el-form :model="pageable" label-width="auto" :inline="true">
|
|
<el-form :model="pageable" label-width="auto" :inline="true">
|
|
<el-form-item label="自动站:">
|
|
<el-form-item label="自动站:">
|
|
- <el-checkbox v-model="isStand" label="多站"/>
|
|
|
|
|
|
+ <el-checkbox v-model="isStand" @change="changeStand" label="多站"/>
|
|
|
|
|
|
<!--多站选择-->
|
|
<!--多站选择-->
|
|
<el-select v-if="isStand" v-model="pageable.as_code_list" multiple collapse-tags filterable placeholder="请搜索自动站" remote reserve-keyword clearable style="width: 200px;margin: 0 10px">
|
|
<el-select v-if="isStand" v-model="pageable.as_code_list" multiple collapse-tags filterable placeholder="请搜索自动站" remote reserve-keyword clearable style="width: 200px;margin: 0 10px">
|
|
@@ -282,6 +282,21 @@ const dialog = reactive<any>({
|
|
title: ''
|
|
title: ''
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+const changeStand=()=>{
|
|
|
|
+ pageable.value = {
|
|
|
|
+ data_type: false,
|
|
|
|
+ time_order: 0,
|
|
|
|
+ time_space:60,
|
|
|
|
+ begin_time:undefined,
|
|
|
|
+ end_time: undefined,
|
|
|
|
+ as_code_list:[],
|
|
|
|
+ data_items:[],
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ pageSize: 20,
|
|
|
|
+ total: 0
|
|
|
|
+ }
|
|
|
|
+ pageable.value.data_items = [...customizeColumns.value];
|
|
|
|
+}
|
|
|
|
|
|
const cancel = () => {
|
|
const cancel = () => {
|
|
dialog.visible = false;
|
|
dialog.visible = false;
|
|
@@ -431,6 +446,7 @@ const resetQuery = () => {
|
|
pageSize: 20,
|
|
pageSize: 20,
|
|
total: 0
|
|
total: 0
|
|
}
|
|
}
|
|
|
|
+ pageable.value.data_items = [...customizeColumns.value];
|
|
getList();
|
|
getList();
|
|
};
|
|
};
|
|
|
|
|