Commit 3777fb98 by 刘泽奇

123

parent cb0e4470
......@@ -15,6 +15,7 @@
<link rel="stylesheet" href="/css/cropper.css">
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/css/jointjdcloud/iconfont.css">
<link rel="stylesheet" href="/css/animte.css">
<script src="/js/swiper/swiper.min.js"></script>
<script src="/js/vue/vue.min_2.6.10.js"></script>
<script src="/js/vue/vue-router.min.js"></script>
......@@ -63,6 +64,7 @@
<div class="jc_hd"></div>
</div>
<!-- 启服通公共头 -->
<div class="commonchannel" v-if="channelName == 'bw' && !isLogin">
<div>
<div @click="goHome">
......@@ -78,7 +80,8 @@
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item icon="el-icon-s-order" command="myIndent">我的订单</el-dropdown-item>
<el-dropdown-item icon="el-icon-s-order" v-if="superAdmin" command="goSuperAdmin">后台管理</el-dropdown-item>
<el-dropdown-item icon="el-icon-s-order" v-if="superAdmin" command="goSuperAdmin">后台管理
</el-dropdown-item>
<el-dropdown-item icon="el-icon-bicycle" command="loginOut">退出登录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
......@@ -94,7 +97,9 @@
<!-- 根据渠道显示不同公共头end -->
<transition name="slide-fade">
<transition name="custom-classes-transition" enter-active-class="animated fadeIn"
leave-active-class="animated fadeOut">
<router-view></router-view>
</transition>
<!-- 根据渠道显示不同公共尾start -->
......
......@@ -182,12 +182,14 @@
break;
case "bw":
console.log($.cookie("channelUserId"), `llllllllllllllllllllllll`);
if ($.cookie("channelUserId")) {
if ($.cookie("userpin")) {
this.$router.push({
path: `/${this.$root.channelName}/jdindentlist`,
query: { channelUserId: $.cookie("channelUserId") }
});
} else {
this.$message.warning("请登录");
this.$router.push({
path: `/${this.$root.channelName}/login`,
});
......
......@@ -70,7 +70,10 @@
*/
},
created: function() {
let { OtherOrderParams } = localStorage;
if (OtherOrderParams) {
this.apply = JSON.parse(OtherOrderParams).apply;
}
},
methods: {
agreeContract(){
......@@ -99,8 +102,8 @@
var obj = this.$root.copyParams(this.params, "subOtherOrder", "/action/tmOrder/springBoard", 'yes', 'yes');
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
console.log("---------submitOrder-------");
if (d.status == '-99') {
localStorage.OtherOrderParams = this.params;
if (d.data == '-99') {
localStorage.OtherOrderParams = JSON.stringify(this.params);
this.$message.warning("未登录");
this.$router.push({ path: `/${this.$root.channelName}/login`, });
return
......
......@@ -366,6 +366,10 @@
console.log({ ...this.serviceItem });
},
sdsOp2(){
let { OtherOrderParams } = localStorage;
if (OtherOrderParams) {
localStorage.removeItem('OtherOrderParams');
}
var sdsId = this.$route.query.sdsId;
let routeUrl = this.$router.resolve({
path: `/${this.$root.channelName}/nowbuy`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment