护理单元-设备-智能电表-智能水表功能、样式完毕
|
|
@ -53,7 +53,6 @@
|
|||
}
|
||||
const go = () => {
|
||||
uni.setStorageSync('token', 1);
|
||||
// plus.runtime.quit();
|
||||
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
|
|
@ -97,25 +96,17 @@
|
|||
background-color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
// background-image: url('https://www.focusnu.com/media/directive/index/whitepeople.png');
|
||||
// // background-size: 100% auto;
|
||||
// background-position: top center;
|
||||
// background-repeat: no-repeat;
|
||||
z-index: 1;
|
||||
padding: 0 10%;
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 47%;
|
||||
// background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
background-color: #ddf0ff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
// color: #fff;
|
||||
color: #007CFF;
|
||||
border: 1rpx solid #007CFF;
|
||||
font-size: 25rpx;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,81 @@
|
|||
// 引入 request 文件
|
||||
import request from '@/request/guanli.js'
|
||||
|
||||
// 所有信息查询
|
||||
export const electricityMeterlist = () => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/common/list?nuId=${uni.getStorageSync('nuId')}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 智能电表设备信息清零
|
||||
export const electricityMetereleReset = (cid,address) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleReset?cid=${cid}&address=${address}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 智能电表设备拉闸合闸
|
||||
export const electricityMetereleControl = (cid,address,type) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleControl?cid=${cid}&address=${address}&type=${type}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 智能电表设备保修
|
||||
export const electricityMeterbaoxiu = (id) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/baoxiu`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id:id
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
// 智能电表设备抄表
|
||||
export const electricityMeteleRead = (cid,address) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleRead?cid=${cid}&address=${address}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// ===============================================
|
||||
// 智能水表设备信息清零
|
||||
export const waterwaterReset = (cid,address) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterReset?cid=${cid}&address=${address}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 智能水表设备拉闸合闸
|
||||
export const waterwaterControl = (cid,address,type) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterControl?cid=${cid}&address=${address}&type=${type}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 智能水表设备保修
|
||||
export const waterbaoxiu = (id) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/water/baoxiu`,
|
||||
method: 'post',
|
||||
data: {
|
||||
id:id
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
// 智能电表设备抄表
|
||||
export const waterwaterRead = (cid,address) => {
|
||||
return request({
|
||||
url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterRead?cid=${cid}&address=${address}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
<index :isShow="menuIndexshow" v-if="!menuIndex" :propsmove="propsmove" :isMain="isMain" @back="movecard(5)" @cleanmain="movecard(1)" />
|
||||
<!-- 设备页 -->
|
||||
<equipment :isShow="menuIndexshowfifth" v-if="menuIndex==4" :propsmove="propsmove" :isMain="isMain"
|
||||
@back="movecard(5)" @cleanmain="movecard(1)" />
|
||||
@back="movecard(5)" @cleanmain="movecard(1)" @canback="canmoveit" />
|
||||
<!-- 户嘱页 -->
|
||||
<nurse :isold="isOld===2" :liang="indexNumber" :isshow="menuIndexshowsecond"
|
||||
v-if="menuIndex==1&&isOld===2&&uni.getStorageSync('customerId')&&uni.getStorageSync('nuId')"
|
||||
|
|
|
|||
|
|
@ -1117,7 +1117,7 @@
|
|||
// console.log("!!!!!!!!!",menuIndex.value,leftTargetIndex.value)
|
||||
queryPadPageList().then((res => {
|
||||
leftMenuArray.value = res.result.records;
|
||||
console.log("????", leftMenuArray.value)
|
||||
// console.log("????", leftMenuArray.value)
|
||||
leftMenuArray.value.forEach((res : any) => {
|
||||
switch (res.areaFlag) {
|
||||
case '1':
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
|
@ -575,7 +575,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app/pages/camera.nvue"]]);
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/camera.nvue"]]);
|
||||
export {
|
||||
camera as default
|
||||
};
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app/pages/fullcamera.nvue"]]);
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/fullcamera.nvue"]]);
|
||||
export {
|
||||
fullcamera as default
|
||||
};
|
||||
|
|
|
|||