Commit 9f0ceccf by 李长胜

更改

1 parent bf747fcb
......@@ -58,7 +58,9 @@ export default {
this.$router.push('/memberCenter/center')
},
mounted() {},
mounted() {
},
methods: {
tabClick(index) {
......
......@@ -94,7 +94,7 @@ export default {
// this.setTableData()
},
mounted() {
document.querySelector(".el-tabs").style.display="none"
this.$nextTick(() => {
let clientHeight = document.documentElement.clientHeight
let offsettop = document.getElementById('tableWrap').offsetTop
......@@ -125,7 +125,7 @@ export default {
console.log(this.detail, 'gggg')
// this.$router.go(-1)
this.$router.push("/memberCenter/order")
document.querySelector(".el-tabs").style.display="block"
}
}
}
......
......@@ -133,6 +133,9 @@ export default {
}
this.getLoginCountFun()
},
mounted () {
},
methods: {
getLoginCountFun() {
//loginType:4是查会员服务浏览次数
......
......@@ -264,7 +264,7 @@ export default {
mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
document.querySelector(".el-tabs").style.display="none"
},
methods: {
getPageDetail() {
......@@ -365,7 +365,7 @@ export default {
// console.log(res, '提交内容')
this.$message.success('创建服务成功')
this.$router.push('/memberCenter/service')
document.querySelector(".el-tabs").style.display="block"
} else {
this.$message({
type: 'error',
......@@ -387,7 +387,7 @@ export default {
if (res.code == 0) {
this.$message.success('编辑服务成功')
this.$router.push('/memberCenter/service')
document.querySelector(".el-tabs").style.display="block"
} else {
this.$message({
type: 'error',
......@@ -400,7 +400,6 @@ export default {
goBack() {
if(JSON.stringify(this.ruleForm)==JSON.stringify(this.copyRuleForm)){
this.$router.push('/memberCenter/service')
document.querySelector(".el-tabs").style.display="block"
}else{
// this.$message.error('是否保存信息')
this.isDialogVisible=true
......@@ -411,7 +410,6 @@ export default {
},
handleConfirm(){
this.$router.push('/memberCenter/service')
document.querySelector(".el-tabs").style.display="block"
},
oninput(value) {
let str = value
......
......@@ -309,7 +309,6 @@ export default {
if (res.code == '0') {
// this.$router.go(-1)
this.$router.push("/memberCenter/setmeal")
document.querySelector(".el-tabs").style.display="block"
}
})
} else {
......@@ -333,7 +332,6 @@ export default {
})
if (res.code == '0') {
this.$router.push("/memberCenter/setmeal")
document.querySelector(".el-tabs").style.display="block"
}
})
}
......@@ -355,7 +353,6 @@ export default {
goBack() {
if (JSON.stringify(this.ruleForm) == JSON.stringify(this.copyRuleForm) && this.choseItemList.length == this.copyChoseItemList.length && this.totalPrice == this.copyTotalPrice) {
this.$router.push("/memberCenter/setmeal")
document.querySelector(".el-tabs").style.display="block"
} else {
this.isTipDialogVisible = true
}
......@@ -426,7 +423,6 @@ export default {
},
handleTipConfirm() {
this.$router.push("/memberCenter/setmeal")
document.querySelector(".el-tabs").style.display="block"
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!