|
@@ -137,7 +137,7 @@ const uni_grid_column = ref(4)
|
|
|
|
|
|
|
|
const diaryShow = ref(false)
|
|
const diaryShow = ref(false)
|
|
|
if(config.companyCode && config.companyCode == 'yg'){
|
|
if(config.companyCode && config.companyCode == 'yg'){
|
|
|
- diaryShow.value = true;
|
|
|
|
|
|
|
+ diaryShow.value = false;
|
|
|
}else{
|
|
}else{
|
|
|
diaryShow.value = false;
|
|
diaryShow.value = false;
|
|
|
}
|
|
}
|
|
@@ -155,18 +155,18 @@ function getUserRoom() {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
// 点击房屋管家
|
|
// 点击房屋管家
|
|
|
-function changeHomesys(e) {
|
|
|
|
|
|
|
+function changeHomesys(e) {
|
|
|
const roomIndex = e.detail.index
|
|
const roomIndex = e.detail.index
|
|
|
const roomListLength = homesysList.value.length
|
|
const roomListLength = homesysList.value.length
|
|
|
// if (roomIndex > roomListLength) {
|
|
// if (roomIndex > roomListLength) {
|
|
|
switch (roomIndex) {
|
|
switch (roomIndex) {
|
|
|
- case roomListLength + 1:
|
|
|
|
|
|
|
+ case roomListLength + 1:
|
|
|
$tab.navigateTo('/pages/work/homesysSetting/index')
|
|
$tab.navigateTo('/pages/work/homesysSetting/index')
|
|
|
break
|
|
break
|
|
|
- case roomListLength + 2:
|
|
|
|
|
|
|
+ case roomListLength + 2:
|
|
|
$tab.navigateTo('/pages/work/homesysSetting/user')
|
|
$tab.navigateTo('/pages/work/homesysSetting/user')
|
|
|
break
|
|
break
|
|
|
- case roomListLength + 3:
|
|
|
|
|
|
|
+ case roomListLength + 3:
|
|
|
$tab.navigateTo('/pages/work/homesysSetting/userList')
|
|
$tab.navigateTo('/pages/work/homesysSetting/userList')
|
|
|
break
|
|
break
|
|
|
default:
|
|
default:
|
|
@@ -206,7 +206,7 @@ function initProcessList() {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
// 点击流程宫格
|
|
// 点击流程宫格
|
|
|
-function changeProcessGrid(item) {
|
|
|
|
|
|
|
+function changeProcessGrid(item) {
|
|
|
// console.log('changeProcessGrid', e);
|
|
// console.log('changeProcessGrid', e);
|
|
|
// const { modelName, modelId, control } = processList.value.fList[e.detail.index]
|
|
// const { modelName, modelId, control } = processList.value.fList[e.detail.index]
|
|
|
const { modelName, modelId, control } = item
|
|
const { modelName, modelId, control } = item
|
|
@@ -244,7 +244,7 @@ function changeAttendanceGrid(e) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// 点击日报宫格
|
|
// 点击日报宫格
|
|
|
-function changeDiaryGrid(e) {
|
|
|
|
|
|
|
+function changeDiaryGrid(e) {
|
|
|
if (1 == e.detail.index) {
|
|
if (1 == e.detail.index) {
|
|
|
wx.navigateToMiniProgram({
|
|
wx.navigateToMiniProgram({
|
|
|
appId: 'wxd45c635d754dbf59',
|
|
appId: 'wxd45c635d754dbf59',
|
|
@@ -262,7 +262,7 @@ function changeDiaryGrid(e) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// 点击工具宫格
|
|
// 点击工具宫格
|
|
|
-function changeToolsGrid(e) {
|
|
|
|
|
|
|
+function changeToolsGrid(e) {
|
|
|
switch (e.detail.index) {
|
|
switch (e.detail.index) {
|
|
|
case 1:
|
|
case 1:
|
|
|
openCalculatorPopup() // 打开计算器弹出层
|
|
openCalculatorPopup() // 打开计算器弹出层
|
|
@@ -335,20 +335,20 @@ view {
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
padding: 15px 0;
|
|
padding: 15px 0;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// .uni-margin-wrap {
|
|
// .uni-margin-wrap {
|
|
|
// width: 690rpx;
|
|
// width: 690rpx;
|
|
|
// width: 100%;
|
|
// width: 100%;
|
|
|
// }
|
|
// }
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.swiper {
|
|
.swiper {
|
|
|
height: 300rpx;
|
|
height: 300rpx;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.swiper-box {
|
|
.swiper-box {
|
|
|
height: 150px;
|
|
height: 150px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.swiper-item {
|
|
.swiper-item {
|
|
|
/* #ifndef APP-NVUE */
|
|
/* #ifndef APP-NVUE */
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -360,7 +360,7 @@ view {
|
|
|
height: 300rpx;
|
|
height: 300rpx;
|
|
|
line-height: 300rpx;
|
|
line-height: 300rpx;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
@media screen and (min-width: 500px) {
|
|
@media screen and (min-width: 500px) {
|
|
|
.uni-swiper-dot-box {
|
|
.uni-swiper-dot-box {
|
|
|
width: 400px;
|
|
width: 400px;
|
|
@@ -369,11 +369,11 @@ view {
|
|
|
/* #endif */
|
|
/* #endif */
|
|
|
margin-top: 8px;
|
|
margin-top: 8px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.image {
|
|
.image {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|