|
@@ -96,7 +96,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 增值服务 -->
|
|
|
- <view class="other-container card" v-if="userInfo.moduleYb">
|
|
|
+ <!-- <view class="other-container card" v-if="userInfo.moduleYb">
|
|
|
<view class="home-title">
|
|
|
<view class="left">增值服务</view>
|
|
|
</view>
|
|
@@ -111,10 +111,10 @@
|
|
|
<text>{{ item.title }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<!-- 工程维保服务 -->
|
|
|
- <view
|
|
|
+ <!-- <view
|
|
|
class="other-container card"
|
|
|
v-if="(isWorkerUser || isShowMaintenance) && userInfo.moduleWb && userInfo.mobile"
|
|
|
>
|
|
@@ -132,7 +132,7 @@
|
|
|
<text>{{ item.title }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<!-- 二手商城 -->
|
|
|
<!-- <view class="other-container card" v-if="(isServiceUser || isWorkerUser) && userInfo.moduleEs">
|
|
@@ -176,12 +176,25 @@
|
|
|
</view> -->
|
|
|
|
|
|
<!-- 工单管理 -->
|
|
|
- <view class="order-container card" v-if="isWorkerUser">
|
|
|
+ <view class="order-container card">
|
|
|
<view class="home-title">
|
|
|
<view class="left">工单管理</view>
|
|
|
</view>
|
|
|
<view class="list">
|
|
|
- <view class="item" v-for="(item, index) in orderList" :key="index" @tap="toPage(item.url)">
|
|
|
+ <view
|
|
|
+ class="item"
|
|
|
+ v-for="(item, index) in orderList"
|
|
|
+ :key="index"
|
|
|
+ @tap="
|
|
|
+ toPage(
|
|
|
+ !userInfo.mobile
|
|
|
+ ? '/packageMine/pages/phone'
|
|
|
+ : !userInfo.workerNumber
|
|
|
+ ? '/packageMine/pages/myWebsit'
|
|
|
+ : item.url
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<image :src="require(`@/static/images/home/order-icon${item.code}.png`)" mode=""></image>
|
|
|
<text>{{ item.title }}</text>
|
|
|
</view>
|
|
@@ -189,32 +202,80 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 其他 -->
|
|
|
- <view class="other-container card" v-if="isWorkerUser && userInfo.moduleMaterialPart">
|
|
|
+ <view class="other-container card">
|
|
|
<view class="home-title">
|
|
|
<view class="left">辅材</view>
|
|
|
- <view class="right" @tap="toPage(`/packageMaterial/pages/index?type=M`)">
|
|
|
+ <view
|
|
|
+ class="right"
|
|
|
+ @tap="
|
|
|
+ toPage(
|
|
|
+ !userInfo.mobile
|
|
|
+ ? '/packageMine/pages/phone'
|
|
|
+ : !userInfo.workerNumber
|
|
|
+ ? '/packageMine/pages/myWebsit'
|
|
|
+ : `/packageMaterial/pages/index?type=M`
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<text class="text">查看详细</text>
|
|
|
<text class="iconfont icon-jinru"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list">
|
|
|
- <view class="item" v-for="(item, index) in otherList" :key="index" @tap="toPage(item.url)">
|
|
|
+ <view
|
|
|
+ class="item"
|
|
|
+ v-for="(item, index) in otherList"
|
|
|
+ :key="index"
|
|
|
+ @tap="
|
|
|
+ toPage(
|
|
|
+ !userInfo.mobile
|
|
|
+ ? '/packageMine/pages/phone'
|
|
|
+ : !userInfo.workerNumber
|
|
|
+ ? '/packageMine/pages/myWebsit'
|
|
|
+ : item.url
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<image :src="require(`@/static/images/home/other-icon${item.code}.png`)" mode=""></image>
|
|
|
<text>{{ item.title }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="other-container card" v-if="isWorkerUser && userInfo.moduleMaterialPart">
|
|
|
+ <view class="other-container card">
|
|
|
<view class="home-title">
|
|
|
<view class="left">配件</view>
|
|
|
- <view class="right" @tap="toPage(`/packageMaterial/pages/index?type=P`)">
|
|
|
+ <view
|
|
|
+ class="right"
|
|
|
+ @tap="
|
|
|
+ toPage(
|
|
|
+ !userInfo.mobile
|
|
|
+ ? '/packageMine/pages/phone'
|
|
|
+ : !userInfo.workerNumber
|
|
|
+ ? '/packageMine/pages/myWebsit'
|
|
|
+ : `/packageMaterial/pages/index?type=P`
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<text class="text">查看详细</text>
|
|
|
<text class="iconfont icon-jinru"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list">
|
|
|
- <view class="item" v-for="(item, index) in otherList2" :key="index" @tap="toPage(item.url)">
|
|
|
+ <view
|
|
|
+ class="item"
|
|
|
+ v-for="(item, index) in otherList2"
|
|
|
+ :key="index"
|
|
|
+ @tap="
|
|
|
+ toPage(
|
|
|
+ !userInfo.mobile
|
|
|
+ ? '/packageMine/pages/phone'
|
|
|
+ : !userInfo.workerNumber
|
|
|
+ ? '/packageMine/pages/myWebsit'
|
|
|
+ : item.url
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<image :src="require(`@/static/images/home/other-icon${item.code}.png`)" mode=""></image>
|
|
|
<text>{{ item.title }}</text>
|
|
|
</view>
|