Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Kwan的解忧杂货铺@新空间代码工作室
vue-kwan-admin
提交
6372abb6
V
vue-kwan-admin
项目概览
Kwan的解忧杂货铺@新空间代码工作室
/
vue-kwan-admin
通知
39
Star
6
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-kwan-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
6372abb6
编写于
11月 03, 2023
作者:
Kwan的解忧杂货铺@新空间代码工作室
🐭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
腾讯服务器
上级
68610d73
变更
14
展开全部
隐藏空白更改
内联
并排
Showing
14 changed file
with
9094 addition
and
460 deletion
+9094
-460
dist/js/app.daf921ca.js
dist/js/app.daf921ca.js
+8173
-2
dist/js/app.daf921ca.js.map
dist/js/app.daf921ca.js.map
+464
-1
src/api/ApiService.js
src/api/ApiService.js
+3
-3
src/components/menus/MyAlgorithmic.vue
src/components/menus/MyAlgorithmic.vue
+7
-7
src/components/menus/MyAphorismPoetry.vue
src/components/menus/MyAphorismPoetry.vue
+5
-5
src/components/menus/MyArticleInfo.vue
src/components/menus/MyArticleInfo.vue
+4
-4
src/components/menus/MyChat.vue
src/components/menus/MyChat.vue
+2
-2
src/components/menus/MyCsdnUser.vue
src/components/menus/MyCsdnUser.vue
+425
-425
src/components/menus/MyInterview.vue
src/components/menus/MyInterview.vue
+5
-5
src/components/menus/MyPic.vue
src/components/menus/MyPic.vue
+1
-1
src/components/menus/MyTripletDayInfo.vue
src/components/menus/MyTripletDayInfo.vue
+2
-2
src/components/subcomponents/MyHeader.vue
src/components/subcomponents/MyHeader.vue
+1
-1
src/components/user/AddChatDetail.vue
src/components/user/AddChatDetail.vue
+1
-1
src/components/user/MyChatDetail.vue
src/components/user/MyChatDetail.vue
+1
-1
未找到文件。
dist/js/app.daf921ca.js
浏览文件 @
6372abb6
此差异已折叠。
点击以展开。
dist/js/app.daf921ca.js.map
浏览文件 @
6372abb6
此差异已折叠。
点击以展开。
src/api/ApiService.js
浏览文件 @
6372abb6
...
...
@@ -2,13 +2,13 @@ import axios from 'axios'
// 创建一个名为 ApiService 的对象,包含您的异步方法
const
ApiService
=
{
async
triplet
(
articleId
)
{
return
await
axios
.
get
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/triplet?articleId=
'
+
articleId
);
return
await
axios
.
get
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/triplet?articleId=
'
+
articleId
);
},
async
allTriplet
(
articleIds
)
{
return
await
axios
.
post
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/multiTriplet
'
,
articleIds
);
return
await
axios
.
post
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/multiTriplet
'
,
articleIds
);
},
async
onDelete
(
id
)
{
return
await
axios
.
get
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/delete
'
,
{
return
await
axios
.
get
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/delete
'
,
{
params
:
{
id
:
id
}
...
...
src/components/menus/MyAlgorithmic.vue
浏览文件 @
6372abb6
...
...
@@ -281,7 +281,7 @@ export default {
async
addQuestion
(
addType
)
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/algorithmicProblem/add
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/algorithmicProblem/add
'
,
{
addType
:
addType
,
questionName
:
this
.
form
.
questionName
,
questionType
:
this
.
form
.
questionType
,
...
...
@@ -322,7 +322,7 @@ export default {
async
editConfirm
()
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/algorithmicProblem/update
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/algorithmicProblem/update
'
,
{
id
:
this
.
currentRowId
,
questionName
:
this
.
form
.
questionName
,
questionType
:
this
.
form
.
questionType
,
...
...
@@ -352,7 +352,7 @@ export default {
async
onDelete
(
id
)
{
this
.
dialogVisible
=
false
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/algorithmicProblem/delete
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/algorithmicProblem/delete
'
,
{
params
:
{
id
:
id
,
},
...
...
@@ -367,7 +367,7 @@ export default {
},
async
getQuestionType
()
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/algorithmicProblem/questionType
'
,
{
params
:
{}
})
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/algorithmicProblem/questionType
'
,
{
params
:
{}
})
if
(
res
.
code
===
200
)
{
this
.
options
=
res
.
result
//获取问题列表
...
...
@@ -376,7 +376,7 @@ export default {
},
async
getAllQuestionType
()
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/algorithmicProblem/allQuestionType
'
,
{
params
:
{}
})
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/algorithmicProblem/allQuestionType
'
,
{
params
:
{}
})
if
(
res
.
code
===
200
)
{
this
.
allOptions
=
res
.
result
}
...
...
@@ -384,7 +384,7 @@ export default {
async
interviewPage
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/algorithmicProblem/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/algorithmicProblem/page
'
,
{
params
:
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
@@ -409,7 +409,7 @@ export default {
},
async
interviewRandom
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/algorithmicProblem/random
'
,
{
params
:
{}
})
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/algorithmicProblem/random
'
,
{
params
:
{}
})
if
(
res
.
code
===
200
)
{
this
.
randomAlgorithmic
.
questionName
=
res
.
result
.
questionName
this
.
randomAlgorithmic
.
leetcodeNumber
=
res
.
result
.
leetcodeNumber
...
...
src/components/menus/MyAphorismPoetry.vue
浏览文件 @
6372abb6
...
...
@@ -187,7 +187,7 @@ export default {
async
addQuestion
(
addType
)
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/aphorismPoetry/add
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/aphorismPoetry/add
'
,
{
addType
:
addType
,
poetryText
:
this
.
form
.
poetryText
,
...
...
@@ -222,7 +222,7 @@ export default {
async
editConfirm
()
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/aphorismPoetry/update
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/aphorismPoetry/update
'
,
{
id
:
this
.
currentRowId
,
poetryText
:
this
.
form
.
poetryText
,
})
...
...
@@ -245,7 +245,7 @@ export default {
async
onDelete
(
id
)
{
this
.
dialogVisible
=
false
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/aphorismPoetry/delete
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/aphorismPoetry/delete
'
,
{
params
:
{
id
:
id
,
},
...
...
@@ -260,7 +260,7 @@ export default {
},
async
interviewPage
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/aphorismPoetry/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/aphorismPoetry/page
'
,
{
params
:
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
@@ -275,7 +275,7 @@ export default {
},
async
interviewRandom
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/aphorismPoetry/random
'
,
{
params
:
{}
})
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/aphorismPoetry/random
'
,
{
params
:
{}
})
if
(
res
.
code
===
200
)
{
this
.
randomAlgorithmic
.
poetryText
=
res
.
result
.
poetryText
}
...
...
src/components/menus/MyArticleInfo.vue
浏览文件 @
6372abb6
...
...
@@ -354,7 +354,7 @@ export default {
async
addUser
(
addType
)
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/add
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/add
'
,
{
addType
:
addType
,
userName
:
this
.
form
.
userName
,
articleId
:
this
.
form
.
articleId
,
...
...
@@ -385,7 +385,7 @@ export default {
async
editConfirm
()
{
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/update
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/update
'
,
{
id
:
this
.
currentRowId
,
articleId
:
this
.
form
.
articleId
,
userName
:
this
.
form
.
userName
,
...
...
@@ -412,7 +412,7 @@ export default {
},
async
getScore
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/getScore?articleUrl=
'
+
this
.
form
.
articleUrl
)
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/getScore?articleUrl=
'
+
this
.
form
.
articleUrl
)
if
(
res
.
code
===
200
)
{
this
.
form
.
articleScore
=
res
.
result
}
else
{
...
...
@@ -463,7 +463,7 @@ export default {
},
async
articleInfoPage
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/csdnArticleInfo/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/csdnArticleInfo/page
'
,
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
articleId
:
this
.
formInline
.
articleId
,
...
...
src/components/menus/MyChat.vue
浏览文件 @
6372abb6
...
...
@@ -89,7 +89,7 @@ export default {
methods
:
{
async
onDelete
(
id
)
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/chatbot/delete
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/chatbot/delete
'
,
{
params
:
{
id
:
id
,
},
...
...
@@ -109,7 +109,7 @@ export default {
async
initCartList
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/chatbot/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/chatbot/page
'
,
{
params
:
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
src/components/menus/MyCsdnUser.vue
浏览文件 @
6372abb6
此差异已折叠。
点击以展开。
src/components/menus/MyInterview.vue
浏览文件 @
6372abb6
...
...
@@ -205,7 +205,7 @@ export default {
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/interviewQuestion/add
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/interviewQuestion/add
'
,
{
addType
:
addType
,
question
:
this
.
form
.
question
,
questionType
:
this
.
form
.
questionType
,
...
...
@@ -237,7 +237,7 @@ export default {
try
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/interviewQuestion/update
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/interviewQuestion/update
'
,
{
id
:
this
.
currentRowId
,
question
:
this
.
form
.
question
,
questionType
:
this
.
form
.
questionType
,
...
...
@@ -262,7 +262,7 @@ export default {
async
onDelete
(
id
)
{
this
.
dialogVisible
=
false
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/interviewQuestion/delete
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/interviewQuestion/delete
'
,
{
params
:
{
id
:
id
,
},
...
...
@@ -278,7 +278,7 @@ export default {
},
async
getQuestionType
()
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/interviewQuestion/questionType
'
,
{
params
:
{}
})
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/interviewQuestion/questionType
'
,
{
params
:
{}
})
if
(
res
.
code
===
200
)
{
this
.
options
=
res
.
result
this
.
interviewPage
()
...
...
@@ -287,7 +287,7 @@ export default {
async
interviewPage
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/interviewQuestion/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/interviewQuestion/page
'
,
{
params
:
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
src/components/menus/MyPic.vue
浏览文件 @
6372abb6
...
...
@@ -106,7 +106,7 @@ export default {
},
async
queryPic
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/picInfo/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/picInfo/page
'
,
{
params
:
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
src/components/menus/MyTripletDayInfo.vue
浏览文件 @
6372abb6
...
...
@@ -169,7 +169,7 @@ export default {
},
async
tripletDayInfoPage
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
120.79.36.53
:8888/dayInfo/page
'
,
{
const
{
data
:
res
}
=
await
axios
.
post
(
'
http://
43.139.90.182
:8888/dayInfo/page
'
,
{
page
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
startDate
:
this
.
formInline
.
startDate
,
...
...
@@ -208,7 +208,7 @@ export default {
},
async
reset
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/dayInfo/add
'
)
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/dayInfo/add
'
)
this
.
resetDialogVisible
=
false
this
.
tripletDayInfoPage
()
this
.
loading
=
false
...
...
src/components/subcomponents/MyHeader.vue
浏览文件 @
6372abb6
...
...
@@ -160,7 +160,7 @@ export default {
},
async
interviewRandom
()
{
this
.
loading
=
true
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/aphorismPoetry/random
'
)
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/aphorismPoetry/random
'
)
if
(
res
.
code
===
200
)
{
this
.
randomAlgorithmic
.
poetryText
=
res
.
result
.
poetryText
}
...
...
src/components/user/AddChatDetail.vue
浏览文件 @
6372abb6
...
...
@@ -42,7 +42,7 @@ export default {
response
:
this
.
form
.
response
,
}
axios
.
post
(
'
http://
120.79.36.53
:8888/chatbot
'
,
data
)
.
post
(
'
http://
43.139.90.182
:8888/chatbot
'
,
data
)
.
then
((
response
)
=>
{
// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中
if
(
response
.
data
.
code
===
200
)
{
...
...
src/components/user/MyChatDetail.vue
浏览文件 @
6372abb6
...
...
@@ -66,7 +66,7 @@ export default {
// 封装请求列表数据的方法
async
initChatList
()
{
// 调用 axios 的 get 方法,请求列表数据
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
120.79.36.53
:8888/chatbot/
'
+
this
.
id
)
const
{
data
:
res
}
=
await
axios
.
get
(
'
http://
43.139.90.182
:8888/chatbot/
'
+
this
.
id
)
// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中
if
(
res
.
code
===
200
)
{
this
.
list
=
[
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录