Browse Source

整理

docker-svn
witersen 3 years ago
parent
commit
4fd077c891
  1. 13
      .gitignore
  2. 7
      01.web/.gitignore
  3. 15
      01.web/.vscode/launch.json
  4. 1
      01.web/dist/0.55456e93cfe3e0947bae.chunk.js
  5. 1
      01.web/dist/1.55456e93cfe3e0947bae.chunk.js
  6. 1
      01.web/dist/10.55456e93cfe3e0947bae.chunk.js
  7. BIN
      01.web/dist/143146fa24554ae2c5ac0a3982abb952.woff2
  8. 1
      01.web/dist/2.55456e93cfe3e0947bae.chunk.js
  9. 1
      01.web/dist/3.55456e93cfe3e0947bae.chunk.js
  10. 1
      01.web/dist/4.55456e93cfe3e0947bae.chunk.js
  11. 1
      01.web/dist/5.55456e93cfe3e0947bae.chunk.js
  12. BIN
      01.web/dist/537fba62e5b926e3ddff7bf13c8eee8e.png
  13. 1
      01.web/dist/6.55456e93cfe3e0947bae.chunk.js
  14. BIN
      01.web/dist/6eee7a3978d7d0d05d816816ca1b291c.png
  15. 1
      01.web/dist/7.55456e93cfe3e0947bae.chunk.js
  16. 1
      01.web/dist/8.55456e93cfe3e0947bae.chunk.js
  17. BIN
      01.web/dist/99ac3308dd8ee14f749f51538d0d5b9e.woff
  18. 870
      01.web/dist/a2c4a261a239aa84463dc70e4bac9b9a.svg
  19. BIN
      01.web/dist/d535a25a79fb1365ae814b61e88fae71.ttf
  20. 20
      01.web/dist/main.55456e93cfe3e0947bae.css
  21. 7
      01.web/dist/main.55456e93cfe3e0947bae.js
  22. 30
      01.web/dist/vendors.55456e93cfe3e0947bae.js
  23. 16
      01.web/index_prod.html
  24. 2
      01.web/src/views/advance/index.vue
  25. 2
      01.web/src/views/login/index.vue
  26. 4
      01.web/src/views/repositoryUser/index.vue
  27. 2
      02.php/config/version.php
  28. 2
      README.md

13
.gitignore vendored

@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
01.web/node_modules
01.web/node_modules/*
01.web/node_modules/
01.web/src/config/env.js
01.web/.vscode/
01.web/dist/
01.web/index.html
01.web/.vscode
01.web/.vscode/*
02.php/.vscode
02.php/.vscode/*
01.web/index_prod.html
02.php/.vscode/

7
01.web/.gitignore vendored

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
.idea
.idea/
.DS_Store
node_modules/
.project
src/config/*.tmp
src/config/env.js

15
01.web/.vscode/launch.json vendored

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://127.0.0.1:8081/",
"webRoot": "${workspaceFolder}"
}
]
}

1
01.web/dist/0.55456e93cfe3e0947bae.chunk.js vendored

@ -1 +0,0 @@ @@ -1 +0,0 @@
webpackJsonp([0],{377:function(e,t,r){r(398);var n=r(147)(r(387),r(415),"data-v-51f19c28",null);n.options.__file="D:\\SVN\\B06.svn管理面板V2.0\\09.软件开发\\01.web\\src\\views\\layout\\basicLayout\\index.vue",n.esModule&&Object.keys(n.esModule).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),n.options.functional&&console.error("[vue-loader] index.vue: functional components are not supported with templates, they should use render functions."),e.exports=n.exports},387:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{currentActiveName:"",logoContent:"SVN Admin",currentUsername:sessionStorage.user_name,currentRoleName:sessionStorage.user_role_name,navList:[],breadcrumb:[]}},methods:{LogOut:function(){var e=this,t={};e.$axios.post("/api.php?c=Common&a=Logout&t=web",t).then(function(t){var r=t.data;1==r.status?(sessionStorage.removeItem("token"),sessionStorage.removeItem("user_name"),sessionStorage.removeItem("user_role_id"),sessionStorage.removeItem("user_role_name"),e.$Message.success(r.message),e.$router.push({name:"login"})):e.$Message.error(r.message)}).catch(function(t){console.log(t),e.$Message.error("出错了 请联系管理员!")})},handleCommand:function(e){switch(e){case"logOut":this.logOUt()}},CreateNav:function(){var e=this,t=e.$router.options.routes.filter(function(e){return"manage"==e.name});t=t[0].children;var r=t.map(function(e){return e.meta.group}).filter(function(e){return""!=e.name});t=t.filter(function(e){return e.meta.group.num>0}),t=t.filter(function(e){return-1!=e.meta.user_role_id.indexOf(sessionStorage.user_role_id)});for(var n=[],o=0;o<r.length;o++){for(var a=[],i=0;i<t.length;i++)t[i].meta.group.num==r[o].num&&a.push(t[i]);0!=a.length&&n.push({title:r[o].name,value:a})}e.navList=n},SetBreadcrumb:function(){var e=this;e.breadcrumb=e.$route.matched},SetActiveName:function(){this.currentActiveName=this.$route.name}},mounted:function(){var e=this;e.CreateNav(),e.SetBreadcrumb(),this.SetActiveName()},watch:{$route:function(){this.SetBreadcrumb()}}}},398:function(e,t){},410:function(e,t,r){e.exports=r.p+"6eee7a3978d7d0d05d816816ca1b291c.png"},415:function(e,t,r){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Layout",[n("Header",{staticStyle:{"background-color":"#9b1be5","background-image":"linear-gradient(90deg, #9b1be5 0%, #2085ea 100%)",color:"#fff",position:"fixed",width:"100%","z-index":"99"}},[n("img",{staticStyle:{"line-height":"64px",position:"absolute",top:"12px",left:"1%"},attrs:{src:r(410)}}),e._v(" "),n("Dropdown",{staticStyle:{float:"right",zindex:"99"},attrs:{transfer:!0,trigger:"click"},on:{"on-click":e.LogOut}},[n("a",{staticStyle:{"margin-left":"8px",color:"#fff"},attrs:{href:"javascript:void(0)"}},[e._v("\n "+e._s(e.currentUsername)+"\n "),n("Icon",{attrs:{type:"md-arrow-dropdown"}})],1),e._v(" "),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n("DropdownItem",[e._v("退出")])],1)],1),e._v(" "),n("div",{staticStyle:{float:"right"}},[n("Divider",{attrs:{type:"vertical"}})],1),e._v(" "),n("div",{staticStyle:{float:"right"}},[n("a",{staticStyle:{"margin-left":"8px",color:"#fff",cursor:"default"}},[e._v(e._s(e.currentRoleName))])])],1),e._v(" "),n("Layout",{staticStyle:{"margin-top":"64px"}},[n("Sider",{staticStyle:{"min-height":"calc(100vh - 64px)",position:"fixed","z-index":"99",height:"100%"}},[n("Menu",{staticStyle:{height:"100%"},attrs:{theme:"light",width:"auto","active-name":e.currentActiveName}},e._l(e.navList,function(t,r){return n("MenuGroup",{key:r,attrs:{title:t.title}},e._l(t.value,function(t,o){return n("MenuItem",{key:r+"-"+o,attrs:{name:t.name,to:t.path}},[n("Icon",{attrs:{type:t.meta.icon}}),e._v("\n "+e._s(t.meta.title)+"\n ")],1)}))}))],1),e._v(" "),n("Layout",{staticStyle:{padding:"20px 30px 0px 220px",height:"calc(100vh - 64px)"}},[n("Breadcrumb",{staticStyle:{padding:"0px 0px 20px 0px"}},e._l(e.breadcrumb,function(t,r){return n("BreadcrumbItem",{key:r},[e._v(e._s(t.meta.title))])})),e._v(" "),n("Content",[n("router-view")],1)],1)],1)],1)],1)},staticRenderFns:[]},e.exports.render._withStripped=!0}});

1
01.web/dist/1.55456e93cfe3e0947bae.chunk.js vendored

@ -1 +0,0 @@ @@ -1 +0,0 @@
webpackJsonp([1],{383:function(e,t,o){o(396);var a=o(147)(o(393),o(413),null,null);a.options.__file="D:\\SVN\\B06.svn管理面板V2.0\\09.软件开发\\01.web\\src\\views\\systemLog\\index.vue",a.esModule&&Object.keys(a.esModule).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),a.options.functional&&console.error("[vue-loader] index.vue: functional components are not supported with templates, they should use render functions."),e.exports=a.exports},393:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{pageCurrentLog:1,pageSizeLog:10,totalLog:0,searchKeywordLog:"",loadingGetLogList:!0,loadingClearLogs:!1,tableColumnLog:[{title:"序号",type:"index",fixed:"left",minWidth:80},{title:"操作人",key:"log_add_user_name",minWidth:120},{title:"日志类型",key:"log_type_name",minWidth:150},{title:"详细信息",key:"log_content",tooltip:!0,minWidth:120},{title:"操作时间",key:"log_add_time",minWidth:150}],tableDataLog:[]}},computed:{},created:function(){},mounted:function(){this.GetLogList()},methods:{LogPageSizeChange:function(e){this.pageSizeLog=e,this.GetLogList()},LogPageChange:function(e){this.pageCurrentLog=e,this.GetLogList()},SearchGetLogList:function(){this.GetLogList()},GetLogList:function(){var e=this;e.loadingGetLogList=!0,e.tableDataLog=[];var t={pageSize:e.pageSizeLog,currentPage:e.pageCurrentLog,searchKeyword:e.searchKeywordLog};e.$axios.post("/api.php?c=Logs&a=GetLogList&t=web",t).then(function(t){e.loadingGetLogList=!1;var o=t.data;1==o.status?(e.tableDataLog=o.data.data,e.totalLog=o.data.total):e.$Message.error(o.message)}).catch(function(t){e.loadingGetLogList=!1,console.log(t),e.$Message.error("出错了 请联系管理员!")})},ClearLogs:function(){var e=this;e.$Modal.confirm({title:"清空日志",content:"确定要清空日志记录吗?此操作不可逆!",onOk:function(){e.loadingClearLogs=!0;var t={};e.$axios.post("/api.php?c=Logs&a=ClearLogs&t=web",t).then(function(t){e.loadingClearLogs=!1;var o=t.data;1==o.status?(e.$Message.success(o.message),e.GetLogList()):e.$Message.error(o.message)}).catch(function(t){e.loadingClearLogs=!1,console.log(t),e.$Message.error("出错了 请联系管理员!")})}})},ExportLog:function(){var e=this;o.e(10).then(function(){var t=o(394),a=t.export_json_to_excel,n=["序号","操作人","日志类型","详细信息","操作时间"],s=["index","log_add_user_name","log_type_name","log_content","log_add_time"],i=e.tableDataLog;for(var r in i)i[r].index=parseInt(r)+1;a(n,e.FormatJson(s,i),"logs-"+new Date)}.bind(null,o)).catch(o.oe)},FormatJson:function(e,t){return t.map(function(t){return e.map(function(e){return t[e]})})}}}},396:function(e,t){},413:function(e,t,o){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("Card",{attrs:{bordered:!1,"dis-hover":!0}},[o("Row",{staticStyle:{"margin-bottom":"15px"}},[o("Col",{attrs:{type:"flex",justify:"space-between",xs:21,sm:20,md:19,lg:18}},[o("Button",{attrs:{icon:"ios-trash-outline",type:"warning",ghost:"",loading:e.loadingClearLogs},on:{click:e.ClearLogs}},[e._v("清空日志")]),e._v(" "),o("Button",{attrs:{icon:"ios-cloud-download-outline",type:"success",ghost:""},on:{click:e.ExportLog}},[e._v("导出日志")])],1),e._v(" "),o("Col",{attrs:{xs:3,sm:4,md:5,lg:6}},[o("Input",{staticStyle:{width:"100%"},attrs:{search:"","enter-button":"",placeholder:"通过所有信息搜索..."},on:{"on-search":e.SearchGetLogList},model:{value:e.searchKeywordLog,callback:function(t){e.searchKeywordLog=t},expression:"searchKeywordLog"}})],1)],1),e._v(" "),o("Table",{attrs:{border:"",loading:e.loadingGetLogList,columns:e.tableColumnLog,data:e.tableDataLog,size:"small"}}),e._v(" "),o("Card",{attrs:{bordered:!1,"dis-hover":!0}},[0!=e.totalLog?o("Page",{attrs:{total:e.totalLog,current:e.pageCurrentLog,"page-size":e.pageSizeLog,size:"small","show-sizer":""},on:{"on-page-size-change":e.LogPageSizeChange,"on-change":e.LogPageChange}}):e._e()],1)],1)],1)},staticRenderFns:[]},e.exports.render._withStripped=!0}});

1
01.web/dist/10.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

BIN
01.web/dist/143146fa24554ae2c5ac0a3982abb952.woff2 vendored

Binary file not shown.

1
01.web/dist/2.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

1
01.web/dist/3.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

1
01.web/dist/4.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

1
01.web/dist/5.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

BIN
01.web/dist/537fba62e5b926e3ddff7bf13c8eee8e.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 KiB

1
01.web/dist/6.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

BIN
01.web/dist/6eee7a3978d7d0d05d816816ca1b291c.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

1
01.web/dist/7.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

1
01.web/dist/8.55456e93cfe3e0947bae.chunk.js vendored

File diff suppressed because one or more lines are too long

BIN
01.web/dist/99ac3308dd8ee14f749f51538d0d5b9e.woff vendored

Binary file not shown.

870
01.web/dist/a2c4a261a239aa84463dc70e4bac9b9a.svg vendored

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 542 KiB

BIN
01.web/dist/d535a25a79fb1365ae814b61e88fae71.ttf vendored

Binary file not shown.

20
01.web/dist/main.55456e93cfe3e0947bae.css vendored

File diff suppressed because one or more lines are too long

7
01.web/dist/main.55456e93cfe3e0947bae.js vendored

File diff suppressed because one or more lines are too long

30
01.web/dist/vendors.55456e93cfe3e0947bae.js vendored

File diff suppressed because one or more lines are too long

16
01.web/index_prod.html

@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>iView project</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="/dist/main.55456e93cfe3e0947bae.css">
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="/dist/vendors.55456e93cfe3e0947bae.js"></script>
<script type="text/javascript" src="/dist/main.55456e93cfe3e0947bae.js"></script>
</body>
</html>

2
01.web/src/views/advance/index.vue

@ -597,7 +597,7 @@ export default { @@ -597,7 +597,7 @@ export default {
* 版本信息
*/
version: {
current_verson: "2.3.1",
current_verson: "2.3.2",
php_version: "5.5 <= PHP < 8.0",
database: "MYSQL、SQLite",
github: "https://github.com/witersen/SvnAdminV2.0",

2
01.web/src/views/login/index.vue

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<template>
<div class="login">
<div class="login-con">
<Card icon="log-in" title="SVNAdmin V2.3.1" :bordered="false">
<Card icon="log-in" title="SVNAdmin V2.3.2" :bordered="false">
<div class="form-con">
<Form
ref="formUserLogin"

4
01.web/src/views/repositoryUser/index.vue

@ -13,9 +13,9 @@ @@ -13,9 +13,9 @@
<Button icon="md-add" type="primary" ghost @click="ModalCreateUser"
>新建SVN用户</Button
>
<Button icon="ios-sync" type="primary" ghost @click="ModalScanPasswd"
<!-- <Button icon="ios-sync" type="primary" ghost @click="ModalScanPasswd"
>自动识别</Button
>
> -->
</Col>
<Col :xs="3" :sm="4" :md="5" :lg="6">
<Input

2
02.php/config/version.php

@ -12,5 +12,5 @@ @@ -12,5 +12,5 @@
* 用户请不要自行修改 以免影响后续升级检测
*/
return [
'version' => '2.3.1'
'version' => '2.3.2'
];

2
README.md

@ -68,7 +68,7 @@ systemctl enable httpd @@ -68,7 +68,7 @@ systemctl enable httpd
cd /var/www/html/
#代码包从发行版获取
wget https://gitee.com/witersen/SvnAdminV2.0/attach_files/1099674/download/v2.3.1.zip
wget https://gitee.com/witersen/SvnAdminV2.0/attach_files/1099697/download/v2.3.1.zip
#解压
unzip v2.3.1

Loading…
Cancel
Save