|
@@ -38,7 +38,7 @@
|
|
|
</view>
|
|
|
</tm-modal>
|
|
|
<view class="list" v-for="(item, index) in detailList" :key="index">
|
|
|
- <view class="title">查核要点一:{{item.checkPointName}}</view>
|
|
|
+ <view class="title" v-if="item.responseList.length > 0">查核要点:{{item.checkPointName}}</view>
|
|
|
<view class="item"
|
|
|
v-for="(child, n) in item.responseList"
|
|
|
@click="childClick(child)"
|
|
@@ -124,8 +124,16 @@
|
|
|
// 跳转到查核项详情
|
|
|
str = 'auditItemDetails/auditItemDetails';
|
|
|
} else {
|
|
|
- // 跳转到查核结果提交
|
|
|
- str = 'mainPointsDetail/mainPointsDetail';
|
|
|
+ if(this.nowPermission == 1) {
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '请切换至查核者角色再进行查核操作!',
|
|
|
+ showCancel: false
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ // 跳转到查核结果提交
|
|
|
+ str = 'mainPointsDetail/mainPointsDetail';
|
|
|
+ }
|
|
|
}
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/${str}?id=${child.id}`
|