Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
publich5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
xuyanwei
publich5
Commits
6d8fde7e
提交
6d8fde7e
authored
8月 10, 2020
作者:
zhengyadong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除console
上级
1cfbc7a8
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
0 行增加
和
55 行删除
+0
-55
header.vue
src/components/header.vue
+0
-1
input.vue
src/components/practice/input.vue
+0
-2
pMultiple.vue
src/components/practice/pMultiple.vue
+0
-3
global.js
src/utils/global.js
+0
-1
request.js
src/utils/request.js
+0
-1
index.vue
src/views/business/index.vue
+0
-2
pdf.vue
src/views/business/pdf.vue
+0
-4
index.vue
src/views/changeUnit/index.vue
+0
-5
index.vue
src/views/collection/index.vue
+0
-2
index.vue
src/views/completion/index.vue
+0
-2
index.vue
src/views/courseware/index.vue
+0
-1
index.vue
src/views/login/index.vue
+0
-1
match.vue
src/views/moonMatch/match.vue
+0
-1
oldView.vue
src/views/moonMatch/oldView.vue
+0
-5
oldmatch.vue
src/views/moonMatch/oldmatch.vue
+0
-1
viewMatch.vue
src/views/moonMatch/viewMatch.vue
+0
-1
viewMatchReport.vue
src/views/moonMatch/viewMatchReport.vue
+0
-1
integral.vue
src/views/my/integral.vue
+0
-2
index.vue
src/views/play/index.vue
+0
-10
detail.vue
src/views/wrongBook/detail.vue
+0
-9
没有找到文件。
src/components/header.vue
浏览文件 @
6d8fde7e
...
...
@@ -19,7 +19,6 @@
return
{}
},
created
()
{
console
.
log
(
this
.
$route
.
meta
==
{})
},
watch
:
{},
methods
:
{
...
...
src/components/practice/input.vue
浏览文件 @
6d8fde7e
...
...
@@ -44,11 +44,9 @@ export default {
},
methods
:{
handleInput
(
e
){
// console.log(e.target.value)
this
.
$emit
(
'input'
,
e
.
target
.
value
)
},
handleChange
(
e
){
// console.log(e.target.value)
this
.
$emit
(
'change'
,
e
.
target
.
value
)
},
}
...
...
src/components/practice/pMultiple.vue
浏览文件 @
6d8fde7e
...
...
@@ -130,9 +130,6 @@ export default {
this
.
activeName
=
[]
},
choiseSelect
(
name
){
console
.
log
(
this
.
activeName
,
222
);
if
(
!
Array
.
isArray
(
this
.
activeName
)){
this
.
activeName
=
this
.
activeName
.
replace
(
/,/g
,
''
).
split
(
''
)
}
...
...
src/utils/global.js
浏览文件 @
6d8fde7e
...
...
@@ -23,7 +23,6 @@ export const downloadPath = 'download'
export
const
uploadPath
=
'upload'
export
const
downText
=
function
(
link
){
console
.
log
(
`
${
process
.
env
.
BASE_API
}
/file/file/download/
${
link
}
`
,
22222222
);
window
.
open
(
`
${
process
.
env
.
BASE_API
}
/file/file/download/
${
link
}
`
,
'_blank'
)
}
export
const
videoUrl
=
function
(
link
){
...
...
src/utils/request.js
浏览文件 @
6d8fde7e
...
...
@@ -37,7 +37,6 @@ service.interceptors.response.use(
return
response
},
error
=>
{
// console.log('err' + error)// for debug
Message
({
message
:
'网络错误'
,
type
:
'error'
,
...
...
src/views/business/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -133,7 +133,6 @@
},
activated
()
{
console
.
log
(
121212
)
if
(
!
this
.
$route
.
meta
.
isBack
||
this
.
isFirstEnter
)
{
this
.
list
=
[];
// 把数据清空,可以稍微避免让用户看到之前缓存的数据
// 如果isBack是false,表明需要获取新数据,否则就不再请求,直接使用缓存的数据
...
...
@@ -147,7 +146,6 @@
this
.
listQuery
.
diyTypeCode
=
this
.
$route
.
query
.
code
;
this
.
showName
=
this
.
$route
.
query
.
showName
;
this
.
getList
();
// console.log(this.$route.meta.isBack,this.isFirstEnter,'this')
}
// 恢复成默认的false,避免isBack一直是true,导致下次无法获取数据
this
.
$route
.
meta
.
isBack
=
false
...
...
src/views/business/pdf.vue
浏览文件 @
6d8fde7e
...
...
@@ -76,7 +76,6 @@ export default {
getIntegralAPI
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
resolve
(
res
.
data
.
data
)
console
.
log
(
res
.
data
.
data
,
2222
);
}
else
{
reject
(
res
.
data
.
msg
)
}
...
...
@@ -94,9 +93,7 @@ export default {
getExceedAPI
(
obj
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
resolve
(
res
.
data
.
data
)
console
.
log
(
res
.
data
.
data
,
33333
);
}
else
{
console
.
log
(
res
.
data
.
msg
,
33333
);
// reject(res.data.msg)
}
}).
catch
(
err
=>
{
...
...
@@ -117,7 +114,6 @@ export default {
},
5
*
60
*
1000
)
console
.
log
(
res
.
data
.
data
,
'学习记录'
);
}
else
{
console
.
log
(
res
.
data
.
msg
,
33333
);
}
})
},
...
...
src/views/changeUnit/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -148,7 +148,6 @@
getAreaTreeList
(){
//省市区
getAreaTreeAPI
().
then
(
res
=>
{
console
.
log
(
1212
,
res
.
data
)
if
(
res
.
data
.
status
){
this
.
addressData
=
res
.
data
.
data
;
...
...
@@ -156,7 +155,6 @@
})
},
onConfirmUnit
(
value
,
index
){
console
.
log
(
'单位名称'
,
value
);
this
.
unit
.
name
=
value
.
name
;
this
.
saveFn
(
1
);
},
...
...
@@ -190,7 +188,6 @@
if
(
data
.
reserve3
!=
''
&&
data
.
reserve3
){
data
.
reserve3
=
new
Date
().
getFullYear
()
-
Number
(
this
.
userMssage
.
reserve3
)
+
1
;
}
console
.
log
(
data
)
saveUsermessageAPI
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
status
){
this
.
curShow
=
null
;
...
...
@@ -205,7 +202,6 @@
},
changeAdd
(
i
,
n
){
/*debugger*/
console
.
log
(
'所在地区'
,
i
,
n
)
if
(
n
.
length
>
0
){
this
.
unit
.
province
=
n
[
0
];
this
.
unit
.
city
=
n
[
1
];
...
...
@@ -215,7 +211,6 @@
},
saveAddress
(
i
,
n
){
console
.
log
(
'点击完成'
,
this
.
value
)
this
.
saveFn
(
3
);
},
cityChecked
(){},
...
...
src/views/collection/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -66,8 +66,6 @@
})
},
toView
(
item
){
console
.
log
(
item
,
1
);
// Toast.fail('功能开发中')
this
.
$router
.
push
({
name
:
'myCollectionDetail'
,
query
:{
id
:
item
.
code
,
type
:
'coll'
}})
...
...
src/views/completion/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -133,7 +133,6 @@
},
created
()
{
if
(
this
.
$route
.
query
.
type
==
'edit'
){
console
.
log
(
this
.
$route
.
meta
);
this
.
$route
.
meta
.
title
=
'修改个人信息'
;
}
this
.
curYear
=
new
Date
().
getFullYear
()
-
100
;
...
...
@@ -151,7 +150,6 @@
watch
:
{
'user.realName'
(
n
,
o
){
if
(
this
.
user
.
realName
==
''
){
console
.
log
(
'监听年龄'
);
this
.
isRealname
=
true
;
}
else
{
this
.
isRealname
=
false
;
...
...
src/views/courseware/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -150,7 +150,6 @@
code
:
null
},
this
.
getList
(
1
);
// console.log(this.$route.meta.isBack,this.isFirstEnter,'this')
}
// 恢复成默认的false,避免isBack一直是true,导致下次无法获取数据
this
.
$route
.
meta
.
isBack
=
false
...
...
src/views/login/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -131,7 +131,6 @@
},
methods
:
{
getImgCode
()
{
console
.
log
()
getImgCodeAPI
().
then
(
res
=>
{
if
(
res
.
data
.
img
)
{
this
.
img
=
res
.
data
.
img
;
...
...
src/views/moonMatch/match.vue
浏览文件 @
6d8fde7e
...
...
@@ -247,7 +247,6 @@ export default {
this
.
createPaperId
=
result
.
testPaperId
this
.
getDetail
(
result
.
status
,
result
.
endTime
)
}
catch
(
error
)
{
console
.
log
(
error
,
'error'
);
}
}
},
...
...
src/views/moonMatch/oldView.vue
浏览文件 @
6d8fde7e
...
...
@@ -250,10 +250,6 @@ export default {
},
// 动态渲染组件
_showCom
(
currentObj
){
console
.
log
(
currentObj
.
questionType
);
console
.
log
(
this
.
componentType
[
currentObj
.
questionType
]);
this
.
componentName
=
this
.
componentType
[
currentObj
.
questionType
]
},
...
...
@@ -298,7 +294,6 @@ export default {
this
.
rightAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
1
)
this
.
userAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
2
)
this
.
currentStatus
[
answer
]
+=
num
console
.
log
(
this
.
userAns
,
this
.
rightAns
,
'this.userAns == this.rightAns'
)
},
_filterAnswer
(
userAns
,
rightAns
){
...
...
src/views/moonMatch/oldmatch.vue
浏览文件 @
6d8fde7e
...
...
@@ -357,7 +357,6 @@ export default {
// 根据题目类型来确定渲染内容
_showDetail
(
startIndex
){
// startIndex 0 代表大题,1代表小题
let
currentObj
=
this
.
currentObj
console
.
log
(
this
,
'thisthisthis'
);
if
(
currentObj
.
questionType
===
5
||
currentObj
.
questionType
===
6
){
let
list
=
this
.
childrenList
=
this
.
currentObj
.
children
...
...
src/views/moonMatch/viewMatch.vue
浏览文件 @
6d8fde7e
...
...
@@ -437,7 +437,6 @@ export default {
}
}
})
console
.
log
(
this
.
currentIndex
,
this
.
currentObj
,
'当前对象'
);
},
delData
(){
this
.
list
.
splice
(
this
.
currentIndex
,
1
)
...
...
src/views/moonMatch/viewMatchReport.vue
浏览文件 @
6d8fde7e
...
...
@@ -113,7 +113,6 @@ export default {
this
.
$router
.
push
({
name
:
'moonMatch'
})
},
view
(){
console
.
log
(
111
);
this
.
$router
.
push
({
name
:
'viewMatch'
,
query
:{
id
:
this
.
id
,
type
:
'match'
}})
},
doAgain
()
{
...
...
src/views/my/integral.vue
浏览文件 @
6d8fde7e
...
...
@@ -106,10 +106,8 @@ export default {
},
// 获取积分规则
getIntegral
(){
console
.
log
(
2222
);
getIntegralAPI
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
console
.
log
(
res
.
data
.
data
,
2222
);
this
.
integralInfo
=
res
.
data
.
data
}
else
{
}
...
...
src/views/play/index.vue
浏览文件 @
6d8fde7e
...
...
@@ -45,23 +45,18 @@ import { log } from 'util';
async
saveStudy
(){
// 查询积分规则
console
.
log
(
1
);
let
result
=
await
this
.
getIntegral
()
let
time
=
Number
(
result
[
1
]
&&
result
[
1
].
value
||
1
)
console
.
log
(
result
,
1
);
// 查询是否已经达到最大积分
let
res1
=
await
this
.
getExceed
()
console
.
log
(
res1
,
221
);
if
(
!
res1
)
{
this
.
learnTime
=
setInterval
(()
=>
{
this
.
saveLearn
()
},
5
*
60
*
1000
)
return
}
console
.
log
(
12
);
// 保存学习记录
this
.
time
=
setTimeout
(()
=>
{
console
.
log
(
1222
);
this
.
saveLearnRecord
()
},
time
*
60
*
1000
)
},
...
...
@@ -71,7 +66,6 @@ import { log } from 'util';
getIntegralAPI
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
resolve
(
res
.
data
.
data
)
console
.
log
(
res
.
data
.
data
,
2222
);
}
else
{
reject
(
res
.
data
.
msg
)
}
...
...
@@ -89,9 +83,7 @@ import { log } from 'util';
getExceedAPI
(
obj
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
resolve
(
res
.
data
.
data
)
console
.
log
(
res
.
data
.
data
,
33333
);
}
else
{
console
.
log
(
res
.
data
.
msg
,
33333
);
// reject(res.data.msg)
}
}).
catch
(
err
=>
{
...
...
@@ -112,7 +104,6 @@ import { log } from 'util';
},
5
*
60
*
1000
)
console
.
log
(
res
.
data
.
data
,
'学习记录'
);
}
else
{
console
.
log
(
res
.
data
.
msg
,
33333
);
}
})
},
...
...
@@ -143,7 +134,6 @@ import { log } from 'util';
getVideo
(
data
){
console
.
log
(
2222
,
`
${
process
.
env
.
BASE_API
}
/file/
${
data
}
/index.m3u8`
)
return
`
${
process
.
env
.
BASE_API
}
/file/
${
data
}
/index.m3u8`
},
// 播放视频
...
...
src/views/wrongBook/detail.vue
浏览文件 @
6d8fde7e
...
...
@@ -216,8 +216,6 @@ export default {
},
getDetail
(){
getWeekDetailAPI
(
this
.
listQuery
).
then
(
res
=>
{
console
.
log
(
res
.
data
.
data
);
if
(
res
.
data
.
code
==
0
){
this
.
list
=
res
.
data
.
data
.
list
if
(
this
.
list
.
length
===
0
)
return
...
...
@@ -227,14 +225,11 @@ export default {
this
.
colQuery
.
goodsId
=
this
.
currentObj
.
questionid
this
.
getColStatus
()
// if(this.currentObj.questionType === 5||this.currentObj.questionType === 6){
// console.log(this.currentObj,111);
// this.childrenList = this.currentObj.children
// if(this.childrenList.length === 0) return
// this.currentChildrenIndex = 1
// this.currentChildrenObj = this.childrenList[0]
// this.rightAns = this.currentChildrenObj.rightanswer
// console.log(this.currentChildrenObj,2222);
// }
}
})
...
...
@@ -414,7 +409,6 @@ export default {
// 完成
hasDown
(){
this
.
backStatus
=
true
console
.
log
(
this
.
saveFrom
,
1
);
saveWeekAPI
(
this
.
saveFrom
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
$router
.
push
({
name
:
'viewPracticeReport'
,
query
:{
id
:
this
.
code
,
title
:
this
.
topTitle
,
paperId
:
res
.
data
.
data
.
id
}})
...
...
@@ -425,7 +419,6 @@ export default {
// 获取收藏状态
getColStatus
(){
getColStatusAPI
(
this
.
colQuery
).
then
(
res
=>
{
console
.
log
(
res
.
data
,
222
);
if
(
res
.
data
.
code
==
0
){
this
.
collectionStatus
=
res
.
data
.
data
}
...
...
@@ -442,7 +435,6 @@ export default {
}
let
API
=
status
?
addCollectionAPI
(
addData
)
:
delCollectionAPI
(
delData
)
API
.
then
(
res
=>
{
console
.
log
(
res
.
data
,
222
);
if
(
res
.
data
.
code
==
0
){
Toast
.
success
(
`
${
!
status
?
'取消收藏'
:
'收藏成功'
}
`
);
this
.
getColStatus
()
...
...
@@ -451,7 +443,6 @@ export default {
},
getColStatus
(){
getColStatusAPI
(
this
.
colQuery
).
then
(
res
=>
{
console
.
log
(
res
.
data
,
222
);
if
(
res
.
data
.
code
==
0
){
this
.
collectionStatus
=
res
.
data
.
data
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论