Commit 0fc09ef3 authored by chenwei's avatar chenwei

侧边栏重新排序

parent 138c23cf
...@@ -315,14 +315,14 @@ ...@@ -315,14 +315,14 @@
@click="handleRewardEdit(scope.row)" @click="handleRewardEdit(scope.row)"
>{{ $t("编辑") }}</el-button >{{ $t("编辑") }}</el-button
> >
<el-button <!-- <el-button
v-hasPermi="['ecw:memberManagement:view']" v-hasPermi="['ecw:memberManagement:view']"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleViewRecord(scope.row)" @click="handleViewRecord(scope.row)"
>{{ $t("查看") }}</el-button >{{ $t("查看") }}</el-button
> > -->
<el-button <el-button
v-hasPermi="['ecw:memberManagement:verification']" v-hasPermi="['ecw:memberManagement:verification']"
size="mini" size="mini"
...@@ -544,11 +544,17 @@ export default { ...@@ -544,11 +544,17 @@ export default {
}, },
immediate: true, immediate: true,
}, },
"$route.query.memberCode": {
handler(val) {
if (val) {
this.queryParams.memberCode= val;
}
},
immediate: true,
},
}, },
created() { created() {
if(this.$route.query.memberCode){
this.queryParams.memberCode= this.$route.query.memberCode
}
this.getNodeListAPI(); this.getNodeListAPI();
this.handleQuery(); this.handleQuery();
}, },
...@@ -595,21 +601,21 @@ export default { ...@@ -595,21 +601,21 @@ export default {
// 核销 // 核销
handleVerify(row) { handleVerify(row) {
this.$router.push({ this.$router.push({
path: "/memberManagement/exchangeRecordOperation", path: "/member/memberManagement/exchangeRecordOperation",
query: { exchangeRewardID: row.id, pageStatus: "verify" }, query: { exchangeRewardID: row.id, pageStatus: "verify" },
}); });
}, },
// 查看按钮操作 // 查看按钮操作
handleViewRecord(row) { handleViewRecord(row) {
this.$router.push({ this.$router.push({
path: "/memberManagement/exchangeRecordOperation", path: "/member/memberManagement/exchangeRecordOperation",
query: { exchangeRewardID: row.id, pageStatus: "view" }, query: { exchangeRewardID: row.id, pageStatus: "view" },
}); });
}, },
// 兑换记录编辑操作 // 兑换记录编辑操作
handleRewardEdit(row) { handleRewardEdit(row) {
this.$router.push({ this.$router.push({
path: "/memberManagement/exchangeRecordOperation", path: "/member/memberManagement/exchangeRecordOperation",
query: { exchangeRewardID: row.id, pageStatus: "edit" }, query: { exchangeRewardID: row.id, pageStatus: "edit" },
}); });
}, },
...@@ -743,7 +749,7 @@ export default { ...@@ -743,7 +749,7 @@ export default {
// 新增兑换 // 新增兑换
handleNewExchange() { handleNewExchange() {
this.$router.push({ this.$router.push({
path: "/memberManagement/exchangeRecordOperation", path: "/member/memberManagement/exchangeRecordOperation",
}); });
}, },
getNodeListAPI() { getNodeListAPI() {
......
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
type="text" type="text"
@click=" @click="
$router.push({ $router.push({
path: '/memberManagement/exchangeRecordOperation', path: '/member/memberManagement/exchangeRecordOperation',
query: { query: {
pageStatus: 'view', pageStatus: 'view',
exchangeRewardID: row.extParamJson.redeemId, exchangeRewardID: row.extParamJson.redeemId,
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
type="text" type="text"
@click=" @click="
$router.push({ $router.push({
path: '/memberManagement/addIntegrationRuleOperation', path: '/member/memberManagement/addIntegrationRuleOperation',
query: { query: {
id: row.extParamJson.scoreRuleId, id: row.extParamJson.scoreRuleId,
pageStatus: 'view', pageStatus: 'view',
...@@ -303,11 +303,18 @@ export default { ...@@ -303,11 +303,18 @@ export default {
}, },
immediate: true, immediate: true,
}, },
$route: {
handler: function (route) {
const query = route.query;
if (query.memberCode) {
this.queryParams.key = this.$route.query.memberCode
}
},
immediate: true,
},
}, },
created() { created() {
if(this.$route.query.memberCode){
this.queryParams.key = this.$route.query.memberCode
}
this.handleQuery(); this.handleQuery();
}, },
activated() { activated() {
......
...@@ -385,14 +385,14 @@ export default { ...@@ -385,14 +385,14 @@ export default {
// 编辑操作按钮 // 编辑操作按钮
handleUpdate(row) { handleUpdate(row) {
this.$router.push({ this.$router.push({
path: "/memberManagement/addIntegrationRuleOperation", path: "/member/memberManagement/addIntegrationRuleOperation",
query: { id: row.id, pageStatus: "edit" }, query: { id: row.id, pageStatus: "edit" },
}); });
}, },
// 查看按钮操作 // 查看按钮操作
handleViewDetails(row) { handleViewDetails(row) {
this.$router.push({ this.$router.push({
path: "/memberManagement/addIntegrationRuleOperation", path: "/member/memberManagement/addIntegrationRuleOperation",
query: { id: row.id, pageStatus: "view" }, query: { id: row.id, pageStatus: "view" },
}); });
}, },
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<el-button <el-button
type="text" type="text"
@click="$router.push( @click="$router.push(
{path:'/memberManagement/integralRecord', {path:'/member/memberManagement/integralRecord',
query: {memberCode:row.memberCode} query: {memberCode:row.memberCode}
})" })"
>{{ row.holdScore }}</el-button >{{ row.holdScore }}</el-button
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button
type="text" type="text"
@click="$router.push({path:'/memberManagement/exchangeRecord', @click="$router.push({path:'/member/giftManagement/exchangeRecord',
query: {memberCode:row.memberCode} query: {memberCode:row.memberCode}
})" })"
>{{ row.usedScore }}</el-button >{{ row.usedScore }}</el-button
......
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
goShareDetails(row) { goShareDetails(row) {
if (row.triggerCount != "0") { if (row.triggerCount != "0") {
this.$router.push({ this.$router.push({
path: "/memberManagement/sharingStatisticalDetails", path: "/member/memberManagement/sharingStatisticalDetails",
query: { query: {
id: row.id, id: row.id,
}, },
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
goShareDetails(row) { goShareDetails(row) {
if (row.triggerCount != "0") { if (row.triggerCount != "0") {
this.$router.push({ this.$router.push({
path: "/memberManagement/sharingStatisticalDetails", path: "/member/memberManagement/sharingStatisticalDetails",
query: { query: {
id: row.id, id: row.id,
}, },
......
...@@ -1074,7 +1074,7 @@ export default { ...@@ -1074,7 +1074,7 @@ export default {
methods: { methods: {
handleViewRecord(row) { handleViewRecord(row) {
this.$router.push({ this.$router.push({
path: '/memberManagement/exchangeRecordOperation', path: '/member/memberManagement/exchangeRecordOperation',
query: { exchangeRewardID: row.id, pageStatus: 'view' } query: { exchangeRewardID: row.id, pageStatus: 'view' }
}) })
}, },
...@@ -1218,7 +1218,7 @@ export default { ...@@ -1218,7 +1218,7 @@ export default {
}, },
handleExchangeRewards(details) { handleExchangeRewards(details) {
this.$router.push({ this.$router.push({
path: "/memberManagement/exchangeRecordOperation", path: "/member/memberManagement/exchangeRecordOperation",
query: { query: {
memberId: details.userScoreLevelInfo.memberId, memberId: details.userScoreLevelInfo.memberId,
pageStatus: "add", pageStatus: "add",
......
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