Commit 5f30332a by jiang'yun

修改问题

parent 828e4992
......@@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register','/hyjl']
const whiteList = ['/login', '/register','/hyjl','/hycg']
router.beforeEach((to, from, next) => {
NProgress.start()
......
......@@ -57,6 +57,11 @@ export const constantRoutes = [
hidden: true
},
{
path: '/hycg',
component: () => import('@/views/hy/hycg/index'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/error/404'),
hidden: true
......
<template>
<div class="app-container" style="padding: 0px;width: 100%">
<el-container>
<!-- <el-header>Header</el-header>-->
<el-main>
<div style="margin-top: 100px">
<img src="@/assets/images/qdcg.png">
<div style="margin-top: 15px; font-weight: bold;font-size: 22px">签到成功</div>
</div>
</el-main>
</el-container>
</div>
</template>
<script>
import Vue from 'vue';
import { listHyjl, getHyjl, delHyjl, addHyjl, updateHyjl } from "@/api/hy/hyjl";
import { listDwxx } from "@/api/hy/dwxx";
import { listRyxx } from "@/api/hy/ryxx";
import { listHydd } from "@/api/hy/hydd";
import { Toast } from 'vant';
Vue.use(Toast);
export default {
name: "Hyjl",
data() {
return {
};
},
created() {
},
methods: {
}
};
</script>
<style>
.el-header, .el-footer {
background-color: #B3C0D1;
color: #333;
text-align: center;
line-height: 60px;
}
.el-aside {
background-color: #D3DCE6;
color: #333;
text-align: center;
line-height: 200px;
}
.el-main {
/*background-color: #E9EEF3;*/
color: #333;
text-align: center;
/*lineheight: 200px;*/
}
body > .el-container {
margin-bottom: 40px;
}
.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
line-height: 260px;
}
.el-container:nth-child(7) .el-aside {
line-height: 320px;
}
</style>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1732158174950" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4396" width="256" height="256" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M414.72 592.213333m-414.72 0a414.72 414.72 0 1 0 829.44 0 414.72 414.72 0 1 0-829.44 0Z" fill="#3BCB84" p-id="4397"></path><path d="M145.408 321.4336h539.306667v539.306667H145.408z" fill-opacity="0" p-id="4398"></path><path d="M343.381333 669.5936l257.706667-259.413333 49.493333 51.2-308.906666 310.613333-162.133334-162.133333 47.786667-56.32z" fill="#FFFFFF" p-id="4399"></path><path d="M762.129067 62.327467l-13.021867 123.904-40.738133-4.283734 13.021866-123.904zM914.090667 160.221867l-96.836267 78.404266-25.770667-31.829333 96.8192-78.404267zM968.123733 307.6608l-123.050666 19.490133-6.4-40.448 123.050666-19.490133z" fill="#3BCB84" p-id="4400"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1732158174950" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4396" width="256" height="256" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M414.72 592.213333m-414.72 0a414.72 414.72 0 1 0 829.44 0 414.72 414.72 0 1 0-829.44 0Z" fill="#3BCB84" p-id="4397"></path><path d="M145.408 321.4336h539.306667v539.306667H145.408z" fill-opacity="0" p-id="4398"></path><path d="M343.381333 669.5936l257.706667-259.413333 49.493333 51.2-308.906666 310.613333-162.133334-162.133333 47.786667-56.32z" fill="#FFFFFF" p-id="4399"></path><path d="M762.129067 62.327467l-13.021867 123.904-40.738133-4.283734 13.021866-123.904zM914.090667 160.221867l-96.836267 78.404266-25.770667-31.829333 96.8192-78.404267zM968.123733 307.6608l-123.050666 19.490133-6.4-40.448 123.050666-19.490133z" fill="#3BCB84" p-id="4400"></path></svg>
\ No newline at end of file
......@@ -222,7 +222,8 @@ export default {
}
}
addHyjl(this.form).then(response => {
Toast.success('签到成功');
// Toast.success('签到成功');
this.$router.push("/hycg")
});
}
}
......
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