添加用户反馈按钮
This commit is contained in:
Vendored
+1
-1
@@ -269,7 +269,7 @@
|
||||
<!-- 全局配置 -->
|
||||
<script>
|
||||
localStorage.removeItem('isPhone')
|
||||
localStorage.setItem('isPhone', 'no')
|
||||
localStorage.setItem('isPhone', 'yes')
|
||||
window.loginUrl = 'https://grp.nioint.com'
|
||||
// window.loginUrl = 'https://grp-mobile.nio.com'
|
||||
// // 判断当前设备
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
@@ -1954,4 +1954,5 @@ module.exports = {
|
||||
Modifyremarks:'Modify remarks',
|
||||
Reasonforreturn:'Reason for return',
|
||||
maintenanceTemplate:'Maintenance template',
|
||||
UserFeedback:'User Feedback',
|
||||
}
|
||||
@@ -3909,5 +3909,6 @@ module.exports = {
|
||||
datacannotbeedited:'该数据不能进行编辑',
|
||||
Rematchornot:'是否重新匹配',
|
||||
Modifyremarks:'修改备注',
|
||||
Reasonforreturn:'退回原因'
|
||||
Reasonforreturn:'退回原因',
|
||||
UserFeedback:'用户反馈',
|
||||
}
|
||||
@@ -31,18 +31,11 @@
|
||||
<!-- <a-icon type="question-circle-o"></a-icon>-->
|
||||
<!-- </a>-->
|
||||
<!-- </span>-->
|
||||
<!-- <div class="action" @click="Jumpflybook">-->
|
||||
<!-- <span class="header-notice">-->
|
||||
<!-- <a-tooltip placement="bottomRight" :title="$t('userManual')" overlayClassName="tooltipColor">-->
|
||||
<!-- <a-icon style="font-size: 16px; padding: 4px; color: #000000A6" type="question-circle"/>-->
|
||||
<!-- </a-tooltip>-->
|
||||
<!-- </span>-->
|
||||
<!-- </div>-->
|
||||
<a-dropdown>
|
||||
<span class="action action-full ant-dropdown-link user-dropdown-menu">
|
||||
<!-- <a-avatar class="avatar" size="small" :src="getAvatar()"/>-->
|
||||
<!-- <span v-if="isDesktop()">welcome,{{ userInfo().username }}</span>-->
|
||||
<a-icon style="font-size: 16px; padding: 4px; color: #000000A6" type="question-circle"/>
|
||||
<a-icon style="font-size: 16px; padding: 4px; color: #000000A6" type="read"/>
|
||||
</span>
|
||||
<a-menu slot="overlay" class="user-dropdown-menu-wrapper">
|
||||
<a-menu-item key="5" @click="Jumpflybook">
|
||||
@@ -55,6 +48,13 @@
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
<div class="action" @click="UserFeedback">
|
||||
<span class="header-notice">
|
||||
<a-tooltip placement="bottomRight" :title="$t('UserFeedback')" overlayClassName="tooltipColor">
|
||||
<a-icon style="font-size: 16px; padding: 4px; color: #000000A6" type="question-circle"/>
|
||||
</a-tooltip>
|
||||
</span>
|
||||
</div>
|
||||
<header-notice class="action"/>
|
||||
<div class="action">
|
||||
<span v-show="localeval=='zh-cn'">
|
||||
@@ -234,6 +234,9 @@ export default {
|
||||
Jumpflybook(){
|
||||
window.open('https://eicgyqr5mc.feishu.cn/docx/doxcnY2GbQfMSMqLP0eIFzFlEcd', '_blank');
|
||||
},
|
||||
UserFeedback(){
|
||||
window.open('https://nio.feishu.cn/share/base/form/shrcnPUyb8w32y0S5VDyiMnPK1f', '_blank');
|
||||
},
|
||||
Jumpoperationguide(){
|
||||
window.open('https://eicgyqr5mc.feishu.cn/docx/ZyhWdIz7EoMZ68xhI2bckcWWnMg', '_blank');
|
||||
},
|
||||
|
||||
@@ -30,15 +30,15 @@ const whiteList = ['/user/login', '/user/register', '/user/register-result', '/u
|
||||
router.beforeEach((to, from, next) => {
|
||||
NProgress.start() // start progress bar
|
||||
if (isPhone == 'yes'){
|
||||
if (!isBrowser()){
|
||||
Dialog.alert({
|
||||
message: '未授权用户 <br> Unauthorized User',
|
||||
theme: 'round-button',
|
||||
}).then(() => {
|
||||
// on close
|
||||
});
|
||||
return
|
||||
}
|
||||
// if (!isBrowser()){
|
||||
// Dialog.alert({
|
||||
// message: '未授权用户 <br> Unauthorized User',
|
||||
// theme: 'round-button',
|
||||
// }).then(() => {
|
||||
// // on close
|
||||
// });
|
||||
// return
|
||||
// }
|
||||
}
|
||||
if (to.query.code) {
|
||||
getAction(`opensso/callback`, { code: to.query.code }).then(res => {
|
||||
|
||||
@@ -33,6 +33,13 @@
|
||||
</span>
|
||||
<van-icon class="icon" name="arrow"/>
|
||||
</div>
|
||||
<div class="content-box" @click="UserFeedbackClick">
|
||||
<img src="~@/assets/wtfk.png" class="content-box-img" alt="">
|
||||
<span class="content-box-text">
|
||||
{{$t('UserFeedback')}}
|
||||
</span>
|
||||
<van-icon class="icon" name="arrow"/>
|
||||
</div>
|
||||
<!-- <div class="content-box">-->
|
||||
<!-- <img src="~@/assets/icon_assign.png" class="content-box-img" alt="">-->
|
||||
<!-- <span class="content-box-text">-->
|
||||
@@ -127,6 +134,10 @@
|
||||
this.changeLocale('zh-cn')
|
||||
}
|
||||
},
|
||||
UserFeedbackClick(){
|
||||
window.location.href = 'https://nio.feishu.cn/share/base/form/shrcnPUyb8w32y0S5VDyiMnPK1f'
|
||||
// window.open('https://nio.feishu.cn/share/base/form/shrcnPUyb8w32y0S5VDyiMnPK1f');
|
||||
},
|
||||
changeLocale(localeval) {
|
||||
this.isLoading = true
|
||||
switch (localeval) {
|
||||
|
||||
Reference in New Issue
Block a user