|
@@ -23,12 +23,10 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 5px" icon="el-icon-search"
|
|
|
+ <el-button type="primary" size="small" style="margin-left: 5px" icon="el-icon-search"
|
|
|
@click="queryByStationCode">查询
|
|
|
</el-button>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 5px" icon="el-icon-search"
|
|
|
+ <el-button type="primary" size="small" style="margin-left: 5px" icon="el-icon-search"
|
|
|
@click="showAllRecords">检修记录
|
|
|
</el-button>
|
|
|
</el-form-item>
|
|
@@ -110,6 +108,7 @@
|
|
|
end-placeholder="结束日期"
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
popper-class="cpp-popper"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -199,6 +198,11 @@ export default {
|
|
|
loading: false,
|
|
|
capacity: null,
|
|
|
showAll: false,
|
|
|
+ pickerOptions: {
|
|
|
+ disabledDate: (time) => {
|
|
|
+ return time.getTime() > new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 *11 - 1
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
},
|
|
|
created() {
|