提交 2f4fbf80 编写于 作者: guangjun.yang's avatar guangjun.yang

验证是否首次进入

上级 456c992a
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
watch: {}, watch: {},
methods: { methods: {
...mapActions('planManage', ['getPlanList', 'setResidentCrumb', 'setPlanModifyCrumb']), ...mapActions('planManage', ['getPlanList', 'setResidentCrumb', 'setPlanModifyCrumb']),
// 验证是否首次进入 // 验证是否首次进入 ################
isFirstEnter() { isFirstEnter() {
// getIsFirstEnter().then((res) => { // getIsFirstEnter().then((res) => {
getVerifyStatus().then((res) => { getVerifyStatus().then((res) => {
...@@ -206,6 +206,7 @@ ...@@ -206,6 +206,7 @@
init() { init() {
getVerifyStatus().then((res) => { getVerifyStatus().then((res) => {
if(res.code === '000000') { if(res.code === '000000') {
// 验证是否首次进入 ################
this.isFirstEnter() this.isFirstEnter()
// this.search(1); // this.search(1);
}else if(res.code === '200008'){ }else if(res.code === '200008'){
......
...@@ -153,6 +153,8 @@ ...@@ -153,6 +153,8 @@
]) ])
}, },
created() { created() {
// 验证是否首次进入 ################
// this.init();
this.search(1); this.search(1);
}, },
mounted() {}, mounted() {},
......
...@@ -205,6 +205,9 @@ ...@@ -205,6 +205,9 @@
}, },
mounted() { mounted() {
// 验证是否首次进入 ################
// this.init();
if(this.$route.query.planName && this.$route.query.appointTime && this.$route.query.status) { if(this.$route.query.planName && this.$route.query.appointTime && this.$route.query.status) {
this.searchData.planName = this.$route.query.planName; this.searchData.planName = this.$route.query.planName;
this.searchData.planTimes = [this.$route.query.appointTime,this.$route.query.appointTime]; this.searchData.planTimes = [this.$route.query.appointTime,this.$route.query.appointTime];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册