Merge branch 'master' of http://gitea.bugtc.com/zhouyanli/property-manager-side
This commit is contained in:
@@ -128,7 +128,7 @@ const handleBtnClick = () => {
|
||||
} else {
|
||||
// 没有token,跳转登录页
|
||||
uni.redirectTo({
|
||||
url: "/pageSubPack/loginSub/pwd-login"
|
||||
url: "/pageSubPack/loginSub/login?mode=pwd"
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,22 +16,22 @@
|
||||
<view class="location-area">
|
||||
<view class="location-icon">
|
||||
<image
|
||||
src="https://wuyeadmin.bugtc.com/images/imgs/adress.png"
|
||||
src="https://wuye.ckdzkj.com/images/imgs/adress.png"
|
||||
style="height: 100%; width: 100%"
|
||||
></image>
|
||||
</view>
|
||||
<view class="community-selector">
|
||||
<text class="community-name">{{ currentCommunity }}</text>
|
||||
<view class="community-icon">
|
||||
<image
|
||||
src="https://wuyeadmin.bugtc.com/images/imgs/三角形.png"
|
||||
style="height: 100%; width: 100%"
|
||||
></image>
|
||||
<view class="community-selector">
|
||||
<text class="community-name">{{ currentCommunity }}</text>
|
||||
<view class="community-icon">
|
||||
<image
|
||||
src="https://wuye.ckdzkj.com/images/imgs/三角形.png"
|
||||
style="height: 100%; width: 100%"
|
||||
></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 可滚动内容区 -->
|
||||
<view class="scroll-content">
|
||||
@@ -64,7 +64,7 @@
|
||||
<view class="noticeClass">
|
||||
<view class="notice-left">
|
||||
<image
|
||||
src="https://wuyeadmin.bugtc.com/images/imgs/notice.png"
|
||||
src="https://wuye.ckdzkj.com/images/imgs/notice.png"
|
||||
class="notice-icon"
|
||||
></image>
|
||||
<view class="notice-line"></view>
|
||||
@@ -91,11 +91,11 @@
|
||||
<text class="num">{{ allCount }}</text>
|
||||
<text class="label">全部巡检</text>
|
||||
</view>
|
||||
<view class="statistics-item" @click="goToDaysInspection(0)">
|
||||
<view class="statistics-item" @click="goToDaysInspection">
|
||||
<text class="num">{{ pendingCount }}</text>
|
||||
<text class="label">待巡检</text>
|
||||
</view>
|
||||
<view class="statistics-item" @click="goToDaysInspection(1)">
|
||||
<view class="statistics-item">
|
||||
<text class="num">{{ InspectedCount }}</text>
|
||||
<text class="label">已巡检 </text>
|
||||
</view>
|
||||
@@ -199,9 +199,9 @@ const goToMyTicket = () => {
|
||||
})
|
||||
}
|
||||
// 跳转到 今日巡检
|
||||
const goToDaysInspection = type => {
|
||||
const goToDaysInspection = () => {
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/inspection/toDays_inscpection?type=' + type
|
||||
url: '/pageSubPack/inspection/toDays_inscpection?type=0'
|
||||
})
|
||||
}
|
||||
// 跳转到 巡检记录
|
||||
@@ -245,31 +245,31 @@ const goToFeeOverview = () => {
|
||||
const functionList = [
|
||||
{
|
||||
permKey: 'butler:fault:report',
|
||||
icon: 'https://wuyeadmin.bugtc.com/images/imgs/fault-report.png',
|
||||
icon: 'https://wuye.ckdzkj.com/images/imgs/fault-report.png',
|
||||
text: '故障上报',
|
||||
action: 'goToReport'
|
||||
},
|
||||
{
|
||||
permKey: 'butler:door:open',
|
||||
icon: 'https://wuyeadmin.bugtc.com/images/imgs/open.png',
|
||||
icon: 'https://wuye.ckdzkj.com/images/imgs/open.png',
|
||||
text: '一键开门',
|
||||
action: 'goToOneOpenDoor'
|
||||
},
|
||||
{
|
||||
permKey: 'butler:workOrder:hall',
|
||||
icon: 'https://wuyeadmin.bugtc.com/images/imgs/work-order.png',
|
||||
icon: 'https://wuye.ckdzkj.com/images/imgs/work-order.png',
|
||||
text: '工单大厅',
|
||||
action: 'goToTicketHall'
|
||||
},
|
||||
{
|
||||
permKey: 'butler:workOrder:mine',
|
||||
icon: 'https://wuyeadmin.bugtc.com/images/imgs/my-work.png',
|
||||
icon: 'https://wuye.ckdzkj.com/images/imgs/my-work.png',
|
||||
text: '我的工单',
|
||||
action: 'goToMyTicket'
|
||||
},
|
||||
{
|
||||
permKey: 'butler:complaint:handle',
|
||||
icon: 'https://wuyeadmin.bugtc.com/images/imgs/complaint.png',
|
||||
icon: 'https://wuye.ckdzkj.com/images/imgs/complaint.png',
|
||||
text: '投诉处理',
|
||||
action: 'goToComplaint'
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<uni-nav-bar backgroundColor="transparent" :border="false" />
|
||||
<scroll-view class="page" scroll-y>
|
||||
<view class="user-card">
|
||||
<image src="https://wuyeadmin.bugtc.com/images/guanjia-logo.png" class="avatar" />
|
||||
<image src="https://wuye.ckdzkj.com/images/guanjia-logo.png" class="avatar" />
|
||||
<view class="user-info">
|
||||
<text class="user-name">{{ loginName }}</text>
|
||||
<text class="user-phone">{{ phoneNum }}</text>
|
||||
@@ -35,12 +35,12 @@ import { ref } from 'vue'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import { getSettingInfo } from '../../api/api.js'
|
||||
|
||||
// const defaultAvatar = 'https://wuyeadmin.bugtc.com/images/imgs/default-avatar.png'
|
||||
// const defaultAvatar = 'https://wuye.ckdzkj.com/images/imgs/default-avatar.png'
|
||||
|
||||
const list = ref([
|
||||
{ icon: 'https://wuyeadmin.bugtc.com/images/imgs/shangbao.png', title: '上报记录' },
|
||||
{ icon: 'https://wuyeadmin.bugtc.com/images/imgs/xunjian.png', title: '巡检记录' },
|
||||
{ icon: 'https://wuyeadmin.bugtc.com/images/propertyImgs/setting.png', title: '设置' }
|
||||
{ icon: 'https://wuye.ckdzkj.com/images/imgs/shangbao.png', title: '上报记录' },
|
||||
{ icon: 'https://wuye.ckdzkj.com/images/imgs/xunjian.png', title: '巡检记录' },
|
||||
{ icon: 'https://wuye.ckdzkj.com/images/propertyImgs/setting.png', title: '设置' }
|
||||
])
|
||||
|
||||
const loginName = ref('')
|
||||
|
||||
Reference in New Issue
Block a user