diff --git a/src/router/index.js b/src/router/index.js
index 442c175..ed5e63c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -30,6 +30,10 @@ import Layout from '@/layout'
// 公共路由
export const constantRoutes = [
+ {
+ path: '/',
+ component: () => import('@/views/index2.vue'),
+ },
{
path: '/index',
component: () => import('@/views/index1.vue'),
@@ -37,6 +41,12 @@ export const constantRoutes = [
{
path: '/attendanceCfg',
component: () => import('@/views/project/attendanceConfig/index.vue'),
+ },{
+ path: '/attendanceUser',
+ component: () => import('@/views/project/attendanceWorker/index.vue'),
+ },{
+ path: '/attendanceData',
+ component: () => import('@/views/project/attendance/index.vue'),
},
{
path: '/redirect',
@@ -74,10 +84,7 @@ export const constantRoutes = [
component: () => import('@/views/wxsetting/labourComplaint/index'),
hidden: true
},
- {
- path: '',
- component: () => import('@/views/index_v1'),
- },
+
{
path: '/user',
component: Layout,
diff --git a/src/views/index1.vue b/src/views/index1.vue
index 6bd71d7..22fe530 100644
--- a/src/views/index1.vue
+++ b/src/views/index1.vue
@@ -1,6 +1,11 @@
-
考勤配置
+
+
+
+
+
+
@@ -11,9 +16,14 @@ export default{
},
data(){
- return{}
+ return{
+ src:''
+ }
},
methods:{
+ goUrl(url){
+ this.src=url+"?t="+(+new Date());
+ }
},
created(){}
}
@@ -22,5 +32,11 @@ export default{
diff --git a/src/views/index2.vue b/src/views/index2.vue
new file mode 100644
index 0000000..403fbca
--- /dev/null
+++ b/src/views/index2.vue
@@ -0,0 +1,23 @@
+
+
+ 这是一个测试页面
+
+
+
+
+
+