1
This commit is contained in:
parent
8d4ebfb2a2
commit
641aefbdab
@ -140,10 +140,10 @@
|
|||||||
<view class="box-room">
|
<view class="box-room">
|
||||||
<view class="detail-title">其他信息</view>
|
<view class="detail-title">其他信息</view>
|
||||||
<view class="menu-box">
|
<view class="menu-box">
|
||||||
<!-- <view class="menu-item" @click="viewNewPeople()">
|
<view class="menu-item" @click="viewNewPeople()">
|
||||||
<image src="@/static/mine/caise/shouce.png" mode="aspectFit"></image>
|
<image src="@/static/mine/caise/shouce.png" mode="aspectFit"></image>
|
||||||
<view>新人手册</view>
|
<view>新人手册</view>
|
||||||
</view> -->
|
</view>
|
||||||
<view class="menu-item" style="position: relative;">
|
<view class="menu-item" style="position: relative;">
|
||||||
<!-- <image src="@/static/mine/kefu.png" mode="aspectFit"></image> -->
|
<!-- <image src="@/static/mine/kefu.png" mode="aspectFit"></image> -->
|
||||||
<image src="@/static/mine/caise/kefu.png" mode="aspectFit"></image>
|
<image src="@/static/mine/caise/kefu.png" mode="aspectFit"></image>
|
||||||
@ -384,9 +384,35 @@
|
|||||||
.userId)
|
.userId)
|
||||||
},
|
},
|
||||||
viewNewPeople() {
|
viewNewPeople() {
|
||||||
this.$tab.navigateTo(
|
if (this.localUserType == '02'){
|
||||||
`/pages/common/richview/index?title=${this.globalConfig.appInfo.agreements[3].title}&code=${this.globalConfig.appInfo.agreements[3].code}`
|
uni.downloadFile({
|
||||||
)
|
url: 'https://www.ddtg.site/bz.docx',
|
||||||
|
success: function(res) {
|
||||||
|
var filePath = res.tempFilePath;
|
||||||
|
uni.openDocument({
|
||||||
|
filePath: filePath,
|
||||||
|
showMenu: true,
|
||||||
|
success: function(res) {}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.downloadFile({
|
||||||
|
url: 'https://www.ddtg.site/tgz.docx',
|
||||||
|
success: function(res) {
|
||||||
|
var filePath = res.tempFilePath;
|
||||||
|
uni.openDocument({
|
||||||
|
filePath: filePath,
|
||||||
|
showMenu: true,
|
||||||
|
success: function(res) {}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// this.$tab.navigateTo(
|
||||||
|
// `/pages/common/richview/index?title=${this.globalConfig.appInfo.agreements[3].title}&code=${this.globalConfig.appInfo.agreements[3].code}`
|
||||||
|
// )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user