diff --git a/ebike-maintenance/pages/devops/faultreport/faultreport.vue b/ebike-maintenance/pages/devops/faultreport/faultreport.vue
index db0834d..744ca91 100644
--- a/ebike-maintenance/pages/devops/faultreport/faultreport.vue
+++ b/ebike-maintenance/pages/devops/faultreport/faultreport.vue
@@ -1,572 +1,637 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 请确定损坏车辆当前位置
-
-
-
- {{address}}
-
-
- 拖动地图可修改位置
-
-
-
-
-
-
-
-
-
-
-
- 请选择车辆
- 损坏部位
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请确定损坏车辆当前位置
+
+
+ {{ address }}
+
+ 拖动地图可修改位置
+
+
+
+
+
+
+
+
+
+
+ 请选择车辆
+ 损坏部位
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
\ No newline at end of file
+.divmap {
+ width: 100%;
+ height: 500px;
+ margin-top: -15px;
+}
+
+.example-body {
+ padding: 0 25rpx;
+}
+
diff --git a/ebike-maintenance/pages/login/login.vue b/ebike-maintenance/pages/login/login.vue
index 06a0045..170d642 100644
--- a/ebike-maintenance/pages/login/login.vue
+++ b/ebike-maintenance/pages/login/login.vue
@@ -1,163 +1,178 @@
-
- 欢迎使用景上运维
+
+ 欢迎使用景上运维
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
+.login-button {
+ margin-top: 80px;
+ background-color: #007aff;
+}
+
diff --git a/ebike-maintenance/pages/map/map-bikesite.css b/ebike-maintenance/pages/map/map-bikesite.css
index 972eebc..f687b42 100644
--- a/ebike-maintenance/pages/map/map-bikesite.css
+++ b/ebike-maintenance/pages/map/map-bikesite.css
@@ -1,85 +1,83 @@
.divLowerLeft {
- position: absolute;
- z-index: 100;
- left: 10px;
- bottom: 30vh;
+ position: absolute;
+ z-index: 100;
+ left: 10px;
+ bottom: 30vh;
}
.divBtn {
- background-color: white;
- font-size: 12px;
- border-radius: 5px;
- margin-bottom: 5px;
- text-align: center;
- border: 1px solid #80808061;
- padding: 0px 5px;
-
+ background-color: white;
+ font-size: 12px;
+ border-radius: 5px;
+ margin-bottom: 5px;
+ text-align: center;
+ border: 1px solid #80808061;
+ padding: 0px 5px;
}
.divBtnTitle {
- padding-top: 10px;
+ padding-top: 10px;
}
.lbWorn {
- color: red;
- font-size: 14px;
+ color: red;
+ font-size: 14px;
}
.divBottom {
- position: absolute;
- z-index: 100;
- bottom: 0px;
- background: white;
- width: 100vw;
- padding: 15px;
- font-size: 14px;
+ position: absolute;
+ z-index: 100;
+ bottom: 0px;
+ background: white;
+ width: 100vw;
+ padding: 15px;
+ font-size: 14px;
}
.divSiteInfo {
- z-index: 100;
- position: absolute;
- bottom: 0px;
- background: white;
- width: 100vw;
- padding: 10px;
- border-radius: 15px;
+ z-index: 100;
+ position: absolute;
+ bottom: 0px;
+ background: white;
+ width: 100vw;
+ padding: 10px;
+ border-radius: 15px;
}
.divClose {
- position: absolute;
- right: 3px;
- top: -10px;
+ position: absolute;
+ right: 3px;
+ top: -10px;
}
.divName {
- display: flex;
- font-size: 16px;
- font-weight: bold;
- line-height: 20px;
- margin-top: 15px;
+ display: flex;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 20px;
+ margin-top: 15px;
}
.divAdrress {
- margin-top: 5px;
- font-size: 12px;
- font-weight: 300;
+ margin-top: 5px;
+ font-size: 12px;
+ font-weight: 300;
}
.divCountRow {
- display: flex;
- justify-content: space-between;
- margin-bottom: 10px;
- text-align: center;
- margin-top: 10px;
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 10px;
+ text-align: center;
+ margin-top: 10px;
}
.divCountRow .divCount {
- font-size: 20px;
- font-weight: bold;
-
+ font-size: 20px;
+ font-weight: bold;
}
.divCountRow .divTitle {
- font-size: 14px;
- font-weight: 300;
-}
\ No newline at end of file
+ font-size: 14px;
+ font-weight: 300;
+}
diff --git a/ebike-maintenance/pages/warehouse/vehicledispatch/vehicledispatch.vue b/ebike-maintenance/pages/warehouse/vehicledispatch/vehicledispatch.vue
index c59c39a..257ae4c 100644
--- a/ebike-maintenance/pages/warehouse/vehicledispatch/vehicledispatch.vue
+++ b/ebike-maintenance/pages/warehouse/vehicledispatch/vehicledispatch.vue
@@ -359,35 +359,55 @@ const onRingClick = (bikeCode) => {
title: "指令下发中...",
mask: true,
});
- api.callEbikeInfo("getBikeINfoData?bikeCode=" + bikeCode).then((res) => {
- if (res.code == 200) {
- const ecuId = res.data.ecuId;
- const bikeId = res.data.bikeId;
- // 处理开锁逻辑
- api
- .callCoreApi(
- "findEbike?ecuId=" + ecuId + "&bikeId=" + bikeId,
- {},
- "get"
- )
- .then((res) => {
- uni.hideLoading();
- var title = res.data.message;
- var icon = "";
- if (res.data.code == 200) {
- icon = "success";
- } else {
- icon = "error";
- }
- uni.showToast({
- title: title,
- icon: icon,
- duration: 1000,
- mask: true,
+ console.log(1111);
+
+ api
+ .callEbikeInfo("getBikeINfoData?bikeCode=" + bikeCode)
+ .then((res) => {
+ console.log(res);
+ if (res.code == 200) {
+ const ecuId = res.data.ecuId;
+ const bikeId = res.data.bikeId;
+ // 处理开锁逻辑
+ api
+ .callCoreApi(
+ "findEbike?ecuId=" + ecuId + "&bikeId=" + bikeId,
+ {},
+ "get"
+ )
+ .then((res) => {
+ uni.hideLoading();
+ var title = res.data.message;
+ var icon = "";
+ if (res.data.code == 200) {
+ icon = "success";
+ } else {
+ icon = "error";
+ }
+ uni.showToast({
+ title: title,
+ icon: icon,
+ duration: 1000,
+ mask: true,
+ });
+ })
+ .catch((err) => {
+ console.log(err);
+ uni.hideLoading();
});
+ } else {
+ uni.showToast({
+ title: res.message,
+ icon: "error",
+ duration: 1000,
+ mask: true,
});
- }
- });
+ uni.hideLoading();
+ }
+ })
+ .catch((err) => {
+ uni.hideLoading();
+ });
};