|
@@ -162,8 +162,13 @@ export default {
|
|
// 查询设备信息/维修/维保数据
|
|
// 查询设备信息/维修/维保数据
|
|
getData() {
|
|
getData() {
|
|
if (this.active === 1) {
|
|
if (this.active === 1) {
|
|
- //维保
|
|
|
|
- this.getMaintenanceData();
|
|
|
|
|
|
+ if (!isMaintenanceShow && this.isRepairShow) {// 如果没有维保有维修
|
|
|
|
+ //维修
|
|
|
|
+ this.getRepairData();
|
|
|
|
+ } else {
|
|
|
|
+ //维保
|
|
|
|
+ this.getMaintenanceData();
|
|
|
|
+ }
|
|
} else if (this.active === 2) {
|
|
} else if (this.active === 2) {
|
|
//维修
|
|
//维修
|
|
this.getRepairData();
|
|
this.getRepairData();
|