Commit b161bcee authored by 姬鋆屾's avatar 姬鋆屾

推每日打卡页面改版及考勤汇总添加文字提示;修复页面多次调用接口的问题

parent 88446d6d
...@@ -15,6 +15,18 @@ const baseUrl = process.env.VUE_APP_API_BASE_URL + "/"; ...@@ -15,6 +15,18 @@ const baseUrl = process.env.VUE_APP_API_BASE_URL + "/";
export default { export default {
mounted() { mounted() {
// this.getData(); // this.getData();
// console.log(this.query, "....");
if (!(this.config.search && this.config.search.length)) {
this.getData();
}
// if (
// this.$route.path == "/dept/list" ||
// this.$route.path == "/perform/staff/conf/list" ||
// this.$route.path == "/perform/rules/attend/list" ||
// this.$route.path == "/oper/log/list"
// ) {
// this.getData();
// }
}, },
watch: { watch: {
$route(route) { $route(route) {
......
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