|
@@ -221,6 +221,25 @@
|
|
|
</svg>
|
|
|
</div>
|
|
|
</el-tooltip> -->
|
|
|
+ <el-dropdown trigger="click" style="width:130px;">
|
|
|
+ <span class="el-dropdown-link userinfo-inner help-center-inner">
|
|
|
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" style="color:#333">
|
|
|
+ <path d="M9.24255 14.5C9.24255 14.0858 9.57834 13.75 9.99255 13.75C10.4068 13.75 10.7426 14.0858 10.7426 14.5C10.7426 14.9142 10.4068 15.25 9.99255 15.25C9.57834 15.25 9.24255 14.9142 9.24255 14.5Z" fill="currentColor"/>
|
|
|
+ <path d="M9.99261 5.00763C8.32056 5.00763 6.96136 6.36682 6.96136 8.03888H8.21136C8.21136 7.05718 9.01092 6.25763 9.99261 6.25763C10.9743 6.25763 11.7739 7.05718 11.7739 8.03888C11.7739 8.71106 11.2183 9.3851 10.4931 9.67971L10.4899 9.68101C9.82793 9.95419 9.36767 10.6052 9.36767 11.3656V12.5H10.6177V11.3656C10.6177 11.1228 10.7618 10.9216 10.9655 10.837C11.9996 10.4161 13.0239 9.37337 13.0239 8.03888C13.0239 6.36682 11.6647 5.00763 9.99261 5.00763Z" fill="currentColor"/>
|
|
|
+ <path d="M18.7427 10C18.7427 5.16751 14.8252 1.25 9.99268 1.25C5.16019 1.25 1.24268 5.16751 1.24268 10C1.24267 14.8325 5.16018 18.75 9.99267 18.75C14.8252 18.75 18.7427 14.8325 18.7427 10ZM17.4927 10C17.4927 14.1421 14.1348 17.5 9.99267 17.5C5.85054 17.5 2.49267 14.1421 2.49268 10C2.49268 5.85786 5.85054 2.5 9.99268 2.5C14.1348 2.5 17.4927 5.85787 17.4927 10Z" fill="currentColor"/>
|
|
|
+ </svg>
|
|
|
+ <span style="line-height: 20px;margin-left: 4px;">帮助中心</span>
|
|
|
+ <i class="el-icon-arrow-down el-icon--right" />
|
|
|
+ </span>
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item divided @click.native="toDoc"
|
|
|
+ >更新日志</el-dropdown-item
|
|
|
+ >
|
|
|
+ <el-dropdown-item divided @click.native="toOperation"
|
|
|
+ >帮助文档</el-dropdown-item
|
|
|
+ >
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
</div>
|
|
|
|
|
|
<el-dropdown trigger="click" style="width:130px;">
|
|
@@ -236,9 +255,9 @@
|
|
|
<el-dropdown-item divided @click.native="logout"
|
|
|
>退出登录</el-dropdown-item
|
|
|
>
|
|
|
- <el-dropdown-item divided @click.native="toDoc"
|
|
|
+ <!-- <el-dropdown-item divided @click.native="toDoc"
|
|
|
>更新日志</el-dropdown-item
|
|
|
- >
|
|
|
+ > -->
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
</div>
|
|
@@ -277,10 +296,10 @@
|
|
|
<script>
|
|
|
import {
|
|
|
checkPwd,
|
|
|
- getBusinessCode,
|
|
|
departInterence,
|
|
|
customInterence,
|
|
|
roadshowInterence,
|
|
|
+ getBusinessCode,
|
|
|
} from "api/api.js";
|
|
|
import PwdDlg from "@/components/pwdDlg.vue";
|
|
|
import questionMsgDia from "@/components/questionMsgDia.vue";
|
|
@@ -611,13 +630,23 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 操作指南的跳转
|
|
|
- toOperation(url) {
|
|
|
+ toOperation() {
|
|
|
// this.$router.replace({name: '/fingerpost', params: {id: 1}})
|
|
|
- let { href } = this.$router.resolve({
|
|
|
- path: `/${url}`,
|
|
|
- query: { contractid: this.contractId },
|
|
|
- });
|
|
|
- window.open(href, "_blank");
|
|
|
+ // let { href } = this.$router.resolve({
|
|
|
+ // path: `/${url}`,
|
|
|
+ // query: { contractid: this.contractId },
|
|
|
+ // });
|
|
|
+ // window.open(href, "_blank");
|
|
|
+ // 获取商家
|
|
|
+ getBusinessCode().then(res=>{
|
|
|
+ if(res.Ret!==200) return
|
|
|
+ const bus_code = res.Data||''
|
|
|
+ //打开帮助文档
|
|
|
+ const href = `${process.env.VUE_APP_ETA_HELP_DOCS}?bus_code=${bus_code}`
|
|
|
+ console.log(href);
|
|
|
+ // const href = `http://192.168.77.13:3033/help/index?bus_code=${bus_code}`
|
|
|
+ window.open(href, "_blank");
|
|
|
+ })
|
|
|
},
|
|
|
// 跳转去其他的系统
|
|
|
async linkToOtherMS({path,key}) {
|
|
@@ -1158,7 +1187,7 @@ export default {
|
|
|
.userinfo-fingerpost {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- margin-right: 50px;
|
|
|
+ // margin-right: 50px;
|
|
|
color: $theme-color;
|
|
|
.el-button:hover {
|
|
|
background: #ecf2fe;
|
|
@@ -1179,7 +1208,9 @@ export default {
|
|
|
.userinfo-inner:hover {
|
|
|
color: #5882ef;
|
|
|
}
|
|
|
+ .help-center-inner{
|
|
|
|
|
|
+ }
|
|
|
.icon-box-item {
|
|
|
padding: 12px;
|
|
|
border-radius: 4px;
|