mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
Compare commits
1 Commits
250422-bug
...
boe104_goo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98c891bc23 |
171
package-lock.json
generated
171
package-lock.json
generated
@@ -1877,18 +1877,63 @@
|
||||
"webpack-merge": "^4.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"big.js": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
|
||||
"integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"emojis-list": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",
|
||||
"integrity": "sha512-knHEZMgs8BB+MInokmNTg/OyPlAddghe1YBgNwJBc5zsJi/uyIcXoSDsL/W9ymOsBoBGdPIHXYJ9+qKFwRwDng==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"html-webpack-plugin": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz",
|
||||
@@ -1921,6 +1966,63 @@
|
||||
"json5": "^0.5.0",
|
||||
"object-assign": "^4.0.1"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.8.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
|
||||
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"big.js": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
|
||||
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"emojis-list": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz",
|
||||
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"json5": {
|
||||
"version": "2.2.3",
|
||||
"resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz",
|
||||
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"loader-utils": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
|
||||
"integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"big.js": "^5.2.2",
|
||||
"emojis-list": "^3.0.0",
|
||||
"json5": "^2.1.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -12578,75 +12680,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.8.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
|
||||
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-pdf": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue-pdf/-/vue-pdf-4.3.0.tgz",
|
||||
|
||||
@@ -41,7 +41,7 @@ const formRequest=axios.create({
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -66,7 +66,7 @@ const formRequest=axios.create({
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -30,7 +30,7 @@ const formRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
// baseURL: process.env.VUE_APP_CESOURCE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -43,7 +43,7 @@ const formRequest=axios.create({
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -68,7 +68,7 @@ const formRequest=axios.create({
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err',error)
|
||||
// console.log('err',error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -28,7 +28,7 @@ const jsonRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BOE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
});
|
||||
//发送json对象的拦截器
|
||||
jsonRequest.interceptors.request.use(config => {
|
||||
@@ -39,7 +39,7 @@ jsonRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
})
|
||||
|
||||
@@ -69,7 +69,7 @@ jsonRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
@@ -96,7 +96,7 @@ const formRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BOE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -107,7 +107,7 @@ formRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -132,7 +132,7 @@ formRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -26,7 +26,7 @@ const jsonRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_CESOURCE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
});
|
||||
//发送json对象的拦截器
|
||||
jsonRequest.interceptors.request.use(config => {
|
||||
@@ -37,7 +37,7 @@ jsonRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
})
|
||||
|
||||
@@ -65,7 +65,7 @@ jsonRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
@@ -91,7 +91,7 @@ const formRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_CESOURCE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -102,7 +102,7 @@ formRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -126,7 +126,7 @@ formRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -26,7 +26,7 @@ const jsonRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_STAT_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
});
|
||||
//发送json对象的拦截器
|
||||
jsonRequest.interceptors.request.use(config => {
|
||||
@@ -37,7 +37,7 @@ jsonRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
})
|
||||
|
||||
@@ -65,7 +65,7 @@ jsonRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
@@ -91,7 +91,7 @@ const formRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_STAT_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -102,7 +102,7 @@ formRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -126,7 +126,7 @@ formRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -31,7 +31,7 @@ const formRequest = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
// baseURL: process.env.VUE_APP_CESOURCE_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -44,7 +44,7 @@ formRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -71,7 +71,7 @@ formRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err', error)
|
||||
// console.log('err', error)
|
||||
let {message} = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -29,7 +29,7 @@ export default {
|
||||
created() {
|
||||
this.getBreadcrumb();
|
||||
this.levelList.forEach(function(one){
|
||||
console.log(one);
|
||||
// console.log(one);
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
})
|
||||
}
|
||||
}
|
||||
console.log(item)
|
||||
// console.log(item)
|
||||
|
||||
this.$router.push({path:'/case/detail',query:{id:item.cases.id}})
|
||||
// window.open(`${this.webBaseUrl}/article/detail?id=${item.objId}`)
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
return item.cases.summary;
|
||||
},
|
||||
changeIsAll(item,idx) {
|
||||
console.log(item.isAll)
|
||||
// console.log(item.isAll)
|
||||
item.isAll = !item.isAll;
|
||||
this.$set(this.items, idx, item);
|
||||
},
|
||||
|
||||
@@ -425,28 +425,28 @@ export default {
|
||||
return this.sysTypeMap.get(code);
|
||||
},
|
||||
onPlayerPlay() {
|
||||
console.log("开始播放");
|
||||
// console.log("开始播放");
|
||||
},
|
||||
onPlayerPause() {
|
||||
console.log("暂停");
|
||||
// console.log("暂停");
|
||||
},
|
||||
onPlayerEnded() {
|
||||
console.log("播放结束");
|
||||
// console.log("播放结束");
|
||||
},
|
||||
onPlayerPlaying(itme) {
|
||||
console.log("当前播放" + itme);
|
||||
// console.log("当前播放" + itme);
|
||||
},
|
||||
audioPlaying(item) {
|
||||
console.log("当前播放" + item);
|
||||
// console.log("当前播放" + item);
|
||||
},
|
||||
audioPlay() {
|
||||
console.log("开始播放");
|
||||
// console.log("开始播放");
|
||||
},
|
||||
audioPause() {
|
||||
console.log("暂停");
|
||||
// console.log("暂停");
|
||||
},
|
||||
audioEnd() {
|
||||
console.log("播放结束");
|
||||
// console.log("播放结束");
|
||||
},
|
||||
// 场景过滤
|
||||
sceneFilter(forScene) {
|
||||
@@ -541,7 +541,7 @@ export default {
|
||||
this.tagList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
} else {
|
||||
this.tagList = [];
|
||||
@@ -555,7 +555,7 @@ export default {
|
||||
this.sceneList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
// 教师列标,远程查询
|
||||
|
||||
@@ -462,28 +462,28 @@ export default {
|
||||
return this.sysTypeMap.get(code);
|
||||
},
|
||||
onPlayerPlay(){
|
||||
console.log("开始播放");
|
||||
// console.log("开始播放");
|
||||
},
|
||||
onPlayerPause(){
|
||||
console.log("暂停");
|
||||
// console.log("暂停");
|
||||
},
|
||||
onPlayerEnded(){
|
||||
console.log("播放结束");
|
||||
// console.log("播放结束");
|
||||
},
|
||||
onPlayerPlaying(itme){
|
||||
console.log("当前播放"+itme);
|
||||
// console.log("当前播放"+itme);
|
||||
},
|
||||
audioPlaying(item){
|
||||
console.log("当前播放"+item);
|
||||
// console.log("当前播放"+item);
|
||||
},
|
||||
audioPlay(){
|
||||
console.log("开始播放");
|
||||
// console.log("开始播放");
|
||||
},
|
||||
audioPause(){
|
||||
console.log("暂停");
|
||||
// console.log("暂停");
|
||||
},
|
||||
audioEnd(){
|
||||
console.log("播放结束");
|
||||
// console.log("播放结束");
|
||||
},
|
||||
// 场景过滤
|
||||
sceneFilter(forScene) {
|
||||
@@ -583,7 +583,7 @@ export default {
|
||||
this.tagList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
} else {
|
||||
this.tagList = [];
|
||||
@@ -597,7 +597,7 @@ export default {
|
||||
this.sceneList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
// 教师列标,远程查询
|
||||
|
||||
@@ -284,7 +284,7 @@
|
||||
this.type = 0;
|
||||
},
|
||||
handleChange(val) {
|
||||
console.log(val);
|
||||
// console.log(val);
|
||||
},
|
||||
formatChoose(format) {
|
||||
let text = '';
|
||||
|
||||
@@ -470,13 +470,13 @@
|
||||
}
|
||||
},
|
||||
updateName(value){
|
||||
console.log(value);
|
||||
// console.log(value);
|
||||
if(this.content.id==''){
|
||||
return;
|
||||
}
|
||||
apiCourse.updateContentName({id:this.content.id,name:value}).then(rs=>{
|
||||
if(rs.status!=200){
|
||||
console.log('更新名称失败:'+rs.message);
|
||||
// console.log('更新名称失败:'+rs.message);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
},
|
||||
// 教师列标,远程查询
|
||||
async remoteFindTeacher() {
|
||||
console.log("2222");
|
||||
// console.log("2222");
|
||||
if (this.teacherValues !== '') {
|
||||
this.loading = true;
|
||||
try {
|
||||
|
||||
@@ -1029,7 +1029,7 @@ export default {
|
||||
//this.requireSaveCourse=false;//不需要保存
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
changeTeachers(t) {
|
||||
@@ -1162,7 +1162,7 @@ export default {
|
||||
this.tagList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
} else {
|
||||
this.tagList = [];
|
||||
@@ -1580,7 +1580,7 @@ export default {
|
||||
this.sceneList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
setCurContent(item) {
|
||||
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
}
|
||||
qitems.push(q);
|
||||
});
|
||||
console.log(qitems,'qitems')
|
||||
// console.log(qitems,'qitems')
|
||||
return qitems;
|
||||
},
|
||||
startTest(){
|
||||
@@ -422,7 +422,7 @@ export default {
|
||||
present(){ //提交前处理
|
||||
let $this=this;
|
||||
let score=this.countTest();
|
||||
console.log('score='+score);
|
||||
// console.log('score='+score);
|
||||
if(this.noAnswers.length>0){
|
||||
this.$confirm('还有未答试题,您确定要提交吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
// }, 10000);
|
||||
},
|
||||
noteEdit(note) {
|
||||
console.log(note)
|
||||
// console.log(note)
|
||||
this.isEdit = true;
|
||||
this.mynoteData = note;
|
||||
this.editNodeOpenType = note.openType;
|
||||
|
||||
@@ -164,7 +164,7 @@ export default {
|
||||
change(e) {
|
||||
let file = e.target.files[0]
|
||||
const formData = new FormData()
|
||||
console.log(file,'file');
|
||||
// console.log(file,'file');
|
||||
formData.append('file', file)
|
||||
upload(formData)
|
||||
.then(res => {
|
||||
|
||||
@@ -285,7 +285,7 @@
|
||||
}
|
||||
|
||||
if(hasItem!=null){
|
||||
console.log(hasItem);
|
||||
// console.log(hasItem);
|
||||
this.$message.error('选择的试题重复:'+hasItem.title)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
watch:{
|
||||
has(newVal,oldVal){
|
||||
this.has=newVal;
|
||||
console.log(newVal,oldVal,'测试问题');
|
||||
// console.log(newVal,oldVal,'测试问题');
|
||||
this.hasFollow=newVal;
|
||||
if(newVal!=oldVal && this.auto){
|
||||
this.autoCheck();
|
||||
|
||||
@@ -290,7 +290,7 @@ import apiUser from "@/api/system/user.js";
|
||||
//console.log(this.mypageList,'this.mypageList');
|
||||
$this.getUserData(res.result.list,2);
|
||||
}else{
|
||||
console.log('加载关注我数据错误:'+res.message);
|
||||
// console.log('加载关注我数据错误:'+res.message);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -102,13 +102,13 @@ export default {
|
||||
document.documentElement.scrollTop = 0;
|
||||
},
|
||||
loadProgress(e){
|
||||
console.log(e,'loadProgress');
|
||||
// console.log(e,'loadProgress');
|
||||
},
|
||||
loadedPageHandle(e){
|
||||
this.pdfpage = e;
|
||||
},
|
||||
loadPdfHandle(e){
|
||||
console.log(e,'loadPdfHandle');
|
||||
// console.log(e,'loadPdfHandle');
|
||||
},
|
||||
clickMore(){
|
||||
if(this.totalPages>this.showPages){
|
||||
|
||||
@@ -423,7 +423,7 @@
|
||||
})
|
||||
});
|
||||
}else{
|
||||
console.log('加载用户头像信息:'+res.error);
|
||||
// console.log('加载用户头像信息:'+res.error);
|
||||
//this.$message.error(res.message);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -268,7 +268,7 @@ export default {
|
||||
conType,
|
||||
}
|
||||
apiMessage.save(message).then(res=>{
|
||||
if(res.status!=200){ console.log('发送消息失败') }
|
||||
// if(res.status!=200){ console.log('发送消息失败') }
|
||||
})
|
||||
},
|
||||
checkHas(){
|
||||
@@ -301,7 +301,7 @@ export default {
|
||||
},
|
||||
addPraise(){
|
||||
if(this.type==0){
|
||||
console.log('未设置type值,1表课程,2表文章,3表案例,4表问答,6笔记')
|
||||
// console.log('未设置type值,1表课程,2表文章,3表案例,4表问答,6笔记')
|
||||
return;
|
||||
}
|
||||
//需要判断是否已点赞,已点赞的不再加
|
||||
@@ -359,7 +359,7 @@ export default {
|
||||
}
|
||||
this.$message({message:'取消点赞',type:'success'})
|
||||
}else{
|
||||
console.log('取消失败:'+res.message);
|
||||
// console.log('取消失败:'+res.message);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -430,7 +430,7 @@ export default {
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
}
|
||||
}else{
|
||||
console.log('点赞失败:'+res.message);
|
||||
// console.log('点赞失败:'+res.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -443,7 +443,7 @@ export default {
|
||||
return
|
||||
}
|
||||
if(this.type==0){
|
||||
console.log('未设置type值,1表课程,2表文章,3表案例,4表问答')
|
||||
// console.log('未设置type值,1表课程,2表文章,3表案例,4表问答')
|
||||
return;
|
||||
}
|
||||
//需要判断是否已点赞,已点赞的不再加
|
||||
@@ -479,7 +479,7 @@ export default {
|
||||
this.$message({message:'已取消收藏',type:'success'});
|
||||
//this.$emit('addFavorite',res.result);//添加收藏,如果是true代表添加成功,false代表已存在
|
||||
}else{
|
||||
console.log('取消收藏失败:'+res.message);
|
||||
// console.log('取消收藏失败:'+res.message);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -499,7 +499,7 @@ export default {
|
||||
this.$message({message:'已加入收藏',type:'success'});
|
||||
//this.$emit('addFavorite',res.result);//添加收藏,如果是true代表添加成功,false代表已存在
|
||||
}else{
|
||||
console.log('加入收藏失败:'+res.message);
|
||||
// console.log('加入收藏失败:'+res.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -321,7 +321,7 @@ export default {
|
||||
conType,
|
||||
}
|
||||
apiMessage.save(message).then(res=>{
|
||||
if(res.status!=200){ console.log('发送消息失败') }
|
||||
// if(res.status!=200){ console.log('发送消息失败') }
|
||||
})
|
||||
},
|
||||
checkHas(){
|
||||
@@ -354,7 +354,7 @@ export default {
|
||||
},
|
||||
addPraise(){
|
||||
if(this.type==0){
|
||||
console.log('未设置type值,1表课程,2表文章,3表案例,4表问答,6笔记')
|
||||
// console.log('未设置type值,1表课程,2表文章,3表案例,4表问答,6笔记')
|
||||
return;
|
||||
}
|
||||
//需要判断是否已点赞,已点赞的不再加
|
||||
@@ -412,7 +412,7 @@ export default {
|
||||
}
|
||||
this.$message({message:'取消点赞',type:'success'})
|
||||
}else{
|
||||
console.log('取消失败:'+res.message);
|
||||
// console.log('取消失败:'+res.message);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -483,7 +483,7 @@ export default {
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
}
|
||||
}else{
|
||||
console.log('点赞失败:'+res.message);
|
||||
// console.log('点赞失败:'+res.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -496,7 +496,7 @@ export default {
|
||||
return
|
||||
}
|
||||
if(this.type==0){
|
||||
console.log('未设置type值,1表课程,2表文章,3表案例,4表问答')
|
||||
// console.log('未设置type值,1表课程,2表文章,3表案例,4表问答')
|
||||
return;
|
||||
}
|
||||
//需要判断是否已点赞,已点赞的不再加
|
||||
@@ -532,7 +532,7 @@ export default {
|
||||
this.$message({message:'已取消收藏',type:'success'});
|
||||
//this.$emit('addFavorite',res.result);//添加收藏,如果是true代表添加成功,false代表已存在
|
||||
}else{
|
||||
console.log('取消收藏失败:'+res.message);
|
||||
// console.log('取消收藏失败:'+res.message);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -552,7 +552,7 @@ export default {
|
||||
this.$message({message:'已加入收藏',type:'success'});
|
||||
//this.$emit('addFavorite',res.result);//添加收藏,如果是true代表添加成功,false代表已存在
|
||||
}else{
|
||||
console.log('加入收藏失败:'+res.message);
|
||||
// console.log('加入收藏失败:'+res.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
})
|
||||
});
|
||||
}else{
|
||||
console.log('加载用户头像信息:'+res.error);
|
||||
// console.log('加载用户头像信息:'+res.error);
|
||||
//this.$message.error(res.message);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -245,7 +245,7 @@ export default {
|
||||
},
|
||||
toNeedCourse(){
|
||||
// 需要先切换标签
|
||||
console.log('this.identity='+this.identity);
|
||||
// console.log('this.identity='+this.identity);
|
||||
if(this.identity==5 || this.identity==2){
|
||||
this.$store.dispatch('SetCurIdentity',2);
|
||||
// this.$router.push('/need/course?open=new');
|
||||
|
||||
@@ -187,7 +187,7 @@ export default {
|
||||
},
|
||||
watch:{
|
||||
keywords(newval){
|
||||
console.log(newval,9999);
|
||||
// console.log(newval,9999);
|
||||
if(this.findType == '1'){
|
||||
this.keyword = newval
|
||||
}
|
||||
@@ -209,7 +209,7 @@ export default {
|
||||
this.sex = this.userInfo.sex;
|
||||
this.$store.dispatch('refrashMsg');
|
||||
this.loadBoeData();
|
||||
console.log('this.userInfo::',this.userInfo)
|
||||
// console.log('this.userInfo::',this.userInfo)
|
||||
//this.loadPopupConfig();
|
||||
},
|
||||
methods: {
|
||||
@@ -218,7 +218,7 @@ export default {
|
||||
this.$store.dispatch('SetCurIdentity',iden);
|
||||
},
|
||||
tomy(){
|
||||
console.log('lll')
|
||||
// console.log('lll')
|
||||
},
|
||||
loadBoeData() {
|
||||
if(this.studyTaskCount>0){
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
this.askForm.images=file.result.filePath
|
||||
this.imageShowUrl= this.fileBaseUrl + file.result.filePath;
|
||||
// console.log(this.fileBaseUrl)
|
||||
console.log(file)
|
||||
// console.log(file)
|
||||
},
|
||||
handleRemoveSuccess(file) {
|
||||
this.imageShowUrl=''
|
||||
|
||||
@@ -35,7 +35,7 @@ export default {
|
||||
if (typeof val !== 'string') return
|
||||
const themeCluster = this.getThemeCluster(val.replace('#', ''))
|
||||
const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
|
||||
console.log(themeCluster, originalCluster)
|
||||
// console.log(themeCluster, originalCluster)
|
||||
|
||||
const $message = this.$message({
|
||||
message: ' Compiling the theme',
|
||||
|
||||
@@ -466,10 +466,10 @@ export default {
|
||||
})
|
||||
},
|
||||
handleOpen(key, keyPath) {
|
||||
console.log(key, keyPath);
|
||||
// console.log(key, keyPath);
|
||||
},
|
||||
handleClose(key, keyPath) {
|
||||
console.log(key, keyPath);
|
||||
// console.log(key, keyPath);
|
||||
},
|
||||
toPage(url) {
|
||||
this.$router.push({ path: url });
|
||||
|
||||
@@ -364,12 +364,12 @@ export default {
|
||||
methods: {
|
||||
//当视频由于需要缓冲下一帧而停止,解决一直计时的问题
|
||||
onWaiting(){
|
||||
console.log('触发了onWairing');
|
||||
// console.log('触发了onWairing');
|
||||
this.$emit('onPlayerPause', {})
|
||||
},
|
||||
//当音频/视频在已因缓冲而暂停或停止后已就绪时
|
||||
onPlaying(){
|
||||
console.log('触发缓存结束onPlaying');
|
||||
// console.log('触发缓存结束onPlaying');
|
||||
if(this.videoDom.paused){
|
||||
this.$emit('onPlayerPause', {})
|
||||
}else{
|
||||
@@ -390,7 +390,7 @@ export default {
|
||||
this.isPlaying = true;
|
||||
this.isInit = true;
|
||||
this.$emit('onPlayerPlay', {});//播放(播放时会调用)
|
||||
console.log('播放');
|
||||
// console.log('播放');
|
||||
} else {
|
||||
this.videoDom.pause();
|
||||
this.isPlaying = false;
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
let info = this.barrageList[this.barragedTag];
|
||||
if(info){
|
||||
console.log(info);
|
||||
// console.log(info);
|
||||
if (info.start_time < this.videoDom.currentTime) {
|
||||
// 标记下一条弹幕的索引
|
||||
this.barragedTag++;
|
||||
@@ -101,7 +101,7 @@
|
||||
}
|
||||
}
|
||||
this.barrageList = array;
|
||||
console.log( this.barrageList);
|
||||
// console.log( this.barrageList);
|
||||
});
|
||||
},
|
||||
/* 新建一个弹幕
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
teacherId: {
|
||||
handler(newVal) {
|
||||
if (newVal) {
|
||||
console.log(newVal)
|
||||
// console.log(newVal)
|
||||
this.getCertificationProcess()
|
||||
}
|
||||
}
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
},
|
||||
getCertificationProcess1(){
|
||||
getCertificationProcess({teacherId:this.pid}).then(res=>{
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
let data=res.data
|
||||
if(data.secondResult==0){
|
||||
this.status.secondResult=0
|
||||
|
||||
@@ -85,7 +85,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
toggleSideBar(){
|
||||
console.log(this.aside.collapse);
|
||||
// console.log(this.aside.collapse);
|
||||
this.aside.collapse=!this.aside.collapse;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ router.beforeEach((to, from, next) => {
|
||||
});
|
||||
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
// console.log(err);
|
||||
store.commit('app/SET_INITDATA',false);
|
||||
//如果初始化错误,就不再执行了,不然会一直循环下去
|
||||
next({ path: '/500' })
|
||||
|
||||
@@ -80,7 +80,7 @@ const mutations={
|
||||
sessionStorage.setItem('majorTypeMap',JSON.stringify(res.result));
|
||||
context.commit('setMajorTypeMap', map);
|
||||
} else {
|
||||
console.log('专业分类获取失败!');
|
||||
// console.log('专业分类获取失败!');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ const mutations={
|
||||
sessionStorage.setItem('OrgDomainMap',JSON.stringify(res.result));
|
||||
context.commit('setOrgDomainMap', map);
|
||||
} else {
|
||||
console.log('组织机构获取失败!');
|
||||
// console.log('组织机构获取失败!');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ const mutations={
|
||||
sessionStorage.setItem('resOwnerMap',JSON.stringify(res.result));
|
||||
context.commit('setResOwnerMap', map);
|
||||
} else {
|
||||
console.log('资源归属获取失败!');
|
||||
// console.log('资源归属获取失败!');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ const mutations={
|
||||
sessionStorage.setItem('sysTypeMap',JSON.stringify(res.result));
|
||||
context.commit('setSysTypeMap', map);
|
||||
} else {
|
||||
console.log('内容分类获取失败!');
|
||||
// console.log('内容分类获取失败!');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ const user = {
|
||||
if(res.status==200){
|
||||
commit('SET_Msg',res.result);
|
||||
}else{
|
||||
console.log("读取未读消息失败:"+res.message);
|
||||
// console.log("读取未读消息失败:"+res.message);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -81,7 +81,7 @@ const user = {
|
||||
if(res.status==200){
|
||||
commit('SET_MessagesBeReviewed',res.result);
|
||||
}else{
|
||||
console.log("读取待审核消息失败:"+res.message);
|
||||
// console.log("读取待审核消息失败:"+res.message);
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -90,7 +90,7 @@ const user = {
|
||||
if(res.code==200){
|
||||
commit('SET_StudyTaskCount',res.data.todoTaskCounts);
|
||||
}else{
|
||||
console.log("获取学习任务数失败:"+res.msg);
|
||||
// console.log("获取学习任务数失败:"+res.msg);
|
||||
}
|
||||
})
|
||||
// apiBoeCourse.cmtaskList({page:1,size:1,get_count:1}).then(res=>{
|
||||
|
||||
@@ -10,7 +10,7 @@ const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
timeout: 15000
|
||||
})
|
||||
// request拦截器
|
||||
service.interceptors.request.use(config => {
|
||||
@@ -43,7 +43,7 @@ service.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
})
|
||||
|
||||
@@ -80,7 +80,7 @@ service.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -18,7 +18,7 @@ const init=function(){
|
||||
sessionStorage.setItem('whiteuser-session',data);
|
||||
}
|
||||
}else{
|
||||
console.log('获取白名单错误:'+rs.message);
|
||||
// console.log('获取白名单错误:'+rs.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ jsonRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
})
|
||||
|
||||
@@ -79,7 +79,7 @@ jsonRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
@@ -106,7 +106,7 @@ const formRequest=axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
//超时
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
})
|
||||
//发送json对象的拦截器
|
||||
formRequest.interceptors.request.use(config => {
|
||||
@@ -117,7 +117,7 @@ formRequest.interceptors.request.use(config => {
|
||||
}
|
||||
return config
|
||||
}, error => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
Promise.reject(error)
|
||||
});
|
||||
formRequest.interceptors.response.use(res => {
|
||||
@@ -152,7 +152,7 @@ formRequest.interceptors.response.use(res => {
|
||||
}
|
||||
},
|
||||
error => {
|
||||
console.log('err' + error)
|
||||
// console.log('err' + error)
|
||||
let { message } = error;
|
||||
if (message == "Network Error") {
|
||||
message = "网络异常,请稍后重试";
|
||||
|
||||
@@ -1202,7 +1202,7 @@ export default {
|
||||
this.userHobby.needShow = true;
|
||||
}
|
||||
} else {
|
||||
console.log("兴趣爱好检查失败" + res.message);
|
||||
// console.log("兴趣爱好检查失败" + res.message);
|
||||
}
|
||||
//检查引导页
|
||||
this.checkAndShowGuide();
|
||||
@@ -1311,7 +1311,7 @@ export default {
|
||||
}
|
||||
localStorage.setItem("user-guide-" + this.userInfo.aid, 1);
|
||||
} else {
|
||||
console.log("获取引导页检查失败" + res.message);
|
||||
// console.log("获取引导页检查失败" + res.message);
|
||||
//this.$message.error('')
|
||||
if (this.userHobby.needShow) {
|
||||
this.$refs.userCollection.show();
|
||||
@@ -1453,7 +1453,7 @@ export default {
|
||||
getRecommendList(){
|
||||
apiIndex.getRecommendList(1,3).then((res) => {
|
||||
if(res.code === 200){
|
||||
console.log(res.data.records);
|
||||
// console.log(res.data.records);
|
||||
let courseIds = [];
|
||||
res.data.records.forEach((item) => {
|
||||
item.authorInfo = {
|
||||
@@ -1467,7 +1467,7 @@ export default {
|
||||
courseIds.push(item.id);
|
||||
});
|
||||
this.loadCouserTeacher(res.data.records, courseIds);
|
||||
console.log(res.result,'lalalala');
|
||||
// console.log(res.result,'lalalala');
|
||||
this.recommendedList.list = res.data.records
|
||||
}
|
||||
})
|
||||
@@ -1499,7 +1499,7 @@ export default {
|
||||
courseIds.push(item.id);
|
||||
});
|
||||
this.loadCouserTeacher(res.result, courseIds);
|
||||
console.log(res.result,'lalalala');
|
||||
// console.log(res.result,'lalalala');
|
||||
|
||||
this.courseList.list = res.result;
|
||||
//this.couname = res.result.list.name;
|
||||
@@ -1510,7 +1510,7 @@ export default {
|
||||
|
||||
// }
|
||||
} else {
|
||||
console.log("加载课程信息失败:" + res.error);
|
||||
// console.log("加载课程信息失败:" + res.error);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1561,7 +1561,7 @@ export default {
|
||||
}
|
||||
// this.caseList.list = res.result;
|
||||
} else {
|
||||
console.log("加载案例错误:" + res.error);
|
||||
// console.log("加载案例错误:" + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1586,7 +1586,7 @@ export default {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
console.log("加载用户信息失败:" + res.error);
|
||||
// console.log("加载用户信息失败:" + res.error);
|
||||
//this.$message.error(res.message);
|
||||
}
|
||||
});
|
||||
@@ -1618,7 +1618,7 @@ export default {
|
||||
this.loadAuthorInfo(res.result, userIds);
|
||||
}
|
||||
} else {
|
||||
console.log("加载文章错误:" + res.error);
|
||||
// console.log("加载文章错误:" + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1654,7 +1654,7 @@ export default {
|
||||
this.loadAuthorInfo(res.result, userIds);
|
||||
}
|
||||
} else {
|
||||
console.log("加载问答错误:" + res.error);
|
||||
// console.log("加载问答错误:" + res.error);
|
||||
}
|
||||
//console.log(res)
|
||||
});
|
||||
@@ -1710,7 +1710,7 @@ export default {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
console.log("加载用户信息失败:" + res.error);
|
||||
// console.log("加载用户信息失败:" + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1733,7 +1733,7 @@ export default {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
console.log("加载用户信息失败:" + res.error);
|
||||
// console.log("加载用户信息失败:" + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
},
|
||||
methods:{
|
||||
lastTabChange(tab,event){
|
||||
console.log(tab.name);
|
||||
// console.log(tab.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
})
|
||||
},
|
||||
lastTabChange(tab,event){
|
||||
console.log(tab.name);
|
||||
// console.log(tab.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,7 +180,7 @@ export default {
|
||||
let blob = new Blob([res], { type: 'application/vnd.ms-excel;charset=UTF-8' }); // 设置文件类型
|
||||
link.style.display = "none";
|
||||
link.href = URL.createObjectURL(blob); // 创建URL
|
||||
console.log(link.href);
|
||||
// console.log(link.href);
|
||||
link.setAttribute("download", "案例.xls");
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
@@ -203,7 +203,7 @@ export default {
|
||||
id: item.id,
|
||||
excellent: this.excellent
|
||||
}
|
||||
console.log(data)
|
||||
// console.log(data)
|
||||
apiCase.excellent(data).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.$message({
|
||||
@@ -231,7 +231,7 @@ export default {
|
||||
id: item.id,
|
||||
excellent: this.excellent
|
||||
}
|
||||
console.log(data)
|
||||
// console.log(data)
|
||||
apiCase.excellent(data).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.$message({
|
||||
@@ -431,7 +431,7 @@ export default {
|
||||
this.$message({ message: msg, type: 'success', offset: 50 });
|
||||
},
|
||||
handleSelect(item) {
|
||||
console.log(item);
|
||||
// console.log(item);
|
||||
},
|
||||
querySearchAsync(queryString, cb) {
|
||||
let result = queryString ? this.findList.filter(this.createStateFilter(queryString)) : this.findList;
|
||||
|
||||
@@ -440,28 +440,28 @@ export default {
|
||||
return this.resOwnerMap.get(code);
|
||||
},
|
||||
onPlayerPlay() {
|
||||
console.log('开始播放');
|
||||
// console.log('开始播放');
|
||||
},
|
||||
onPlayerPause() {
|
||||
console.log('暂停');
|
||||
// console.log('暂停');
|
||||
},
|
||||
onPlayerEnded() {
|
||||
console.log('播放结束');
|
||||
// console.log('播放结束');
|
||||
},
|
||||
onPlayerPlaying(itme) {
|
||||
console.log('当前播放' + itme);
|
||||
// console.log('当前播放' + itme);
|
||||
},
|
||||
audioPlaying(item) {
|
||||
console.log('当前播放' + item);
|
||||
// console.log('当前播放' + item);
|
||||
},
|
||||
audioPlay() {
|
||||
console.log('开始播放');
|
||||
// console.log('开始播放');
|
||||
},
|
||||
audioPause() {
|
||||
console.log('暂停');
|
||||
// console.log('暂停');
|
||||
},
|
||||
audioEnd() {
|
||||
console.log('播放结束');
|
||||
// console.log('播放结束');
|
||||
},
|
||||
addFile() {
|
||||
this.upload.show = true;
|
||||
@@ -569,7 +569,7 @@ export default {
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
}).catch (error=>{
|
||||
console.log(error,'error')
|
||||
// console.log(error,'error')
|
||||
//this.$message.error(error);
|
||||
});
|
||||
// const { result, status } = coueseFile.saveUpload(data);
|
||||
|
||||
@@ -448,7 +448,7 @@ export default {
|
||||
title:row.name,//课程的名称,
|
||||
top:!row.isTop,// top 是否置顶}
|
||||
}
|
||||
console.log(row.isTop);
|
||||
// console.log(row.isTop);
|
||||
if(row.isTop == false){
|
||||
// console.log('fa')
|
||||
this.$confirm('此操作将置顶此课程, 是否继续?', '提示', {
|
||||
@@ -633,7 +633,7 @@ export default {
|
||||
row.enabled=!row.enabled
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
|
||||
},
|
||||
@@ -782,7 +782,7 @@ export default {
|
||||
this.searchData();
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
|
||||
})
|
||||
@@ -862,7 +862,7 @@ export default {
|
||||
this.searchData();
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
@@ -120,7 +120,7 @@ computed: {
|
||||
},
|
||||
getcaseData(){
|
||||
aipCase.mylist(this.caseData).then(res =>{
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
this.count = res.result.count;
|
||||
this.params = res.result.list
|
||||
})
|
||||
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
this.loading = false;
|
||||
} catch (error) {
|
||||
this.loading = false;
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
@@ -306,7 +306,7 @@ export default {
|
||||
this.getList();
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
@@ -372,7 +372,7 @@ export default {
|
||||
this.$refs.courseForm.initShow(row);
|
||||
},
|
||||
lastTabChange(tab, event) {
|
||||
console.log(tab.name);
|
||||
// console.log(tab.name);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -304,7 +304,7 @@ export default {
|
||||
this.loading = false;
|
||||
} catch (error) {
|
||||
this.loading = false;
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
@@ -220,7 +220,7 @@ export default {
|
||||
this.page.count = result.count;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
@@ -398,7 +398,7 @@ export default {
|
||||
this.question.images=res.result.filePath;
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
// console.log(file, fileList);
|
||||
//需要同时删除已上传的图片,后续完善要加上
|
||||
},
|
||||
beforeRemove(file, fileList) {
|
||||
@@ -536,7 +536,7 @@ export default {
|
||||
// 判断题没有optionList
|
||||
this.question.optionList = [];
|
||||
}
|
||||
console.log(questionData,'llkk')
|
||||
// console.log(questionData,'llkk')
|
||||
examQuestionApi
|
||||
.save(this.question)
|
||||
.then((res) => {
|
||||
|
||||
@@ -829,7 +829,7 @@ export default {
|
||||
$this.postAnswerTime=0;
|
||||
localStorage.removeItem(localKey);
|
||||
}else{
|
||||
console.log('自动记录答卷失败:'+res.message,res.error);
|
||||
// console.log('自动记录答卷失败:'+res.message,res.error);
|
||||
}
|
||||
})
|
||||
}else{
|
||||
|
||||
@@ -598,7 +598,7 @@ export default {
|
||||
}
|
||||
|
||||
if(hasItem!=null){
|
||||
console.log(hasItem);
|
||||
// console.log(hasItem);
|
||||
this.$message.error('选择的试题重复:'+hasItem.title)
|
||||
return
|
||||
}
|
||||
@@ -690,7 +690,7 @@ export default {
|
||||
apiPaper.detail(row.id).then(res=>{
|
||||
if(res.status === 200) {
|
||||
this.viewShowData = JSON.parse(res.result.paperContent);
|
||||
console.log(this.viewShowData,'lll')
|
||||
// console.log(this.viewShowData,'lll')
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
|
||||
@@ -430,7 +430,7 @@ export default {
|
||||
},
|
||||
//直接审核
|
||||
examineData(flag) {
|
||||
console.log('提交')
|
||||
// console.log('提交')
|
||||
let params = {
|
||||
auditId:this.examin.auditId,//审核记录的id
|
||||
from:1,
|
||||
@@ -473,7 +473,7 @@ export default {
|
||||
this.$message.error(message)
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
@@ -228,7 +228,7 @@ export default {
|
||||
this.page.count = result.count;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
viewTopic(row) {
|
||||
|
||||
@@ -250,7 +250,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
downTool(toolInfo) {
|
||||
console.log(toolInfo);
|
||||
// console.log(toolInfo);
|
||||
window.open(`/activityApi/xboe/m/boe/tools/url/download?urlStr=${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}&fileName=${toolInfo.name}`)
|
||||
// toolDown({
|
||||
// urlStr: `${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}`,
|
||||
@@ -269,7 +269,7 @@ export default {
|
||||
},
|
||||
couresreso() {
|
||||
carouselList().then((res) => {
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
const list = res.data.records.map(item => {
|
||||
return {
|
||||
image: item.picPath,
|
||||
@@ -297,7 +297,7 @@ export default {
|
||||
this.gratefulVisible = false
|
||||
},
|
||||
toCourseDetail(item) {
|
||||
console.log(item);
|
||||
// console.log(item);
|
||||
if (item.type == 10) {
|
||||
//console.log("直接进入学习页面");
|
||||
this.$router.push("/course/studyindex?id=" + item.courseId);
|
||||
@@ -317,7 +317,7 @@ export default {
|
||||
pageSize: 8
|
||||
}).then((res) => {
|
||||
if (res.code == 200 && res.data.records.length > 0) {
|
||||
console.log(res.data.records, '之前的');
|
||||
// console.log(res.data.records, '之前的');
|
||||
// res.data.records.map((item) => {
|
||||
// return {
|
||||
// ...item,
|
||||
@@ -326,7 +326,7 @@ export default {
|
||||
// })
|
||||
this.courseList.list = res.data.records;
|
||||
} else {
|
||||
console.log("加载课程信息失败:" + res.error);
|
||||
// console.log("加载课程信息失败:" + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -336,7 +336,7 @@ export default {
|
||||
pageSize: 6,
|
||||
isTop: ''
|
||||
}).then((res) => {
|
||||
console.log(res, '通知');
|
||||
// console.log(res, '通知');
|
||||
if (res.data.records.length <= 3) {
|
||||
this.showNoticeImg = true
|
||||
}
|
||||
@@ -351,7 +351,7 @@ export default {
|
||||
if (result.data.records.length <= 3) {
|
||||
this.showToolImg = true
|
||||
}
|
||||
console.log(result.data.records, '哈哈哈哈');
|
||||
// console.log(result.data.records, '哈哈哈哈');
|
||||
this.courseList.toolList = result.data.records || []
|
||||
})
|
||||
},
|
||||
|
||||
@@ -67,14 +67,14 @@ export default {
|
||||
methods: {
|
||||
getNoticeList() {
|
||||
noticeList(this.params).then((result) => {
|
||||
console.log(result);
|
||||
// console.log(result);
|
||||
const { total, records } = result.data
|
||||
this.total = total
|
||||
this.list = records
|
||||
})
|
||||
},
|
||||
noticeDetail(item) {
|
||||
console.log(item);
|
||||
// console.log(item);
|
||||
this.$router.push('/grateful/noticeDetail?id=' + item.id)
|
||||
},
|
||||
getPic(index) {
|
||||
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
components: { timeShow },
|
||||
mounted() {
|
||||
noticeDataById(this.$route.query.id).then((result) => {
|
||||
console.log(result);
|
||||
// console.log(result);
|
||||
const { content, createName, createTime, name } = result.data
|
||||
this.content = content
|
||||
this.createTime = createTime
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
this.courseList.pageSize = pageSize;
|
||||
},
|
||||
loadData(pindex) {
|
||||
console.log(pindex);
|
||||
// console.log(pindex);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -144,14 +144,14 @@ export default {
|
||||
getCourseData() {
|
||||
courselList(this.param).then((res) => {
|
||||
if (res.code == 200 && res.data.records.length > 0) {
|
||||
console.log(res.data, '之前的');
|
||||
// console.log(res.data, '之前的');
|
||||
res.data.records.forEach(item => {
|
||||
item.name = this.brightenKeyword(item.name, this.param.name);
|
||||
});
|
||||
this.list = res.data.records;
|
||||
this.total = res.data.total
|
||||
} else {
|
||||
console.log("加载课程信息失败:" + res.error);
|
||||
// console.log("加载课程信息失败:" + res.error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
methods: {
|
||||
getTeachersList() {
|
||||
teachersList(this.params).then((result) => {
|
||||
console.log(result);
|
||||
// console.log(result);
|
||||
const { total, records } = result.data
|
||||
this.total = total;
|
||||
this.list = records;
|
||||
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
}
|
||||
},
|
||||
downLoad(toolInfo) {
|
||||
console.log(toolInfo);
|
||||
// console.log(toolInfo);
|
||||
window.open(`/activityApi/xboe/m/boe/tools/url/download?urlStr=${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}&fileName=${toolInfo.name}`)
|
||||
// toolDown({
|
||||
// urlStr: `${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}`,
|
||||
|
||||
@@ -297,8 +297,8 @@
|
||||
}
|
||||
apiAudience.userList(req).then(res => {
|
||||
if (res.status == 200) {
|
||||
console.log("搜索用户信息");
|
||||
console.log(res);
|
||||
// console.log("搜索用户信息");
|
||||
// console.log(res);
|
||||
this.userData = res.result.userInfoList;
|
||||
this.userDataPage.total = res.result.totalPage;
|
||||
this.userDataLoading = false;
|
||||
@@ -344,8 +344,8 @@
|
||||
userItem.departName = this.userSelection[i].departName;
|
||||
userItem.position = this.userSelection[i].duty;
|
||||
this.tableData.push(userItem);
|
||||
console.log(111);
|
||||
console.log(this.tableData);
|
||||
// console.log(111);
|
||||
// console.log(this.tableData);
|
||||
}
|
||||
}
|
||||
this.queryTableData();
|
||||
@@ -467,7 +467,7 @@
|
||||
this.$refs.upload.submit();
|
||||
},
|
||||
uploadSuccess(res){
|
||||
console.log(111);
|
||||
// console.log(111);
|
||||
if(res.status == 200){
|
||||
this.importUserData = res.result;
|
||||
this.importResultStatus = true;
|
||||
@@ -543,7 +543,7 @@
|
||||
this.$message({ type: "success", message: "修改成功",offset:50 });
|
||||
this.$router.push('/manage/ugroups');
|
||||
}else{
|
||||
console.log("更新受众异常");
|
||||
// console.log("更新受众异常");
|
||||
}
|
||||
})
|
||||
|
||||
@@ -573,7 +573,7 @@
|
||||
this.$message({ type: "success", message: "新增成功",offset:50 });
|
||||
this.$router.push('/manage/ugroups');
|
||||
}else{
|
||||
console.log("新增受众异常");
|
||||
// console.log("新增受众异常");
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -297,8 +297,8 @@
|
||||
}
|
||||
apiAudience.userList(req).then(res => {
|
||||
if (res.status == 200) {
|
||||
console.log("搜索用户信息");
|
||||
console.log(res);
|
||||
// console.log("搜索用户信息");
|
||||
// console.log(res);
|
||||
this.userData = res.result.userInfoList;
|
||||
this.userDataPage.total = res.result.totalPage;
|
||||
this.userDataLoading = false;
|
||||
@@ -344,8 +344,8 @@
|
||||
userItem.departName = this.userSelection[i].departName;
|
||||
userItem.position = this.userSelection[i].duty;
|
||||
this.tableData.push(userItem);
|
||||
console.log(111);
|
||||
console.log(this.tableData);
|
||||
// console.log(111);
|
||||
// console.log(this.tableData);
|
||||
}
|
||||
}
|
||||
this.queryTableData();
|
||||
@@ -467,7 +467,7 @@
|
||||
this.$refs.upload.submit();
|
||||
},
|
||||
uploadSuccess(res){
|
||||
console.log(111);
|
||||
// console.log(111);
|
||||
if(res.status == 200){
|
||||
this.importUserData = res.result;
|
||||
this.importResultStatus = true;
|
||||
@@ -545,7 +545,7 @@
|
||||
//this.$router.push('/manage/ugroups');
|
||||
this.$router.push('/iframe/ugroup/manages');
|
||||
}else{
|
||||
console.log("更新受众异常");
|
||||
// console.log("更新受众异常");
|
||||
}
|
||||
})
|
||||
|
||||
@@ -576,7 +576,7 @@
|
||||
//this.$router.push('/manage/ugroups');
|
||||
this.$router.push('/iframe/ugroup/manages');
|
||||
}else{
|
||||
console.log("新增受众异常");
|
||||
// console.log("新增受众异常");
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -472,7 +472,7 @@
|
||||
},
|
||||
deleteTeacher(id){
|
||||
teacherBoeApi.deleteTeacher(id).then(res=>{
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
})
|
||||
},
|
||||
handleSelectionChange(data){
|
||||
@@ -693,7 +693,7 @@
|
||||
}
|
||||
|
||||
teacherBoeApi.updateStatus(param).then(res=>{
|
||||
console.log(res,'res');
|
||||
// console.log(res,'res');
|
||||
})
|
||||
},
|
||||
exportsExcel(){
|
||||
|
||||
@@ -490,7 +490,7 @@ export default {
|
||||
}
|
||||
teacherApi.syncUpdate(param).then(res=>{
|
||||
if(res.status != 200) {
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.$route.query.id,'this.$route.query.id');
|
||||
// console.log(this.$route.query.id,'this.$route.query.id');
|
||||
if(this.$route.query.id){
|
||||
let id=this.$route.query.id;
|
||||
apiArticle.detail(id,false).then(res => {
|
||||
|
||||
@@ -231,7 +231,7 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.dataTime);
|
||||
// console.log(this.dataTime);
|
||||
this.allRequests()
|
||||
},
|
||||
|
||||
@@ -261,7 +261,7 @@ export default {
|
||||
next();
|
||||
},
|
||||
beforeDestroy() {
|
||||
console.log('销毁了');
|
||||
// console.log('销毁了');
|
||||
// 结束时间
|
||||
let recordEndTime = new Date().getTime()
|
||||
this.endTimeRequst(this.resolveId, recordEndTime)
|
||||
@@ -272,7 +272,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
endTimeRequst(caseId, recordEndTime) {
|
||||
console.log(this.dataTime);
|
||||
// console.log(this.dataTime);
|
||||
let time = (recordEndTime - this.dataTime) / 1000 / 60
|
||||
if (time > 10080) {
|
||||
time = 0
|
||||
@@ -550,7 +550,7 @@ export default {
|
||||
let totalTime = Math.round((endTime - startTime) / 1000);
|
||||
this.cumulativeDuration += totalTime
|
||||
if(this.cumulativeDuration <= this.defaultMaxTime){
|
||||
console.log(totalTime,'时长');
|
||||
// console.log(totalTime,'时长');
|
||||
this.sendStudyTime(totalTime)
|
||||
this.secondTime = 60
|
||||
this.sendEventData()
|
||||
|
||||
@@ -542,7 +542,7 @@ export default {
|
||||
list.push(one);
|
||||
}
|
||||
})
|
||||
console.log(list,'计算属性');
|
||||
// console.log(list,'计算属性');
|
||||
|
||||
return list;
|
||||
},
|
||||
@@ -561,7 +561,7 @@ export default {
|
||||
},
|
||||
beforeRouteLeave (to, from, next) {
|
||||
if(to.name !== 'caseDetail'){
|
||||
console.log('我是外')
|
||||
// console.log('我是外')
|
||||
this.queryCondition.pageIndex = 1
|
||||
this.search()
|
||||
// window.location.reload()
|
||||
@@ -573,7 +573,7 @@ export default {
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
if(from.name !== 'caseDetail'){
|
||||
console.log('我是内')
|
||||
// console.log('我是内')
|
||||
}
|
||||
next(vm=>{
|
||||
vm.$nextTick(() => {
|
||||
@@ -664,10 +664,10 @@ export default {
|
||||
history.pushState(null, null, document.URL); //这里有没有都无所谓,最好是有以防万一
|
||||
isBack = true;
|
||||
}
|
||||
console.log(isBack, 'isBack');
|
||||
// console.log(isBack, 'isBack');
|
||||
// Promise.all([apiType.items("org_domain"), apiCase.majorTypes()]).then(rs => {
|
||||
// 90是测试环境,155是生产环境
|
||||
console.log(this.caseType);
|
||||
// console.log(this.caseType);
|
||||
|
||||
Promise.all([apiType.treeList(1,Number(this.caseType ?? 155),1), apiCase.majorTypes()]).then(rs => {
|
||||
if (rs[0].code == 200) {
|
||||
@@ -731,7 +731,7 @@ export default {
|
||||
},
|
||||
beforeDestroy() {
|
||||
// window.removeEventListener("scroll", this.handleScroll);
|
||||
console.log('销毁了');
|
||||
// console.log('销毁了');
|
||||
|
||||
},
|
||||
methods: {
|
||||
@@ -796,14 +796,14 @@ export default {
|
||||
this.treeList = result
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
getYears() {
|
||||
apiCase.caseYears().then(res => {
|
||||
if (res.status == 200) {
|
||||
const { result } = res;
|
||||
console.log(result);
|
||||
// console.log(result);
|
||||
this.caseYears = result.map(year => ({
|
||||
value: year,
|
||||
label: year,
|
||||
@@ -879,7 +879,7 @@ export default {
|
||||
},
|
||||
// 组织领域全部
|
||||
domainall(type) {
|
||||
console.log(this.selectList, 999);
|
||||
// console.log(this.selectList, 999);
|
||||
if (type == 1) {
|
||||
// 清空一下所有的
|
||||
this.domain.forEach(item => {
|
||||
@@ -1050,7 +1050,7 @@ export default {
|
||||
apiCase.queryComments(5).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.Positive = res.result;
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1261,7 +1261,7 @@ export default {
|
||||
children: item.list || []
|
||||
}
|
||||
})
|
||||
console.log(JSON.stringify(this.queryCondition.orgDomainDtos));
|
||||
// console.log(JSON.stringify(this.queryCondition.orgDomainDtos));
|
||||
|
||||
|
||||
|
||||
@@ -1312,7 +1312,7 @@ export default {
|
||||
} else {
|
||||
this.moreState = 3;
|
||||
}
|
||||
console.log(res?.result?.list ,'有没有数据');
|
||||
// console.log(res?.result?.list ,'有没有数据');
|
||||
this.caseList.list = res.result.list
|
||||
this.getCaseUserData(res.result.list);
|
||||
// 给所有的赋值
|
||||
@@ -1322,7 +1322,7 @@ export default {
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
// console.log(err);
|
||||
});
|
||||
|
||||
// await apiCase.queryList(this.queryCondition).then(res => {
|
||||
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
queryId() {
|
||||
console.log(this.$route.query);
|
||||
// console.log(this.$route.query);
|
||||
return this.$route.query.id
|
||||
}
|
||||
},
|
||||
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
queryId() {
|
||||
console.log(this.$route.query);
|
||||
// console.log(this.$route.query);
|
||||
return this.$route.query.id
|
||||
}
|
||||
},
|
||||
|
||||
@@ -684,7 +684,7 @@ export default {
|
||||
this.audiences = rs.result;
|
||||
sessionStorage.setItem(localKey, this.audiences);
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -741,7 +741,7 @@ export default {
|
||||
this.audiences = rs.result;
|
||||
sessionStorage.setItem(localKey, this.audiences);
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
this.search();
|
||||
})
|
||||
@@ -930,7 +930,7 @@ export default {
|
||||
handleOptionClick(item, level, list) {
|
||||
// 线上品牌展示效果
|
||||
this.newData = item.newData;
|
||||
console.log(this.newData);
|
||||
// console.log(this.newData);
|
||||
// 单选,排除法
|
||||
this.oneList.forEach(one => {
|
||||
one.checked = false;
|
||||
@@ -1008,7 +1008,7 @@ export default {
|
||||
},
|
||||
// 无用
|
||||
handleChangeTypes(item) {
|
||||
console.log(item);
|
||||
// console.log(item);
|
||||
//重新计算
|
||||
this.twoList = [];
|
||||
this.threeList = [];
|
||||
@@ -1097,7 +1097,7 @@ export default {
|
||||
// this.search()
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
// 无用
|
||||
@@ -1255,7 +1255,7 @@ export default {
|
||||
this.sceneList = result;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
},
|
||||
loadMore() {
|
||||
@@ -1281,7 +1281,7 @@ export default {
|
||||
let listData = item.replace(Reg, `<span style="color: ${item == keyword ? equalityColor : color};">${keyword}</span>`)
|
||||
const regex = /(.*?)(<span.*?>)(.*?)(<\/span>)(.*)/i;
|
||||
const match = regex.exec(listData);
|
||||
console.log(match);
|
||||
// console.log(match);
|
||||
const contentStart = match[1];
|
||||
const spanTag = match[2];
|
||||
const content = match[3];
|
||||
@@ -1297,7 +1297,7 @@ export default {
|
||||
} else {
|
||||
modifiedStr = contentStart.substring(0, 3)
|
||||
}
|
||||
console.log(modifiedStr);
|
||||
// console.log(modifiedStr);
|
||||
return {
|
||||
name: modifiedStr,
|
||||
title: listData,
|
||||
@@ -1412,14 +1412,14 @@ export default {
|
||||
if (that.course.keyword) {
|
||||
item.name = that.brightenKeyword(item.name, that.course.keyword);
|
||||
item.keywordsActive = that.brightenKeywords(item.keywordsList, that.course.keyword)
|
||||
console.log(item.keywordsActive);
|
||||
// console.log(item.keywordsActive);
|
||||
} else {
|
||||
item.name = item.name;
|
||||
}
|
||||
});
|
||||
console.log(res.result.list,'data')
|
||||
// console.log(res.result.list,'data')
|
||||
this.courseList = res?.result?.list ?? []
|
||||
console.log(this.courseList);
|
||||
// console.log(this.courseList);
|
||||
if (this.newData) {
|
||||
this.courseList = [
|
||||
{
|
||||
|
||||
@@ -541,7 +541,7 @@ export default {
|
||||
this.coursewareInfo.status = 2;
|
||||
this.coursewareInfo.progress = 1;
|
||||
}else{
|
||||
console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -558,7 +558,7 @@ export default {
|
||||
this.coursewareInfo.status = 9;
|
||||
this.coursewareInfo.progress = 100;
|
||||
}else{
|
||||
console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -655,7 +655,7 @@ export default {
|
||||
}
|
||||
apicourseStudy.studyVideoTime(postData).then(rs=>{
|
||||
if(rs.status!=200){
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -695,7 +695,7 @@ export default {
|
||||
}
|
||||
apicourseStudy.studyVideoTime(postData).then(rs=>{
|
||||
if(rs.status!=200){
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -786,7 +786,7 @@ export default {
|
||||
this.coursewareInfo.studyItemId=res.result;
|
||||
this.coursewareInfo.finish = true; //课件内容已学习,记录状态
|
||||
} else {
|
||||
console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -809,7 +809,7 @@ export default {
|
||||
this.appentId=rs.result;
|
||||
studyUtil.clearStudyDuration();//清除本地存储
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -866,7 +866,7 @@ export default {
|
||||
$this.appendStartTime = new Date(); //重置开始时间
|
||||
studyUtil.clearStudyDuration();//清除本地存储
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -486,7 +486,7 @@ export default {
|
||||
//页面只支取一次,所以先直接写在这里面
|
||||
apiCoursePortal.detail(id,true).then(rs => {
|
||||
if (rs.status == 200) {
|
||||
console.log(rs,'2')
|
||||
// console.log(rs,'2')
|
||||
this.courseInfo = rs.result.course;
|
||||
// this.courseInfo.score = this.toScore(rs.result.course.score);
|
||||
if(rs.result.course.tags != '') this.tags = rs.result.course.tags.split(",");
|
||||
@@ -778,8 +778,8 @@ export default {
|
||||
if(author.aid==item.teacherId){
|
||||
item.sex = author.sex;
|
||||
// this.tearsex = item.sex;
|
||||
console.log(this.tearsex)
|
||||
console.log(author.sex,item.sex,'sexs')
|
||||
// console.log(this.tearsex)
|
||||
// console.log(author.sex,item.sex,'sexs')
|
||||
|
||||
// console.log(item.sex)
|
||||
if(author.avatar){
|
||||
|
||||
@@ -343,7 +343,7 @@ export default {
|
||||
})
|
||||
},
|
||||
ctabChange(e) {
|
||||
console.log(e);
|
||||
// console.log(e);
|
||||
},
|
||||
toolsTabChange(e) {
|
||||
|
||||
@@ -377,7 +377,7 @@ export default {
|
||||
videoEnd() {
|
||||
},
|
||||
handleChange(val) {
|
||||
console.log(val);
|
||||
// console.log(val);
|
||||
},
|
||||
addScore(){
|
||||
|
||||
|
||||
@@ -295,10 +295,10 @@ export default {
|
||||
couresreso(){
|
||||
let key = 'qa';
|
||||
apiPlace.detail(key).then(res=>{
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
let lmj = JSON.parse(res.result.content)
|
||||
this.resonimg = lmj[0]
|
||||
console.log(this.resonimg.image)
|
||||
// console.log(this.resonimg.image)
|
||||
})
|
||||
},
|
||||
handleScroll() {
|
||||
|
||||
@@ -458,7 +458,7 @@ export default {
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
// console.log(err);
|
||||
});
|
||||
},
|
||||
getQaUserData(qaList,ids) {
|
||||
|
||||
@@ -383,7 +383,7 @@ export default {
|
||||
|
||||
// 点击案例
|
||||
async goRouter(item) {
|
||||
console.log(item);
|
||||
// console.log(item);
|
||||
apiMessage.updateIsRead([item.id]).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.$store.dispatch('refrashMsg');
|
||||
|
||||
@@ -228,7 +228,7 @@ export default {
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err,'err');
|
||||
// console.log(err,'err');
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: '删除失败'
|
||||
|
||||
@@ -300,7 +300,7 @@
|
||||
if (tab.name == 'course') {
|
||||
this.findCourse();
|
||||
}
|
||||
console.log(tab.name,'tab.name');
|
||||
// console.log(tab.name,'tab.name');
|
||||
if (tab.name == 'case') {
|
||||
this.findCase();
|
||||
}
|
||||
@@ -359,7 +359,7 @@
|
||||
let { pageIndex, pageSize } = this.caseList;
|
||||
let query = { pageIndex, pageSize,keyword:this.keyword,isRead: this.isRead,objType:3};
|
||||
apiShares.myCaseList(query).then(res=>{
|
||||
console.log(res,'res');
|
||||
// console.log(res,'res');
|
||||
if(res.status == 200) {
|
||||
this.caseList.count = res.result.count;
|
||||
this.caseList.list = res.result.list;
|
||||
|
||||
@@ -296,7 +296,7 @@ export default {
|
||||
let uparams=encodeURIComponent('courseId='+item.courseId);
|
||||
this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail¶ms='+uparams);
|
||||
} else {
|
||||
console.log('未识别的来源 '+item.source);
|
||||
// console.log('未识别的来源 '+item.source);
|
||||
}
|
||||
},
|
||||
reset(){
|
||||
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
if (res.status === 200) {
|
||||
this.couresList = res.result.list;
|
||||
this.page.count = res.result.count;
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
// export default steps
|
||||
},
|
||||
ctabChange(e){
|
||||
console.log(e);
|
||||
// console.log(e);
|
||||
},
|
||||
toolsTabChange(e){
|
||||
|
||||
|
||||
@@ -402,7 +402,7 @@ export default {
|
||||
this.contentData.studyItemId=res.result.id;
|
||||
this.contentData.status = 2;//进行中状态
|
||||
}else{
|
||||
console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -422,7 +422,7 @@ export default {
|
||||
this.contentData.status = 9;
|
||||
this.contentData.progress = 100;
|
||||
}else{
|
||||
console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -513,7 +513,7 @@ export default {
|
||||
//console.log('记录播放时间')
|
||||
apiStudy.studyVideoTime(postData).then(rs => {
|
||||
if (rs.status != 200) {
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -553,7 +553,7 @@ export default {
|
||||
//console.log('记录播放时间')
|
||||
apiStudy.studyVideoTime(postData).then(rs => {
|
||||
if (rs.status != 200) {
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -696,7 +696,7 @@ export default {
|
||||
this.contentData.status = 9; //完成
|
||||
this.contentData.studyItemId = res.result; //学习记录id
|
||||
} else {
|
||||
console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
// console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -719,7 +719,7 @@ export default {
|
||||
this.appentId=rs.result;
|
||||
studyUtil.clearStudyDuration();//清除本地存储
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -775,7 +775,7 @@ export default {
|
||||
studyUtil.clearStudyDuration();//清除本地存储
|
||||
//this.appendHandle=setTimeout(function() {$this.appendStudyTime();}, $this.appentInterval);
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -888,7 +888,7 @@ export default {
|
||||
} else if (r.contentType == 62) {
|
||||
// 评估
|
||||
//评估不需要查找,因为内容就是content中
|
||||
console.log('评估处理');
|
||||
// console.log('评估处理');
|
||||
}
|
||||
if(this.contentData.status<2){
|
||||
this.contentData.status=2;//进行中
|
||||
@@ -901,7 +901,7 @@ export default {
|
||||
|
||||
},
|
||||
handleChange(val) {
|
||||
console.log(val);
|
||||
// console.log(val);
|
||||
},
|
||||
loadScorePraiseAndTrample() {
|
||||
//加载是否请过分
|
||||
|
||||
@@ -139,7 +139,7 @@ export default {
|
||||
params: {},
|
||||
headers:{token:getToken(),}
|
||||
}).then((res) => {
|
||||
console.log('111',res.data.result)
|
||||
// console.log('111',res.data.result)
|
||||
// this.porcessData=response.data.data
|
||||
this.porcessData.course=Math.floor(res.data.result.course.total === 0 ? 0: (res.data.result.course.completion/res.data.result.course.total)*100)
|
||||
this.porcessData.project=Math.floor(res.data.result.project.total === 0 ? 0: (res.data.result.project.completion/res.data.result.project.total)*100)
|
||||
|
||||
@@ -501,7 +501,7 @@
|
||||
}
|
||||
treeList.push(treeNode);
|
||||
});
|
||||
console.log(treeList,'treeList')
|
||||
// console.log(treeList,'treeList')
|
||||
return treeList;
|
||||
}
|
||||
},
|
||||
@@ -579,7 +579,7 @@
|
||||
"status": 1 //状态
|
||||
}).then(rs=>{
|
||||
if(rs.status != 200) {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -587,7 +587,7 @@
|
||||
onPlayVideo(contentId,time){
|
||||
//这里需要根据contentId,是否切换到对应的内容的视频的时间
|
||||
//如果 contentId已经不存在,需要提示
|
||||
console.log(contentId,this.contentData.id,'两个内容id');
|
||||
// console.log(contentId,this.contentData.id,'两个内容id');
|
||||
let $this=this;
|
||||
if(this.contentData.id==contentId){
|
||||
this.onPlayerPause()
|
||||
@@ -597,7 +597,7 @@
|
||||
setTimeout(() => {
|
||||
$this.$refs.myVideoPlayer.startPlay(time);
|
||||
}, 10)
|
||||
console.log('开始播放1');
|
||||
// console.log('开始播放1');
|
||||
}else{
|
||||
//通过contentId
|
||||
let toResContent=null;
|
||||
@@ -615,7 +615,7 @@
|
||||
$this.$refs.myVideoPlayer.startPlay(time);
|
||||
}, 10)
|
||||
|
||||
console.log('开始播放2');
|
||||
// console.log('开始播放2');
|
||||
}else{
|
||||
this.$message.error('资源已不存在或更换过,已无法定位');
|
||||
}
|
||||
@@ -1005,7 +1005,7 @@
|
||||
conType:this.courseInfo.type,
|
||||
}
|
||||
apiMessage.save(message).then(res=>{
|
||||
if(res.status!=200){ console.log('发送消息失败') }
|
||||
// if(res.status!=200){ console.log('发送消息失败') }
|
||||
})
|
||||
} else {
|
||||
this.$message.error('点赞失败,请稍后再试');
|
||||
@@ -1208,7 +1208,7 @@
|
||||
//console.log('记录播放时间')
|
||||
apiStudy.studyVideoTime(postData).then(rs => {
|
||||
if (rs.status != 200) {
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1250,7 +1250,7 @@
|
||||
//console.log('记录播放时间')
|
||||
apiStudy.studyVideoTime(postData).then(rs => {
|
||||
if (rs.status != 200) {
|
||||
console.log('记录播放时间错误');
|
||||
// console.log('记录播放时间错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1450,7 +1450,7 @@
|
||||
this.contentData.status = 2; //进行中
|
||||
this.contentData.studyItemId = res.result; //学习记录id
|
||||
} else {
|
||||
console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
// console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1486,7 +1486,7 @@
|
||||
this.contentData.status = 9; //完成
|
||||
this.contentData.studyItemId = res.result; //学习记录id
|
||||
} else {
|
||||
console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
// console.log('记录学习失败:' + res.message + ',' + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -1533,7 +1533,7 @@
|
||||
// this.appendStartTime = new Date();//重新计时
|
||||
// studyUtil.clearStudyDuration(); //清除本地存储
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
let postAppendData = {
|
||||
@@ -1549,7 +1549,7 @@
|
||||
this.appentId = rs.result;
|
||||
studyUtil.clearStudyDuration(); //清除本地存储
|
||||
} else {
|
||||
console.log(rs.message);
|
||||
// console.log(rs.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1662,7 +1662,7 @@
|
||||
this.contentData.status = 9;
|
||||
this.contentData.progress = 100;
|
||||
} else {
|
||||
console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录完成学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1689,7 +1689,7 @@
|
||||
this.contentData.studyItemId = res.result.id;
|
||||
this.contentData.status = 2; //进行中状态
|
||||
} else {
|
||||
console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
// console.log("记录学习失败:" + res.message + "," + res.error);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
mounted() {
|
||||
var $vue=this;
|
||||
survey.detail('').then(rs=>{
|
||||
console.log(rs);
|
||||
// console.log(rs);
|
||||
if(rs.status==200){
|
||||
$vue.tplInfo=rs.result;
|
||||
if(rs.result.paperJson!=null && rs.result.paperJson!=""){
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
methods:{
|
||||
masDeial(){
|
||||
console.log('11')
|
||||
// console.log('11')
|
||||
}
|
||||
},
|
||||
components:{
|
||||
|
||||
@@ -114,12 +114,12 @@
|
||||
// /course/boeframe
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
console.log(val,'sizeval')
|
||||
// console.log(val,'sizeval')
|
||||
this.size = val
|
||||
this.findList()
|
||||
},
|
||||
handleCurrentChange(val) {
|
||||
console.log(val,'pageval')
|
||||
// console.log(val,'pageval')
|
||||
this.page = val
|
||||
this.findList()
|
||||
},
|
||||
|
||||
@@ -706,7 +706,7 @@ export default {
|
||||
})
|
||||
});
|
||||
}else{
|
||||
console.log('加载课程信息失败:'+res.error);
|
||||
// console.log('加载课程信息失败:'+res.error);
|
||||
//this.$message.error(res.message);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -458,7 +458,7 @@ export default {
|
||||
handleCommand(e) {
|
||||
this.courseId = e.courseId;
|
||||
this.courseName = e.courseName;
|
||||
console.log(e,'e');
|
||||
// console.log(e,'e');
|
||||
this.noteData(this.num);
|
||||
},
|
||||
Time(val){
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
}
|
||||
}else{
|
||||
if(num ==1){
|
||||
console.log('笔记保存失败:'+res.message);
|
||||
// console.log('笔记保存失败:'+res.message);
|
||||
}else{
|
||||
this.$message({message: '笔记保存失败:'+res.message,type: 'error',center: true});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user