Commit 61535170 by xuyl

访问量跳转增加cardId传参

1 parent 014aa117
...@@ -180,9 +180,9 @@ export default { ...@@ -180,9 +180,9 @@ export default {
methods: { methods: {
// 跳转访问量 // 跳转访问量
visitCisitCont(scope) { visitCisitCont(scope) {
const { cardName, visitCont, id: carId } = scope const { cardName, visitCont, id: cardId } = scope
if (!visitCont) return if (!visitCont) return
this.$parent.query = { cardName, carId } this.$parent.query = { cardName, cardId }
this.$parent.activeName = '2' this.$parent.activeName = '2'
}, },
staffNameSplit(name) { staffNameSplit(name) {
......
...@@ -179,10 +179,10 @@ export default { ...@@ -179,10 +179,10 @@ export default {
}, },
mounted() { mounted() {
if (this.$parent.query && this.$parent.query.cardName) { if (this.$parent.query && this.$parent.query.cardName) {
let { cardName,carId } = this.$parent.query let { cardName,cardId } = this.$parent.query
this.timeRadio = this.dateInterval = 4 this.timeRadio = this.dateInterval = 4
this.$set(this.tableSearchForm, 'cardName', cardName) this.$set(this.tableSearchForm, 'cardName', cardName)
this.$set(this.tableSearchForm, 'carId', carId) this.$set(this.tableSearchForm, 'carId', cardId)
} }
this.codeSearch() this.codeSearch()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!