整理

上级 34459e02
.login-container[data-v-1be4e8ce]{background-color:#35495e;height:100%}.login-container .login-box[data-v-1be4e8ce]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-1be4e8ce]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-1be4e8ce]{flex:1}.avatar-box[data-v-1be4e8ce]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-1be4e8ce]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-left-img[data-v-747b32ea]{height:50px}.layout-aside-container[data-v-605e601d]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-605e601d]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-15b8f4b2]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-15b8f4b2]{color:#333}.pagination[data-v-15b8f4b2]{margin-top:16px;text-align:right}.arrow-button[data-v-15b8f4b2]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-15b8f4b2]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-15b8f4b2]{pointer-events:none;opacity:.1}.el-header[data-v-0be38d50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-0be38d50]{color:#333}.pagination[data-v-0be38d50]{margin-top:16px;text-align:right}.header-button-item[data-v-0be38d50]{margin-right:15px;font-size:20px}.backtop[data-v-0be38d50]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-0be38d50]:hover{background-color:#0050a0}.el-header[data-v-8d787e5a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-8d787e5a]{color:#333}.pagination[data-v-8d787e5a]{margin-top:16px;text-align:right}.header-button-item[data-v-8d787e5a]{margin-right:15px;font-size:20px}.red-title[data-v-8d787e5a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-8d787e5a]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-8d787e5a]{width:100%;text-align:left}.backtop[data-v-8d787e5a]:hover{background-color:#0050a0}.el-header[data-v-1320254c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-1320254c]{color:#333}.pagination[data-v-1320254c]{margin-top:16px;text-align:right}.header-button-item[data-v-1320254c]{margin-right:15px;font-size:20px}.red-title[data-v-1320254c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-1320254c]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-1320254c]{width:100%;text-align:left}.backtop[data-v-1320254c]:hover{background-color:#0050a0}.el-header[data-v-834ece92]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-834ece92]{color:#333}.pagination[data-v-834ece92]{margin-top:16px;text-align:right}.header-button-item[data-v-834ece92]{margin-right:15px;font-size:20px}.red-title[data-v-834ece92]{line-height:24px;font-size:18px;color:red}.backtop[data-v-834ece92]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-834ece92]{width:100%;text-align:left}.backtop[data-v-834ece92]:hover{background-color:#0050a0}.el-header[data-v-19500aaf]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-19500aaf]{color:#333}.pagination[data-v-19500aaf]{margin-top:16px;text-align:right}.header-button-item[data-v-19500aaf]{margin-right:15px;font-size:20px}.red-title[data-v-19500aaf]{line-height:24px;font-size:18px;color:red}.backtop[data-v-19500aaf]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-19500aaf]{width:100%;text-align:left}.backtop[data-v-19500aaf]:hover{background-color:#0050a0}.el-header[data-v-41690827]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-41690827]{color:#333}.pagination[data-v-41690827]{margin-top:16px;text-align:right}.header-button-item[data-v-41690827]{margin-right:15px;font-size:20px}.red-title[data-v-41690827]{line-height:24px;font-size:18px;color:red}.backtop[data-v-41690827]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-41690827]{width:100%;text-align:left}.backtop[data-v-41690827]:hover{background-color:#0050a0}.el-header[data-v-6e6ab333]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e6ab333]{color:#333}.pagination[data-v-6e6ab333]{margin-top:16px;text-align:right}.header-button-item[data-v-6e6ab333]{margin-right:15px;font-size:20px}.red-title[data-v-6e6ab333]{line-height:24px;font-size:18px;color:red}.backtop[data-v-6e6ab333]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-6e6ab333]{width:100%;text-align:left}.backtop[data-v-6e6ab333]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh} .login-container[data-v-1be4e8ce]{background-color:#35495e;height:100%}.login-container .login-box[data-v-1be4e8ce]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-1be4e8ce]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-1be4e8ce]{flex:1}.avatar-box[data-v-1be4e8ce]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-1be4e8ce]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-left-img[data-v-747b32ea]{height:50px}.layout-aside-container[data-v-605e601d]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-605e601d]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-15b8f4b2]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-15b8f4b2]{color:#333}.pagination[data-v-15b8f4b2]{margin-top:16px;text-align:right}.arrow-button[data-v-15b8f4b2]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-15b8f4b2]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-15b8f4b2]{pointer-events:none;opacity:.1}.el-header[data-v-0be38d50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-0be38d50]{color:#333}.pagination[data-v-0be38d50]{margin-top:16px;text-align:right}.header-button-item[data-v-0be38d50]{margin-right:15px;font-size:20px}.backtop[data-v-0be38d50]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-0be38d50]:hover{background-color:#0050a0}.el-header[data-v-8d787e5a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-8d787e5a]{color:#333}.pagination[data-v-8d787e5a]{margin-top:16px;text-align:right}.header-button-item[data-v-8d787e5a]{margin-right:15px;font-size:20px}.red-title[data-v-8d787e5a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-8d787e5a]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-8d787e5a]{width:100%;text-align:left}.backtop[data-v-8d787e5a]:hover{background-color:#0050a0}.el-header[data-v-1320254c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-1320254c]{color:#333}.pagination[data-v-1320254c]{margin-top:16px;text-align:right}.header-button-item[data-v-1320254c]{margin-right:15px;font-size:20px}.red-title[data-v-1320254c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-1320254c]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-1320254c]{width:100%;text-align:left}.backtop[data-v-1320254c]:hover{background-color:#0050a0}.el-header[data-v-834ece92]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-834ece92]{color:#333}.pagination[data-v-834ece92]{margin-top:16px;text-align:right}.header-button-item[data-v-834ece92]{margin-right:15px;font-size:20px}.red-title[data-v-834ece92]{line-height:24px;font-size:18px;color:red}.backtop[data-v-834ece92]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-834ece92]{width:100%;text-align:left}.backtop[data-v-834ece92]:hover{background-color:#0050a0}.el-header[data-v-ca510c82]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-ca510c82]{color:#333}.pagination[data-v-ca510c82]{margin-top:16px;text-align:right}.header-button-item[data-v-ca510c82]{margin-right:15px;font-size:20px}.red-title[data-v-ca510c82]{line-height:24px;font-size:18px;color:red}.backtop[data-v-ca510c82]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-ca510c82]{width:100%;text-align:left}.backtop[data-v-ca510c82]:hover{background-color:#0050a0}.el-header[data-v-6cbdacda]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6cbdacda]{color:#333}.pagination[data-v-6cbdacda]{margin-top:16px;text-align:right}.header-button-item[data-v-6cbdacda]{margin-right:15px;font-size:20px}.red-title[data-v-6cbdacda]{line-height:24px;font-size:18px;color:red}.backtop[data-v-6cbdacda]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-6cbdacda]{width:100%;text-align:left}.backtop[data-v-6cbdacda]:hover{background-color:#0050a0}.el-header[data-v-6e6ab333]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-6e6ab333]{color:#333}.pagination[data-v-6e6ab333]{margin-top:16px;text-align:right}.header-button-item[data-v-6e6ab333]{margin-right:15px;font-size:20px}.red-title[data-v-6e6ab333]{line-height:24px;font-size:18px;color:red}.backtop[data-v-6e6ab333]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-6e6ab333]{width:100%;text-align:left}.backtop[data-v-6e6ab333]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh}
/*! /*!
* Bootstrap v4.5.0 (https://getbootstrap.com/) * Bootstrap v4.5.0 (https://getbootstrap.com/)
......
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan</title><link href="/css/app.d66beafd.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.dd19df8d.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.d66beafd.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.dd19df8d.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan</title><link href="/css/app.871e6fe8.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.3e9aa57a.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.871e6fe8.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.3e9aa57a.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
此差异已折叠。
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</span> </span>
</el-dialog> </el-dialog>
</el-form> </el-form>
<el-table ref="multipleTable" :data="articleInfoList" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange"> <el-table ref="multipleTable" v-loading="loading" :data="articleInfoList" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="articleId" label="文章id" show-overflow-tooltip></el-table-column> <el-table-column prop="articleId" label="文章id" show-overflow-tooltip></el-table-column>
<el-table-column prop="userName" label="用户名称" show-overflow-tooltip></el-table-column> <el-table-column prop="userName" label="用户名称" show-overflow-tooltip></el-table-column>
...@@ -344,10 +344,10 @@ export default { ...@@ -344,10 +344,10 @@ export default {
}, },
async triplet(articleId) { async triplet(articleId) {
this.loading = true this.loading = true
this.articleId = null
this.tripletVisible = false
const { data: res } = await axios.get('http://120.79.36.53:8888/csdnArticleInfo/triplet?articleId=' + articleId) const { data: res } = await axios.get('http://120.79.36.53:8888/csdnArticleInfo/triplet?articleId=' + articleId)
if (res.code === 200) { if (res.code === 200) {
this.articleId = null
this.tripletVisible = false
this.articleInfoPage() this.articleInfoPage()
} else { } else {
console.error('Received non-200 status code', res) console.error('Received non-200 status code', res)
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</span> </span>
</el-dialog> </el-dialog>
</el-form> </el-form>
<el-table ref="multipleTable" :data="csdnUserList" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange"> <el-table ref="multipleTable" v-loading="loading" :data="csdnUserList" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="userName" label="用户名称" show-overflow-tooltip></el-table-column> <el-table-column prop="userName" label="用户名称" show-overflow-tooltip></el-table-column>
<el-table-column prop="nickName" label="用户昵称" show-overflow-tooltip> <el-table-column prop="nickName" label="用户昵称" show-overflow-tooltip>
...@@ -463,7 +463,6 @@ export default { ...@@ -463,7 +463,6 @@ export default {
}, },
async allTriplet() { async allTriplet() {
this.loading = true this.loading = true
this.allTripletDialogVisible = false
if (this.multipleSelection && this.multipleSelection.length === 0) { if (this.multipleSelection && this.multipleSelection.length === 0) {
console.error('请选择需要处理的项') console.error('请选择需要处理的项')
} else { } else {
...@@ -471,6 +470,7 @@ export default { ...@@ -471,6 +470,7 @@ export default {
const { data: res } = await axios.post('http://120.79.36.53:8888/csdn/multiTriplet', userNames) const { data: res } = await axios.post('http://120.79.36.53:8888/csdn/multiTriplet', userNames)
if (res.code === 200) { if (res.code === 200) {
this.multipleSelection = [] this.multipleSelection = []
this.allTripletDialogVisible = false
this.userPage() this.userPage()
} else { } else {
console.error('Received non-200 status code', res) console.error('Received non-200 status code', res)
...@@ -480,10 +480,10 @@ export default { ...@@ -480,10 +480,10 @@ export default {
}, },
async triplet(userName) { async triplet(userName) {
this.loading = true this.loading = true
this.currentUserName = null
this.tripletVisible = false
const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/singleTriplet?username=' + userName) const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/singleTriplet?username=' + userName)
if (res.code === 200) { if (res.code === 200) {
this.currentUserName = null
this.tripletVisible = false
this.userPage() this.userPage()
} else { } else {
console.error('Received non-200 status code', res) console.error('Received non-200 status code', res)
...@@ -492,10 +492,10 @@ export default { ...@@ -492,10 +492,10 @@ export default {
}, },
async onBlog10(userName) { async onBlog10(userName) {
this.loading = true this.loading = true
this.currentUserName = null
this.blog10DialogVisible = false
const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/add10Blog?username=' + userName) const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/add10Blog?username=' + userName)
if (res.code === 200) { if (res.code === 200) {
this.currentUserName = null
this.blog10DialogVisible = false
this.userPage() this.userPage()
} else { } else {
console.error('Received non-200 status code', res) console.error('Received non-200 status code', res)
...@@ -504,10 +504,10 @@ export default { ...@@ -504,10 +504,10 @@ export default {
}, },
async resetUserDayStatus(userName) { async resetUserDayStatus(userName) {
this.loading = true this.loading = true
this.currentUserName = null
this.resetUserDayStatusVisible = false
const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/resetCsdnUserInfo?username=' + userName) const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/resetCsdnUserInfo?username=' + userName)
if (res.code === 200) { if (res.code === 200) {
this.currentUserName = null
this.resetUserDayStatusVisible = false
this.userPage() this.userPage()
} else { } else {
console.error('Received non-200 status code', res) console.error('Received non-200 status code', res)
...@@ -515,18 +515,17 @@ export default { ...@@ -515,18 +515,17 @@ export default {
this.loading = false this.loading = false
}, },
async onDelete(id) { async onDelete(id) {
this.dialogVisible = false
this.loading = true this.loading = true
const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/user/delete', { const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/user/delete', {
params: { params: {
id: id, id: id,
}, },
}) })
this.dialogVisible = false
this.userPage() this.userPage()
this.loading = false this.loading = false
}, },
async reset() { async reset() {
this.resetDialogVisible = false
this.loading = true this.loading = true
if (this.multipleSelection && this.multipleSelection.length === 0) { if (this.multipleSelection && this.multipleSelection.length === 0) {
console.error('请选择需要处理的项') console.error('请选择需要处理的项')
...@@ -535,6 +534,7 @@ export default { ...@@ -535,6 +534,7 @@ export default {
console.log(userNames) console.log(userNames)
const { data: res } = await axios.post('http://120.79.36.53:8888/csdn/resetCsdnUserInfo', userNames) const { data: res } = await axios.post('http://120.79.36.53:8888/csdn/resetCsdnUserInfo', userNames)
if (res.code === 200) { if (res.code === 200) {
this.resetDialogVisible = false
this.multipleSelection = [] this.multipleSelection = []
this.userPage() this.userPage()
} else { } else {
...@@ -544,9 +544,9 @@ export default { ...@@ -544,9 +544,9 @@ export default {
this.loading = false this.loading = false
}, },
async resetUser() { async resetUser() {
this.resetUserDialogVisible = false
this.loading = true this.loading = true
const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/resetUserDayStatus') const { data: res } = await axios.get('http://120.79.36.53:8888/csdn/resetUserDayStatus')
this.resetUserDialogVisible = false
this.userPage() this.userPage()
this.loading = false this.loading = false
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册