Browse Source

这是前缀的修改

master
hongxilin 6 months ago
parent
commit
274f9baa66
  1. BIN
      vue/gold-system/dist.7z
  2. 4
      vue/gold-system/src/router/index.js
  3. 28
      vue/gold-system/src/views/index.vue
  4. 2
      vue/gold-system/src/views/login.vue

BIN
vue/gold-system/dist.7z

4
vue/gold-system/src/router/index.js

@ -4,7 +4,7 @@ const router=createRouter({
history:createWebHashHistory(),
routes:[
{path:'/jtzy/Product/other/test/hwjb/login', name:"login", component:()=>import("../views/login.vue")},
{path:'/jtzy/Product/other/test/hwjb/',redirect:"/login"},
{path:'/',redirect:"/jtzy/Product/other/test/hwjb/login"},
{path:'/jtzy/Product/other/test/hwjb/test',component:()=>import("../views/z.vue")},
{
meta:{requireAuth:true},
@ -25,7 +25,7 @@ const router=createRouter({
// 汇率管理
{path:'/jtzy/Product/other/test/hwjb/rate',component:()=>import("../views/managerecharge/rate.vue")},
// 新增充值
{path:'/addRecharge',component:()=>import("../views/recharge/addRecharge.vue")},
{path:'/jtzy/Product/other/test/hwjb/addRecharge',component:()=>import("../views/recharge/addRecharge.vue")},
// 客户充值明细
{path:'/jtzy/Product/other/test/hwjb/adminRecharge',component:()=>import("../views/recharge/adminRecharge.vue")},
// 所有充值明细

28
vue/gold-system/src/views/index.vue

@ -76,7 +76,7 @@ onMounted(async function () {
@open="handleOpen"
@close="handleClose"
>
<el-menu-item index="/workspace">
<el-menu-item index="/jtzy/Product/other/test/hwjb/workspace">
<el-icon>
<Folder />
</el-icon>
@ -90,8 +90,8 @@ onMounted(async function () {
</el-icon>
<span>财务审核</span>
</template>
<el-menu-item index="/rechargeAudit">充值审核</el-menu-item>
<el-menu-item index="/refundAudit">退款审核</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/rechargeAudit">充值审核</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/refundAudit">退款审核</el-menu-item>
</el-sub-menu>
<el-sub-menu index="3">
@ -101,8 +101,8 @@ onMounted(async function () {
</el-icon>
<span>充值管理</span>
</template>
<el-menu-item index="/activity">活动管理</el-menu-item>
<el-menu-item index="/rate">汇率管理</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/activity">活动管理</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/rate">汇率管理</el-menu-item>
</el-sub-menu>
<el-sub-menu index="4">
@ -112,9 +112,9 @@ onMounted(async function () {
</el-icon>
<span>金币充值</span>
</template>
<el-menu-item index="/addRecharge">新增充值</el-menu-item>
<el-menu-item index="/adminRecharge">客服充值明细</el-menu-item>
<el-menu-item index="/allRecharge">所有充值明细</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/addRecharge">新增充值</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/adminRecharge">客服充值明细</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/allRecharge">所有充值明细</el-menu-item>
</el-sub-menu>
<el-sub-menu index="5">
@ -124,8 +124,8 @@ onMounted(async function () {
</el-icon>
<span>金币消费</span>
</template>
<el-menu-item index="/addConsume">新增消费</el-menu-item>
<el-menu-item index="/allConsume">所有消费明细</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/addConsume">新增消费</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/allConsume">所有消费明细</el-menu-item>
</el-sub-menu>
<el-sub-menu index="6">
@ -135,18 +135,18 @@ onMounted(async function () {
</el-icon>
<span>金币退款</span>
</template>
<el-menu-item index="/addRefund">新增退款</el-menu-item>
<el-menu-item index="/allRefund">退款明细</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/addRefund">新增退款</el-menu-item>
<el-menu-item index="/jtzy/Product/other/test/hwjb/allRefund">退款明细</el-menu-item>
</el-sub-menu>
<el-menu-item index="/usergold">
<el-menu-item index="/jtzy/Product/other/test/hwjb/usergold">
<el-icon>
<Folder />
</el-icon>
客户金币明细
</el-menu-item>
<el-menu-item index="/usergoldInfo">
<el-menu-item index="/jtzy/Product/other/test/hwjb/usergoldInfo">
<el-icon>
<Folder />
</el-icon>

2
vue/gold-system/src/views/login.vue

@ -21,7 +21,7 @@ const login = async function () {
);
if (result.data.code == 200) {
localStorage.setItem("token", result.data.msg);
router.push("/workspace");
router.push("/jtzy/Product/other/test/hwjb/workspace");
ElMessage.success("登录成功");
console.log("请求成功", result);
} else {

Loading…
Cancel
Save