dev #1

Merged
zzyuan merged 2 commits from dev into main 2024-10-09 14:37:55 +08:00
166 changed files with 108997 additions and 4561 deletions

View File

@ -1,8 +1,9 @@
# 页面标题
VUE_APP_TITLE = 博诺思管理系统
VUE_APP_TITLE = 庐江智慧工地
# 生产环境配置
ENV = 'production'
BASE_URL=/gz-att/
# 博诺思管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/ljzhgd-api'

3
.gitignore vendored
View File

@ -21,3 +21,6 @@ selenium-debug.log
package-lock.json
yarn.lock
.gitignore
.history
.vscode/settings.json

View File

@ -40,25 +40,30 @@
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "3.25.3",
"crypto-js": "^4.2.0",
"echarts": "5.4.0",
"element-ui": "2.15.14",
"file-saver": "2.0.5",
"file-saver": "^2.0.5",
"flv.js": "^1.6.2",
"fuse.js": "6.4.3",
"highlight.js": "9.18.5",
"html2canvas": "^1.4.1",
"jquery": "^3.7.1",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1",
"jszip": "^3.10.1",
"nprogress": "0.2.0",
"qrcode": "^1.5.3",
"qrcodejs2": "^0.0.2",
"quill": "1.3.7",
"screenfull": "5.0.2",
"sm-crypto": "^0.3.13",
"sortablejs": "1.10.2",
"vue": "2.6.12",
"vue-baidu-map": "^0.21.22",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vue-router": "^3.5.2",
"vuedraggable": "2.24.3",
"vuex": "3.6.0"
},
@ -71,6 +76,7 @@
"chalk": "4.1.0",
"compression-webpack-plugin": "6.1.2",
"connect": "3.6.6",
"crypto-js": "^4.2.0",
"eslint": "7.15.0",
"eslint-plugin-vue": "7.2.0",
"lint-staged": "10.5.3",

File diff suppressed because one or more lines are too long

206
public/dz_video.html Normal file
View File

@ -0,0 +1,206 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<style type="text/css">
html,
body {
overflow: hidden;
height: 100%;
width: 100%;
margin: 0;
}
button {
font-size: 12px;
color: #232323;
}
</style>
<link href="css/chunk-common.css" rel="stylesheet">
<script type="text/javascript">
let devCode = null;
// 接受父页面传递的参数
window.addEventListener('message', function (event) {
const params = event.data;
console.error(params);
// 获取到设备编码并进行处理
devCode = params.devCode;
this.init();
}, false);
// 视频参数
const videoParam = {
'videoIp': '8.142.156.35',
'videoPort': 9988,
'timeout': 0,
'user': 'TSH',
'pwd': '77804d2ba1922c33',
'row': 2,
'col': 2,
};
var video;
window.onVideoRealPlayLoad = function (suport, v) {
if (suport == false) return alert("不支持该浏览器!");
video = v;
// 设置播放窗口为 2 * 2
video.regrid(2, 2);
toolbar(false);
}
//初始化================================================================================================
async function init() {
var videoIp = videoParam.videoIp;
var videoPort = videoParam.videoPort;
var timeout = videoParam.timeout;
var user = videoParam.user;
var pwd = videoParam.pwd;
var row = videoParam.row;
var col = videoParam.col;
video.init({ ip: videoIp, port: videoPort, user: user, pwd: pwd, timeout: timeout, row: row, col: col, toolbar: false, onServerOpen: onServerOpen, onServerClose: onServerClose, onVideoClose: onVideoClose });
setTimeout(() => {
loopPlayVideo();
}, 1500);
}
/* 循环播放视频 */
async function loopPlayVideo() {
for (let index = 1; index <= 4; index++) {
let obj = {
playTitle: "通道" + index,
playSim: devCode,
playChn: index,
}
await playVideo(obj);
}
}
function onServerOpen(time) {
alert("第" + time + "次连接上视频服务器");
}
function onServerClose(time) {
alert("第" + time + "次断开视频服务器");
}
//视频================================================================================================
function onVideoClose(sim, chn) {
console.log("视频关闭 SIM卡号:" + sim + " 通道号:" + chn);
}
async function playVideo(obj) {
return new Promise((resolve, reject) => {
setTimeout(() => {
var playTitle = obj.playTitle;
var playSim = obj.playSim;
var playChn = obj.playChn;
var playStream = 1;// 0-清晰(主码流); 1-流畅(子码流) 可不传该参数
var cloud = true;
var ret = video.playVideo(playTitle, playSim, playChn, playStream, cloud);
if (ret === 1) {
console.error(playSim + '-' + playChn + '成功播放');
resolve(true);
} else if (ret === -1) {
alert("窗口播放满了,不播放");
reject(false);
} else if (ret === 0) {
alert("该设备通道已经有窗口在播放");
reject(false);
}
}, 1000);
});
}
function closeVideo() {
var playSim = document.getElementById("playSim").value;
var playChn = document.getElementById("playChn").value;
video.closeVideo(playSim, playChn);
}
//对讲================================================================================================
function playTalk() {
var sim = document.getElementById("sim").value;
var chn = document.getElementById("chn").value;
video.playTalk(sim, chn, onTalkResult, onTalkClose);
}
function onTalkResult(state, sim, chn, tip) {
if (state === 0) return alert("设备请求失败 SIM卡号:" + sim + " 通道号:" + chn + " 原因:" + tip);
if (state === 1) return alert("对讲成功 SIM卡号:" + sim + " 通道号:" + chn);
if (state === 2) return alert("设备请求成功但获取不到麦克风 SIM卡号:" + sim + " 通道号:" + chn + " 原因:" + tip);
}
function onTalkClose(sim, chn) {
alert("对讲关闭 SIM卡号:" + sim + " 通道号:" + chn);
}
function closeTalk() {
video.closeTalk();
}
//监听================================================================================================
function playListen() {
var sim = document.getElementById("sim").value;
var chn = document.getElementById("chn").value;
video.playListen(sim, chn, onListenResult, onListenClose);
}
function onListenResult(state, sim, chn, tip) {
if (state === 0) return alert("设备监听失败 SIM卡号:" + sim + " 通道号:" + chn + " 原因:" + tip);
if (state === 1) return alert("监听成功 SIM卡号:" + sim + " 通道号:" + chn);
}
function onListenClose(sim, chn) {
alert("监听关闭 SIM卡号:" + sim + " 通道号:" + chn);
}
function closeListen() {
video.closeListen();
}
//布局================================================================================================
function regrid() {
var row = document.getElementById("row").value;
var col = document.getElementById("col").value;
video.regrid(parseInt(row), parseInt(col));
}
//关闭全部================================================================================================
function closeAll() {
video.closeAll();
}
//销毁全部================================================================================================
function destroy() {
video.destroy();
video = null;
}
function toolbar(v) {
video && (video.toolbar = v);
}
</script>
</head>
<body>
<div style="width:calc(100% - 10px);height:calc(100% - 50px);position:absolute;left:5px;top:40px;">
<div id="VideoRealPlay"></div>
</div>
<script src="js/chunk-vendors.js"></script>
<script src="js/chunk-common.js"></script>
<script src="js/VideoRealPlay.js"></script>
</body>
</html>

BIN
public/fonts/iconfont.ttf Normal file

Binary file not shown.

BIN
public/fonts/iconfont.woff Normal file

Binary file not shown.

BIN
public/img/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/img/confirm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
public/img/success.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

119
public/js/VideoPlay.js Normal file
View File

@ -0,0 +1,119 @@
(function (e) {
function n(n) {
for (
var t, i, l = n[0], a = n[1], c = n[2], f = 0, p = [];
f < l.length;
f++
)
(i = l[f]), o[i] && p.push(o[i][0]), (o[i] = 0);
for (t in a) Object.prototype.hasOwnProperty.call(a, t) && (e[t] = a[t]);
d && d(n);
while (p.length) p.shift()();
return u.push.apply(u, c || []), r();
}
function r() {
for (var e, n = 0; n < u.length; n++) {
for (var r = u[n], t = !0, l = 1; l < r.length; l++) {
var a = r[l];
0 !== o[a] && (t = !1);
}
t && (u.splice(n--, 1), (e = i((i.s = r[0]))));
}
return e;
}
var t = {},
o = { VideoPlay: 0 },
u = [];
function i(n) {
if (t[n]) return t[n].exports;
var r = (t[n] = { i: n, l: !1, exports: {} });
return e[n].call(r.exports, r, r.exports, i), (r.l = !0), r.exports;
}
(i.m = e),
(i.c = t),
(i.d = function (e, n, r) {
i.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: r });
}),
(i.r = function (e) {
"undefined" !== typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(e, "__esModule", { value: !0 });
}),
(i.t = function (e, n) {
if ((1 & n && (e = i(e)), 8 & n)) return e;
if (4 & n && "object" === typeof e && e && e.__esModule) return e;
var r = Object.create(null);
if (
(i.r(r),
Object.defineProperty(r, "default", { enumerable: !0, value: e }),
2 & n && "string" != typeof e)
)
for (var t in e)
i.d(
r,
t,
function (n) {
return e[n];
}.bind(null, t)
);
return r;
}),
(i.n = function (e) {
var n =
e && e.__esModule
? function () {
return e["default"];
}
: function () {
return e;
};
return i.d(n, "a", n), n;
}),
(i.o = function (e, n) {
return Object.prototype.hasOwnProperty.call(e, n);
}),
(i.p = "");
var l = (window["webpackJsonp"] = window["webpackJsonp"] || []),
a = l.push.bind(l);
(l.push = n), (l = l.slice());
for (var c = 0; c < l.length; c++) n(l[c]);
var d = a;
u.push([2, "chunk-vendors", "chunk-common"]), r();
})({
2: function (e, n, r) {
e.exports = r("8db3");
},
"8db3": function (e, n, r) {
"use strict";
r.r(n);
var t = r("2b0e"),
o = (r("10c1"), r("2229"), r("6c89"), r("fd4c")),
u = (r("c695"), r("64fd")),
i = (r("7f70"), r("774a")),
l = r("299b");
window._babelPolyfill || r("db4d"),
t["a"].mixin(o["a"]),
t["a"].use(u["a"]),
(window.VideoRealPlayMount = (e) => {
let n = new t["a"]({ render: (e) => e(l["a"]) }).$mount(a(e));
return c(n, e);
}),
(window.VideoPlayBackMount = (e) => {
let n = new t["a"]({ render: (e) => e(i["a"]) }).$mount(a(e));
return c(n, e);
});
let a = function (e) {
let n = document.createElement("div");
return e.appendChild(n), n;
},
c = function (e, n) {
return (
(e.destroy = () => {
e.$children[0].destroy(), e.$destroy(), (n.innerHTML = "");
}),
e
);
};
},
});

View File

@ -0,0 +1 @@
(function(e){function n(n){for(var t,a,i=n[0],l=n[1],c=n[2],d=0,p=[];d<i.length;d++)a=i[d],o[a]&&p.push(o[a][0]),o[a]=0;for(t in l)Object.prototype.hasOwnProperty.call(l,t)&&(e[t]=l[t]);f&&f(n);while(p.length)p.shift()();return u.push.apply(u,c||[]),r()}function r(){for(var e,n=0;n<u.length;n++){for(var r=u[n],t=!0,i=1;i<r.length;i++){var l=r[i];0!==o[l]&&(t=!1)}t&&(u.splice(n--,1),e=a(a.s=r[0]))}return e}var t={},o={VideoPlayBack:0},u=[];function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)a.d(r,t,function(n){return e[n]}.bind(null,t));return r},a.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=n,i=i.slice();for(var c=0;c<i.length;c++)n(i[c]);var f=l;u.push([1,"chunk-vendors","chunk-common"]),r()})({1:function(e,n,r){e.exports=r("5079")},5079:function(e,n,r){"use strict";r.r(n);var t=r("2b0e"),o=(r("10c1"),r("2229"),r("6c89"),r("fd4c")),u=(r("c695"),r("64fd")),a=(r("7f70"),r("774a"));window._babelPolyfill||r("db4d"),t["a"].mixin(o["a"]),t["a"].use(u["a"]);let i=document.getElementById("VideoPlayBack");i?new t["a"]({render:e=>e(a["a"])}).$mount("#VideoPlayBack"):window.VideoPlayBackMount=e=>{return new t["a"]({render:e=>e(a["a"])}).$mount(e)}}});

101
public/js/VideoRealPlay.js Normal file
View File

@ -0,0 +1,101 @@
(function (e) {
function n(n) {
for (
var t, l, a = n[0], i = n[1], c = n[2], d = 0, p = [];
d < a.length;
d++
)
(l = a[d]), o[l] && p.push(o[l][0]), (o[l] = 0);
for (t in i) Object.prototype.hasOwnProperty.call(i, t) && (e[t] = i[t]);
f && f(n);
while (p.length) p.shift()();
return u.push.apply(u, c || []), r();
}
function r() {
for (var e, n = 0; n < u.length; n++) {
for (var r = u[n], t = !0, a = 1; a < r.length; a++) {
var i = r[a];
0 !== o[i] && (t = !1);
}
t && (u.splice(n--, 1), (e = l((l.s = r[0]))));
}
return e;
}
var t = {},
o = { VideoRealPlay: 0 },
u = [];
function l(n) {
if (t[n]) return t[n].exports;
var r = (t[n] = { i: n, l: !1, exports: {} });
return e[n].call(r.exports, r, r.exports, l), (r.l = !0), r.exports;
}
(l.m = e),
(l.c = t),
(l.d = function (e, n, r) {
l.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: r });
}),
(l.r = function (e) {
"undefined" !== typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(e, "__esModule", { value: !0 });
}),
(l.t = function (e, n) {
if ((1 & n && (e = l(e)), 8 & n)) return e;
if (4 & n && "object" === typeof e && e && e.__esModule) return e;
var r = Object.create(null);
if (
(l.r(r),
Object.defineProperty(r, "default", { enumerable: !0, value: e }),
2 & n && "string" != typeof e)
)
for (var t in e)
l.d(
r,
t,
function (n) {
return e[n];
}.bind(null, t)
);
return r;
}),
(l.n = function (e) {
var n =
e && e.__esModule
? function () {
return e["default"];
}
: function () {
return e;
};
return l.d(n, "a", n), n;
}),
(l.o = function (e, n) {
return Object.prototype.hasOwnProperty.call(e, n);
}),
(l.p = "");
var a = (window["webpackJsonp"] = window["webpackJsonp"] || []),
i = a.push.bind(a);
(a.push = n), (a = a.slice());
for (var c = 0; c < a.length; c++) n(a[c]);
var f = i;
u.push([0, "chunk-vendors", "chunk-common"]), r();
})({
0: function (e, n, r) {
e.exports = r("7f63");
},
"7f63": function (e, n, r) {
"use strict";
r.r(n);
var t = r("2b0e"),
o = (r("10c1"), r("2229"), r("6c89"), r("fd4c")),
u = r("299b");
window._babelPolyfill || r("db4d"), t["a"].mixin(o["a"]);
let l = document.getElementById("VideoRealPlay");
l
? new t["a"]({ render: (e) => e(u["a"]) }).$mount("#VideoRealPlay")
: (window.VideoRealPlayMount = (e) => {
return new t["a"]({ render: (e) => e(u["a"]) }).$mount(e);
});
},
});

41691
public/js/chunk-common.js Normal file

File diff suppressed because it is too large Load Diff

15258
public/js/chunk-vendors.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

BIN
public/js/h265_decoder.wasm Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
import request from '@/utils/request'
// 登录方法
export function login(data) {
export function login(username, password, code, uuid) {
return request({
url: '/auth/login',
headers: {
@ -9,43 +9,7 @@ export function login(data) {
repeatSubmit: false
},
method: 'post',
data: data
})
}
export function isLogin(data) {
return request({
url: '/auth/isLogin',
headers: {
isToken: false,
repeatSubmit: false
},
method: 'post',
data: data
})
}
export function isAdmin(data) {
return request({
url: '/auth/isAdmin',
headers: {
isToken: false,
repeatSubmit: false
},
method: 'post',
data: data
})
}
export function getPhoneCode(payload) {
return request({
url: '/auth/getPhoneCode',
headers: {
isToken: false,
repeatSubmit: false
},
method: 'post',
data: payload
data: { username, password, code, uuid }
})
}
@ -95,4 +59,4 @@ export function getCodeImg() {
method: 'get',
timeout: 20000
})
}
}

View File

@ -1,71 +0,0 @@
import request from '@/utils/request'
// 查询定时任务调度列表
export function listJob(query) {
return request({
url: '/schedule/job/list',
method: 'get',
params: query
})
}
// 查询定时任务调度详细
export function getJob(jobId) {
return request({
url: '/schedule/job/' + jobId,
method: 'get'
})
}
// 新增定时任务调度
export function addJob(data) {
return request({
url: '/schedule/job',
method: 'post',
data: data
})
}
// 修改定时任务调度
export function updateJob(data) {
return request({
url: '/schedule/job',
method: 'put',
data: data
})
}
// 删除定时任务调度
export function delJob(jobId) {
return request({
url: '/schedule/job/' + jobId,
method: 'delete'
})
}
// 任务状态修改
export function changeJobStatus(jobId, status) {
const data = {
jobId,
status
}
return request({
url: '/schedule/job/changeStatus',
method: 'put',
data: data
})
}
// 定时任务立即执行一次
export function runJob(jobId, jobGroup) {
const data = {
jobId,
jobGroup
}
return request({
url: '/schedule/job/run',
method: 'put',
data: data
})
}

View File

@ -1,26 +0,0 @@
import request from '@/utils/request'
// 查询调度日志列表
export function listJobLog(query) {
return request({
url: '/schedule/job/log/list',
method: 'get',
params: query
})
}
// 删除调度日志
export function delJobLog(jobLogId) {
return request({
url: '/schedule/job/log/' + jobLogId,
method: 'delete'
})
}
// 清空调度日志
export function cleanJobLog() {
return request({
url: '/schedule/job/log/clean',
method: 'delete'
})
}

View File

@ -1,18 +0,0 @@
import request from '@/utils/request'
// 查询在线用户列表
export function list(query) {
return request({
url: '/system/online/list',
method: 'get',
params: query
})
}
// 强退用户
export function forceLogout(tokenId) {
return request({
url: '/system/online/' + tokenId,
method: 'delete'
})
}

12
src/api/process/roles.js Normal file
View File

@ -0,0 +1,12 @@
import request from '@/utils/request'
// 查询角色列表
export function listRole(query) {
return request({
url: '/system/role/list',
method: 'get',
params: query
})
}

83
src/api/select.js Normal file
View File

@ -0,0 +1,83 @@
import request from '@/utils/request'
//公共下拉选接口集合
//工程下拉选
export function getProList(query) {
return request({
url: '/system/select/getProList',
method: 'get',
params: query
})
}
//所属项目部下拉选
export function getEngineeringList(query) {
return request({
url: '/system/select/getEngineeringList',
method: 'get',
params: query
})
}
//班组下拉选
export function getTeamLists(query) {
return request({
url: '/system/select/getTeamLists',
method: 'get',
params: query
})
}
// 根据工程ID获取杆塔下拉选
export function getPowerLists(query) {
return request({
url: '/system/select/getPowerLists',
method: 'get',
params: query
})
}
// 根据设备类型获取设备下拉选
export function getDeviceLists(query) {
return request({
url: '/system/select/getPowerLists',
method: 'get',
params: query
})
}
//杆塔
export function getGtList(query) {
return request({
url: '/bracelet/sideband/getGtList',
method: 'get',
params: query
})
}
export function getProListTwo(query) {
return request({
url: '/bracelet/sideband/getProList',
method: 'get',
params: query
})
}

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询部门列表
export function listDept(query) {
return request({
url: '/system/dept/list',
url: '/system/org/list',
method: 'get',
params: query
})
@ -20,7 +20,7 @@ export function listDeptExcludeChild(deptId) {
// 查询部门详细
export function getDept(deptId) {
return request({
url: '/system/dept/' + deptId,
url: '/system/org/' + deptId,
method: 'get'
})
}
@ -28,7 +28,7 @@ export function getDept(deptId) {
// 新增部门
export function addDept(data) {
return request({
url: '/system/dept',
url: '/system/org',
method: 'post',
data: data
})
@ -37,7 +37,7 @@ export function addDept(data) {
// 修改部门
export function updateDept(data) {
return request({
url: '/system/dept',
url: '/system/org',
method: 'put',
data: data
})
@ -46,7 +46,7 @@ export function updateDept(data) {
// 删除部门
export function delDept(deptId) {
return request({
url: '/system/dept/' + deptId,
url: '/system/org/' + deptId,
method: 'delete'
})
}

View File

@ -1,100 +0,0 @@
import request from '@/utils/request'
//查询业务日志列表
export function getYwLogs(data) {
return request({
url: '/system/sys/sysLog/getYwLogs',
method: 'get',
params: data
})
}
//备份业务日志列表
export function downloadYwLogs(data) {
return request({
url: '/system/sys/sysLog/downloadYwLogs',
method: 'get',
params: data,
responseType: 'blob'
})
}
//查询系统日志列表
export function getSysLogs(data) {
return request({
url: '/system/sys/sysLog/getSystemLogs',
method: 'get',
params: data
})
}
//备份系统日志列表
export function downloadSysLogs(data) {
return request({
url: '/sys/sysLog/downloadSysLogs',
method: 'get',
params: data,
responseType: 'blob'
})
}
//查询异常日志列表
export function getErrLogs(data) {
return request({
url: '/system/sys/sysLog/getErrLogs',
method: 'get',
params: data
})
}
//备份异常日志列表
export function downloadErrLogs(data) {
return request({
url: '/system/sys/sysLog/downloadErrLogs',
method: 'get',
params: data,
responseType: 'blob'
})
}
//获取日志分析数据
export function getAnalyseData(data) {
return request({
url: '/system/sys/sysLog/getLogStatistics',
method: 'post',
data: data
})
}
//获取日志容量
export function getLogSize(data) {
return request({
url: '/system/sys/sysLog/getLogsSet',
method: 'post',
data
})
}
//设置日志容量
export function updateLogSize(data) {
return request({
url: '/system/sys/sysLog/setLogsSet',
method: 'post',
data:data
})
}
//添加异常Ip日志
export function addLogs(data) {
return request({
url: '/system/sys/sysLog/addLogs',
method: 'post',
data:data
})
}

View File

@ -22,7 +22,7 @@ export function addPost(data) {
return request({
url: '/system/post',
method: 'post',
data: data
data: data,
})
}

10
src/api/system/select.js Normal file
View File

@ -0,0 +1,10 @@
import request from '@/utils/request'
// 获取班组列表
export function getTeamList(query) {
return request({
url: '/system/select/getTeamList',
method: 'get',
params: query
})
}

View File

@ -1,10 +1,10 @@
import request from '@/utils/request'
import { parseStrEmpty } from '@/utils/bonus'
import { parseStrEmpty } from "@/utils/bonus";
// 查询用户列表
export function listUser(query) {
return request({
url: '/system/user/list',
url: '/system/user/getUserList',
method: 'get',
params: query
})
@ -137,20 +137,19 @@ export function deptTreeSelect() {
})
}
//用户注册审批
export function approvalStatus(data) {
/* 关联用户 */
export function associationTeam(data) {
return request({
url: '/system/user/approvalStatus',
url: '/system/user/associationTeam',
method: 'post',
data: data
})
}
//用户注册审批
export function checkPasswordStatus(data) {
// 查询部门下拉树结构
export function departTreeSelect() {
return request({
url: '/system/user/checkPasswordStatus',
url: '/system/user/departTree',
method: 'get'
})
}
}

BIN
src/assets/file.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721558181196" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14304" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 73.28A438.72 438.72 0 1 0 950.72 512 438.72 438.72 0 0 0 512 73.28zM759.84 646.4c-9.6 8.16-20.8-6.08-29.76-20.32s-14.88-26.72-16-21.76a158.4 158.4 0 0 1-37.44 70.72c-1.28 1.6 28.8 12.48 37.44 35.68s24 57.6-80 68.8a145.76 145.76 0 0 1-80-16c-16.96-8.32-27.52-16-29.6-16a73.6 73.6 0 0 1-13.28 0 108 108 0 0 1-14.4 0c-1.76 0-22.24 32-113.12 32-70.4 0-88.64-44.32-74.4-68.8s37.76-32 34.4-35.36a192 192 0 0 1-34.4-57.6 98.56 98.56 0 0 1-4.16-13.44c-1.28-4.64-6.56 8.64-13.92 21.76s-14.4 22.72-22.88 22.72a11.52 11.52 0 0 1-6.56-2.4c-20.96-16-19.2-55.2-5.44-93.12s48-75.04 48-83.2c1.28-30.24-3.04-35.2 0-43.2 6.56-17.76 14.72-10.88 14.72-20.16 0-116.32 86.4-210.56 192.96-210.56s192.96 94.24 192.96 210.56c0 4.48 11.68 0 17.12 20.16a196.96 196.96 0 0 1 0 43.2c0 11.04 29.44 24.48 44.8 83.2S768 640 759.84 646.4z" fill="#1DA1F2" p-id="14305"></path></svg>
<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M18.448 57.545l-.244-.744-.198-.968-.132-.53v-2.181l.236-.859.24-.908.317-.953.428-1.06.561-1.103.794-1.104v-.773l.077-.724.123-.984.34-1.106.313-1.194.25-.548.289-.511.371-.569.405-.423v-2.73l.234-1.407.236-1.633.42-1.955.577-2.035.43-1.118.426-1.217.468-1.135.559-1.216.57-1.332.655-1.247.737-1.331.929-1.33.43-.762.457-.624.995-1.406 1.025-1.403 1.163-1.444 1.246-1.405 1.352-1.384 1.41-1.423 1.708-1.536 1.083-.934 1.322-1.008 1.34-.89 1.448-.855 1.392-.76 1.57-.63 1.667-.775 1.657-.532 1.653-.552 1.787-.548 1.785-.417 1.876-.347L59.128.68l1.879-.245 1.876-.252 2.002-.106h5.912l1.97.243 1.981.231 2.019.207 1.874.441 1.979.413 1.857.475 2.035.53 1.862.646 1.782.738 1.904.78 1.736.853 1.689.95 1.655 1.044 1.425.971.662.548.693.401 1.323 1.1 1.115 1.064 1.112 1.1 1.083 1.214.894 1.178 1.064 1.217.74 1.306.752 1.162.798 1.352.661 1.175 1.113 2.489.546 1.286.428 1.192.428 1.294.384 1.217.267 1.047.347 1.231.607 2.198.388 1.924.253 1.861.217 1.497.342 2.28.077.362.274.41.737 1.18.473.8.42.832.534.892.472 1.07.307 1.093.334 1.2.252 1.232.115.605.106.746v.648l-.106.643v.8l-.192.774-.35 1.5-.403.76-.299.852v.213l.142.264.4.623 1.746 2.53 1.377 1.9.66 1.267.889 1.389.774 1.52.893 1.627.894 1.828 1.006 2.069.567 1.268.518 1.239.447 1.307.44 1.175.336 1.235.342 1.16.432 2.261.343 2.31.235 2.05v2.891l-.158 1.025-.226 1.768-.308 1.59-.48 1.44-.18.588-.336.707-.28.493-.375.607-.33.383-.42.494-.375.4-.401.34-.48.207-.432.207-.355.114h-.543l-.346-.114-.66-.32-.302-.212-.317-.223-.347-.304-.35-.342-.579-.63-.684-.89-.539-.917-.538-.734-.526-.855-.741-1.517-.833-1.579-.098-.055h-.138l-.338.247-.196.415-.326.516-.567 1.533-.856 2.182-1.096 2.626-.824 1.308-.864 1.366-1.027 1.536-1.09 1.503-.557.68-.676.743-1.555 1.497.136.135.21.214.777.446 3.235 1.524 1.41.779 1.347.756 1.332.953 1.187.982.574.443.432.511.445.593.367.643.198.533.242.64.105.554.115.647-.115.433v.44l-.105.454-.242.415-.092.325-.22.394-.587.784-.543.627-.42.47-.35.348-.893.638-1.01.556-1.077.532-1.155.511-1.287.495-.693.207-.608.167-1.496.342-1.545.325-1.552.323-1.689.27-1.74.072-1.785.21h-5.539l-1.998-.114-1.86-.168-2.005-.27-1.99-.209-2.095-.286-2.03-.495-1.981-.374-1.968-.552-2.019-.707-1.98-.585-1.044-.342-.927-.323-.586-.223-.582-.12h-1.647l-1.904-.131-.962-.096-1.24-.135-.795.705-1.085.665-1.471.701-1.628.875-.99.475-1.033.376-2.281.914-1.24.305-1.3.343-1.803.344-1.13.086-1.193.1-1.246.135-1.45.053h-5.926l-3.346-.053-3.25-.321-1.644-.23-1.589-.23-1.546-.227-1.547-.305-1.442-.456-1.434-.325-1.294-.51-1.223-.474-1.142-.533-.99-.583-.984-.71-.336-.343-.44-.415-.334-.362-.3-.417-.278-.415-.215-.42-.311-.89-.109-.46-.138-.51v-.473l.138-.533v-.53l.109-.53v-1.069l.052-.564.259-.647.215-.646.39-.779.286-.3.236-.348.615-.738.49-.38.464-.266.428-.338.676-.21.543-.324.676-.341.77-.227.775-.231.897-.192.85-.11 1.008-.13 1.093-.081.284-.092h.063l.137-.115v-.13l-.2-.266-.58-.27-1.45-1.231-.975-.761-1.127-.967-1.136-1.082-1.181-1.382-1.36-1.558-.508-.843-.672-.87-.58-1.007-.522-1.1-.704-1.047-.459-1.194-.547-1.192-.546-1.33-.397-1.273-.378-1.575-.112-.057h-.115l-.059-.113h-.14l-.23.113-.114.057-.158.264-.057.321-.119.286-.206.477-.664 1.157-.345.701-.546.612-.58.736-.641.816-.677.724-.795.701-.734.658-.814.524-.89.546-.855.325-1.008.247-.99.095h-.233l-.228-.095-.18-.384-.29-.188-.38-.912-.237-.493-.255-.707-.21-.734-.113-.724-.313-1.648-.12-.972v-3.185l.12-2.379.196-1.214.23-1.252.21-1.347.374-1.254.42-1.443.431-1.407.578-1.448.545-1.38.754-1.4.699-1.52.855-1.425 1.006-1.538 1.023-1.382 1.069-1.538.891-1.071 1.142-1.227 1.202-1.237.56-.59.678-.662.985-.836 1.012-.853 1.647-1.446 1.242-.889z"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721558129595" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6248" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z" fill="#3296FA" p-id="6249"></path></svg>

Before

Width:  |  Height:  |  Size: 958 B

View File

@ -1,8 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1721558181196" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
p-id="14304" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
<path
d="M512 73.28A438.72 438.72 0 1 0 950.72 512 438.72 438.72 0 0 0 512 73.28zM759.84 646.4c-9.6 8.16-20.8-6.08-29.76-20.32s-14.88-26.72-16-21.76a158.4 158.4 0 0 1-37.44 70.72c-1.28 1.6 28.8 12.48 37.44 35.68s24 57.6-80 68.8a145.76 145.76 0 0 1-80-16c-16.96-8.32-27.52-16-29.6-16a73.6 73.6 0 0 1-13.28 0 108 108 0 0 1-14.4 0c-1.76 0-22.24 32-113.12 32-70.4 0-88.64-44.32-74.4-68.8s37.76-32 34.4-35.36a192 192 0 0 1-34.4-57.6 98.56 98.56 0 0 1-4.16-13.44c-1.28-4.64-6.56 8.64-13.92 21.76s-14.4 22.72-22.88 22.72a11.52 11.52 0 0 1-6.56-2.4c-20.96-16-19.2-55.2-5.44-93.12s48-75.04 48-83.2c1.28-30.24-3.04-35.2 0-43.2 6.56-17.76 14.72-10.88 14.72-20.16 0-116.32 86.4-210.56 192.96-210.56s192.96 94.24 192.96 210.56c0 4.48 11.68 0 17.12 20.16a196.96 196.96 0 0 1 0 43.2c0 11.04 29.44 24.48 44.8 83.2S768 640 759.84 646.4z"
fill="#1DA1F2" p-id="14305"></path>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

View File

@ -1,8 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1721558129595" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6248"
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
<path
d="M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z"
fill="#3296FA" p-id="6249"></path>
</svg>

Before

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
src/assets/images/mike.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

BIN
src/assets/images/pay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

BIN
src/assets/images/setUp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

BIN
src/assets/images/test.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 819 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

View File

@ -1,11 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1721558114020" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5276"
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
<path
d="M337.387283 341.82659c-17.757225 0-35.514451 11.83815-35.514451 29.595375s17.757225 29.595376 35.514451 29.595376 29.595376-11.83815 29.595376-29.595376c0-18.49711-11.83815-29.595376-29.595376-29.595375zM577.849711 513.479769c-11.83815 0-22.936416 12.578035-22.936416 23.6763 0 12.578035 11.83815 23.676301 22.936416 23.676301 17.757225 0 29.595376-11.83815 29.595376-23.676301s-11.83815-23.676301-29.595376-23.6763zM501.641618 401.017341c17.757225 0 29.595376-12.578035 29.595376-29.595376 0-17.757225-11.83815-29.595376-29.595376-29.595375s-35.514451 11.83815-35.51445 29.595375 17.757225 29.595376 35.51445 29.595376zM706.589595 513.479769c-11.83815 0-22.936416 12.578035-22.936416 23.6763 0 12.578035 11.83815 23.676301 22.936416 23.676301 17.757225 0 29.595376-11.83815 29.595376-23.676301s-11.83815-23.676301-29.595376-23.6763z"
fill="#28C445" p-id="5277"></path>
<path
d="M510.520231 2.959538C228.624277 2.959538 0 231.583815 0 513.479769s228.624277 510.520231 510.520231 510.520231 510.520231-228.624277 510.520231-510.520231-228.624277-510.520231-510.520231-510.520231zM413.595376 644.439306c-29.595376 0-53.271676-5.919075-81.387284-12.578034l-81.387283 41.433526 22.936416-71.768786c-58.450867-41.433526-93.965318-95.445087-93.965317-159.815029 0-113.202312 105.803468-201.988439 233.803468-201.98844 114.682081 0 216.046243 71.028902 236.023121 166.473989-7.398844-0.739884-14.797688-1.479769-22.196532-1.479769-110.982659 1.479769-198.289017 85.086705-198.289017 188.67052 0 17.017341 2.959538 33.294798 7.398844 49.572255-7.398844 0.739884-15.537572 1.479769-22.936416 1.479768z m346.265896 82.867052l17.757225 59.190752-63.630058-35.514451c-22.936416 5.919075-46.612717 11.83815-70.289017 11.83815-111.722543 0-199.768786-76.947977-199.768786-172.393063-0.739884-94.705202 87.306358-171.653179 198.289017-171.65318 105.803468 0 199.028902 77.687861 199.028902 172.393064 0 53.271676-34.774566 100.624277-81.387283 136.138728z"
fill="#28C445" p-id="5278"></path>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
src/assets/noPicture.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Some files were not shown because too many files have changed in this diff Show More