diff --git a/common/api/user.js b/common/api/user.js
index 962ea88..273021a 100644
--- a/common/api/user.js
+++ b/common/api/user.js
@@ -77,4 +77,30 @@ export function apiReSetPsd(params) {
},
method: 'POST'
})
+}
+
+// 更换手机号第一步
+export function apiComfirmCode (params) {
+ return request({
+ url: '/shiningCloud/user/comfirmCode',
+ data: {
+ devCode: uni.getStorageSync('cidAES'),
+ phone: params.phone,
+ code: params.code.trim()
+ },
+ method: 'POST'
+ })
+}
+// 重新绑定手机号
+export function apiRebindPhone (params) {
+ return request({
+ url: '/shiningCloud/user/rebindPhone',
+ data: {
+ devCode: uni.getStorageSync('cidAES'),
+ userId: uni.getStorageSync('userInfo').userId,
+ phoneNew: params.phone,
+ code: params.code.trim()
+ },
+ method: 'POST'
+ })
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 9eb66c3..c6319b4 100644
--- a/pages.json
+++ b/pages.json
@@ -421,7 +421,7 @@
"list": [
{
"name": "login", //模式名称
- "path": "pages/user/changePhone", //启动页面,必选
+ "path": "pages/device/APF/detail", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到。
}
]
diff --git a/pages/device/APF/comp/xieBo.vue b/pages/device/APF/comp/xieBo.vue
index 1926ba5..91b0d79 100644
--- a/pages/device/APF/comp/xieBo.vue
+++ b/pages/device/APF/comp/xieBo.vue
@@ -2,7 +2,7 @@
-
+
@@ -27,12 +27,12 @@ export default {
opts: {
enableScroll: true,
color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", "#ea7ccc"],
- padding: [15, 15, 0, 5],
+ padding: [10,0,10,0],
legend: {},
xAxis: {
disableGrid: true,
itemCount: 8,
- scrollShow: true,
+ // scrollShow: true,
},
yAxis: {
data: [
@@ -49,7 +49,7 @@ export default {
activeBgOpacity: 0.08
}
},
- }
+ 啥}
};
},
mounted () {
@@ -65,11 +65,11 @@ export default {
series: [
{
name: "电网侧",
- data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]
+ data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 7]
},
{
name: "负载册",
- data: [30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
+ data: [5, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
}
]
};
@@ -83,7 +83,6 @@ export default {
\ No newline at end of file
diff --git a/pages/user/changePhone.vue b/pages/user/changePhone.vue
index 084ac99..1bd1861 100644
--- a/pages/user/changePhone.vue
+++ b/pages/user/changePhone.vue
@@ -26,7 +26,7 @@
-
+
{{ waitTime + 's后重新获取' }}
@@ -41,6 +41,7 @@