整理

上级 4525804c
...@@ -4773,7 +4773,7 @@ ...@@ -4773,7 +4773,7 @@
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -5121,7 +5121,7 @@ ...@@ -5121,7 +5121,7 @@
;(this.pageSize = e), this.userPage() ;(this.pageSize = e), this.userPage()
}, },
getTagType: function (e) { getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0 return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
}, },
autoReply: function () { autoReply: function () {
var e = this var e = this
...@@ -7947,7 +7947,7 @@ ...@@ -7947,7 +7947,7 @@
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -8309,7 +8309,7 @@ ...@@ -8309,7 +8309,7 @@
;(this.pageSize = e), this.articleInfoPage() ;(this.pageSize = e), this.articleInfoPage()
}, },
getTagType: function (e) { getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0 return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
}, },
}, },
}, },
...@@ -8527,7 +8527,7 @@ ...@@ -8527,7 +8527,7 @@
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -8630,7 +8630,7 @@ ...@@ -8630,7 +8630,7 @@
this.tripletDayInfoPage(), location.reload() this.tripletDayInfoPage(), location.reload()
}, },
getTagType: function (e) { getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0 return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
}, },
handleCurrentChange: function (e) { handleCurrentChange: function (e) {
;(this.currentPage = e), this.tripletDayInfoPage() ;(this.currentPage = e), this.tripletDayInfoPage()
......
...@@ -532,7 +532,7 @@ ...@@ -532,7 +532,7 @@
"import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAphorismPoetry.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAphorismPoetry.vue?vue&type=script&lang=js&\"", "import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAphorismPoetry.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAphorismPoetry.vue?vue&type=script&lang=js&\"",
"import { render, staticRenderFns } from \"./MyAphorismPoetry.vue?vue&type=template&id=7f9d4b2f&scoped=true&\"\nimport script from \"./MyAphorismPoetry.vue?vue&type=script&lang=js&\"\nexport * from \"./MyAphorismPoetry.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyAphorismPoetry.vue?vue&type=style&index=0&id=7f9d4b2f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f9d4b2f\",\n null\n \n)\n\nexport default component.exports", "import { render, staticRenderFns } from \"./MyAphorismPoetry.vue?vue&type=template&id=7f9d4b2f&scoped=true&\"\nimport script from \"./MyAphorismPoetry.vue?vue&type=script&lang=js&\"\nexport * from \"./MyAphorismPoetry.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyAphorismPoetry.vue?vue&type=style&index=0&id=7f9d4b2f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f9d4b2f\",\n null\n \n)\n\nexport default component.exports",
"var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.userPage.apply(null, arguments)}},model:{value:(_vm.formInline.userName),callback:function ($$v) {_vm.$set(_vm.formInline, \"userName\", $$v)},expression:\"formInline.userName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户昵称\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.userPage.apply(null, arguments)}},model:{value:(_vm.formInline.nickName),callback:function ($$v) {_vm.$set(_vm.formInline, \"nickName\", $$v)},expression:\"formInline.nickName\"}})],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择权重\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.userWeight),callback:function ($$v) {_vm.$set(_vm.formInline, \"userWeight\", $$v)},expression:\"formInline.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择文章类型\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.articleType),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleType\", $$v)},expression:\"formInline.articleType\"}},_vm._l((_vm.articleType),function(type){return _c('el-option',{key:type,attrs:{\"label\":type,\"value\":type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择点赞状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.likeStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"likeStatus\", $$v)},expression:\"formInline.likeStatus\"}},_vm._l((_vm.likeStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择收藏状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.collectStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"collectStatus\", $$v)},expression:\"formInline.collectStatus\"}},_vm._l((_vm.collectStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择评论状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.commentStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"commentStatus\", $$v)},expression:\"formInline.commentStatus\"}},_vm._l((_vm.commentStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('br'),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.userPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareAdd}},[_vm._v(\"新增用户\")]),_c('el-dialog',{staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"新增用户\",\"visible\":_vm.dialogFormVisible},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户权重\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.form.userWeight),callback:function ($$v) {_vm.$set(_vm.form, \"userWeight\", $$v)},expression:\"form.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(0)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareMutiAdd}},[_vm._v(\"批量新增用户\")]),_c('el-dialog',{staticClass:\"red-title\",attrs:{\"visible\":_vm.dialogMutiFormVisible},on:{\"update:visible\":function($event){_vm.dialogMutiFormVisible=$event}}},[_c('div',{staticClass:\"red-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"批量新增用户(多个用户换行填写)\")]),_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"textarea\",\"autocomplete\":\"off\",\"rows\":5,\"cols\":30},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogMutiFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(1)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareAllTriplet}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.allTripletDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.allTripletDialogVisible=$event}}},[_c('span',[_vm._v(\"确认三连吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.allTripletDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.allTriplet()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"warning\"},on:{\"click\":_vm.prepareResetLikesComment}},[_vm._v(\"核验状态\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetLikesCommentDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetLikesCommentDialogVisible=$event}}},[_c('span',[_vm._v(\"确认核验状态吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetLikesCommentDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fixUserLikesStatus()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"success\"},on:{\"click\":_vm.prepareAutoReply}},[_vm._v(\"自动评论\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.autoReplyDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.autoReplyDialogVisible=$event}}},[_c('span',[_vm._v(\"确认自动评论吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.autoReplyDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.autoReply()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.csdnUserList,\"tooltip-effect\":\"dark\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.userHomeUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.nickName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"userWeightName\",\"label\":\"用户权重\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleType\",\"label\":\"文章类型\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"更新时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.updateTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"操作\",\"label\":\"操作\",\"width\":\"380px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareTriplet(props.row.userName)}}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.tripletVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.tripletVisible=$event}}},[_c('span',[_vm._v(\"确认三连?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.tripletVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.triplet(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareResetUserDayStatus(props.row.userName)}}},[_vm._v(\"重置\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetUserDayStatusVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetUserDayStatusVisible=$event}}},[_c('span',[_vm._v(\"确认重置?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetUserDayStatusVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetUserDayStatus(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"success\",\"width\":\"200\",\"size\":\"small\"},on:{\"click\":function($event){$event.preventDefault();return _vm.preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)}}},[_vm._v(\"编辑\")]),_c('el-dialog',{attrs:{\"title\":\"编辑用户信息\",\"visible\":_vm.editVisible},on:{\"update:visible\":function($event){_vm.editVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户主页\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userHomeUrl),callback:function ($$v) {_vm.$set(_vm.form, \"userHomeUrl\", $$v)},expression:\"form.userHomeUrl\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户权重\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.form.userWeight),callback:function ($$v) {_vm.$set(_vm.form, \"userWeight\", $$v)},expression:\"form.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editConfirm}},[_vm._v(\"确 定\")])],1)],1),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareBlog10(props.row.userName)}}},[_vm._v(\"十篇\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.blog10DialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.blog10DialogVisible=$event}}},[_c('span',[_vm._v(\"确认此用户添加10篇三连文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.blog10DialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onBlog10(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareDelete(props.row.id)}}},[_vm._v(\"删除\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.dialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('span',[_vm._v(\"确认删除?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onDelete(_vm.currentRowId)}}},[_vm._v(\"确 定\")])],1)])]}}])})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 10, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }", "var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.userPage.apply(null, arguments)}},model:{value:(_vm.formInline.userName),callback:function ($$v) {_vm.$set(_vm.formInline, \"userName\", $$v)},expression:\"formInline.userName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户昵称\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.userPage.apply(null, arguments)}},model:{value:(_vm.formInline.nickName),callback:function ($$v) {_vm.$set(_vm.formInline, \"nickName\", $$v)},expression:\"formInline.nickName\"}})],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择权重\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.userWeight),callback:function ($$v) {_vm.$set(_vm.formInline, \"userWeight\", $$v)},expression:\"formInline.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择文章类型\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.articleType),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleType\", $$v)},expression:\"formInline.articleType\"}},_vm._l((_vm.articleType),function(type){return _c('el-option',{key:type,attrs:{\"label\":type,\"value\":type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择点赞状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.likeStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"likeStatus\", $$v)},expression:\"formInline.likeStatus\"}},_vm._l((_vm.likeStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择收藏状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.collectStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"collectStatus\", $$v)},expression:\"formInline.collectStatus\"}},_vm._l((_vm.collectStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择评论状态\"},on:{\"change\":_vm.userPage},model:{value:(_vm.formInline.commentStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"commentStatus\", $$v)},expression:\"formInline.commentStatus\"}},_vm._l((_vm.commentStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('br'),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.userPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareAdd}},[_vm._v(\"新增用户\")]),_c('el-dialog',{staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"新增用户\",\"visible\":_vm.dialogFormVisible},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户权重\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.form.userWeight),callback:function ($$v) {_vm.$set(_vm.form, \"userWeight\", $$v)},expression:\"form.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(0)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareMutiAdd}},[_vm._v(\"批量新增用户\")]),_c('el-dialog',{staticClass:\"red-title\",attrs:{\"visible\":_vm.dialogMutiFormVisible},on:{\"update:visible\":function($event){_vm.dialogMutiFormVisible=$event}}},[_c('div',{staticClass:\"red-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"批量新增用户(多个用户换行填写)\")]),_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"textarea\",\"autocomplete\":\"off\",\"rows\":5,\"cols\":30},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogMutiFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(1)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareAllTriplet}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.allTripletDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.allTripletDialogVisible=$event}}},[_c('span',[_vm._v(\"确认三连吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.allTripletDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.allTriplet()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"warning\"},on:{\"click\":_vm.prepareResetLikesComment}},[_vm._v(\"核验状态\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetLikesCommentDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetLikesCommentDialogVisible=$event}}},[_c('span',[_vm._v(\"确认核验状态吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetLikesCommentDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fixUserLikesStatus()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"success\"},on:{\"click\":_vm.prepareAutoReply}},[_vm._v(\"自动评论\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.autoReplyDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.autoReplyDialogVisible=$event}}},[_c('span',[_vm._v(\"确认自动评论吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.autoReplyDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.autoReply()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.csdnUserList,\"tooltip-effect\":\"dark\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.userHomeUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.nickName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"userWeightName\",\"label\":\"用户权重\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleType\",\"label\":\"文章类型\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"更新时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.updateTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"操作\",\"label\":\"操作\",\"width\":\"380px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareTriplet(props.row.userName)}}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.tripletVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.tripletVisible=$event}}},[_c('span',[_vm._v(\"确认三连?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.tripletVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.triplet(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareResetUserDayStatus(props.row.userName)}}},[_vm._v(\"重置\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetUserDayStatusVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetUserDayStatusVisible=$event}}},[_c('span',[_vm._v(\"确认重置?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetUserDayStatusVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetUserDayStatus(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"success\",\"width\":\"200\",\"size\":\"small\"},on:{\"click\":function($event){$event.preventDefault();return _vm.preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)}}},[_vm._v(\"编辑\")]),_c('el-dialog',{attrs:{\"title\":\"编辑用户信息\",\"visible\":_vm.editVisible},on:{\"update:visible\":function($event){_vm.editVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户主页\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userHomeUrl),callback:function ($$v) {_vm.$set(_vm.form, \"userHomeUrl\", $$v)},expression:\"form.userHomeUrl\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户权重\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.form.userWeight),callback:function ($$v) {_vm.$set(_vm.form, \"userWeight\", $$v)},expression:\"form.userWeight\"}},_vm._l((_vm.allOptions),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editConfirm}},[_vm._v(\"确 定\")])],1)],1),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareBlog10(props.row.userName)}}},[_vm._v(\"十篇\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.blog10DialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.blog10DialogVisible=$event}}},[_c('span',[_vm._v(\"确认此用户添加10篇三连文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.blog10DialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onBlog10(_vm.currentUserName)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.prepareDelete(props.row.id)}}},[_vm._v(\"删除\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.dialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('span',[_vm._v(\"确认删除?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onDelete(_vm.currentRowId)}}},[_vm._v(\"确 定\")])],1)])]}}])})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 10, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }",
"<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.userName\" placeholder=\"请输入用户名\" @keydown.enter.native=\"userPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.nickName\" placeholder=\"请输入用户昵称\" @keydown.enter.native=\"userPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.userWeight\" placeholder=\"请选择权重\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.articleType\" placeholder=\"请选择文章类型\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"type in articleType\" :key=\"type\" :label=\"type\" :value=\"type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.likeStatus\" placeholder=\"请选择点赞状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in likeStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.collectStatus\" placeholder=\"请选择收藏状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in collectStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.commentStatus\" placeholder=\"请选择评论状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in commentStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<br />\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"userPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareAdd\">新增用户</el-button>\n\t\t\t\t\t\t<el-dialog title=\"新增用户\" :visible.sync=\"dialogFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户权重\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-select v-model=\"form.userWeight\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(0)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareMutiAdd\">批量新增用户</el-button>\n\t\t\t\t\t\t<el-dialog class=\"red-title\" :visible.sync=\"dialogMutiFormVisible\">\n\t\t\t\t\t\t\t<div class=\"red-title\" slot=\"title\">批量新增用户(多个用户换行填写)</div>\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input type=\"textarea\" v-model=\"form.userName\" autocomplete=\"off\" :rows=\"5\" :cols=\"30\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogMutiFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(1)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareAllTriplet\">三连</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"allTripletDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认三连吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"allTripletDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"allTriplet()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"warning\" @click=\"prepareResetLikesComment\">核验状态</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetLikesCommentDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认核验状态吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"resetLikesCommentDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"fixUserLikesStatus()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"success\" @click=\"prepareAutoReply\">自动评论</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"autoReplyDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认自动评论吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"autoReplyDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"autoReply()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table ref=\"multipleTable\" v-loading=\"loading\" :data=\"csdnUserList\" tooltip-effect=\"dark\" style=\"width: 100%\" @selection-change=\"handleSelectionChange\">\n\t\t\t\t\t<el-table-column type=\"selection\" width=\"55\"></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"userName\" label=\"用户名称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"nickName\" label=\"用户昵称\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<a :href=\"scope.row.userHomeUrl\" target=\"_blank\">{{ scope.row.nickName }}</a>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"userWeightName\" label=\"用户权重\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"articleType\" label=\"文章类型\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column label=\"更新时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.updateTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"操作\" label=\"操作\" width=\"380px\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareTriplet(props.row.userName)\" size=\"small\">三连</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"tripletVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认三连?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"tripletVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"triplet(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"warning\" @click=\"prepareResetUserDayStatus(props.row.userName)\" size=\"small\">重置</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetUserDayStatusVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认重置?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"resetUserDayStatusVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"resetUserDayStatus(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)\" width=\"200\" size=\"small\">编辑</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"编辑用户信息\" :visible.sync=\"editVisible\">\n\t\t\t\t\t\t\t\t<el-form :model=\"form\">\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户主页\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userHomeUrl\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户权重\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-select v-model=\"form.userWeight\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"editVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"editConfirm\">确 定</el-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareBlog10(props.row.userName)\" size=\"small\">十篇</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"blog10DialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认此用户添加10篇三连文章吗?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"blog10DialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"onBlog10(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareDelete(props.row.id)\" size=\"small\">删除</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"dialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认删除?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"dialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"onDelete(currentRowId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 10, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n name: 'MyCsdnUser',\n\n data() {\n return {\n form: {\n userName: '',\n nickName: '',\n userHomeUrl: '',\n userWeight: null,\n },\n formInline: {\n userName: '',\n nickName: '',\n articleType: '',\n likeStatus: null,\n collectStatus: null,\n commentStatus: null,\n },\n allOptions: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 9,\n name: '铁子',\n },\n { type: 8, name: '闺蜜' },\n { type: 7, name: '基友' },\n { type: 0, name: '默认' },\n ],\n articleType: ['全部', 'blog', 'blink', 'download', 'ask'],\n likeStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经点过赞' },\n { type: 2, name: '点赞已满' },\n { type: 3, name: '取消点赞' },\n { type: 4, name: '文章状态不能点赞' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '点赞成功' },\n ],\n collectStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经收藏过' },\n { type: 2, name: '收藏已满' },\n { type: 3, name: '参数缺失' },\n { type: 4, name: '收藏夹不存在' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '收藏成功' },\n ],\n commentStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经评论过' },\n { type: 2, name: '评论已满' },\n { type: 3, name: '禁言' },\n { type: 4, name: '评论太快' },\n { type: 5, name: '评论已经到了45条' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '评论成功' },\n ],\n dialogFormVisible: false,\n dialogMutiFormVisible: false,\n dialogVisible: false,\n editVisible: false,\n tripletVisible: false,\n allTripletDialogVisible: false,\n autoReplyDialogVisible: false,\n resetUserDayStatusVisible: false,\n blog10DialogVisible: false,\n resetLikesCommentDialogVisible: false,\n // 用户列表数据\n csdnUserList: [],\n loading: false,\n elementui_page_component_key: 0,\n currentPage: Number(localStorage.getItem('csdnUserPage')) || 1,\n pageSize: 8,\n total: 0,\n // 新增的内容\n formLabelWidth: '120px',\n currentRowId: null,\n currentUserName: null,\n multipleSelection: [],\n }\n },\n watch: {\n 'formInline.userName'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnUserPage', this.currentPage)\n this.userPage()\n }\n },\n 'formInline.nickName'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnUserPage', this.currentPage)\n this.userPage()\n }\n },\n // 监听currentPage的变化,将新值保存到localStorage中\n currentPage(newPage) {\n localStorage.setItem('csdnUserPage', newPage.toString())\n },\n },\n created() {\n //获取问题类型的枚举\n this.userPage()\n },\n mounted() {\n this.currentPage = 1\n },\n methods: {\n prepareAdd() {\n this.form.userName = ''\n this.form.nickName = ''\n this.dialogFormVisible = true\n },\n prepareAllTriplet() {\n this.allTripletDialogVisible = true\n },\n prepareResetUserDayStatus(userName) {\n this.resetUserDayStatusVisible = true\n this.currentUserName = userName\n },\n prepareBlog10(userName) {\n this.blog10DialogVisible = true\n this.currentUserName = userName\n },\n prepareResetLikesComment() {\n this.resetLikesCommentDialogVisible = true\n },\n prepareAutoReply() {\n this.autoReplyDialogVisible = true\n },\n prepareMutiAdd() {\n this.form.userName = ''\n this.dialogMutiFormVisible = true\n },\n prepareDelete(id) {\n this.currentRowId = id\n this.dialogVisible = true\n },\n prepareTriplet(userName) {\n this.currentUserName = userName\n this.tripletVisible = true\n },\n preEdit(id, userName, nickName, userHomeUrl, userWeight) {\n this.form.userName = userName\n this.form.nickName = nickName\n this.form.userHomeUrl = userHomeUrl\n this.form.userWeight = userWeight\n this.currentRowId = id\n this.editVisible = true\n },\n handleClose(done) {\n this.$confirm('确认关闭?')\n .then((_) => {\n done()\n })\n .catch((_) => {})\n },\n handleConfirm(addType) {\n this.dialogFormVisible = false // 关闭对话框\n this.dialogMutiFormVisible = false\n this.addUser(addType) // 发送请求\n },\n handleSelectionChange(val) {\n this.multipleSelection = val\n },\n\n async addUser(addType) {\n try {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/add', {\n addType: addType,\n userName: this.form.userName,\n nickName: this.form.nickName,\n userWeight: this.form.userWeight,\n })\n if (res.code === 200) {\n this.currentPage = 1\n this.form.userName = ''\n this.form.nickName = ''\n this.form.userWeight = null\n this.userPage()\n } else {\n this.errorMsg(res.message)\n console.error('Received non-200 status code', res)\n }\n } catch (error) {\n console.error('An error occurred while adding the questionName:', error)\n // 异常处理逻辑\n } finally {\n this.loading = false\n }\n },\n errorMsg(msg) {\n this.$message({\n showClose: true,\n message: msg,\n type: 'error',\n })\n },\n async editConfirm() {\n try {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/update', {\n id: this.currentRowId,\n userName: this.form.userName,\n nickName: this.form.nickName,\n userWeight: this.form.userWeight,\n userHomeUrl: this.form.userHomeUrl,\n })\n if (res.code === 200) {\n this.form.userName = ''\n this.form.nickName = ''\n this.form.userHomeUrl = ''\n this.form.userWeight = null\n this.editVisible = false\n currentRowId: null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n } catch (error) {\n console.error('An error occurred while adding the questionName:', error)\n // 异常处理逻辑\n } finally {\n this.loading = false\n }\n },\n\n async allTriplet() {\n this.loading = true\n this.allTripletDialogVisible = false\n if (this.multipleSelection && this.multipleSelection.length === 0) {\n console.error('请选择需要处理的项')\n } else {\n let userNames = this.multipleSelection.map((item) => item.userName)\n const { data: res } = await axios.post('http://localhost:80/csdn/multiTriplet', userNames)\n if (res.code === 200) {\n this.multipleSelection = []\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n }\n this.loading = false\n },\n async triplet(userName) {\n this.loading = true\n this.tripletVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/singleTriplet?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async fixUserLikesStatus() {\n this.loading = true\n this.resetLikesCommentDialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/fixUserLikesStatus')\n if (res.code === 200) {\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async onBlog10(userName) {\n this.loading = true\n this.blog10DialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/add10Blog?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async resetUserDayStatus(userName) {\n this.loading = true\n this.resetUserDayStatusVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/resetCsdnUserInfo?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async onDelete(id) {\n this.loading = true\n const { data: res } = await axios.get('http://localhost:80/csdn/user/delete', {\n params: {\n id: id,\n },\n })\n this.dialogVisible = false\n this.userPage()\n this.loading = false\n },\n refreshPage() {\n //获取问题类型的枚举\n this.userPage()\n location.reload()\n },\n async userPage() {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/page', {\n page: this.currentPage,\n pageSize: this.pageSize,\n userName: this.formInline.userName,\n nickName: this.formInline.nickName,\n articleType: this.formInline.articleType == '全部' ? '' : this.formInline.articleType,\n userWeight: this.formInline.userWeight == -1 ? null : this.formInline.userWeight,\n likeStatus: this.formInline.likeStatus == -1 ? null : this.formInline.likeStatus,\n collectStatus: this.formInline.collectStatus == -1 ? null : this.formInline.collectStatus,\n commentStatus: this.formInline.commentStatus == -1 ? null : this.formInline.commentStatus,\n })\n if (res.code === 200) {\n this.total = res.result.totalElements\n\n const userWeightMap = {}\n this.allOptions.forEach((option) => {\n userWeightMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.userWeightName = userWeightMap[item.userWeight]\n })\n\n const likeStatusMap = {}\n this.likeStatus.forEach((option) => {\n likeStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.likeStatusName = likeStatusMap[item.likeStatus]\n })\n\n const collectStatusMap = {}\n this.collectStatus.forEach((option) => {\n collectStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.collectStatusName = collectStatusMap[item.collectStatus]\n })\n\n const commentStatusMap = {}\n this.commentStatus.forEach((option) => {\n commentStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.commentStatusName = commentStatusMap[item.commentStatus]\n })\n\n this.csdnUserList = res.result.content\n }\n this.loading = false\n },\n handleCurrentChange(currentPage) {\n this.currentPage = currentPage\n this.userPage()\n },\n handleSizeChange(currentSize) {\n this.pageSize = currentSize\n this.userPage()\n },\n getTagType(statusName) {\n if (statusName == '未处理') {\n return 'info'\n } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n return 'success'\n } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45条') {\n return 'danger'\n } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n return 'success'\n } else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n return 'warning'\n }\n },\n async autoReply() {\n this.loading = true\n this.autoReplyDialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/autoReply')\n if (res.code === 200) {\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>", "<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.userName\" placeholder=\"请输入用户名\" @keydown.enter.native=\"userPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.nickName\" placeholder=\"请输入用户昵称\" @keydown.enter.native=\"userPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.userWeight\" placeholder=\"请选择权重\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.articleType\" placeholder=\"请选择文章类型\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"type in articleType\" :key=\"type\" :label=\"type\" :value=\"type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.likeStatus\" placeholder=\"请选择点赞状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in likeStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.collectStatus\" placeholder=\"请选择收藏状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in collectStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.commentStatus\" placeholder=\"请选择评论状态\" @change=\"userPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in commentStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<br />\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"userPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareAdd\">新增用户</el-button>\n\t\t\t\t\t\t<el-dialog title=\"新增用户\" :visible.sync=\"dialogFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户权重\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-select v-model=\"form.userWeight\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(0)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareMutiAdd\">批量新增用户</el-button>\n\t\t\t\t\t\t<el-dialog class=\"red-title\" :visible.sync=\"dialogMutiFormVisible\">\n\t\t\t\t\t\t\t<div class=\"red-title\" slot=\"title\">批量新增用户(多个用户换行填写)</div>\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input type=\"textarea\" v-model=\"form.userName\" autocomplete=\"off\" :rows=\"5\" :cols=\"30\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogMutiFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(1)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"primary\" @click=\"prepareAllTriplet\">三连</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"allTripletDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认三连吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"allTripletDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"allTriplet()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"warning\" @click=\"prepareResetLikesComment\">核验状态</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetLikesCommentDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认核验状态吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"resetLikesCommentDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"fixUserLikesStatus()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button size=\"small\" type=\"success\" @click=\"prepareAutoReply\">自动评论</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"autoReplyDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认自动评论吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"autoReplyDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"autoReply()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table ref=\"multipleTable\" v-loading=\"loading\" :data=\"csdnUserList\" tooltip-effect=\"dark\" style=\"width: 100%\" @selection-change=\"handleSelectionChange\">\n\t\t\t\t\t<el-table-column type=\"selection\" width=\"55\"></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"userName\" label=\"用户名称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"nickName\" label=\"用户昵称\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<a :href=\"scope.row.userHomeUrl\" target=\"_blank\">{{ scope.row.nickName }}</a>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"userWeightName\" label=\"用户权重\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"articleType\" label=\"文章类型\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column label=\"更新时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.updateTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"操作\" label=\"操作\" width=\"380px\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareTriplet(props.row.userName)\" size=\"small\">三连</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"tripletVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认三连?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"tripletVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"triplet(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"warning\" @click=\"prepareResetUserDayStatus(props.row.userName)\" size=\"small\">重置</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetUserDayStatusVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认重置?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"resetUserDayStatusVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"resetUserDayStatus(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"preEdit(props.row.id, props.row.userName, props.row.nickName, props.row.userHomeUrl, props.row.userWeight)\" width=\"200\" size=\"small\">编辑</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"编辑用户信息\" :visible.sync=\"editVisible\">\n\t\t\t\t\t\t\t\t<el-form :model=\"form\">\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户主页\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userHomeUrl\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户权重\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-select v-model=\"form.userWeight\" placeholder=\"请选择\">\n\t\t\t\t\t\t\t\t\t\t\t<el-option v-for=\"item in allOptions\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t\t\t\t\t</el-select>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"editVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"editConfirm\">确 定</el-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareBlog10(props.row.userName)\" size=\"small\">十篇</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"blog10DialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认此用户添加10篇三连文章吗?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"blog10DialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"onBlog10(currentUserName)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareDelete(props.row.id)\" size=\"small\">删除</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"dialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认删除?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"dialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"onDelete(currentRowId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 10, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n name: 'MyCsdnUser',\n\n data() {\n return {\n form: {\n userName: '',\n nickName: '',\n userHomeUrl: '',\n userWeight: null,\n },\n formInline: {\n userName: '',\n nickName: '',\n articleType: '',\n likeStatus: null,\n collectStatus: null,\n commentStatus: null,\n },\n allOptions: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 9,\n name: '铁子',\n },\n { type: 8, name: '闺蜜' },\n { type: 7, name: '基友' },\n { type: 0, name: '默认' },\n ],\n articleType: ['全部', 'blog', 'blink', 'download', 'ask'],\n likeStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经点过赞' },\n { type: 2, name: '点赞已满' },\n { type: 3, name: '取消点赞' },\n { type: 4, name: '文章状态不能点赞' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '点赞成功' },\n ],\n collectStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经收藏过' },\n { type: 2, name: '收藏已满' },\n { type: 3, name: '参数缺失' },\n { type: 4, name: '收藏夹不存在' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '收藏成功' },\n ],\n commentStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经评论过' },\n { type: 2, name: '评论已满' },\n { type: 3, name: '禁言' },\n { type: 4, name: '评论太快' },\n { type: 5, name: '评论已经到了42条' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '评论成功' },\n ],\n dialogFormVisible: false,\n dialogMutiFormVisible: false,\n dialogVisible: false,\n editVisible: false,\n tripletVisible: false,\n allTripletDialogVisible: false,\n autoReplyDialogVisible: false,\n resetUserDayStatusVisible: false,\n blog10DialogVisible: false,\n resetLikesCommentDialogVisible: false,\n // 用户列表数据\n csdnUserList: [],\n loading: false,\n elementui_page_component_key: 0,\n currentPage: Number(localStorage.getItem('csdnUserPage')) || 1,\n pageSize: 8,\n total: 0,\n // 新增的内容\n formLabelWidth: '120px',\n currentRowId: null,\n currentUserName: null,\n multipleSelection: [],\n }\n },\n watch: {\n 'formInline.userName'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnUserPage', this.currentPage)\n this.userPage()\n }\n },\n 'formInline.nickName'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnUserPage', this.currentPage)\n this.userPage()\n }\n },\n // 监听currentPage的变化,将新值保存到localStorage中\n currentPage(newPage) {\n localStorage.setItem('csdnUserPage', newPage.toString())\n },\n },\n created() {\n //获取问题类型的枚举\n this.userPage()\n },\n mounted() {\n this.currentPage = 1\n },\n methods: {\n prepareAdd() {\n this.form.userName = ''\n this.form.nickName = ''\n this.dialogFormVisible = true\n },\n prepareAllTriplet() {\n this.allTripletDialogVisible = true\n },\n prepareResetUserDayStatus(userName) {\n this.resetUserDayStatusVisible = true\n this.currentUserName = userName\n },\n prepareBlog10(userName) {\n this.blog10DialogVisible = true\n this.currentUserName = userName\n },\n prepareResetLikesComment() {\n this.resetLikesCommentDialogVisible = true\n },\n prepareAutoReply() {\n this.autoReplyDialogVisible = true\n },\n prepareMutiAdd() {\n this.form.userName = ''\n this.dialogMutiFormVisible = true\n },\n prepareDelete(id) {\n this.currentRowId = id\n this.dialogVisible = true\n },\n prepareTriplet(userName) {\n this.currentUserName = userName\n this.tripletVisible = true\n },\n preEdit(id, userName, nickName, userHomeUrl, userWeight) {\n this.form.userName = userName\n this.form.nickName = nickName\n this.form.userHomeUrl = userHomeUrl\n this.form.userWeight = userWeight\n this.currentRowId = id\n this.editVisible = true\n },\n handleClose(done) {\n this.$confirm('确认关闭?')\n .then((_) => {\n done()\n })\n .catch((_) => {})\n },\n handleConfirm(addType) {\n this.dialogFormVisible = false // 关闭对话框\n this.dialogMutiFormVisible = false\n this.addUser(addType) // 发送请求\n },\n handleSelectionChange(val) {\n this.multipleSelection = val\n },\n\n async addUser(addType) {\n try {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/add', {\n addType: addType,\n userName: this.form.userName,\n nickName: this.form.nickName,\n userWeight: this.form.userWeight,\n })\n if (res.code === 200) {\n this.currentPage = 1\n this.form.userName = ''\n this.form.nickName = ''\n this.form.userWeight = null\n this.userPage()\n } else {\n this.errorMsg(res.message)\n console.error('Received non-200 status code', res)\n }\n } catch (error) {\n console.error('An error occurred while adding the questionName:', error)\n // 异常处理逻辑\n } finally {\n this.loading = false\n }\n },\n errorMsg(msg) {\n this.$message({\n showClose: true,\n message: msg,\n type: 'error',\n })\n },\n async editConfirm() {\n try {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/update', {\n id: this.currentRowId,\n userName: this.form.userName,\n nickName: this.form.nickName,\n userWeight: this.form.userWeight,\n userHomeUrl: this.form.userHomeUrl,\n })\n if (res.code === 200) {\n this.form.userName = ''\n this.form.nickName = ''\n this.form.userHomeUrl = ''\n this.form.userWeight = null\n this.editVisible = false\n currentRowId: null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n } catch (error) {\n console.error('An error occurred while adding the questionName:', error)\n // 异常处理逻辑\n } finally {\n this.loading = false\n }\n },\n\n async allTriplet() {\n this.loading = true\n this.allTripletDialogVisible = false\n if (this.multipleSelection && this.multipleSelection.length === 0) {\n console.error('请选择需要处理的项')\n } else {\n let userNames = this.multipleSelection.map((item) => item.userName)\n const { data: res } = await axios.post('http://localhost:80/csdn/multiTriplet', userNames)\n if (res.code === 200) {\n this.multipleSelection = []\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n }\n this.loading = false\n },\n async triplet(userName) {\n this.loading = true\n this.tripletVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/singleTriplet?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async fixUserLikesStatus() {\n this.loading = true\n this.resetLikesCommentDialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/fixUserLikesStatus')\n if (res.code === 200) {\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async onBlog10(userName) {\n this.loading = true\n this.blog10DialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/add10Blog?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async resetUserDayStatus(userName) {\n this.loading = true\n this.resetUserDayStatusVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/user/resetCsdnUserInfo?username=' + userName)\n if (res.code === 200) {\n this.currentUserName = null\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n async onDelete(id) {\n this.loading = true\n const { data: res } = await axios.get('http://localhost:80/csdn/user/delete', {\n params: {\n id: id,\n },\n })\n this.dialogVisible = false\n this.userPage()\n this.loading = false\n },\n refreshPage() {\n //获取问题类型的枚举\n this.userPage()\n location.reload()\n },\n async userPage() {\n this.loading = true\n const { data: res } = await axios.post('http://localhost:80/csdn/user/page', {\n page: this.currentPage,\n pageSize: this.pageSize,\n userName: this.formInline.userName,\n nickName: this.formInline.nickName,\n articleType: this.formInline.articleType == '全部' ? '' : this.formInline.articleType,\n userWeight: this.formInline.userWeight == -1 ? null : this.formInline.userWeight,\n likeStatus: this.formInline.likeStatus == -1 ? null : this.formInline.likeStatus,\n collectStatus: this.formInline.collectStatus == -1 ? null : this.formInline.collectStatus,\n commentStatus: this.formInline.commentStatus == -1 ? null : this.formInline.commentStatus,\n })\n if (res.code === 200) {\n this.total = res.result.totalElements\n\n const userWeightMap = {}\n this.allOptions.forEach((option) => {\n userWeightMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.userWeightName = userWeightMap[item.userWeight]\n })\n\n const likeStatusMap = {}\n this.likeStatus.forEach((option) => {\n likeStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.likeStatusName = likeStatusMap[item.likeStatus]\n })\n\n const collectStatusMap = {}\n this.collectStatus.forEach((option) => {\n collectStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.collectStatusName = collectStatusMap[item.collectStatus]\n })\n\n const commentStatusMap = {}\n this.commentStatus.forEach((option) => {\n commentStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.commentStatusName = commentStatusMap[item.commentStatus]\n })\n\n this.csdnUserList = res.result.content\n }\n this.loading = false\n },\n handleCurrentChange(currentPage) {\n this.currentPage = currentPage\n this.userPage()\n },\n handleSizeChange(currentSize) {\n this.pageSize = currentSize\n this.userPage()\n },\n getTagType(statusName) {\n if (statusName == '未处理') {\n return 'info'\n } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n return 'success'\n } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42条') {\n return 'danger'\n } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n return 'success'\n } else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n return 'warning'\n }\n },\n async autoReply() {\n this.loading = true\n this.autoReplyDialogVisible = false\n const { data: res } = await axios.get('http://localhost:80/csdn/autoReply')\n if (res.code === 200) {\n this.userPage()\n } else {\n console.error('Received non-200 status code', res)\n }\n this.loading = false\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>",
"import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCsdnUser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCsdnUser.vue?vue&type=script&lang=js&\"", "import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCsdnUser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCsdnUser.vue?vue&type=script&lang=js&\"",
"import { render, staticRenderFns } from \"./MyCsdnUser.vue?vue&type=template&id=4faedb3f&scoped=true&\"\nimport script from \"./MyCsdnUser.vue?vue&type=script&lang=js&\"\nexport * from \"./MyCsdnUser.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyCsdnUser.vue?vue&type=style&index=0&id=4faedb3f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4faedb3f\",\n null\n \n)\n\nexport default component.exports", "import { render, staticRenderFns } from \"./MyCsdnUser.vue?vue&type=template&id=4faedb3f&scoped=true&\"\nimport script from \"./MyCsdnUser.vue?vue&type=script&lang=js&\"\nexport * from \"./MyCsdnUser.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyCsdnUser.vue?vue&type=style&index=0&id=4faedb3f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4faedb3f\",\n null\n \n)\n\nexport default component.exports",
"var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择关系类型\"},on:{\"change\":_vm.fansInfoPage},model:{value:(_vm.formInline.relationType),callback:function ($$v) {_vm.$set(_vm.formInline, \"relationType\", $$v)},expression:\"formInline.relationType\"}},_vm._l((_vm.relationType),function(type){return _c('el-option',{key:type,attrs:{\"label\":type,\"value\":type}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.fansInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncFansInfo}},[_vm._v(\"同步粉丝\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncFansInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncFansInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步粉丝吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncFansInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncFansInfo()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncFollowInfo}},[_vm._v(\"同步关注\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncFollowInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncFollowInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步关注吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncFollowInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncFollowInfo()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareCancleFollowInfo}},[_vm._v(\"取消关注\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.cancleFollowInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.cancleFollowInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认取消关注吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.cancleFollowInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.cancleFollowInfo()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.fansInfoList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.blogUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.nickName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"relationType\",\"label\":\"关系\",\"show-overflow-tooltip\":\"\"}})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }", "var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择关系类型\"},on:{\"change\":_vm.fansInfoPage},model:{value:(_vm.formInline.relationType),callback:function ($$v) {_vm.$set(_vm.formInline, \"relationType\", $$v)},expression:\"formInline.relationType\"}},_vm._l((_vm.relationType),function(type){return _c('el-option',{key:type,attrs:{\"label\":type,\"value\":type}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.fansInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncFansInfo}},[_vm._v(\"同步粉丝\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncFansInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncFansInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步粉丝吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncFansInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncFansInfo()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncFollowInfo}},[_vm._v(\"同步关注\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncFollowInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncFollowInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步关注吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncFollowInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncFollowInfo()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.prepareCancleFollowInfo}},[_vm._v(\"取消关注\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.cancleFollowInfoDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.cancleFollowInfoDialogVisible=$event}}},[_c('span',[_vm._v(\"确认取消关注吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.cancleFollowInfoDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.cancleFollowInfo()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.fansInfoList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.blogUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.nickName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"relationType\",\"label\":\"关系\",\"show-overflow-tooltip\":\"\"}})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }",
...@@ -548,11 +548,11 @@ ...@@ -548,11 +548,11 @@
"import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyRedPackage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyRedPackage.vue?vue&type=script&lang=js&\"", "import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyRedPackage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyRedPackage.vue?vue&type=script&lang=js&\"",
"import { render, staticRenderFns } from \"./MyRedPackage.vue?vue&type=template&id=83a67204&scoped=true&\"\nimport script from \"./MyRedPackage.vue?vue&type=script&lang=js&\"\nexport * from \"./MyRedPackage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyRedPackage.vue?vue&type=style&index=0&id=83a67204&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"83a67204\",\n null\n \n)\n\nexport default component.exports", "import { render, staticRenderFns } from \"./MyRedPackage.vue?vue&type=template&id=83a67204&scoped=true&\"\nimport script from \"./MyRedPackage.vue?vue&type=script&lang=js&\"\nexport * from \"./MyRedPackage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyRedPackage.vue?vue&type=style&index=0&id=83a67204&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"83a67204\",\n null\n \n)\n\nexport default component.exports",
"var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入文章id\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleId),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleId\", $$v)},expression:\"formInline.articleId\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.userName),callback:function ($$v) {_vm.$set(_vm.formInline, \"userName\", $$v)},expression:\"formInline.userName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户昵称\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.nickName),callback:function ($$v) {_vm.$set(_vm.formInline, \"nickName\", $$v)},expression:\"formInline.nickName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"质量分Start\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleScoreStart),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleScoreStart\", $$v)},expression:\"formInline.articleScoreStart\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"质量分End\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleScoreEnd),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleScoreEnd\", $$v)},expression:\"formInline.articleScoreEnd\"}})],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择点赞状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.likeStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"likeStatus\", $$v)},expression:\"formInline.likeStatus\"}},_vm._l((_vm.likeStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择收藏状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.collectStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"collectStatus\", $$v)},expression:\"formInline.collectStatus\"}},_vm._l((_vm.collectStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择评论状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.commentStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"commentStatus\", $$v)},expression:\"formInline.commentStatus\"}},_vm._l((_vm.commentStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择文章归属\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.isMyself),callback:function ($$v) {_vm.$set(_vm.formInline, \"isMyself\", $$v)},expression:\"formInline.isMyself\"}},_vm._l((_vm.isMyself),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.articleInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareAdd}},[_vm._v(\"新增\")]),_c('el-dialog',{staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"新增用户\",\"visible\":_vm.dialogAddFormVisible},on:{\"update:visible\":function($event){_vm.dialogAddFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章Id\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleId),callback:function ($$v) {_vm.$set(_vm.form, \"articleId\", $$v)},expression:\"form.articleId\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogAddFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(0)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareAllTriplet}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.allTripletDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.allTripletDialogVisible=$event}}},[_c('span',[_vm._v(\"确认三连吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.allTripletDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.allTriplet()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareResetLikes}},[_vm._v(\"核验状态\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetLikesDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetLikesDialogVisible=$event}}},[_c('span',[_vm._v(\"确认核验状态吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetLikesDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetLikes()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareGetScore}},[_vm._v(\"质量分查询\")]),_c('el-dialog',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"质量分查询\",\"visible\":_vm.getScoreFormVisible},on:{\"update:visible\":function($event){_vm.getScoreFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":18}},[_c('el-input',{attrs:{\"placeholder\":\"请输入文章链接\",\"autocomplete\":\"off\"},model:{value:(_vm.form.articleUrl),callback:function ($$v) {_vm.$set(_vm.form, \"articleUrl\", $$v)},expression:\"form.articleUrl\"}})],1)],1),_c('br'),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":12}},[_c('el-input',{attrs:{\"placeholder\":\"质量分待查询\",\"autocomplete\":\"off\"},model:{value:(_vm.form.articleScore),callback:function ($$v) {_vm.$set(_vm.form, \"articleScore\", $$v)},expression:\"form.articleScore\"}})],1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.getScoreFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.getScore}},[_vm._v(\"查 询\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncMyBlog}},[_vm._v(\"同步文章\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncMyBlogDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncMyBlogDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncMyBlogDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncMyBlog()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareDeleteLow}},[_vm._v(\"删除低分\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.deleteLowDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.deleteLowDialogVisible=$event}}},[_c('span',[_vm._v(\"确认删除低分文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.deleteLowDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.deleteLow()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.articleInfoList,\"tooltip-effect\":\"dark\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"50\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleId\",\"label\":\"文章id\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleTitle\",\"label\":\"文章标题\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.articleUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.articleTitle))])]}}])}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"articleScore\",\"label\":\"质量分\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleDescription\",\"label\":\"文章描述\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"更新时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.updateTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"操作\",\"label\":\"操作\",\"width\":\"310px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.prepareTriplet(props.row.articleId)}}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.tripletVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.tripletVisible=$event}}},[_c('span',[_vm._v(\"确认三连?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.tripletVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.triplet(_vm.articleId)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"success\",\"width\":\"200\"},on:{\"click\":function($event){$event.preventDefault();return _vm.preEdit(props.row.id, props.row.articleId, props.row.userName, props.row.nickName, props.row.articleUrl)}}},[_vm._v(\"编辑\")]),_c('el-dialog',{attrs:{\"title\":\"编辑用户信息\",\"visible\":_vm.editVisible},on:{\"update:visible\":function($event){_vm.editVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章id\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleId),callback:function ($$v) {_vm.$set(_vm.form, \"articleId\", $$v)},expression:\"form.articleId\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章链接\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleUrl),callback:function ($$v) {_vm.$set(_vm.form, \"articleUrl\", $$v)},expression:\"form.articleUrl\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editConfirm}},[_vm._v(\"确 定\")])],1)],1),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){return _vm.prepareDelete(props.row.id)}}},[_vm._v(\"删除\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.dialogDelVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogDelVisible=$event}}},[_c('span',[_vm._v(\"确认删除?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogDelVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.articleInfoDelete(_vm.currentRowId)}}},[_vm._v(\"确 定\")])],1)])]}}])})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 10, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }", "var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入文章id\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleId),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleId\", $$v)},expression:\"formInline.articleId\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.userName),callback:function ($$v) {_vm.$set(_vm.formInline, \"userName\", $$v)},expression:\"formInline.userName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"请输入用户昵称\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.nickName),callback:function ($$v) {_vm.$set(_vm.formInline, \"nickName\", $$v)},expression:\"formInline.nickName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"质量分Start\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleScoreStart),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleScoreStart\", $$v)},expression:\"formInline.articleScoreStart\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"size\":\"small\",\"clearable\":\"\",\"placeholder\":\"质量分End\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.articleInfoPage.apply(null, arguments)}},model:{value:(_vm.formInline.articleScoreEnd),callback:function ($$v) {_vm.$set(_vm.formInline, \"articleScoreEnd\", $$v)},expression:\"formInline.articleScoreEnd\"}})],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择点赞状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.likeStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"likeStatus\", $$v)},expression:\"formInline.likeStatus\"}},_vm._l((_vm.likeStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择收藏状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.collectStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"collectStatus\", $$v)},expression:\"formInline.collectStatus\"}},_vm._l((_vm.collectStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择评论状态\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.commentStatus),callback:function ($$v) {_vm.$set(_vm.formInline, \"commentStatus\", $$v)},expression:\"formInline.commentStatus\"}},_vm._l((_vm.commentStatus),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"请选择文章归属\"},on:{\"change\":_vm.articleInfoPage},model:{value:(_vm.formInline.isMyself),callback:function ($$v) {_vm.$set(_vm.formInline, \"isMyself\", $$v)},expression:\"formInline.isMyself\"}},_vm._l((_vm.isMyself),function(item){return _c('el-option',{key:item.type,attrs:{\"label\":item.name,\"value\":item.type}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.articleInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareAdd}},[_vm._v(\"新增\")]),_c('el-dialog',{staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"新增用户\",\"visible\":_vm.dialogAddFormVisible},on:{\"update:visible\":function($event){_vm.dialogAddFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('br'),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章Id\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleId),callback:function ($$v) {_vm.$set(_vm.form, \"articleId\", $$v)},expression:\"form.articleId\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogAddFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleConfirm(0)}}},[_vm._v(\"确 定\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareAllTriplet}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.allTripletDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.allTripletDialogVisible=$event}}},[_c('span',[_vm._v(\"确认三连吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.allTripletDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.allTriplet()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareResetLikes}},[_vm._v(\"核验状态\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetLikesDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.resetLikesDialogVisible=$event}}},[_c('span',[_vm._v(\"确认核验状态吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetLikesDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetLikes()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareGetScore}},[_vm._v(\"质量分查询\")]),_c('el-dialog',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"title\":\"质量分查询\",\"visible\":_vm.getScoreFormVisible},on:{\"update:visible\":function($event){_vm.getScoreFormVisible=$event}}},[_c('el-form',{staticClass:\"custom-form\",attrs:{\"model\":_vm.form}},[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":18}},[_c('el-input',{attrs:{\"placeholder\":\"请输入文章链接\",\"autocomplete\":\"off\"},model:{value:(_vm.form.articleUrl),callback:function ($$v) {_vm.$set(_vm.form, \"articleUrl\", $$v)},expression:\"form.articleUrl\"}})],1)],1),_c('br'),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":12}},[_c('el-input',{attrs:{\"placeholder\":\"质量分待查询\",\"autocomplete\":\"off\"},model:{value:(_vm.form.articleScore),callback:function ($$v) {_vm.$set(_vm.form, \"articleScore\", $$v)},expression:\"form.articleScore\"}})],1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.getScoreFormVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.getScore}},[_vm._v(\"查 询\")])],1)],1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareSyncMyBlog}},[_vm._v(\"同步文章\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.syncMyBlogDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.syncMyBlogDialogVisible=$event}}},[_c('span',[_vm._v(\"确认同步文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncMyBlogDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.syncMyBlog()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareDeleteLow}},[_vm._v(\"删除低分\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.deleteLowDialogVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.deleteLowDialogVisible=$event}}},[_c('span',[_vm._v(\"确认删除低分文章吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.deleteLowDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.deleteLow()}}},[_vm._v(\"确 定\")])],1)])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.articleInfoList,\"tooltip-effect\":\"dark\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"50\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleId\",\"label\":\"文章id\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"userName\",\"label\":\"用户名称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickName\",\"label\":\"用户昵称\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleTitle\",\"label\":\"文章标题\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.articleUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(scope.row.articleTitle))])]}}])}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"articleScore\",\"label\":\"质量分\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"articleDescription\",\"label\":\"文章描述\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"更新时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.updateTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"操作\",\"label\":\"操作\",\"width\":\"310px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.prepareTriplet(props.row.articleId)}}},[_vm._v(\"三连\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.tripletVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.tripletVisible=$event}}},[_c('span',[_vm._v(\"确认三连?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.tripletVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.triplet(_vm.articleId)}}},[_vm._v(\"确 定\")])],1)]),_c('el-button',{attrs:{\"type\":\"success\",\"width\":\"200\"},on:{\"click\":function($event){$event.preventDefault();return _vm.preEdit(props.row.id, props.row.articleId, props.row.userName, props.row.nickName, props.row.articleUrl)}}},[_vm._v(\"编辑\")]),_c('el-dialog',{attrs:{\"title\":\"编辑用户信息\",\"visible\":_vm.editVisible},on:{\"update:visible\":function($event){_vm.editVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章id\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleId),callback:function ($$v) {_vm.$set(_vm.form, \"articleId\", $$v)},expression:\"form.articleId\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户名称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"用户昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.nickName),callback:function ($$v) {_vm.$set(_vm.form, \"nickName\", $$v)},expression:\"form.nickName\"}})],1),_c('el-form-item',{staticClass:\"form-item\",attrs:{\"label\":\"文章链接\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.form.articleUrl),callback:function ($$v) {_vm.$set(_vm.form, \"articleUrl\", $$v)},expression:\"form.articleUrl\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editConfirm}},[_vm._v(\"确 定\")])],1)],1),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){return _vm.prepareDelete(props.row.id)}}},[_vm._v(\"删除\")]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.dialogDelVisible,\"width\":\"30%\",\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogDelVisible=$event}}},[_c('span',[_vm._v(\"确认删除?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogDelVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.articleInfoDelete(_vm.currentRowId)}}},[_vm._v(\"确 定\")])],1)])]}}])})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 10, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }",
"<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleId\" placeholder=\"请输入文章id\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.userName\" placeholder=\"请输入用户名\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.nickName\" placeholder=\"请输入用户昵称\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleScoreStart\" placeholder=\"质量分Start\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleScoreEnd\" placeholder=\"质量分End\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.likeStatus\" placeholder=\"请选择点赞状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in likeStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.collectStatus\" placeholder=\"请选择收藏状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in collectStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.commentStatus\" placeholder=\"请选择评论状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in commentStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.isMyself\" placeholder=\"请选择文章归属\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in isMyself\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"articleInfoPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareAdd\">新增</el-button>\n\t\t\t\t\t\t<el-dialog title=\"新增用户\" :visible.sync=\"dialogAddFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"文章Id\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleId\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogAddFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(0)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareAllTriplet\">三连</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"allTripletDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认三连吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"allTripletDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"allTriplet()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareResetLikes\">核验状态</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetLikesDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认核验状态吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"resetLikesDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"resetLikes()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareGetScore\">质量分查询</el-button>\n\t\t\t\t\t\t<el-dialog v-loading=\"loading\" title=\"质量分查询\" :visible.sync=\"getScoreFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-row :gutter=\"20\">\n\t\t\t\t\t\t\t\t\t<el-col :span=\"18\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleUrl\" placeholder=\"请输入文章链接\" autocomplete=\"off\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t</el-row>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-row :gutter=\"20\">\n\t\t\t\t\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleScore\" placeholder=\"质量分待查询\" autocomplete=\"off\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t</el-row>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"getScoreFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"getScore\">查 询</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareSyncMyBlog\">同步文章</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"syncMyBlogDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认同步文章吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"syncMyBlogDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"syncMyBlog()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareDeleteLow\">删除低分</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"deleteLowDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认删除低分文章吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"deleteLowDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"deleteLow()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table ref=\"multipleTable\" v-loading=\"loading\" :data=\"articleInfoList\" tooltip-effect=\"dark\" style=\"width: 100%\" @selection-change=\"handleSelectionChange\">\n\t\t\t\t\t<el-table-column type=\"selection\" width=\"50\"></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleId\" label=\"文章id\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"userName\" label=\"用户名称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"nickName\" label=\"用户昵称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleTitle\" label=\"文章标题\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<a :href=\"scope.row.articleUrl\" target=\"_blank\">{{ scope.row.articleTitle }}</a>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column sortable prop=\"articleScore\" label=\"质量分\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleDescription\" label=\"文章描述\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column label=\"更新时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.updateTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"操作\" label=\"操作\" width=\"310px\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareTriplet(props.row.articleId)\">三连</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"tripletVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认三连?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"tripletVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"triplet(articleId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"preEdit(props.row.id, props.row.articleId, props.row.userName, props.row.nickName, props.row.articleUrl)\" width=\"200\">编辑</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"编辑用户信息\" :visible.sync=\"editVisible\">\n\t\t\t\t\t\t\t\t<el-form :model=\"form\">\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"文章id\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleId\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"文章链接\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleUrl\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"editVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"editConfirm\">确 定</el-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareDelete(props.row.id)\">删除</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"dialogDelVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认删除?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"dialogDelVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"articleInfoDelete(currentRowId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 10, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nimport ApiService from '../../api/ApiService'\nexport default {\n\tname: 'MyArticleInfo',\n\n\tdata() {\n\t\treturn {\n\t\t\tform: {\n\t\t\t\tuserName: '',\n\t\t\t\tarticleId: '',\n\t\t\t\tarticleUrl: '',\n\t\t\t\tarticleScore: '',\n\t\t\t},\n\t\t\tformInline: {\n\t\t\t\tarticleId: '',\n\t\t\t\tuserName: '',\n\t\t\t\tnickName: '',\n\t\t\t\tarticleUrl: '',\n\t\t\t\tisMyself: null,\n\t\t\t\tarticleScoreStart: 0,\n\t\t\t\tarticleScoreEnd: 100,\n\t\t\t\tlikeStatus: null,\n\t\t\t\tcollectStatus: null,\n\t\t\t\tcommentStatus: null,\n\t\t\t},\n\t\t\tlikeStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经点过赞' },\n\t\t\t\t{ type: 2, name: '点赞已满' },\n\t\t\t\t{ type: 3, name: '取消点赞' },\n\t\t\t\t{ type: 4, name: '文章状态不能点赞' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '点赞成功' },\n\t\t\t],\n\t\t\tcollectStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经收藏过' },\n\t\t\t\t{ type: 2, name: '收藏已满' },\n\t\t\t\t{ type: 3, name: '参数缺失' },\n\t\t\t\t{ type: 4, name: '收藏夹不存在' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '收藏成功' },\n\t\t\t],\n\n\t\t\tcommentStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经评论过' },\n\t\t\t\t{ type: 2, name: '评论已满' },\n\t\t\t\t{ type: 3, name: '禁言' },\n\t\t\t\t{ type: 4, name: '评论太快' },\n\t\t\t\t{ type: 5, name: '评论已经到了45条' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '评论成功' },\n\t\t\t],\n\t\t\tisMyself: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '否',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '是' },\n\t\t\t],\n\t\t\tdialogAddFormVisible: false,\n\t\t\tdialogDelVisible: false,\n\t\t\teditVisible: false,\n\t\t\ttripletVisible: false,\n\t\t\tallTripletDialogVisible: false,\n\t\t\tgetScoreFormVisible: false,\n\t\t\tresetLikesDialogVisible: false,\n\t\t\tsyncMyBlogDialogVisible: false,\n\t\t\tdeleteLowDialogVisible: false,\n\t\t\t// 用户列表数据\n\t\t\tarticleInfoList: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: Number(localStorage.getItem('csdnUserPage')) || 1,\n\t\t\tpageSize: 8,\n\t\t\ttotal: 0,\n\t\t\t// 新增的内容\n\t\t\tformLabelWidth: '120px',\n\t\t\tcurrentRowId: null,\n\t\t\tarticleId: null,\n\t\t\tmultipleSelection: [],\n\t\t}\n\t},\n\twatch: {\n\t\tformInline: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tlocalStorage.setItem('csdnUserPage', this.currentPage)\n\t\t\t\tthis.articleInfoPage()\n\t\t\t},\n\t\t\tdeep: true,\n\t\t},\n\t\t// 监听currentPage的变化,将新值保存到localStorage中\n\t\tcurrentPage(newPage) {\n\t\t\tlocalStorage.setItem('csdnUserPage', newPage.toString())\n\t\t},\n\t},\n\tcreated() {\n\t\t//获取问题类型的枚举\n\t\tthis.articleInfoPage()\n\t},\n\tmounted() {\n\t\tthis.currentPage = 1\n\t},\n\tmethods: {\n\t\tprepareAdd() {\n\t\t\tthis.form.userName = ''\n\t\t\tthis.form.articleId = ''\n\t\t\tthis.dialogAddFormVisible = true\n\t\t},\n\t\tprepareGetScore() {\n\t\t\tthis.form.articleUrl = ''\n\t\t\tthis.form.articleScore = ''\n\t\t\tthis.getScoreFormVisible = true\n\t\t},\n\t\tprepareResetLikes() {\n\t\t\tthis.resetLikesDialogVisible = true\n\t\t},\n\t\tprepareAllTriplet() {\n\t\t\tthis.allTripletDialogVisible = true\n\t\t},\n\t\tprepareSyncMyBlog() {\n\t\t\tthis.syncMyBlogDialogVisible = true\n\t\t},\n\t\tprepareDeleteLow() {\n\t\t\tthis.deleteLowDialogVisible = true\n\t\t},\n\t\tprepareDelete(id) {\n\t\t\tthis.currentRowId = id\n\t\t\tthis.dialogDelVisible = true\n\t\t},\n\t\tprepareTriplet(articleId) {\n\t\t\tthis.articleId = articleId\n\t\t\tthis.tripletVisible = true\n\t\t},\n\t\tpreEdit(id, articleId, userName, nickName, articleUrl) {\n\t\t\tthis.form.articleId = articleId\n\t\t\tthis.form.userName = userName\n\t\t\tthis.form.nickName = nickName\n\t\t\tthis.form.articleUrl = articleUrl\n\t\t\tthis.currentRowId = id\n\t\t\tthis.editVisible = true\n\t\t},\n\t\thandleSelectionChange(val) {\n\t\t\tthis.multipleSelection = val\n\t\t},\n\n\t\thandleClose(done) {\n\t\t\tthis.$confirm('确认关闭?')\n\t\t\t\t.then((_) => {\n\t\t\t\t\tdone()\n\t\t\t\t})\n\t\t\t\t.catch((_) => {})\n\t\t},\n\t\thandleConfirm(addType) {\n\t\t\tthis.dialogAddFormVisible = false // 关闭对话框\n\t\t\tthis.addUser(addType) // 发送请求\n\t\t},\n\n\t\tasync addUser(addType) {\n\t\t\ttry {\n\t\t\t\tthis.loading = true\n\t\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/add', {\n\t\t\t\t\taddType: addType,\n\t\t\t\t\tuserName: this.form.userName,\n\t\t\t\t\tarticleId: this.form.articleId,\n\t\t\t\t})\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.currentPage = 1\n\t\t\t\t\tthis.form.userName = ''\n\t\t\t\t\tthis.form.articleId = ''\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tthis.errorMsg(res.message)\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('An error occurred while adding the questionName:', error)\n\t\t\t\t// 异常处理逻辑\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t\terrorMsg(msg) {\n\t\t\tthis.$message({\n\t\t\t\tshowClose: true,\n\t\t\t\tmessage: msg,\n\t\t\t\ttype: 'error',\n\t\t\t})\n\t\t},\n\t\tasync editConfirm() {\n\t\t\ttry {\n\t\t\t\tthis.loading = true\n\t\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/update', {\n\t\t\t\t\tid: this.currentRowId,\n\t\t\t\t\tarticleId: this.form.articleId,\n\t\t\t\t\tuserName: this.form.userName,\n\t\t\t\t\tnickName: this.form.nickName,\n\t\t\t\t\tarticleUrl: this.form.articleUrl,\n\t\t\t\t})\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.form.userName = ''\n\t\t\t\t\tthis.form.nickName = ''\n\t\t\t\t\tthis.form.articleId = ''\n\t\t\t\t\tthis.form.articleUrl = ''\n\t\t\t\t\tthis.editVisible = false\n\t\t\t\t\tcurrentRowId: null\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('An error occurred while adding the questionName:', error)\n\t\t\t\t// 异常处理逻辑\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t\tasync getScore() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://localhost:80/csdnArticleInfo/getScore?articleUrl=' + this.form.articleUrl)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.form.articleScore = res.result\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\tasync deleteLow() {\n\t\t\tthis.loading = true\n\t\t\tthis.deleteLowDialogVisible = false\n\t\t\tconst { data: res } = await axios.get('http://localhost:80/csdnArticleInfo/deletaLowBlog')\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\tasync triplet(articleId) {\n\t\t\tthis.loading = true\n\t\t\tthis.tripletVisible = false\n\t\t\tconst { data: res } = await ApiService.triplet(articleId)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleId = null\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync syncMyBlog() {\n\t\t\tthis.loading = true\n\t\t\tthis.syncMyBlogDialogVisible = false\n\t\t\tconst { data: res } = await ApiService.syncMyBlog()\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync allTriplet() {\n\t\t\tthis.loading = true\n\t\t\tthis.allTripletDialogVisible = false\n\t\t\tif (this.multipleSelection && this.multipleSelection.length === 0) {\n\t\t\t\tconsole.error('请选择需要三连的数据行')\n\t\t\t} else {\n\t\t\t\tlet articleIds = this.multipleSelection.map((item) => item.articleId)\n\t\t\t\tconst { data: res } = await ApiService.allTriplet(articleIds)\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.multipleSelection = []\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\t//重置点赞评论状态\n\t\tasync resetLikes() {\n\t\t\tthis.loading = true\n\t\t\tthis.resetLikesDialogVisible = false\n\t\t\tconst { data: res } = await ApiService.resetLikes()\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync articleInfoDelete(id) {\n\t\t\tthis.loading = true\n\t\t\tthis.dialogDelVisible = false\n\t\t\tconst { data: res } = await ApiService.articleInfoDelete(id)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\trefreshPage() {\n\t\t\t//获取问题类型的枚举\n\t\t\tthis.articleInfoPage()\n\t\t\tlocation.reload()\n\t\t},\n\t\tasync articleInfoPage() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/page', {\n\t\t\t\tpage: this.currentPage,\n\t\t\t\tpageSize: this.pageSize,\n\t\t\t\tarticleId: this.formInline.articleId,\n\t\t\t\tuserName: this.formInline.userName,\n\t\t\t\tnickName: this.formInline.nickName,\n\t\t\t\tarticleScoreStart: this.formInline.articleScoreStart,\n\t\t\t\tarticleScoreEnd: this.formInline.articleScoreEnd,\n\t\t\t\tisMyself: this.formInline.isMyself,\n\t\t\t\tlikeStatus: this.formInline.likeStatus == -1 ? null : this.formInline.likeStatus,\n\t\t\t\tcollectStatus: this.formInline.collectStatus == -1 ? null : this.formInline.collectStatus,\n\t\t\t\tcommentStatus: this.formInline.commentStatus == -1 ? null : this.formInline.commentStatus,\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.total = res.result.totalElements\n\n\t\t\t\tconst likeStatusMap = {}\n\t\t\t\tthis.likeStatus.forEach((option) => {\n\t\t\t\t\tlikeStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.likeStatusName = likeStatusMap[item.likeStatus]\n\t\t\t\t})\n\n\t\t\t\tconst collectStatusMap = {}\n\t\t\t\tthis.collectStatus.forEach((option) => {\n\t\t\t\t\tcollectStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.collectStatusName = collectStatusMap[item.collectStatus]\n\t\t\t\t})\n\n\t\t\t\tconst commentStatusMap = {}\n\t\t\t\tthis.commentStatus.forEach((option) => {\n\t\t\t\t\tcommentStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.commentStatusName = commentStatusMap[item.commentStatus]\n\t\t\t\t})\n\n\t\t\t\tthis.articleInfoList = res.result.content\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.articleInfoPage()\n\t\t},\n\t\thandleSizeChange(currentSize) {\n\t\t\tthis.pageSize = currentSize\n\t\t\tthis.articleInfoPage()\n\t\t},\n\t\tgetTagType(statusName) {\n\t\t\tif (statusName == '未处理') {\n\t\t\t\treturn 'info'\n\t\t\t} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n\t\t\t\treturn 'success'\n\t\t\t} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45条') {\n\t\t\t\treturn 'danger'\n\t\t\t} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n\t\t\t\treturn 'success'\n\t\t\t} else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n\t\t\t\treturn 'warning'\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>", "<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleId\" placeholder=\"请输入文章id\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.userName\" placeholder=\"请输入用户名\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.nickName\" placeholder=\"请输入用户昵称\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleScoreStart\" placeholder=\"质量分Start\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input size=\"small\" clearable v-model=\"formInline.articleScoreEnd\" placeholder=\"质量分End\" @keydown.enter.native=\"articleInfoPage\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.likeStatus\" placeholder=\"请选择点赞状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in likeStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.collectStatus\" placeholder=\"请选择收藏状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in collectStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.commentStatus\" placeholder=\"请选择评论状态\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in commentStatus\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-select size=\"small\" v-model=\"formInline.isMyself\" placeholder=\"请选择文章归属\" @change=\"articleInfoPage\">\n\t\t\t\t\t\t\t<el-option v-for=\"item in isMyself\" :key=\"item.type\" :label=\"item.name\" :value=\"item.type\"></el-option>\n\t\t\t\t\t\t</el-select>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"articleInfoPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareAdd\">新增</el-button>\n\t\t\t\t\t\t<el-dialog title=\"新增用户\" :visible.sync=\"dialogAddFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-form-item label=\"文章Id\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleId\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"dialogAddFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"handleConfirm(0)\">确 定</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareAllTriplet\">三连</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"allTripletDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认三连吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"allTripletDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"allTriplet()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareResetLikes\">核验状态</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetLikesDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认核验状态吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"resetLikesDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"resetLikes()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareGetScore\">质量分查询</el-button>\n\t\t\t\t\t\t<el-dialog v-loading=\"loading\" title=\"质量分查询\" :visible.sync=\"getScoreFormVisible\" style=\"width: 100%\">\n\t\t\t\t\t\t\t<el-form :model=\"form\" class=\"custom-form\">\n\t\t\t\t\t\t\t\t<el-row :gutter=\"20\">\n\t\t\t\t\t\t\t\t\t<el-col :span=\"18\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleUrl\" placeholder=\"请输入文章链接\" autocomplete=\"off\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t</el-row>\n\t\t\t\t\t\t\t\t<br />\n\t\t\t\t\t\t\t\t<el-row :gutter=\"20\">\n\t\t\t\t\t\t\t\t\t<el-col :span=\"12\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleScore\" placeholder=\"质量分待查询\" autocomplete=\"off\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t</el-row>\n\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"getScoreFormVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"getScore\">查 询</el-button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareSyncMyBlog\">同步文章</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"syncMyBlogDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认同步文章吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"syncMyBlogDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"syncMyBlog()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareDeleteLow\">删除低分</el-button>\n\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"deleteLowDialogVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t<span>确认删除低分文章吗?</span>\n\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t<el-button @click=\"deleteLowDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"deleteLow()\">确 定</el-button>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table ref=\"multipleTable\" v-loading=\"loading\" :data=\"articleInfoList\" tooltip-effect=\"dark\" style=\"width: 100%\" @selection-change=\"handleSelectionChange\">\n\t\t\t\t\t<el-table-column type=\"selection\" width=\"50\"></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleId\" label=\"文章id\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"userName\" label=\"用户名称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"nickName\" label=\"用户昵称\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleTitle\" label=\"文章标题\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<a :href=\"scope.row.articleUrl\" target=\"_blank\">{{ scope.row.articleTitle }}</a>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column sortable prop=\"articleScore\" label=\"质量分\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"articleDescription\" label=\"文章描述\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column label=\"更新时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.updateTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"操作\" label=\"操作\" width=\"310px\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareTriplet(props.row.articleId)\">三连</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"tripletVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认三连?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"tripletVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"triplet(articleId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"preEdit(props.row.id, props.row.articleId, props.row.userName, props.row.nickName, props.row.articleUrl)\" width=\"200\">编辑</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"编辑用户信息\" :visible.sync=\"editVisible\">\n\t\t\t\t\t\t\t\t<el-form :model=\"form\">\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"文章id\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleId\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户名称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.userName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"用户昵称\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.nickName\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t<el-form-item label=\"文章链接\" :label-width=\"formLabelWidth\" class=\"form-item\">\n\t\t\t\t\t\t\t\t\t\t<el-input v-model=\"form.articleUrl\" autocomplete=\"off\" style=\"width: 100%\"></el-input>\n\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t</el-form>\n\t\t\t\t\t\t\t\t<div slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"editVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click=\"editConfirm\">确 定</el-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"prepareDelete(props.row.id)\">删除</el-button>\n\t\t\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"dialogDelVisible\" width=\"30%\" :before-close=\"handleClose\">\n\t\t\t\t\t\t\t\t<span>确认删除?</span>\n\t\t\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t\t\t<el-button @click=\"dialogDelVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"articleInfoDelete(currentRowId)\">确 定</el-button>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</el-dialog>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 10, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nimport ApiService from '../../api/ApiService'\nexport default {\n\tname: 'MyArticleInfo',\n\n\tdata() {\n\t\treturn {\n\t\t\tform: {\n\t\t\t\tuserName: '',\n\t\t\t\tarticleId: '',\n\t\t\t\tarticleUrl: '',\n\t\t\t\tarticleScore: '',\n\t\t\t},\n\t\t\tformInline: {\n\t\t\t\tarticleId: '',\n\t\t\t\tuserName: '',\n\t\t\t\tnickName: '',\n\t\t\t\tarticleUrl: '',\n\t\t\t\tisMyself: null,\n\t\t\t\tarticleScoreStart: 0,\n\t\t\t\tarticleScoreEnd: 100,\n\t\t\t\tlikeStatus: null,\n\t\t\t\tcollectStatus: null,\n\t\t\t\tcommentStatus: null,\n\t\t\t},\n\t\t\tlikeStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经点过赞' },\n\t\t\t\t{ type: 2, name: '点赞已满' },\n\t\t\t\t{ type: 3, name: '取消点赞' },\n\t\t\t\t{ type: 4, name: '文章状态不能点赞' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '点赞成功' },\n\t\t\t],\n\t\t\tcollectStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经收藏过' },\n\t\t\t\t{ type: 2, name: '收藏已满' },\n\t\t\t\t{ type: 3, name: '参数缺失' },\n\t\t\t\t{ type: 4, name: '收藏夹不存在' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '收藏成功' },\n\t\t\t],\n\n\t\t\tcommentStatus: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '未处理',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '已经评论过' },\n\t\t\t\t{ type: 2, name: '评论已满' },\n\t\t\t\t{ type: 3, name: '禁言' },\n\t\t\t\t{ type: 4, name: '评论太快' },\n\t\t\t\t{ type: 5, name: '评论已经到了42条' },\n\t\t\t\t{ type: 8, name: '其他错误' },\n\t\t\t\t{ type: 9, name: '评论成功' },\n\t\t\t],\n\t\t\tisMyself: [\n\t\t\t\t{\n\t\t\t\t\ttype: -1,\n\t\t\t\t\tname: '全部',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttype: 0,\n\t\t\t\t\tname: '否',\n\t\t\t\t},\n\t\t\t\t{ type: 1, name: '是' },\n\t\t\t],\n\t\t\tdialogAddFormVisible: false,\n\t\t\tdialogDelVisible: false,\n\t\t\teditVisible: false,\n\t\t\ttripletVisible: false,\n\t\t\tallTripletDialogVisible: false,\n\t\t\tgetScoreFormVisible: false,\n\t\t\tresetLikesDialogVisible: false,\n\t\t\tsyncMyBlogDialogVisible: false,\n\t\t\tdeleteLowDialogVisible: false,\n\t\t\t// 用户列表数据\n\t\t\tarticleInfoList: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: Number(localStorage.getItem('csdnUserPage')) || 1,\n\t\t\tpageSize: 8,\n\t\t\ttotal: 0,\n\t\t\t// 新增的内容\n\t\t\tformLabelWidth: '120px',\n\t\t\tcurrentRowId: null,\n\t\t\tarticleId: null,\n\t\t\tmultipleSelection: [],\n\t\t}\n\t},\n\twatch: {\n\t\tformInline: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tlocalStorage.setItem('csdnUserPage', this.currentPage)\n\t\t\t\tthis.articleInfoPage()\n\t\t\t},\n\t\t\tdeep: true,\n\t\t},\n\t\t// 监听currentPage的变化,将新值保存到localStorage中\n\t\tcurrentPage(newPage) {\n\t\t\tlocalStorage.setItem('csdnUserPage', newPage.toString())\n\t\t},\n\t},\n\tcreated() {\n\t\t//获取问题类型的枚举\n\t\tthis.articleInfoPage()\n\t},\n\tmounted() {\n\t\tthis.currentPage = 1\n\t},\n\tmethods: {\n\t\tprepareAdd() {\n\t\t\tthis.form.userName = ''\n\t\t\tthis.form.articleId = ''\n\t\t\tthis.dialogAddFormVisible = true\n\t\t},\n\t\tprepareGetScore() {\n\t\t\tthis.form.articleUrl = ''\n\t\t\tthis.form.articleScore = ''\n\t\t\tthis.getScoreFormVisible = true\n\t\t},\n\t\tprepareResetLikes() {\n\t\t\tthis.resetLikesDialogVisible = true\n\t\t},\n\t\tprepareAllTriplet() {\n\t\t\tthis.allTripletDialogVisible = true\n\t\t},\n\t\tprepareSyncMyBlog() {\n\t\t\tthis.syncMyBlogDialogVisible = true\n\t\t},\n\t\tprepareDeleteLow() {\n\t\t\tthis.deleteLowDialogVisible = true\n\t\t},\n\t\tprepareDelete(id) {\n\t\t\tthis.currentRowId = id\n\t\t\tthis.dialogDelVisible = true\n\t\t},\n\t\tprepareTriplet(articleId) {\n\t\t\tthis.articleId = articleId\n\t\t\tthis.tripletVisible = true\n\t\t},\n\t\tpreEdit(id, articleId, userName, nickName, articleUrl) {\n\t\t\tthis.form.articleId = articleId\n\t\t\tthis.form.userName = userName\n\t\t\tthis.form.nickName = nickName\n\t\t\tthis.form.articleUrl = articleUrl\n\t\t\tthis.currentRowId = id\n\t\t\tthis.editVisible = true\n\t\t},\n\t\thandleSelectionChange(val) {\n\t\t\tthis.multipleSelection = val\n\t\t},\n\n\t\thandleClose(done) {\n\t\t\tthis.$confirm('确认关闭?')\n\t\t\t\t.then((_) => {\n\t\t\t\t\tdone()\n\t\t\t\t})\n\t\t\t\t.catch((_) => {})\n\t\t},\n\t\thandleConfirm(addType) {\n\t\t\tthis.dialogAddFormVisible = false // 关闭对话框\n\t\t\tthis.addUser(addType) // 发送请求\n\t\t},\n\n\t\tasync addUser(addType) {\n\t\t\ttry {\n\t\t\t\tthis.loading = true\n\t\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/add', {\n\t\t\t\t\taddType: addType,\n\t\t\t\t\tuserName: this.form.userName,\n\t\t\t\t\tarticleId: this.form.articleId,\n\t\t\t\t})\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.currentPage = 1\n\t\t\t\t\tthis.form.userName = ''\n\t\t\t\t\tthis.form.articleId = ''\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tthis.errorMsg(res.message)\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('An error occurred while adding the questionName:', error)\n\t\t\t\t// 异常处理逻辑\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t\terrorMsg(msg) {\n\t\t\tthis.$message({\n\t\t\t\tshowClose: true,\n\t\t\t\tmessage: msg,\n\t\t\t\ttype: 'error',\n\t\t\t})\n\t\t},\n\t\tasync editConfirm() {\n\t\t\ttry {\n\t\t\t\tthis.loading = true\n\t\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/update', {\n\t\t\t\t\tid: this.currentRowId,\n\t\t\t\t\tarticleId: this.form.articleId,\n\t\t\t\t\tuserName: this.form.userName,\n\t\t\t\t\tnickName: this.form.nickName,\n\t\t\t\t\tarticleUrl: this.form.articleUrl,\n\t\t\t\t})\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.form.userName = ''\n\t\t\t\t\tthis.form.nickName = ''\n\t\t\t\t\tthis.form.articleId = ''\n\t\t\t\t\tthis.form.articleUrl = ''\n\t\t\t\t\tthis.editVisible = false\n\t\t\t\t\tcurrentRowId: null\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('An error occurred while adding the questionName:', error)\n\t\t\t\t// 异常处理逻辑\n\t\t\t} finally {\n\t\t\t\tthis.loading = false\n\t\t\t}\n\t\t},\n\t\tasync getScore() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://localhost:80/csdnArticleInfo/getScore?articleUrl=' + this.form.articleUrl)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.form.articleScore = res.result\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\tasync deleteLow() {\n\t\t\tthis.loading = true\n\t\t\tthis.deleteLowDialogVisible = false\n\t\t\tconst { data: res } = await axios.get('http://localhost:80/csdnArticleInfo/deletaLowBlog')\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\tasync triplet(articleId) {\n\t\t\tthis.loading = true\n\t\t\tthis.tripletVisible = false\n\t\t\tconst { data: res } = await ApiService.triplet(articleId)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleId = null\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync syncMyBlog() {\n\t\t\tthis.loading = true\n\t\t\tthis.syncMyBlogDialogVisible = false\n\t\t\tconst { data: res } = await ApiService.syncMyBlog()\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync allTriplet() {\n\t\t\tthis.loading = true\n\t\t\tthis.allTripletDialogVisible = false\n\t\t\tif (this.multipleSelection && this.multipleSelection.length === 0) {\n\t\t\t\tconsole.error('请选择需要三连的数据行')\n\t\t\t} else {\n\t\t\t\tlet articleIds = this.multipleSelection.map((item) => item.articleId)\n\t\t\t\tconst { data: res } = await ApiService.allTriplet(articleIds)\n\t\t\t\tif (res.code === 200) {\n\t\t\t\t\tthis.multipleSelection = []\n\t\t\t\t\tthis.articleInfoPage()\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\t//重置点赞评论状态\n\t\tasync resetLikes() {\n\t\t\tthis.loading = true\n\t\t\tthis.resetLikesDialogVisible = false\n\t\t\tconst { data: res } = await ApiService.resetLikes()\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\tasync articleInfoDelete(id) {\n\t\t\tthis.loading = true\n\t\t\tthis.dialogDelVisible = false\n\t\t\tconst { data: res } = await ApiService.articleInfoDelete(id)\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.articleInfoPage()\n\t\t\t} else {\n\t\t\t\tconsole.error('Received non-200 status code', res)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\trefreshPage() {\n\t\t\t//获取问题类型的枚举\n\t\t\tthis.articleInfoPage()\n\t\t\tlocation.reload()\n\t\t},\n\t\tasync articleInfoPage() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.post('http://localhost:80/csdnArticleInfo/page', {\n\t\t\t\tpage: this.currentPage,\n\t\t\t\tpageSize: this.pageSize,\n\t\t\t\tarticleId: this.formInline.articleId,\n\t\t\t\tuserName: this.formInline.userName,\n\t\t\t\tnickName: this.formInline.nickName,\n\t\t\t\tarticleScoreStart: this.formInline.articleScoreStart,\n\t\t\t\tarticleScoreEnd: this.formInline.articleScoreEnd,\n\t\t\t\tisMyself: this.formInline.isMyself,\n\t\t\t\tlikeStatus: this.formInline.likeStatus == -1 ? null : this.formInline.likeStatus,\n\t\t\t\tcollectStatus: this.formInline.collectStatus == -1 ? null : this.formInline.collectStatus,\n\t\t\t\tcommentStatus: this.formInline.commentStatus == -1 ? null : this.formInline.commentStatus,\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.total = res.result.totalElements\n\n\t\t\t\tconst likeStatusMap = {}\n\t\t\t\tthis.likeStatus.forEach((option) => {\n\t\t\t\t\tlikeStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.likeStatusName = likeStatusMap[item.likeStatus]\n\t\t\t\t})\n\n\t\t\t\tconst collectStatusMap = {}\n\t\t\t\tthis.collectStatus.forEach((option) => {\n\t\t\t\t\tcollectStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.collectStatusName = collectStatusMap[item.collectStatus]\n\t\t\t\t})\n\n\t\t\t\tconst commentStatusMap = {}\n\t\t\t\tthis.commentStatus.forEach((option) => {\n\t\t\t\t\tcommentStatusMap[option.type] = option.name\n\t\t\t\t})\n\t\t\t\tres.result.content.forEach((item) => {\n\t\t\t\t\titem.commentStatusName = commentStatusMap[item.commentStatus]\n\t\t\t\t})\n\n\t\t\t\tthis.articleInfoList = res.result.content\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.articleInfoPage()\n\t\t},\n\t\thandleSizeChange(currentSize) {\n\t\t\tthis.pageSize = currentSize\n\t\t\tthis.articleInfoPage()\n\t\t},\n\t\tgetTagType(statusName) {\n\t\t\tif (statusName == '未处理') {\n\t\t\t\treturn 'info'\n\t\t\t} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n\t\t\t\treturn 'success'\n\t\t\t} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42条') {\n\t\t\t\treturn 'danger'\n\t\t\t} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n\t\t\t\treturn 'success'\n\t\t\t} else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n\t\t\t\treturn 'warning'\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>",
"import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyArticleInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyArticleInfo.vue?vue&type=script&lang=js&\"", "import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyArticleInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyArticleInfo.vue?vue&type=script&lang=js&\"",
"import { render, staticRenderFns } from \"./MyArticleInfo.vue?vue&type=template&id=dfde6c48&scoped=true&\"\nimport script from \"./MyArticleInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./MyArticleInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyArticleInfo.vue?vue&type=style&index=0&id=dfde6c48&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dfde6c48\",\n null\n \n)\n\nexport default component.exports", "import { render, staticRenderFns } from \"./MyArticleInfo.vue?vue&type=template&id=dfde6c48&scoped=true&\"\nimport script from \"./MyArticleInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./MyArticleInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyArticleInfo.vue?vue&type=style&index=0&id=dfde6c48&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dfde6c48\",\n null\n \n)\n\nexport default component.exports",
"var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":'yyyy-MM-dd',\"picker-options\":_vm.pickerOptions},model:{value:(_vm.formInline.tripletDate),callback:function ($$v) {_vm.$set(_vm.formInline, \"tripletDate\", $$v)},expression:\"formInline.tripletDate\"}}),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.tripletDayInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareReset}},[_vm._v(\"重置\")])],1),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetDialogVisible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.resetDialogVisible=$event}}},[_c('span',[_vm._v(\"确认重置吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.tripletDayReset()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.tripletDayInfoList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"三连时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateDayFormat\")(props.row.tripletDate))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"weekInfo\",\"label\":\"星期\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeNum\",\"label\":\"点赞数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"collectNum\",\"label\":\"收藏数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"commentNum\",\"label\":\"评论数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"myAmount\",\"label\":\"红包金额\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"redPackageCount\",\"label\":\"红包个数\",\"show-overflow-tooltip\":\"\"}})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }", "var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"align\":\"right\",\"unlink-panels\":\"\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":'yyyy-MM-dd',\"picker-options\":_vm.pickerOptions},model:{value:(_vm.formInline.tripletDate),callback:function ($$v) {_vm.$set(_vm.formInline, \"tripletDate\", $$v)},expression:\"formInline.tripletDate\"}}),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.tripletDayInfoPage}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.prepareReset}},[_vm._v(\"重置\")])],1),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.resetDialogVisible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.resetDialogVisible=$event}}},[_c('span',[_vm._v(\"确认重置吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.resetDialogVisible = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.tripletDayReset()}}},[_vm._v(\"确 定\")])],1)])],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.tripletDayInfoList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"三连时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateDayFormat\")(props.row.tripletDate))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"weekInfo\",\"label\":\"星期\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeNum\",\"label\":\"点赞数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"collectNum\",\"label\":\"收藏数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"commentNum\",\"label\":\"评论数量\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"likeStatusName\",\"label\":\"点赞状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.likeStatusName)}},[_vm._v(_vm._s(scope.row.likeStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"collectStatusName\",\"label\":\"收藏状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.collectStatusName)}},[_vm._v(_vm._s(scope.row.collectStatusName))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"commentStatusName\",\"label\":\"评论状态\",\"width\":\"130\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',{attrs:{\"type\":_vm.getTagType(scope.row.commentStatusName)}},[_vm._v(_vm._s(scope.row.commentStatusName))])]}}])}),_c('el-table-column',{attrs:{\"sortable\":\"\",\"prop\":\"myAmount\",\"label\":\"红包金额\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"redPackageCount\",\"label\":\"红包个数\",\"show-overflow-tooltip\":\"\"}})],1),_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[8, 50, 100, 200, 400],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }",
"<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-date-picker v-model=\"formInline.tripletDate\" type=\"daterange\" align=\"right\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" :value-format=\"'yyyy-MM-dd'\" :picker-options=\"pickerOptions\"></el-date-picker>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"tripletDayInfoPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareReset\">重置</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetDialogVisible\" width=\"30%\">\n\t\t\t\t\t\t<span>确认重置吗?</span>\n\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t<el-button @click=\"resetDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"tripletDayReset()\">确 定</el-button>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</el-dialog>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table border :data=\"tripletDayInfoList\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column label=\"三连时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.tripletDate | dateDayFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"weekInfo\" label=\"星期\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeNum\" label=\"点赞数量\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"collectNum\" label=\"收藏数量\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"commentNum\" label=\"评论数量\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column sortable prop=\"myAmount\" label=\"红包金额\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"redPackageCount\" label=\"红包个数\" show-overflow-tooltip></el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nimport ApiService from '../../api/ApiService'\nexport default {\n name: 'MyTripletDayInfo',\n\n data() {\n return {\n pickerOptions: {\n disabledDate(time) {\n return time.getTime() > Date.now()\n },\n\n shortcuts: [\n {\n text: '最近一周',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)\n picker.$emit('pick', [start, end])\n },\n },\n {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)\n picker.$emit('pick', [start, end])\n },\n },\n {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90)\n picker.$emit('pick', [start, end])\n },\n },\n ],\n },\n formInline: {\n tripletDate: null,\n endDate: null,\n },\n // 用户列表数据\n tripletDayInfoList: [],\n likeStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经点过赞' },\n { type: 2, name: '点赞已满' },\n { type: 3, name: '取消点赞' },\n { type: 4, name: '文章状态不能点赞' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '点赞成功' },\n ],\n collectStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经收藏过' },\n { type: 2, name: '收藏已满' },\n { type: 3, name: '参数缺失' },\n { type: 4, name: '收藏夹不存在' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '收藏成功' },\n ],\n\n commentStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经评论过' },\n { type: 2, name: '评论已满' },\n { type: 3, name: '禁言' },\n { type: 4, name: '评论太快' },\n { type: 5, name: '评论已经到了45条' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '评论成功' },\n ],\n loading: false,\n resetDialogVisible: false,\n elementui_page_component_key: 0,\n currentPage: Number(localStorage.getItem('csdnTripletDayInfoPage')) || 1,\n pageSize: 8,\n total: 0,\n }\n },\n watch: {\n 'formInline.tripletDate'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnTripletDayInfoPage', this.currentPage)\n this.tripletDayInfoPage()\n }\n },\n 'formInline.endDate'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnTripletDayInfoPage', this.currentPage)\n this.tripletDayInfoPage()\n }\n },\n // 监听currentPage的变化,将新值保存到localStorage中\n currentPage(newPage) {\n localStorage.setItem('csdnTripletDayInfoPage', newPage.toString())\n },\n },\n created() {\n //获取问题类型的枚举\n this.tripletDayInfoPage()\n },\n mounted() {\n this.currentPage = 1\n },\n methods: {\n prepareReset() {\n this.resetDialogVisible = true\n },\n async tripletDayInfoPage() {\n this.loading = true\n const { data: res } = await ApiService.tripletDayInfoPage(this.currentPage, this.pageSize, this.formInline.tripletDate)\n if (res.code === 200) {\n this.total = res.result.totalElements\n\n const likeStatusMap = {}\n this.likeStatus.forEach((option) => {\n likeStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.likeStatusName = likeStatusMap[item.likeStatus]\n })\n\n const collectStatusMap = {}\n this.collectStatus.forEach((option) => {\n collectStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.collectStatusName = collectStatusMap[item.collectStatus]\n })\n\n const commentStatusMap = {}\n this.commentStatus.forEach((option) => {\n commentStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.commentStatusName = commentStatusMap[item.commentStatus]\n })\n\n this.tripletDayInfoList = res.result.content\n }\n this.loading = false\n },\n async tripletDayReset() {\n this.loading = true\n const { data: res } = await ApiService.tripletDayReset()\n this.resetDialogVisible = false\n this.tripletDayInfoPage()\n this.loading = false\n },\n refreshPage() {\n //获取问题类型的枚举\n this.tripletDayInfoPage()\n location.reload()\n },\n getTagType(statusName) {\n if (statusName == '未处理') {\n return 'info'\n } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n return 'success'\n } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45条') {\n return 'danger'\n } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n return 'success'\n } else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n return 'warning'\n }\n },\n handleCurrentChange(currentPage) {\n this.currentPage = currentPage\n this.tripletDayInfoPage()\n },\n handleSizeChange(currentSize) {\n this.pageSize = currentSize\n this.tripletDayInfoPage()\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>", "<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-date-picker v-model=\"formInline.tripletDate\" type=\"daterange\" align=\"right\" unlink-panels range-separator=\"至\" start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" :value-format=\"'yyyy-MM-dd'\" :picker-options=\"pickerOptions\"></el-date-picker>\n\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"tripletDayInfoPage\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"prepareReset\">重置</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-dialog title=\"提示\" :visible.sync=\"resetDialogVisible\" width=\"30%\">\n\t\t\t\t\t\t<span>确认重置吗?</span>\n\t\t\t\t\t\t<span slot=\"footer\" class=\"dialog-footer\">\n\t\t\t\t\t\t\t<el-button @click=\"resetDialogVisible = false\">取 消</el-button>\n\t\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"tripletDayReset()\">确 定</el-button>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</el-dialog>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table border :data=\"tripletDayInfoList\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column label=\"三连时间\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.tripletDate | dateDayFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"weekInfo\" label=\"星期\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeNum\" label=\"点赞数量\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"collectNum\" label=\"收藏数量\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"commentNum\" label=\"评论数量\" show-overflow-tooltip></el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"likeStatusName\" label=\"点赞状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.likeStatusName)\">{{ scope.row.likeStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"collectStatusName\" label=\"收藏状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.collectStatusName)\">{{ scope.row.collectStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column prop=\"commentStatusName\" label=\"评论状态\" width=\"130\" show-overflow-tooltip>\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<el-tag :type=\"getTagType(scope.row.commentStatusName)\">{{ scope.row.commentStatusName }}</el-tag>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\n\t\t\t\t\t<el-table-column sortable prop=\"myAmount\" label=\"红包金额\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"redPackageCount\" label=\"红包个数\" show-overflow-tooltip></el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :current-page=\"currentPage\" :page-sizes=\"[8, 50, 100, 200, 400]\" :page-size=\"pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nimport ApiService from '../../api/ApiService'\nexport default {\n name: 'MyTripletDayInfo',\n\n data() {\n return {\n pickerOptions: {\n disabledDate(time) {\n return time.getTime() > Date.now()\n },\n\n shortcuts: [\n {\n text: '最近一周',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)\n picker.$emit('pick', [start, end])\n },\n },\n {\n text: '最近一个月',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)\n picker.$emit('pick', [start, end])\n },\n },\n {\n text: '最近三个月',\n onClick(picker) {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90)\n picker.$emit('pick', [start, end])\n },\n },\n ],\n },\n formInline: {\n tripletDate: null,\n endDate: null,\n },\n // 用户列表数据\n tripletDayInfoList: [],\n likeStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经点过赞' },\n { type: 2, name: '点赞已满' },\n { type: 3, name: '取消点赞' },\n { type: 4, name: '文章状态不能点赞' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '点赞成功' },\n ],\n collectStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经收藏过' },\n { type: 2, name: '收藏已满' },\n { type: 3, name: '参数缺失' },\n { type: 4, name: '收藏夹不存在' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '收藏成功' },\n ],\n\n commentStatus: [\n {\n type: -1,\n name: '全部',\n },\n {\n type: 0,\n name: '未处理',\n },\n { type: 1, name: '已经评论过' },\n { type: 2, name: '评论已满' },\n { type: 3, name: '禁言' },\n { type: 4, name: '评论太快' },\n { type: 5, name: '评论已经到了42条' },\n { type: 8, name: '其他错误' },\n { type: 9, name: '评论成功' },\n ],\n loading: false,\n resetDialogVisible: false,\n elementui_page_component_key: 0,\n currentPage: Number(localStorage.getItem('csdnTripletDayInfoPage')) || 1,\n pageSize: 8,\n total: 0,\n }\n },\n watch: {\n 'formInline.tripletDate'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnTripletDayInfoPage', this.currentPage)\n this.tripletDayInfoPage()\n }\n },\n 'formInline.endDate'(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.currentPage = 1\n localStorage.setItem('csdnTripletDayInfoPage', this.currentPage)\n this.tripletDayInfoPage()\n }\n },\n // 监听currentPage的变化,将新值保存到localStorage中\n currentPage(newPage) {\n localStorage.setItem('csdnTripletDayInfoPage', newPage.toString())\n },\n },\n created() {\n //获取问题类型的枚举\n this.tripletDayInfoPage()\n },\n mounted() {\n this.currentPage = 1\n },\n methods: {\n prepareReset() {\n this.resetDialogVisible = true\n },\n async tripletDayInfoPage() {\n this.loading = true\n const { data: res } = await ApiService.tripletDayInfoPage(this.currentPage, this.pageSize, this.formInline.tripletDate)\n if (res.code === 200) {\n this.total = res.result.totalElements\n\n const likeStatusMap = {}\n this.likeStatus.forEach((option) => {\n likeStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.likeStatusName = likeStatusMap[item.likeStatus]\n })\n\n const collectStatusMap = {}\n this.collectStatus.forEach((option) => {\n collectStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.collectStatusName = collectStatusMap[item.collectStatus]\n })\n\n const commentStatusMap = {}\n this.commentStatus.forEach((option) => {\n commentStatusMap[option.type] = option.name\n })\n res.result.content.forEach((item) => {\n item.commentStatusName = commentStatusMap[item.commentStatus]\n })\n\n this.tripletDayInfoList = res.result.content\n }\n this.loading = false\n },\n async tripletDayReset() {\n this.loading = true\n const { data: res } = await ApiService.tripletDayReset()\n this.resetDialogVisible = false\n this.tripletDayInfoPage()\n this.loading = false\n },\n refreshPage() {\n //获取问题类型的枚举\n this.tripletDayInfoPage()\n location.reload()\n },\n getTagType(statusName) {\n if (statusName == '未处理') {\n return 'info'\n } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {\n return 'success'\n } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42条') {\n return 'danger'\n } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {\n return 'success'\n } else if (statusName == '点赞已满' || statusName == '参数缺失' || statusName == '其他错误' || statusName == '取消点赞' || statusName == '评论太快') {\n return 'warning'\n }\n },\n handleCurrentChange(currentPage) {\n this.currentPage = currentPage\n this.tripletDayInfoPage()\n },\n handleSizeChange(currentSize) {\n this.pageSize = currentSize\n this.tripletDayInfoPage()\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.red-title {\n\tline-height: 24px;\n\tfont-size: 18px;\n\tcolor: red;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n.custom-textarea {\n\twidth: 100%;\n\ttext-align: left;\n}\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>",
"import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyTripletDayInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyTripletDayInfo.vue?vue&type=script&lang=js&\"", "import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyTripletDayInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyTripletDayInfo.vue?vue&type=script&lang=js&\"",
"import { render, staticRenderFns } from \"./MyTripletDayInfo.vue?vue&type=template&id=389c3c14&scoped=true&\"\nimport script from \"./MyTripletDayInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./MyTripletDayInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyTripletDayInfo.vue?vue&type=style&index=0&id=389c3c14&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"389c3c14\",\n null\n \n)\n\nexport default component.exports", "import { render, staticRenderFns } from \"./MyTripletDayInfo.vue?vue&type=template&id=389c3c14&scoped=true&\"\nimport script from \"./MyTripletDayInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./MyTripletDayInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyTripletDayInfo.vue?vue&type=style&index=0&id=389c3c14&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"389c3c14\",\n null\n \n)\n\nexport default component.exports",
"var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"ChatGpt问答详情 --- \"+_vm._s(_vm.id))]),_c('el-container',[_c('el-main',[_c('el-table',{attrs:{\"border\":\"\",\"data\":_vm.list}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"width\":\"50\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.id))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"问题\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.question))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"回答\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{attrs:{\"id\":\"td-response\"}},[_vm._v(_vm._s(scope.row.response))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"dateFormat\")(scope.row.createTime)))])]}}])})],1)],1)],1),_c('div',{staticClass:\"button-container\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.copyCode}},[_vm._v(\"复制回答\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }", "var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"ChatGpt问答详情 --- \"+_vm._s(_vm.id))]),_c('el-container',[_c('el-main',[_c('el-table',{attrs:{\"border\":\"\",\"data\":_vm.list}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"width\":\"50\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.id))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"问题\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.question))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"回答\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{attrs:{\"id\":\"td-response\"}},[_vm._v(_vm._s(scope.row.response))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"dateFormat\")(scope.row.createTime)))])]}}])})],1)],1)],1),_c('div',{staticClass:\"button-container\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.copyCode}},[_vm._v(\"复制回答\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }",
......
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -605,7 +605,7 @@ export default { ...@@ -605,7 +605,7 @@ export default {
return 'info' return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') { } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success' return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') { } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger' return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') { } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success' return 'success'
......
...@@ -296,7 +296,7 @@ export default { ...@@ -296,7 +296,7 @@ export default {
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -617,7 +617,7 @@ export default { ...@@ -617,7 +617,7 @@ export default {
return 'info' return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') { } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success' return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') { } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger' return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') { } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success' return 'success'
......
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
<el-tag :type="getTagType(scope.row.commentStatusName)">{{ scope.row.commentStatusName }}</el-tag> <el-tag :type="getTagType(scope.row.commentStatusName)">{{ scope.row.commentStatusName }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[8, 50, 100, 200, 400]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"></el-pagination> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[8, 50, 100, 200, 400]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"></el-pagination>
</el-main> </el-main>
...@@ -154,7 +153,7 @@ export default { ...@@ -154,7 +153,7 @@ export default {
{ type: 2, name: '评论已满' }, { type: 2, name: '评论已满' },
{ type: 3, name: '禁言' }, { type: 3, name: '禁言' },
{ type: 4, name: '评论太快' }, { type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' }, { type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' }, { type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' }, { type: 9, name: '评论成功' },
], ],
...@@ -248,7 +247,7 @@ export default { ...@@ -248,7 +247,7 @@ export default {
return 'info' return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') { } else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success' return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') { } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger' return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') { } else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success' return 'success'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册