|
@@ -18,7 +18,7 @@
|
|
|
<div class="client-container">
|
|
|
<div class="course-made-content">
|
|
|
<p>企业需要定制适合自己的个性化课程,将隐性、零散的企业知识显性化和系统化,使企业多年积累的经验得以有效沉淀和传承。栋科创建12年,凭借创新的技术、高效的服务响应和强大的战略执行,为客户打造专业优质的课程定制服务</p>
|
|
|
- <a>申请方案</a>
|
|
|
+ <a @click="applyFun">申请方案</a>
|
|
|
</div>
|
|
|
<img :src="courseMadeImg" alt="课程定制开发">
|
|
|
</div>
|
|
@@ -141,6 +141,8 @@
|
|
|
style="margin-left: 10px;">您的手机号将作为手机端账号使用,未经授权不会主动公开,请放心</span>
|
|
|
</p>
|
|
|
<p class="tips-p">每个手机号只能绑定一个账号</p>
|
|
|
+
|
|
|
+ <div @click="dialogSave">申请方案</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
@@ -227,9 +229,7 @@
|
|
|
fotterText:'以视频的形式表现出要授予的课程内容',
|
|
|
title:'视频类E-Learning课程',
|
|
|
},
|
|
|
-
|
|
|
//微课程
|
|
|
-
|
|
|
{
|
|
|
url:'https://1251882694.vod2.myqcloud.com/51d57535vodtransgzp1251882694/9f25da7a5285890792886164670/v.f30.mp4',
|
|
|
fotterText:'是通过图片发布文字信息的一种形式',
|
|
@@ -322,16 +322,34 @@
|
|
|
this.sliderFun();
|
|
|
},
|
|
|
|
|
|
- saveTelword(){
|
|
|
+ dialogSave(){
|
|
|
+ this.$refs.ruleTelForm.validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ // 请求后台
|
|
|
+ const options = {
|
|
|
+ phone: this.telChangeDate.tel,
|
|
|
+ code: this.telChangeDate.verification,
|
|
|
+ };
|
|
|
+
|
|
|
+ this.$axios.$post('/develop/add',options).then(res=>{
|
|
|
+ if (res.code === 0 && res.data) {
|
|
|
+ this.telDl = false;
|
|
|
+ this.$message.success('申请成功');
|
|
|
+ } else {
|
|
|
+ this.$message.error('申请失败');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
delDlClose(){
|
|
|
this.telDl =false
|
|
|
- setTimeout(()=>{
|
|
|
- __nc.reset();
|
|
|
- },100)
|
|
|
+ this.$refs.ruleTelForm.resetFields();
|
|
|
+ __nc.reset();
|
|
|
+
|
|
|
|
|
|
},
|
|
|
|
|
@@ -371,6 +389,7 @@
|
|
|
// 滑块
|
|
|
sliderFun() {
|
|
|
const nc_token = [this.appKey, (new Date()).getTime(), Math.random()].join(':');
|
|
|
+ console.log(nc_token);
|
|
|
const NC_Opt = {
|
|
|
//声明滑动验证需要渲染的目标元素ID。
|
|
|
renderTo: '#your-dom-id',
|
|
@@ -413,6 +432,7 @@
|
|
|
appkey: NC_Opt.appkey,
|
|
|
scene: NC_Opt.scene,
|
|
|
});
|
|
|
+ console.log( this.sliderData);
|
|
|
},
|
|
|
};
|
|
|
let date11 = () => {
|
|
@@ -460,7 +480,34 @@
|
|
|
},
|
|
|
// 验证码
|
|
|
checkVerification() {
|
|
|
-
|
|
|
+ if (this.sliderData.appkey === undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.$axios.$post(`/develop/exists`,{ phone: this.telChangeDate.tel}).then(res=>{
|
|
|
+
|
|
|
+ if (res.code === 0 && res.data) {
|
|
|
+
|
|
|
+ let req = {
|
|
|
+ 'appkey': this.sliderData.appkey,
|
|
|
+ 'phone': this.telChangeDate.tel,
|
|
|
+ 'scene': this.sliderData.scene,
|
|
|
+ 'sessionid': this.sliderData.csessionid,
|
|
|
+ 'sig': this.sliderData.sig,
|
|
|
+ 'token': this.sliderData.token,
|
|
|
+ 'type': 0,
|
|
|
+ }
|
|
|
+ this.$axios.$post('/sendCode',req).then(res=>{
|
|
|
+ if (res.code === 0 && res.data) {
|
|
|
+ this.setTime();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ debugger;
|
|
|
+ this.$message.error('手机号已存在');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
|