|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |    <div class="empty-main" v-if="emptyCon">
 | 
	
		
			
				|  |  |      <img :src="emptyCon.url" class="empty-img" />
 | 
	
		
			
				|  |  |      <p class="empty-texts">{{ emptyCon.con }}</p>
 | 
	
		
			
				|  |  | -    <a class="empty-link" :href="emptyCon.link" target="_blank">{{
 | 
	
		
			
				|  |  | +    <a class="empty-link" target="_blank" @click="choiceCourse">{{
 | 
	
		
			
				|  |  |        emptyCon.linkName
 | 
	
		
			
				|  |  |      }}</a>
 | 
	
		
			
				|  |  |    </div>
 | 
	
	
		
			
				|  | @@ -37,6 +37,7 @@ export default {
 | 
	
		
			
				|  |  |              url: require("../../assets/Personalcenter/2.png"),
 | 
	
		
			
				|  |  |              con: this.$t("Key464"), // "您还未购买任何教材",
 | 
	
		
			
				|  |  |              linkName: this.$t("Key465"), //"去查看",
 | 
	
		
			
				|  |  | +            child_sys_key: "GCLS-LC",
 | 
	
		
			
				|  |  |              link: `/GCLS-LC/#/learncenter/ListPage?id=TEXTBOOK`,
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            break;
 | 
	
	
		
			
				|  | @@ -45,6 +46,7 @@ export default {
 | 
	
		
			
				|  |  |              url: require("../../assets/Personalcenter/2.png"),
 | 
	
		
			
				|  |  |              con: this.$t("Key70"), //"您还未购买任何课程",
 | 
	
		
			
				|  |  |              linkName: this.$t("Key71"), //"去选课",
 | 
	
		
			
				|  |  | +            child_sys_key: "GCLS-LC",
 | 
	
		
			
				|  |  |              link: `/GCLS-LC/#/learncenter/ListPage?id=COURSE`,
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            break;
 | 
	
	
		
			
				|  | @@ -53,6 +55,7 @@ export default {
 | 
	
		
			
				|  |  |              url: require("../../assets/Personalcenter/2.png"),
 | 
	
		
			
				|  |  |              con: this.$t("Key70"), //"您还未购买任何课程",
 | 
	
		
			
				|  |  |              linkName: this.$t("Key71"), //"去选课",
 | 
	
		
			
				|  |  | +            child_sys_key: "GCLS-TRC",
 | 
	
		
			
				|  |  |              link: `/GCLS-TRC/#/EnterSys`,
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            break;
 | 
	
	
		
			
				|  | @@ -61,6 +64,7 @@ export default {
 | 
	
		
			
				|  |  |              url: require("../../assets/Personalcenter/3.png"),
 | 
	
		
			
				|  |  |              con: this.$t("Key466"), //"您还未购买任何资料",
 | 
	
		
			
				|  |  |              linkName: this.$t("Key465"), //"去查看",
 | 
	
		
			
				|  |  | +            child_sys_key: "GCLS-TC",
 | 
	
		
			
				|  |  |              link: `/GCLS-TC/#/EnterSys`,
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            break;
 | 
	
	
		
			
				|  | @@ -150,6 +154,24 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        return obj;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    choiceCourse() {
 | 
	
		
			
				|  |  | +      let MethodName = "login_control-IsCanEnterChildSys_PC";
 | 
	
		
			
				|  |  | +      let data = {
 | 
	
		
			
				|  |  | +        child_sys_key: this.emptyCon.child_sys_key,
 | 
	
		
			
				|  |  | +      };
 | 
	
		
			
				|  |  | +      getContent(MethodName, data).then((res) => {
 | 
	
		
			
				|  |  | +        let is_can_enter_child_sys = res.is_can_enter_child_sys;
 | 
	
		
			
				|  |  | +        if (is_can_enter_child_sys == "true") {
 | 
	
		
			
				|  |  | +          window.location.href = this.emptyCon.link;
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +          this.$message({
 | 
	
		
			
				|  |  | +            showClose: true,
 | 
	
		
			
				|  |  | +            message: "您没有权限",
 | 
	
		
			
				|  |  | +            type: "warning",
 | 
	
		
			
				|  |  | +          });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    //生命周期 - 创建完成(可以访问当前this实例)
 | 
	
		
			
				|  |  |    created() {},
 |