diff --git a/zyplayer-doc-manage/src/main/resources/dist/doc-console.html b/zyplayer-doc-manage/src/main/resources/dist/doc-console.html
index 6090ba40..d33f3b7a 100644
--- a/zyplayer-doc-manage/src/main/resources/dist/doc-console.html
+++ b/zyplayer-doc-manage/src/main/resources/dist/doc-console.html
@@ -1 +1 @@
-
文档管理系统
\ No newline at end of file
+文档管理系统
\ No newline at end of file
diff --git a/zyplayer-doc-manage/src/main/resources/dist/js/index.9ab9bd8d.js b/zyplayer-doc-manage/src/main/resources/dist/js/index.9ab9bd8d.js
deleted file mode 100644
index 23f20f20..00000000
--- a/zyplayer-doc-manage/src/main/resources/dist/js/index.9ab9bd8d.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(e){function t(t){for(var r,o,n=t[0],l=t[1],u=t[2],d=0,p=[];d1e3&&(Me.$message.error("请先登录"),f=(new Date).getTime());var t="",a=window.location.href;if(a.indexOf("?")>=0){var r=new RegExp("(^|&)redirect=([^&]*)(&|$)","i"),i=a.substring(a.indexOf("?")+1).match(r);null!=i&&(t=unescape(i[2]))}t=t||encodeURIComponent(window.location.href),Me.$router.push({path:"/user/login",query:{redirect:t}})}else 402==e.data.errCode?Me.$router.push("/common/noAuth"):200!==e.data.errCode&&Me.$message.error(e.data.errMsg||"未知错误")}return Promise.reject("请求错误")}),(function(e){return console.log("err"+e),Me.$message.info("请求错误:"+e.message),Promise.reject(e)}));var h=p,g={userLogin:function(e){return h({url:"/login",method:"post",data:u.a.stringify(e)})},userLogout:function(e){return h({url:"/logout",method:"post",data:u.a.stringify(e)})},getSelfUserInfo:function(e){return h({url:"/user/info/selfInfo",method:"post",data:u.a.stringify(e)})},updateSelfPwd:function(e){return h({url:"/user/info/updateSelfPwd",method:"post",data:u.a.stringify(e)})},selfInfoWithAuth:function(e){return h({url:"/user/info/selfInfoWithAuth",method:"post",data:u.a.stringify(e)})},getUserInfoList:function(e){return h({url:"/user/info/list",method:"post",data:u.a.stringify(e)})},searchUserInfoList:function(e){return h({url:"/user/info/search",method:"post",data:u.a.stringify(e)})},updateUserInfo:function(e){return h({url:"/user/info/update",method:"post",data:u.a.stringify(e)})},deleteUserInfo:function(e){return h({url:"/user/info/delete",method:"post",data:u.a.stringify(e)})},userAuthList:function(e){return h({url:"/user/info/auth/list",method:"post",data:u.a.stringify(e)})},updateUserAuth:function(e){return h({url:"/user/info/auth/update",method:"post",data:u.a.stringify(e)})},resetPassword:function(e){return h({url:"/user/info/resetPassword",method:"post",data:u.a.stringify(e)})},userGroupList:function(e){return h({url:"/user/group/list",method:"post",data:u.a.stringify(e)})},updateUserGroup:function(e){return h({url:"/user/group/update",method:"post",data:u.a.stringify(e)})},deleteUserGroup:function(e){return h({url:"/user/group/delete",method:"post",data:u.a.stringify(e)})},updateUserGroupRelation:function(e){return h({url:"/user/group/relation/update",method:"post",data:u.a.stringify(e)})},removeUserGroupRelation:function(e){return h({url:"/user/group/relation/remove",method:"post",data:u.a.stringify(e)})},userGroupRelationList:function(e){return h({url:"/user/group/relation/list",method:"post",data:u.a.stringify(e)})}},b=a("9db5"),v=a("5a60"),U=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"关于",visible:e.aboutDialogVisible,width:"600px","custom-class":"about-zyplayer-doc"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[a("div",{},[a("div",{staticStyle:{"font-weight":"bold","font-size":"25px"}},[e._v("zyplayer-doc")]),a("div",{staticStyle:{"line-height":"30px",padding:"10px 0"}},[a("div",{staticStyle:{"margin-bottom":"30px"}},[e._v("专注于私有化部署的在线知识库管理平台")]),a("div",[e._v("当前版本 "+e._s(e.upgradeInfo.nowVersion||"1.0.0"))]),a("div",[e._v("版权所有 © 2018-2023 "),a("a",{attrs:{target:"_blank",href:"https://doc.zyplayer.com"}},[e._v("doc.zyplayer.com")])])])])])},w=[],y={systemUpgradeInfo:function(e){return h({url:"/system/info/upgrade",method:"post",data:u.a.stringify(e)})},fetchMoudleData:function(e){return h({url:"/system/info/module",method:"get",data:u.a.stringify(e)})}},x={data:function(){return{aboutDialogVisible:!1,upgradeInfo:{}}},mounted:function(){this.checkSystemUpgrade()},methods:{show:function(){this.aboutDialogVisible=!0},checkSystemUpgrade:function(){var e=this;y.systemUpgradeInfo({}).then((function(t){t.data&&(e.upgradeInfo=t.data,e.upgradeInfo.upgradeContent&&(e.upgradeInfo.upgradeContent=e.upgradeInfo.upgradeContent.replaceAll(";","\n")),console.log("zyplayer-doc发现新版本:\n升级地址:"+t.data.upgradeUrl+"\n当前版本:"+t.data.nowVersion+"\n最新版本:"+t.data.lastVersion+"\n升级内容:"+t.data.upgradeContent))}))}}},P=x,_=(a("1cc7"),a("2877")),k=Object(_["a"])(P,U,w,!1,null,null,null),L=k.exports,I={data:function(){return{isCollapse:!1,userSelfInfo:{},userAuth:{userManage:!1}}},components:{peoples:b["a"],people:v["a"],"about-dialog":L},computed:{fullscreen:function(){return this.$store.state.global.fullscreen}},mounted:function(){this.getSelfUserInfo()},methods:{handleOpen:function(e,t){console.log(e,t)},handleClose:function(e,t){console.log(e,t)},userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?this.$refs.aboutDialog.show():"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.open("./","_blank"):this.$message.warn("功能暂未开放")},userSignOut:function(){g.userLogout().then((function(){location.reload()})).catch((function(e){console.log("退出登录失败",e)}))},getSelfUserInfo:function(){var e=this;g.selfInfoWithAuth().then((function(t){var a=t.data||{};e.userSelfInfo=a.userInfo||{},e.userAuth=a.userAuth||{}})).catch((function(e){console.log("获取用户信息失败",e)}))}}},S=I,C=(a("034f"),Object(_["a"])(S,o,n,!1,null,null,null)),F=C.exports,N=a("8c4f"),$=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{staticStyle:{padding:"5px 10px 0"},attrs:{type:"card",closable:""},on:{"tab-click":e.changePage,"tab-remove":e.removePageTab},model:{value:e.activePage,callback:function(t){e.activePage=t},expression:"activePage"}},e._l(e.pageList,(function(t){return a("el-tab-pane",{attrs:{label:e.pageTabNameMap[t.fullPath]||t.name,name:t.fullPath}})})),1),a("keep-alive",[a("router-view",{key:e.$route.fullPath,on:{initLoadDataList:e.initLoadDataList,loadDatasourceList:e.loadDatasourceList}})],1)],1)},A=[],D=(a("4de4"),a("b0c0"),{name:"PageTableView",components:{},data:function(){return{pageList:[],linkList:[],activePage:"",multiPage:!0}},computed:{pageTabNameMap:function(){return this.$store.state.global.pageTabNameMap}},created:function(){this.pageList.push(this.$route),this.linkList.push(this.$route.fullPath),this.activePage=this.$route.fullPath},watch:{$route:function(e,t){this.activePage=e.fullPath,this.linkList.indexOf(e.fullPath)<0&&(this.linkList.push(e.fullPath),this.pageList.push(e))},activePage:function(e){this.$router.push(e)}},methods:{initLoadDataList:function(e){this.$emit("initLoadDataList",e)},loadDatasourceList:function(){this.$emit("loadDatasourceList")},changePage:function(e){this.activePage=e.name},editPage:function(e,t){this[t](e)},removePageTab:function(e){if(1!==this.pageList.length){this.pageList=this.pageList.filter((function(t){return t.fullPath!==e}));var t=this.linkList.indexOf(e);this.linkList=this.linkList.filter((function(t){return t!==e})),t=t>=this.linkList.length?this.linkList.length-1:t,this.activePage=this.linkList[t]}else this.$message.warning("这是最后一页,不能再关闭了啦")}}}),G=D,O=Object(_["a"])(G,$,A,!1,null,"a596d90e",null),z=O.exports,V=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{padding:"10px"}},[a("div",{staticStyle:{"max-width":"800px",margin:"20px auto"}},[a("div",{staticStyle:{padding:"20px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("所有产品")])]),a("div",{staticClass:"product-list"},[this.moudleInfo.enableApi?a("div",{staticClass:"item",on:{click:function(t){return e.jumpToDocPage("doc-api")}}},[a("div",{staticClass:"logo-text text1"},[e._v("API")]),a("div",[e._v("API接口文档")])]):e._e(),this.moudleInfo.enableDb?a("div",{staticClass:"item",on:{click:function(t){return e.jumpToDocPage("doc-db")}}},[a("div",{staticClass:"logo-text text2"},[e._v("DB")]),a("div",[e._v("数据库文档")])]):e._e(),this.moudleInfo.enableWiki?a("div",{staticClass:"item",on:{click:function(t){return e.jumpToDocPage("doc-wiki")}}},[a("div",{staticClass:"logo-text text3"},[e._v("WIKI")]),a("div",[e._v("WIKI文档")])]):e._e()])])],1)])])},R=[],j={data:function(){return{moudleInfo:{enableWiki:!0,enableDb:!0,enableApi:!0}}},mounted:function(){},created:function(){this.fetchMoudle()},methods:{fetchMoudle:function(){var e=this;y.fetchMoudleData().then((function(t){t.data&&(e.moudleInfo=t.data,console.log("wiki模块启动状态"+e.moudleInfo.enableWiki+"db模块启动状态"+e.moudleInfo.enableDb+"api模块启动状态"+e.moudleInfo.enableApi))}))},jumpToDocPage:function(e){window.open(e)}}},T=j,E=(a("2629"),Object(_["a"])(T,V,R,!1,null,null,null)),M=E.exports,J=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-info-vue"},[a("div",{staticStyle:{margin:"0 auto","max-width":"1000px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("el-row",[a("el-col",{staticStyle:{"line-height":"40px"},attrs:{span:12}},[e._v("我的信息")]),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:12}},[a("el-button",{attrs:{type:"primary"},on:{click:e.showUpdatePasswordDialog}},[a("i",{staticClass:"el-icon-edit"}),e._v(" 修改密码")])],1)],1)],1),a("el-form",{staticClass:"search-form-box",attrs:{"label-width":"100px"}},[a("el-form-item",{attrs:{label:"账号:"}},[e._v(e._s(e.userInfo.userNo))]),a("el-form-item",{attrs:{label:"用户名:"}},[e._v(e._s(e.userInfo.userName))]),a("el-form-item",{attrs:{label:"手机号:"}},[e._v(e._s(e.userInfo.phone))]),a("el-form-item",{attrs:{label:"邮箱:"}},[e._v(e._s(e.userInfo.email))]),a("el-form-item",{attrs:{label:"状态:"}},[e._v(e._s(0==e.userInfo.delFlag?"正常":"停用"))]),a("el-form-item",{attrs:{label:"性别:"}},[e._v(e._s(0==e.userInfo.sex?"女":"男"))])],1)],1)],1),a("el-dialog",{attrs:{title:"修改密码",visible:e.updatePasswordDialogVisible,width:"500px"},on:{"update:visible":function(t){e.updatePasswordDialogVisible=t}}},[a("el-form",{ref:"passwordForm",attrs:{"label-width":"120px",model:e.updatePassword,"status-icon":"",rules:e.updatePasswordRules}},[a("el-form-item",{attrs:{label:"当前密码",prop:"currentPwd"}},[a("el-input",{attrs:{type:"password",placeholder:"请输入当前密码"},model:{value:e.updatePassword.currentPwd,callback:function(t){e.$set(e.updatePassword,"currentPwd",t)},expression:"updatePassword.currentPwd"}})],1),a("el-form-item",{attrs:{label:"新密码",prop:"newPwd"}},[a("el-input",{attrs:{type:"password",placeholder:"请输入新密码"},model:{value:e.updatePassword.newPwd,callback:function(t){e.$set(e.updatePassword,"newPwd",t)},expression:"updatePassword.newPwd"}})],1),a("el-form-item",{attrs:{label:"确认新密码",prop:"repeatPwd"}},[a("el-input",{attrs:{type:"password",placeholder:"请再次输入新密码"},model:{value:e.updatePassword.repeatPwd,callback:function(t){e.$set(e.updatePassword,"repeatPwd",t)},expression:"updatePassword.repeatPwd"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.submitUpdatePasswordForm}},[e._v("修改密码")])],1)],1)],1)],1)},W=[],B={data:function(){return{userInfo:{},updatePasswordDialogVisible:!1,updatePassword:{currentPwd:"",newPwd:"",repeatPwd:""},updatePasswordRules:{currentPwd:[{validator:this.validateCurrentPwd,trigger:"blur"}],newPwd:[{validator:this.validateNewPwd,trigger:"blur"}],repeatPwd:[{validator:this.validateRepeatPwd,trigger:"blur"}]}}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;g.getSelfUserInfo().then((function(t){e.userInfo=t.data}))},showUpdatePasswordDialog:function(){this.updatePasswordDialogVisible=!0},submitUpdatePasswordForm:function(){var e=this;this.$refs.passwordForm.validate((function(t){if(!t)return!1;g.updateSelfPwd(e.updatePassword).then((function(t){e.$message.success("修改成功!请重新登录"),setTimeout((function(){g.userLogout().then((function(){location.reload()})).catch((function(e){console.log("退出登录失败",e)}))}),500)}))}))},validateCurrentPwd:function(e,t,a){""===t?a(new Error("请输入密码")):a()},validateNewPwd:function(e,t,a){""===t?a(new Error("请输入新密码")):(""!==this.updatePassword.newPwd&&this.$refs.passwordForm.validateField("repeatPwd"),a())},validateRepeatPwd:function(e,t,a){""===t?a(new Error("请再次输入新密码")):this.updatePassword.repeatPwd!==this.updatePassword.newPwd?a(new Error("两次输入的密码不一致")):a()}}},q=B,H=(a("dcfc"),Object(_["a"])(q,J,W,!1,null,null,null)),K=H.exports,Q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:"login-background linear-gradient-"+e.bgImgRandom},[a("div",{staticClass:"login-box"},[a("el-form",{ref:"loginParam",staticClass:"demo-ruleForm login-container",attrs:{model:e.loginParam,rules:e.loginRules,"label-position":"left","label-width":"0px"}},[a("h3",{staticClass:"title"},[e._v("文档管理-系统登录")]),a("el-form-item",{attrs:{prop:"username"}},[a("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.username,callback:function(t){e.$set(e.loginParam,"username",t)},expression:"loginParam.username"}})],1),a("el-form-item",{attrs:{prop:"password"}},[a("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.password,callback:function(t){e.$set(e.loginParam,"password",t)},expression:"loginParam.password"}})],1),a("el-form-item",{staticStyle:{width:"100%"}},[a("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.loginLoading},nativeOn:{click:function(t){return t.preventDefault(),e.loginSubmit(t)}}},[e._v("登录")])],1)],1)],1),e._m(0)])},X=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"power-by"},[e._v("Powered By "),a("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])])}],Y={data:function(){return{loginLoading:!1,redirect:"",loginParam:{username:"",password:""},loginRules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},bgImgRandom:Math.ceil(5*Math.random())}},mounted:function(){this.redirect=this.$route.query.redirect},methods:{loginSubmit:function(){var e=this;this.$refs.loginParam.validate((function(t){t&&(e.loginLoading=!0,g.userLogin(e.loginParam).then((function(){e.$emit("loginSuccess"),e.loginLoading=!1,e.redirect?location.href=decodeURIComponent(e.redirect):e.$router.back()})).catch((function(t){console.log("登录失败",t),e.loginLoading=!1})))}))}}},Z=Y,ee=(a("9231"),Object(_["a"])(Z,Q,X,!1,null,null,null)),te=ee.exports,ae=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"user-list-vue"},[a("el-breadcrumb",{staticStyle:{padding:"20px 10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),a("el-breadcrumb-item",[e._v("系统管理")]),a("el-breadcrumb-item",[e._v("用户列表")])],1),a("el-form",{staticClass:"search-form-box",attrs:{inline:!0,model:e.searchParam}},[a("el-form-item",{attrs:{label:"搜索类型"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchParam.type,callback:function(t){e.$set(e.searchParam,"type",t)},expression:"searchParam.type"}},[a("el-option",{attrs:{label:"ID",value:1}}),a("el-option",{attrs:{label:"账号",value:2}}),a("el-option",{attrs:{label:"用户名",value:3}}),a("el-option",{attrs:{label:"手机",value:4}}),a("el-option",{attrs:{label:"邮箱",value:5}})],1)],1),a("el-form-item",{attrs:{label:"关键字"}},[a("el-input",{attrs:{placeholder:"输入关键字"},model:{value:e.searchParam.keyword,callback:function(t){e.$set(e.searchParam,"keyword",t)},expression:"searchParam.keyword"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getUserList}},[e._v("查询")])],1),a("el-form-item",[a("el-button",{attrs:{type:"success"},on:{click:e.addUserInfo}},[a("i",{staticClass:"el-icon-plus"}),e._v(" 添加")])],1)],1),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.searchLoading,expression:"searchLoading"}],staticStyle:{padding:"10px"}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"userNo",label:"账号"}}),a("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),a("el-table-column",{attrs:{prop:"userName",label:"用户名"}}),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),a("el-table-column",{attrs:{label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.sex?"女":"男"))]}}])}),a("el-table-column",{attrs:{prop:"creationTime",label:"创建时间"}}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.delFlag?"正常":"停用"))]}}])}),a("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(a){return e.editUserInfo(t.row)}}},[e._v("修改")]),a("el-button",{attrs:{size:"mini",plain:"",type:"success"},on:{click:function(a){return e.editUserAuthFun(t.row)}}},[e._v("权限")]),a("el-button",{attrs:{size:"mini",plain:"",type:"warning"},on:{click:function(a){return e.resetPassword(t.row)}}},[e._v("重置密码")]),a("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return e.deleteUser(t.row)}}},[e._v("删除")])]}}])})],1)],1),a("div",{staticClass:"page-info-box"},[a("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),a("el-dialog",{attrs:{title:"权限编辑",visible:e.editUserAuthDialogVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.editUserAuthDialogVisible=t}}},[a("el-form",{ref:"form",attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"账号"}},[a("el-input",{attrs:{disabled:""},model:{value:e.editUserForm.userNo,callback:function(t){e.$set(e.editUserForm,"userNo",t)},expression:"editUserForm.userNo"}})],1),a("el-form-item",{attrs:{label:"用户名"}},[a("el-input",{attrs:{disabled:""},model:{value:e.editUserForm.userName,callback:function(t){e.$set(e.editUserForm,"userName",t)},expression:"editUserForm.userName"}})],1),a("el-form-item",{attrs:{label:"权限"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",placeholder:"请选择"},model:{value:e.editUserAuth,callback:function(t){e.editUserAuth=t},expression:"editUserAuth"}},e._l(e.allUserAuth,(function(e){return a("el-option",{key:e.id,attrs:{label:e.authDesc,value:e.id}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.editUserAuthSave}},[e._v("确定")]),a("el-button",{on:{click:function(t){e.editUserAuthDialogVisible=!1}}},[e._v("取消")])],1)],1)],1),a("el-dialog",{attrs:{title:e.editUserForm.id>0?"修改用户":"创建用户",visible:e.editUserDialogVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.editUserDialogVisible=t}}},[a("el-form",{ref:"form",attrs:{model:e.editUserForm,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"账号"}},[a("el-input",{model:{value:e.editUserForm.userNo,callback:function(t){e.$set(e.editUserForm,"userNo",t)},expression:"editUserForm.userNo"}})],1),a("el-form-item",{attrs:{label:"用户名"}},[a("el-input",{model:{value:e.editUserForm.userName,callback:function(t){e.$set(e.editUserForm,"userName",t)},expression:"editUserForm.userName"}})],1),a("el-form-item",{attrs:{label:"手机号"}},[a("el-input",{model:{value:e.editUserForm.phone,callback:function(t){e.$set(e.editUserForm,"phone",t)},expression:"editUserForm.phone"}})],1),a("el-form-item",{attrs:{label:"邮箱"}},[a("el-input",{model:{value:e.editUserForm.email,callback:function(t){e.$set(e.editUserForm,"email",t)},expression:"editUserForm.email"}})],1),a("el-form-item",{attrs:{label:"新密码"}},[a("el-input",{attrs:{placeholder:"为空代表不修改密码"},model:{value:e.editUserForm.password,callback:function(t){e.$set(e.editUserForm,"password",t)},expression:"editUserForm.password"}})],1),a("el-form-item",{attrs:{label:"状态"}},[a("el-switch",{attrs:{"active-value":0,"active-text":"正常","inactive-value":2,"inactive-text":"停用"},model:{value:e.editUserForm.delFlag,callback:function(t){e.$set(e.editUserForm,"delFlag",t)},expression:"editUserForm.delFlag"}})],1),a("el-form-item",{attrs:{label:"性别"}},[a("el-radio-group",{model:{value:e.editUserForm.sex,callback:function(t){e.$set(e.editUserForm,"sex",t)},expression:"editUserForm.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.updateEditUser}},[e._v("确定")]),a("el-button",{on:{click:function(t){e.editUserDialogVisible=!1}}},[e._v("取消")])],1)],1)],1)],1)},re=[],ie=(a("a15b"),{data:function(){return{searchLoading:!1,editUserDialogVisible:!1,editUserAuthDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[],roleOptions:[{value:"管理员"}],editUserForm:{},allUserAuth:[],editUserAuth:[]}},mounted:function(){this.getUserList()},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e,this.getUserList()},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getUserList()},editUserAuthFun:function(e){var t=this;this.allUserAuth=[],this.editUserAuth=[];var a={userIds:e.id};g.userAuthList(a).then((function(a){t.editUserAuth=[],t.allUserAuth=a.data,t.editUserAuthDialogVisible=!0,t.editUserForm=JSON.parse(JSON.stringify(e));for(var r=0;r0?a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.searchLoading,expression:"searchLoading"}],staticClass:"page-scroll-box"},[a("div",{staticStyle:{"margin-bottom":"10px"}},[a("el-button",{attrs:{size:"mini",plain:"",type:"primary",icon:"el-icon-plus"},on:{click:e.showChoiceUserDialog}},[e._v("添加用户")])],1),a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.userGroupRelationList,border:"","max-height":e.tableHeight}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"userNo",label:"账号"}}),a("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),a("el-table-column",{attrs:{prop:"userName",label:"用户名"}}),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),a("el-table-column",{attrs:{label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.sex?"女":"男"))]}}],null,!1,1138127522)}),a("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(a){return e.removeUserRelationFromList(t.row.id)}}},[e._v("移除")])]}}],null,!1,1988185234)})],1)],1):e._e()])],1),a("el-dialog",{attrs:{title:"添加用户到分组",visible:e.choiceUserVisible,width:"600px"},on:{"update:visible":function(t){e.choiceUserVisible=t},close:e.closeChoiceUserDialog}},[a("el-row",[a("el-select",{staticStyle:{width:"450px","margin-right":"10px"},attrs:{filterable:"",remote:"","reserve-keyword":"",autoComplete:"new-password",placeholder:"请输入名字、邮箱、账号搜索用户","remote-method":e.getSearchUserList,loading:e.searchUserLoading},model:{value:e.searchAddNewUser,callback:function(t){e.searchAddNewUser=t},expression:"searchAddNewUser"}},e._l(e.searchUserList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.userName,value:e.id}})})),1),a("el-button",{on:{click:e.addSearchChoiceUser}},[e._v("添加")])],1),a("div",{staticStyle:{margin:"10px 0"}},e._l(e.searchAddUserList,(function(t){return a("el-tag",{key:t.userId,staticStyle:{"margin-right":"10px"},attrs:{closable:"",type:"info"},on:{close:function(a){return e.removeUserRelationFromSearch(t.userId)}}},[e._v(" "+e._s(t.userName)+" ")])})),1)],1)],1)},ye=[],xe=(a("7db0"),a("4160"),a("159b"),{data:function(){return{searchLoading:!1,editUserDialogVisible:!1,editUserAuthDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:""},searchResultList:[],roleOptions:[{value:"管理员"}],editUserForm:{},allUserAuth:[],editUserAuth:[],userGroupRelationList:[],userGroupList:[],editGroupName:"",checkedUserGroupId:"",createUserGroupVisible:!1,choiceUserVisible:!1,searchAddUserList:[],searchUserList:[],searchAddNewUser:"",searchUserLoading:!1,tableHeight:document.body.clientHeight-250}},mounted:function(){this.getUserGroupList()},methods:{getUserGroupList:function(){var e=this;this.userGroupList=[],g.userGroupList().then((function(t){var a=t.data||[];a.forEach((function(e){e.edit=!1,e.checked=!1,e.editName=e.name})),e.userGroupList=a}))},loadUserGroupRelation:function(e,t){var a=this;(t||e!=this.checkedUserGroupId)&&(this.checkedUserGroupId=e,this.searchLoading=!0,g.userGroupRelationList({groupId:e}).then((function(e){a.searchLoading=!1,a.userGroupRelationList=e.data||[]})))},updateUserGroup:function(e){if(e.name!=e.editName){var t={id:e.id,name:e.editName};g.updateUserGroup(t).then((function(t){e.edit=!1,e.name=e.editName}))}else e.edit=!1},createUserGroup:function(){var e=this,t={name:this.editGroupName};g.updateUserGroup(t).then((function(t){e.editGroupName="",e.createUserGroupVisible=!1,e.getUserGroupList()}))},removeUserGroup:function(e){var t=this;g.deleteUserGroup({id:e}).then((function(e){t.checkedUserGroupId="",t.getUserGroupList()}))},closeChoiceUserDialog:function(){this.loadUserGroupRelation(this.checkedUserGroupId,!0)},showChoiceUserDialog:function(){var e=this;this.choiceUserVisible=!0,this.searchAddUserList=[],this.userGroupRelationList.forEach((function(t){e.searchAddUserList.push({userName:t.userName,userId:t.id})}))},getSearchUserList:function(e){var t=this;e&&(this.searchUserLoading=!0,g.searchUserInfoList({search:e}).then((function(e){t.searchUserList=e.data||[],t.searchUserLoading=!1})))},removeUserRelationFromSearch:function(e){var t=this,a={groupId:this.checkedUserGroupId,userId:e};g.removeUserGroupRelation(a).then((function(a){t.searchAddUserList=t.searchAddUserList.filter((function(t){return t.userId!=e}))}))},removeUserRelationFromList:function(e){var t=this,a={groupId:this.checkedUserGroupId,userId:e};g.removeUserGroupRelation(a).then((function(e){t.loadUserGroupRelation(t.checkedUserGroupId,!0)}))},addSearchChoiceUser:function(){var e=this;if(this.searchAddNewUser.length<=0)this.$message.warning("请先选择用户");else if(this.searchAddUserList.find((function(t){return t.userId==e.searchAddNewUser})))this.searchAddNewUser="";else{var t=this.searchUserList.find((function(t){return t.id==e.searchAddNewUser})).userName,a={groupId:this.checkedUserGroupId,userId:this.searchAddNewUser};g.updateUserGroupRelation(a).then((function(a){e.searchAddUserList.push({userName:t,userId:e.searchAddNewUser})})),this.searchAddNewUser=""}}}}),Pe=xe,_e=(a("71a4"),Object(_["a"])(Pe,we,ye,!1,null,null,null)),ke=_e.exports,Le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._v("没有权限访问该模块")])},Ie=[],Se={data:function(){return{}},mounted:function(){},methods:{}},Ce=Se,Fe=Object(_["a"])(Ce,Le,Ie,!1,null,null,null),Ne=Fe.exports,$e=[{path:"/",redirect:"/home"},{path:"/user/login",name:"系统登录",component:te,meta:{fullscreen:!0}},{path:"/",name:"页面管理",component:z,children:[{path:"/home",name:"控制台",component:M}]},{path:"/user",name:"用户管理",component:z,children:[{path:"myInfo",name:"我的信息",component:K}]},{path:"/console",name:"系统管理",component:z,children:[{path:"userList",name:"用户管理",component:ne},{path:"roleList",name:"权限管理",component:me},{path:"authList",name:"角色列表",component:Ue},{path:"userGroupList",name:"分组管理",component:ke}]},{path:"/common",name:"",component:z,children:[{path:"noAuth",name:"没有权限",component:Ne}]}],Ae=$e,De=a("2f62"),Ge={namespaced:!0,state:{pageTabNameMap:{},fullscreen:!1},getters:{getPageTabNameMap:function(e){return e.pageTabNameMap}},mutations:{addTableName:function(e,t){var a=Object.assign({},e.pageTabNameMap);a[t.key]=t.val,e.pageTabNameMap=a},setFullscreen:function(e,t){e.fullscreen=t}}};r["default"].use(De["a"]);var Oe=new De["a"].Store({modules:{global:Ge}}),ze=a("a7fe"),Ve=a.n(ze),Re=a("2315"),je=a.n(Re);a("f1e9");r["default"].use(s.a),r["default"].use(N["a"]),r["default"].use(Ve.a,d.a),r["default"].use(je.a),r["default"].prototype.$store=Oe;var Te=new N["a"]({routes:Ae});Te.beforeEach((function(e,t,a){e.meta.title&&(document.title=e.meta.title),Oe.commit("global/setFullscreen",!!e.meta.fullscreen),a()}));var Ee=new r["default"]({el:"#app",router:Te,render:function(e){return e(F)}}),Me=t["default"]=Ee},"594a":function(e,t,a){},"71a4":function(e,t,a){"use strict";var r=a("2352"),i=a.n(r);i.a},"85ec":function(e,t,a){},9231:function(e,t,a){"use strict";var r=a("40c0"),i=a.n(r);i.a},cc1a:function(e,t,a){"use strict";var r=a("594a"),i=a.n(r);i.a},d1f1:function(e,t,a){},d784:function(e,t,a){},d9af:function(e,t,a){"use strict";var r=a("4eaf"),i=a.n(r);i.a},dcfc:function(e,t,a){"use strict";var r=a("ed55"),i=a.n(r);i.a},ed55:function(e,t,a){}});
\ No newline at end of file
diff --git a/zyplayer-doc-manage/src/main/resources/dist/js/index.b5e3c406.js b/zyplayer-doc-manage/src/main/resources/dist/js/index.b5e3c406.js
new file mode 100644
index 00000000..a1effef5
--- /dev/null
+++ b/zyplayer-doc-manage/src/main/resources/dist/js/index.b5e3c406.js
@@ -0,0 +1 @@
+(function(e){function t(t){for(var a,o,n=t[0],l=t[1],u=t[2],d=0,p=[];d1e3&&(Me.$message.error("请先登录"),f=(new Date).getTime());var t="",r=window.location.href;if(r.indexOf("?")>=0){var a=new RegExp("(^|&)redirect=([^&]*)(&|$)","i"),s=r.substring(r.indexOf("?")+1).match(a);null!=s&&(t=unescape(s[2]))}t=t||encodeURIComponent(window.location.href),Me.$router.push({path:"/user/login",query:{redirect:t}})}else 402==e.data.errCode?Me.$router.push("/common/noAuth"):200!==e.data.errCode&&Me.$message.error(e.data.errMsg||"未知错误")}return Promise.reject("请求错误")}),(function(e){return console.log("err"+e),Me.$message.info("请求错误:"+e.message),Promise.reject(e)}));var h=p,g={userLogin:function(e){return h({url:"/login",method:"post",data:u.a.stringify(e)})},userLogout:function(e){return h({url:"/logout",method:"post",data:u.a.stringify(e)})},getSelfUserInfo:function(e){return h({url:"/user/info/selfInfo",method:"post",data:u.a.stringify(e)})},updateSelfPwd:function(e){return h({url:"/user/info/updateSelfPwd",method:"post",data:u.a.stringify(e)})},selfInfoWithAuth:function(e){return h({url:"/user/info/selfInfoWithAuth",method:"post",data:u.a.stringify(e)})},getUserInfoList:function(e){return h({url:"/user/info/list",method:"post",data:u.a.stringify(e)})},searchUserInfoList:function(e){return h({url:"/user/info/search",method:"post",data:u.a.stringify(e)})},updateUserInfo:function(e){return h({url:"/user/info/update",method:"post",data:u.a.stringify(e)})},deleteUserInfo:function(e){return h({url:"/user/info/delete",method:"post",data:u.a.stringify(e)})},userAuthList:function(e){return h({url:"/user/info/auth/list",method:"post",data:u.a.stringify(e)})},updateUserAuth:function(e){return h({url:"/user/info/auth/update",method:"post",data:u.a.stringify(e)})},resetPassword:function(e){return h({url:"/user/info/resetPassword",method:"post",data:u.a.stringify(e)})},userGroupList:function(e){return h({url:"/user/group/list",method:"post",data:u.a.stringify(e)})},updateUserGroup:function(e){return h({url:"/user/group/update",method:"post",data:u.a.stringify(e)})},deleteUserGroup:function(e){return h({url:"/user/group/delete",method:"post",data:u.a.stringify(e)})},updateUserGroupRelation:function(e){return h({url:"/user/group/relation/update",method:"post",data:u.a.stringify(e)})},removeUserGroupRelation:function(e){return h({url:"/user/group/relation/remove",method:"post",data:u.a.stringify(e)})},userGroupRelationList:function(e){return h({url:"/user/group/relation/list",method:"post",data:u.a.stringify(e)})}},b=r("9db5"),v=r("5a60"),U=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{attrs:{title:"关于",visible:e.aboutDialogVisible,width:"600px","custom-class":"about-zyplayer-doc"},on:{"update:visible":function(t){e.aboutDialogVisible=t}}},[r("div",{},[r("div",{staticStyle:{"font-weight":"bold","font-size":"25px"}},[e._v("zyplayer-doc")]),r("div",{staticStyle:{"line-height":"30px",padding:"10px 0"}},[r("div",{staticStyle:{"margin-bottom":"30px"}},[e._v("专注于私有化部署的在线知识库管理平台")]),r("div",[e._v("当前版本 "+e._s(e.upgradeInfo.nowVersion||"1.0.0"))]),r("div",[e._v("版权所有 © 2018-2023 "),r("a",{attrs:{target:"_blank",href:"https://doc.zyplayer.com"}},[e._v("doc.zyplayer.com")])])])])])},w=[],y={systemUpgradeInfo:function(e){return h({url:"/system/info/upgrade",method:"post",data:u.a.stringify(e)})},fetchMoudleData:function(e){return h({url:"/system/info/module",method:"get",data:u.a.stringify(e)})}},x={data:function(){return{aboutDialogVisible:!1,upgradeInfo:{}}},mounted:function(){this.checkSystemUpgrade()},methods:{show:function(){this.aboutDialogVisible=!0},checkSystemUpgrade:function(){var e=this;y.systemUpgradeInfo({}).then((function(t){t.data&&(e.upgradeInfo=t.data,e.upgradeInfo.upgradeContent&&(e.upgradeInfo.upgradeContent=e.upgradeInfo.upgradeContent.replaceAll(";","\n")),console.log("zyplayer-doc发现新版本:\n升级地址:"+t.data.upgradeUrl+"\n当前版本:"+t.data.nowVersion+"\n最新版本:"+t.data.lastVersion+"\n升级内容:"+t.data.upgradeContent))}))}}},P=x,_=(r("1cc7"),r("2877")),k=Object(_["a"])(P,U,w,!1,null,null,null),L=k.exports,S={data:function(){return{isCollapse:!1,userSelfInfo:{},userAuth:{userManage:!1}}},components:{peoples:b["a"],people:v["a"],"about-dialog":L},computed:{fullscreen:function(){return this.$store.state.global.fullscreen}},mounted:function(){this.getSelfUserInfo()},methods:{handleOpen:function(e,t){console.log(e,t)},handleClose:function(e,t){console.log(e,t)},userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?this.$refs.aboutDialog.show():"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.open("./","_blank"):this.$message.warn("功能暂未开放")},userSignOut:function(){g.userLogout().then((function(){location.reload()})).catch((function(e){console.log("退出登录失败",e)}))},getSelfUserInfo:function(){var e=this;g.selfInfoWithAuth().then((function(t){var r=t.data||{};e.userSelfInfo=r.userInfo||{},e.userAuth=r.userAuth||{}})).catch((function(e){console.log("获取用户信息失败",e)}))}}},C=S,I=(r("034f"),Object(_["a"])(C,o,n,!1,null,null,null)),F=I.exports,N=r("8c4f"),$=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-tabs",{staticStyle:{padding:"5px 10px 0"},attrs:{type:"card",closable:""},on:{"tab-click":e.changePage,"tab-remove":e.removePageTab},model:{value:e.activePage,callback:function(t){e.activePage=t},expression:"activePage"}},e._l(e.pageList,(function(t){return r("el-tab-pane",{attrs:{label:e.pageTabNameMap[t.fullPath]||t.name,name:t.fullPath}})})),1),r("keep-alive",[r("router-view",{key:e.$route.fullPath,on:{initLoadDataList:e.initLoadDataList,loadDatasourceList:e.loadDatasourceList}})],1)],1)},A=[],G=(r("4de4"),r("b0c0"),{name:"PageTableView",components:{},data:function(){return{pageList:[],linkList:[],activePage:"",multiPage:!0}},computed:{pageTabNameMap:function(){return this.$store.state.global.pageTabNameMap}},created:function(){this.pageList.push(this.$route),this.linkList.push(this.$route.fullPath),this.activePage=this.$route.fullPath},watch:{$route:function(e,t){this.activePage=e.fullPath,this.linkList.indexOf(e.fullPath)<0&&(this.linkList.push(e.fullPath),this.pageList.push(e))},activePage:function(e){this.$router.push(e)}},methods:{initLoadDataList:function(e){this.$emit("initLoadDataList",e)},loadDatasourceList:function(){this.$emit("loadDatasourceList")},changePage:function(e){this.activePage=e.name},editPage:function(e,t){this[t](e)},removePageTab:function(e){if(1!==this.pageList.length){this.pageList=this.pageList.filter((function(t){return t.fullPath!==e}));var t=this.linkList.indexOf(e);this.linkList=this.linkList.filter((function(t){return t!==e})),t=t>=this.linkList.length?this.linkList.length-1:t,this.activePage=this.linkList[t]}else this.$message.warning("这是最后一页,不能再关闭了啦")}}}),D=G,O=Object(_["a"])(D,$,A,!1,null,"a596d90e",null),z=O.exports,V=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{padding:"10px"}},[r("div",{staticStyle:{"max-width":"800px",margin:"20px auto"}},[r("div",{staticStyle:{padding:"20px"}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",[e._v("所有产品")])]),r("div",{staticClass:"product-list"},[r("div",{staticClass:"item",on:{click:function(t){return e.jumpToDocPage("doc-wiki")}}},[r("div",{staticClass:"logo-text text3"},[e._v("WIKI")]),r("div",[e._v("WIKI文档")])])])])],1)])])},R=[],j={data:function(){return{}},methods:{jumpToDocPage:function(e){window.open(e)}}},E=j,T=(r("2629"),Object(_["a"])(E,V,R,!1,null,null,null)),M=T.exports,J=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"my-info-vue"},[r("div",{staticStyle:{margin:"0 auto","max-width":"1000px"}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("el-row",[r("el-col",{staticStyle:{"line-height":"40px"},attrs:{span:12}},[e._v("我的信息")]),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:12}},[r("el-button",{attrs:{type:"primary"},on:{click:e.showUpdatePasswordDialog}},[r("i",{staticClass:"el-icon-edit"}),e._v(" 修改密码")])],1)],1)],1),r("el-form",{staticClass:"search-form-box",attrs:{"label-width":"100px"}},[r("el-form-item",{attrs:{label:"账号:"}},[e._v(e._s(e.userInfo.userNo))]),r("el-form-item",{attrs:{label:"用户名:"}},[e._v(e._s(e.userInfo.userName))]),r("el-form-item",{attrs:{label:"手机号:"}},[e._v(e._s(e.userInfo.phone))]),r("el-form-item",{attrs:{label:"邮箱:"}},[e._v(e._s(e.userInfo.email))]),r("el-form-item",{attrs:{label:"状态:"}},[e._v(e._s(0==e.userInfo.delFlag?"正常":"停用"))]),r("el-form-item",{attrs:{label:"性别:"}},[e._v(e._s(0==e.userInfo.sex?"女":"男"))])],1)],1)],1),r("el-dialog",{attrs:{title:"修改密码",visible:e.updatePasswordDialogVisible,width:"500px"},on:{"update:visible":function(t){e.updatePasswordDialogVisible=t}}},[r("el-form",{ref:"passwordForm",attrs:{"label-width":"120px",model:e.updatePassword,"status-icon":"",rules:e.updatePasswordRules}},[r("el-form-item",{attrs:{label:"当前密码",prop:"currentPwd"}},[r("el-input",{attrs:{type:"password",placeholder:"请输入当前密码"},model:{value:e.updatePassword.currentPwd,callback:function(t){e.$set(e.updatePassword,"currentPwd",t)},expression:"updatePassword.currentPwd"}})],1),r("el-form-item",{attrs:{label:"新密码",prop:"newPwd"}},[r("el-input",{attrs:{type:"password",placeholder:"请输入新密码"},model:{value:e.updatePassword.newPwd,callback:function(t){e.$set(e.updatePassword,"newPwd",t)},expression:"updatePassword.newPwd"}})],1),r("el-form-item",{attrs:{label:"确认新密码",prop:"repeatPwd"}},[r("el-input",{attrs:{type:"password",placeholder:"请再次输入新密码"},model:{value:e.updatePassword.repeatPwd,callback:function(t){e.$set(e.updatePassword,"repeatPwd",t)},expression:"updatePassword.repeatPwd"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.submitUpdatePasswordForm}},[e._v("修改密码")])],1)],1)],1)],1)},q=[],B={data:function(){return{userInfo:{},updatePasswordDialogVisible:!1,updatePassword:{currentPwd:"",newPwd:"",repeatPwd:""},updatePasswordRules:{currentPwd:[{validator:this.validateCurrentPwd,trigger:"blur"}],newPwd:[{validator:this.validateNewPwd,trigger:"blur"}],repeatPwd:[{validator:this.validateRepeatPwd,trigger:"blur"}]}}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;g.getSelfUserInfo().then((function(t){e.userInfo=t.data}))},showUpdatePasswordDialog:function(){this.updatePasswordDialogVisible=!0},submitUpdatePasswordForm:function(){var e=this;this.$refs.passwordForm.validate((function(t){if(!t)return!1;g.updateSelfPwd(e.updatePassword).then((function(t){e.$message.success("修改成功!请重新登录"),setTimeout((function(){g.userLogout().then((function(){location.reload()})).catch((function(e){console.log("退出登录失败",e)}))}),500)}))}))},validateCurrentPwd:function(e,t,r){""===t?r(new Error("请输入密码")):r()},validateNewPwd:function(e,t,r){""===t?r(new Error("请输入新密码")):(""!==this.updatePassword.newPwd&&this.$refs.passwordForm.validateField("repeatPwd"),r())},validateRepeatPwd:function(e,t,r){""===t?r(new Error("请再次输入新密码")):this.updatePassword.repeatPwd!==this.updatePassword.newPwd?r(new Error("两次输入的密码不一致")):r()}}},W=B,H=(r("dcfc"),Object(_["a"])(W,J,q,!1,null,null,null)),K=H.exports,Q=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:"login-background linear-gradient-"+e.bgImgRandom},[r("div",{staticClass:"login-box"},[r("el-form",{ref:"loginParam",staticClass:"demo-ruleForm login-container",attrs:{model:e.loginParam,rules:e.loginRules,"label-position":"left","label-width":"0px"}},[r("h3",{staticClass:"title"},[e._v("文档管理-系统登录")]),r("el-form-item",{attrs:{prop:"username"}},[r("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.username,callback:function(t){e.$set(e.loginParam,"username",t)},expression:"loginParam.username"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.password,callback:function(t){e.$set(e.loginParam,"password",t)},expression:"loginParam.password"}})],1),r("el-form-item",{staticStyle:{width:"100%"}},[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.loginLoading},nativeOn:{click:function(t){return t.preventDefault(),e.loginSubmit(t)}}},[e._v("登录")])],1)],1)],1),e._m(0)])},X=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"power-by"},[e._v("Powered By "),r("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])])}],Y={data:function(){return{loginLoading:!1,redirect:"",loginParam:{username:"",password:""},loginRules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},bgImgRandom:Math.ceil(5*Math.random())}},mounted:function(){this.redirect=this.$route.query.redirect},methods:{loginSubmit:function(){var e=this;this.$refs.loginParam.validate((function(t){t&&(e.loginLoading=!0,g.userLogin(e.loginParam).then((function(){e.$emit("loginSuccess"),e.loginLoading=!1,e.redirect?location.href=decodeURIComponent(e.redirect):e.$router.back()})).catch((function(t){console.log("登录失败",t),e.loginLoading=!1})))}))}}},Z=Y,ee=(r("9231"),Object(_["a"])(Z,Q,X,!1,null,null,null)),te=ee.exports,re=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"user-list-vue"},[r("el-breadcrumb",{staticStyle:{padding:"20px 10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[r("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),r("el-breadcrumb-item",[e._v("系统管理")]),r("el-breadcrumb-item",[e._v("用户列表")])],1),r("el-form",{staticClass:"search-form-box",attrs:{inline:!0,model:e.searchParam}},[r("el-form-item",{attrs:{label:"搜索类型"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchParam.type,callback:function(t){e.$set(e.searchParam,"type",t)},expression:"searchParam.type"}},[r("el-option",{attrs:{label:"ID",value:1}}),r("el-option",{attrs:{label:"账号",value:2}}),r("el-option",{attrs:{label:"用户名",value:3}}),r("el-option",{attrs:{label:"手机",value:4}}),r("el-option",{attrs:{label:"邮箱",value:5}})],1)],1),r("el-form-item",{attrs:{label:"关键字"}},[r("el-input",{attrs:{placeholder:"输入关键字"},model:{value:e.searchParam.keyword,callback:function(t){e.$set(e.searchParam,"keyword",t)},expression:"searchParam.keyword"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.getUserList}},[e._v("查询")])],1),r("el-form-item",[r("el-button",{attrs:{type:"success"},on:{click:e.addUserInfo}},[r("i",{staticClass:"el-icon-plus"}),e._v(" 添加")])],1)],1),r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.searchLoading,expression:"searchLoading"}],staticStyle:{padding:"10px"}},[r("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[r("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),r("el-table-column",{attrs:{prop:"userNo",label:"账号"}}),r("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),r("el-table-column",{attrs:{prop:"userName",label:"用户名"}}),r("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),r("el-table-column",{attrs:{label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.sex?"女":"男"))]}}])}),r("el-table-column",{attrs:{prop:"creationTime",label:"创建时间"}}),r("el-table-column",{attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.delFlag?"正常":"停用"))]}}])}),r("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(r){return e.editUserInfo(t.row)}}},[e._v("修改")]),r("el-button",{attrs:{size:"mini",plain:"",type:"success"},on:{click:function(r){return e.editUserAuthFun(t.row)}}},[e._v("权限")]),r("el-button",{attrs:{size:"mini",plain:"",type:"warning"},on:{click:function(r){return e.resetPassword(t.row)}}},[e._v("重置密码")]),r("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(r){return e.deleteUser(t.row)}}},[e._v("删除")])]}}])})],1)],1),r("div",{staticClass:"page-info-box"},[r("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),r("el-dialog",{attrs:{title:"权限编辑",visible:e.editUserAuthDialogVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.editUserAuthDialogVisible=t}}},[r("el-form",{ref:"form",attrs:{"label-width":"80px"}},[r("el-form-item",{attrs:{label:"账号"}},[r("el-input",{attrs:{disabled:""},model:{value:e.editUserForm.userNo,callback:function(t){e.$set(e.editUserForm,"userNo",t)},expression:"editUserForm.userNo"}})],1),r("el-form-item",{attrs:{label:"用户名"}},[r("el-input",{attrs:{disabled:""},model:{value:e.editUserForm.userName,callback:function(t){e.$set(e.editUserForm,"userName",t)},expression:"editUserForm.userName"}})],1),r("el-form-item",{attrs:{label:"权限"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",placeholder:"请选择"},model:{value:e.editUserAuth,callback:function(t){e.editUserAuth=t},expression:"editUserAuth"}},e._l(e.allUserAuth,(function(e){return r("el-option",{key:e.id,attrs:{label:e.authDesc,value:e.id}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.editUserAuthSave}},[e._v("确定")]),r("el-button",{on:{click:function(t){e.editUserAuthDialogVisible=!1}}},[e._v("取消")])],1)],1)],1),r("el-dialog",{attrs:{title:e.editUserForm.id>0?"修改用户":"创建用户",visible:e.editUserDialogVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.editUserDialogVisible=t}}},[r("el-form",{ref:"form",attrs:{model:e.editUserForm,"label-width":"80px"}},[r("el-form-item",{attrs:{label:"账号"}},[r("el-input",{model:{value:e.editUserForm.userNo,callback:function(t){e.$set(e.editUserForm,"userNo",t)},expression:"editUserForm.userNo"}})],1),r("el-form-item",{attrs:{label:"用户名"}},[r("el-input",{model:{value:e.editUserForm.userName,callback:function(t){e.$set(e.editUserForm,"userName",t)},expression:"editUserForm.userName"}})],1),r("el-form-item",{attrs:{label:"手机号"}},[r("el-input",{model:{value:e.editUserForm.phone,callback:function(t){e.$set(e.editUserForm,"phone",t)},expression:"editUserForm.phone"}})],1),r("el-form-item",{attrs:{label:"邮箱"}},[r("el-input",{model:{value:e.editUserForm.email,callback:function(t){e.$set(e.editUserForm,"email",t)},expression:"editUserForm.email"}})],1),r("el-form-item",{attrs:{label:"新密码"}},[r("el-input",{attrs:{placeholder:"为空代表不修改密码"},model:{value:e.editUserForm.password,callback:function(t){e.$set(e.editUserForm,"password",t)},expression:"editUserForm.password"}})],1),r("el-form-item",{attrs:{label:"状态"}},[r("el-switch",{attrs:{"active-value":0,"active-text":"正常","inactive-value":2,"inactive-text":"停用"},model:{value:e.editUserForm.delFlag,callback:function(t){e.$set(e.editUserForm,"delFlag",t)},expression:"editUserForm.delFlag"}})],1),r("el-form-item",{attrs:{label:"性别"}},[r("el-radio-group",{model:{value:e.editUserForm.sex,callback:function(t){e.$set(e.editUserForm,"sex",t)},expression:"editUserForm.sex"}},[r("el-radio",{attrs:{label:1}},[e._v("男")]),r("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.updateEditUser}},[e._v("确定")]),r("el-button",{on:{click:function(t){e.editUserDialogVisible=!1}}},[e._v("取消")])],1)],1)],1)],1)},ae=[],se=(r("a15b"),{data:function(){return{searchLoading:!1,editUserDialogVisible:!1,editUserAuthDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[],roleOptions:[{value:"管理员"}],editUserForm:{},allUserAuth:[],editUserAuth:[]}},mounted:function(){this.getUserList()},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e,this.getUserList()},handleCurrentChange:function(e){this.searchParam.pageNum=e,this.getUserList()},editUserAuthFun:function(e){var t=this;this.allUserAuth=[],this.editUserAuth=[];var r={userIds:e.id};g.userAuthList(r).then((function(r){t.editUserAuth=[],t.allUserAuth=r.data,t.editUserAuthDialogVisible=!0,t.editUserForm=JSON.parse(JSON.stringify(e));for(var a=0;a0?r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.searchLoading,expression:"searchLoading"}],staticClass:"page-scroll-box"},[r("div",{staticStyle:{"margin-bottom":"10px"}},[r("el-button",{attrs:{size:"mini",plain:"",type:"primary",icon:"el-icon-plus"},on:{click:e.showChoiceUserDialog}},[e._v("添加用户")])],1),r("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.userGroupRelationList,border:"","max-height":e.tableHeight}},[r("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),r("el-table-column",{attrs:{prop:"userNo",label:"账号"}}),r("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),r("el-table-column",{attrs:{prop:"userName",label:"用户名"}}),r("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),r("el-table-column",{attrs:{label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(0==t.row.sex?"女":"男"))]}}],null,!1,1138127522)}),r("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(r){return e.removeUserRelationFromList(t.row.id)}}},[e._v("移除")])]}}],null,!1,1988185234)})],1)],1):e._e()])],1),r("el-dialog",{attrs:{title:"添加用户到分组",visible:e.choiceUserVisible,width:"600px"},on:{"update:visible":function(t){e.choiceUserVisible=t},close:e.closeChoiceUserDialog}},[r("el-row",[r("el-select",{staticStyle:{width:"450px","margin-right":"10px"},attrs:{filterable:"",remote:"","reserve-keyword":"",autoComplete:"new-password",placeholder:"请输入名字、邮箱、账号搜索用户","remote-method":e.getSearchUserList,loading:e.searchUserLoading},model:{value:e.searchAddNewUser,callback:function(t){e.searchAddNewUser=t},expression:"searchAddNewUser"}},e._l(e.searchUserList,(function(e){return r("el-option",{key:e.id,attrs:{label:e.userName,value:e.id}})})),1),r("el-button",{on:{click:e.addSearchChoiceUser}},[e._v("添加")])],1),r("div",{staticStyle:{margin:"10px 0"}},e._l(e.searchAddUserList,(function(t){return r("el-tag",{key:t.userId,staticStyle:{"margin-right":"10px"},attrs:{closable:"",type:"info"},on:{close:function(r){return e.removeUserRelationFromSearch(t.userId)}}},[e._v(" "+e._s(t.userName)+" ")])})),1)],1)],1)},ye=[],xe=(r("7db0"),r("4160"),r("159b"),{data:function(){return{searchLoading:!1,editUserDialogVisible:!1,editUserAuthDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:""},searchResultList:[],roleOptions:[{value:"管理员"}],editUserForm:{},allUserAuth:[],editUserAuth:[],userGroupRelationList:[],userGroupList:[],editGroupName:"",checkedUserGroupId:"",createUserGroupVisible:!1,choiceUserVisible:!1,searchAddUserList:[],searchUserList:[],searchAddNewUser:"",searchUserLoading:!1,tableHeight:document.body.clientHeight-250}},mounted:function(){this.getUserGroupList()},methods:{getUserGroupList:function(){var e=this;this.userGroupList=[],g.userGroupList().then((function(t){var r=t.data||[];r.forEach((function(e){e.edit=!1,e.checked=!1,e.editName=e.name})),e.userGroupList=r}))},loadUserGroupRelation:function(e,t){var r=this;(t||e!=this.checkedUserGroupId)&&(this.checkedUserGroupId=e,this.searchLoading=!0,g.userGroupRelationList({groupId:e}).then((function(e){r.searchLoading=!1,r.userGroupRelationList=e.data||[]})))},updateUserGroup:function(e){if(e.name!=e.editName){var t={id:e.id,name:e.editName};g.updateUserGroup(t).then((function(t){e.edit=!1,e.name=e.editName}))}else e.edit=!1},createUserGroup:function(){var e=this,t={name:this.editGroupName};g.updateUserGroup(t).then((function(t){e.editGroupName="",e.createUserGroupVisible=!1,e.getUserGroupList()}))},removeUserGroup:function(e){var t=this;g.deleteUserGroup({id:e}).then((function(e){t.checkedUserGroupId="",t.getUserGroupList()}))},closeChoiceUserDialog:function(){this.loadUserGroupRelation(this.checkedUserGroupId,!0)},showChoiceUserDialog:function(){var e=this;this.choiceUserVisible=!0,this.searchAddUserList=[],this.userGroupRelationList.forEach((function(t){e.searchAddUserList.push({userName:t.userName,userId:t.id})}))},getSearchUserList:function(e){var t=this;e&&(this.searchUserLoading=!0,g.searchUserInfoList({search:e}).then((function(e){t.searchUserList=e.data||[],t.searchUserLoading=!1})))},removeUserRelationFromSearch:function(e){var t=this,r={groupId:this.checkedUserGroupId,userId:e};g.removeUserGroupRelation(r).then((function(r){t.searchAddUserList=t.searchAddUserList.filter((function(t){return t.userId!=e}))}))},removeUserRelationFromList:function(e){var t=this,r={groupId:this.checkedUserGroupId,userId:e};g.removeUserGroupRelation(r).then((function(e){t.loadUserGroupRelation(t.checkedUserGroupId,!0)}))},addSearchChoiceUser:function(){var e=this;if(this.searchAddNewUser.length<=0)this.$message.warning("请先选择用户");else if(this.searchAddUserList.find((function(t){return t.userId==e.searchAddNewUser})))this.searchAddNewUser="";else{var t=this.searchUserList.find((function(t){return t.id==e.searchAddNewUser})).userName,r={groupId:this.checkedUserGroupId,userId:this.searchAddNewUser};g.updateUserGroupRelation(r).then((function(r){e.searchAddUserList.push({userName:t,userId:e.searchAddNewUser})})),this.searchAddNewUser=""}}}}),Pe=xe,_e=(r("71a4"),Object(_["a"])(Pe,we,ye,!1,null,null,null)),ke=_e.exports,Le=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e._v("没有权限访问该模块")])},Se=[],Ce={data:function(){return{}},mounted:function(){},methods:{}},Ie=Ce,Fe=Object(_["a"])(Ie,Le,Se,!1,null,null,null),Ne=Fe.exports,$e=[{path:"/",redirect:"/home"},{path:"/user/login",name:"系统登录",component:te,meta:{fullscreen:!0}},{path:"/",name:"页面管理",component:z,children:[{path:"/home",name:"控制台",component:M}]},{path:"/user",name:"用户管理",component:z,children:[{path:"myInfo",name:"我的信息",component:K}]},{path:"/console",name:"系统管理",component:z,children:[{path:"userList",name:"用户管理",component:ne},{path:"roleList",name:"权限管理",component:me},{path:"authList",name:"角色列表",component:Ue},{path:"userGroupList",name:"分组管理",component:ke}]},{path:"/common",name:"",component:z,children:[{path:"noAuth",name:"没有权限",component:Ne}]}],Ae=$e,Ge=r("2f62"),De={namespaced:!0,state:{pageTabNameMap:{},fullscreen:!1},getters:{getPageTabNameMap:function(e){return e.pageTabNameMap}},mutations:{addTableName:function(e,t){var r=Object.assign({},e.pageTabNameMap);r[t.key]=t.val,e.pageTabNameMap=r},setFullscreen:function(e,t){e.fullscreen=t}}};a["default"].use(Ge["a"]);var Oe=new Ge["a"].Store({modules:{global:De}}),ze=r("a7fe"),Ve=r.n(ze),Re=r("2315"),je=r.n(Re);r("f1e9");a["default"].use(i.a),a["default"].use(N["a"]),a["default"].use(Ve.a,d.a),a["default"].use(je.a),a["default"].prototype.$store=Oe;var Ee=new N["a"]({routes:Ae});Ee.beforeEach((function(e,t,r){e.meta.title&&(document.title=e.meta.title),Oe.commit("global/setFullscreen",!!e.meta.fullscreen),r()}));var Te=new a["default"]({el:"#app",router:Ee,render:function(e){return e(F)}}),Me=t["default"]=Te},"594a":function(e,t,r){},"71a4":function(e,t,r){"use strict";var a=r("2352"),s=r.n(a);s.a},"85ec":function(e,t,r){},9231:function(e,t,r){"use strict";var a=r("40c0"),s=r.n(a);s.a},cc1a:function(e,t,r){"use strict";var a=r("594a"),s=r.n(a);s.a},d1f1:function(e,t,r){},d784:function(e,t,r){},d9af:function(e,t,r){"use strict";var a=r("4eaf"),s=r.n(a);s.a},dcfc:function(e,t,r){"use strict";var a=r("ed55"),s=r.n(a);s.a},ed55:function(e,t,r){}});
\ No newline at end of file