浏览代码

部分配置

zhengkaixin 4 年之前
父节点
当前提交
7262c8e5a5
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. 12 0
      src/apis/weixin.js
  2. 1 1
      src/projects/business/router/master.js

+ 12 - 0
src/apis/weixin.js

@@ -18,3 +18,15 @@ export function getDataByOpenId(params) {
 		method: 'post',
 		method: 'post',
 	})
 	})
 }
 }
+
+//获得配置
+export function getConfig() {
+	
+	return request({
+		url: '/wechat/getConfig'  ,
+		data: Qs.stringify({
+			url:escape(location.href.split('#')[0])
+		}),
+		method: 'post',
+	})
+}

+ 1 - 1
src/projects/business/router/master.js

@@ -329,7 +329,7 @@ const routesMaster = [
 						meta: {
 						meta: {
 							requireAuth: false,
 							requireAuth: false,
 							role: [],
 							role: [],
-							title: '考勤详情',
+							title: '考勤补卡详情',
 						}
 						}
 					},
 					},
 					//考勤补卡申请
 					//考勤补卡申请