添加游戏数学管理
This commit is contained in:
parent
ca727677d2
commit
54563295e5
@ -1,207 +1,210 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<title><%= webpackConfig.name %></title>
|
<title>
|
||||||
<style>
|
<%= webpackConfig.name %>
|
||||||
html,
|
</title>
|
||||||
body,
|
<style>
|
||||||
#app {
|
html,
|
||||||
height: 100%;
|
body,
|
||||||
margin: 0px;
|
#app {
|
||||||
padding: 0px;
|
height: 100%;
|
||||||
}
|
margin: 0px;
|
||||||
.chromeframe {
|
padding: 0px;
|
||||||
margin: 0.2em 0;
|
}
|
||||||
background: #ccc;
|
|
||||||
color: #000;
|
|
||||||
padding: 0.2em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader-wrapper {
|
.chromeframe {
|
||||||
position: fixed;
|
margin: 0.2em 0;
|
||||||
top: 0;
|
background: #ccc;
|
||||||
left: 0;
|
color: #000;
|
||||||
width: 100%;
|
padding: 0.2em 0;
|
||||||
height: 100%;
|
}
|
||||||
z-index: 999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader {
|
#loader-wrapper {
|
||||||
display: block;
|
position: fixed;
|
||||||
position: relative;
|
top: 0;
|
||||||
left: 50%;
|
left: 0;
|
||||||
top: 50%;
|
width: 100%;
|
||||||
width: 150px;
|
height: 100%;
|
||||||
height: 150px;
|
z-index: 999999;
|
||||||
margin: -75px 0 0 -75px;
|
}
|
||||||
border-radius: 50%;
|
|
||||||
border: 3px solid transparent;
|
|
||||||
border-top-color: #FFF;
|
|
||||||
-webkit-animation: spin 2s linear infinite;
|
|
||||||
-ms-animation: spin 2s linear infinite;
|
|
||||||
-moz-animation: spin 2s linear infinite;
|
|
||||||
-o-animation: spin 2s linear infinite;
|
|
||||||
animation: spin 2s linear infinite;
|
|
||||||
z-index: 1001;
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader:before {
|
#loader {
|
||||||
content: "";
|
display: block;
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 5px;
|
left: 50%;
|
||||||
left: 5px;
|
top: 50%;
|
||||||
right: 5px;
|
width: 150px;
|
||||||
bottom: 5px;
|
height: 150px;
|
||||||
border-radius: 50%;
|
margin: -75px 0 0 -75px;
|
||||||
border: 3px solid transparent;
|
border-radius: 50%;
|
||||||
border-top-color: #FFF;
|
border: 3px solid transparent;
|
||||||
-webkit-animation: spin 3s linear infinite;
|
border-top-color: #FFF;
|
||||||
-moz-animation: spin 3s linear infinite;
|
-webkit-animation: spin 2s linear infinite;
|
||||||
-o-animation: spin 3s linear infinite;
|
-ms-animation: spin 2s linear infinite;
|
||||||
-ms-animation: spin 3s linear infinite;
|
-moz-animation: spin 2s linear infinite;
|
||||||
animation: spin 3s linear infinite;
|
-o-animation: spin 2s linear infinite;
|
||||||
}
|
animation: spin 2s linear infinite;
|
||||||
|
z-index: 1001;
|
||||||
|
}
|
||||||
|
|
||||||
#loader:after {
|
#loader:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 15px;
|
top: 5px;
|
||||||
left: 15px;
|
left: 5px;
|
||||||
right: 15px;
|
right: 5px;
|
||||||
bottom: 15px;
|
bottom: 5px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 3px solid transparent;
|
border: 3px solid transparent;
|
||||||
border-top-color: #FFF;
|
border-top-color: #FFF;
|
||||||
-moz-animation: spin 1.5s linear infinite;
|
-webkit-animation: spin 3s linear infinite;
|
||||||
-o-animation: spin 1.5s linear infinite;
|
-moz-animation: spin 3s linear infinite;
|
||||||
-ms-animation: spin 1.5s linear infinite;
|
-o-animation: spin 3s linear infinite;
|
||||||
-webkit-animation: spin 1.5s linear infinite;
|
-ms-animation: spin 3s linear infinite;
|
||||||
animation: spin 1.5s linear infinite;
|
animation: spin 3s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#loader:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 15px;
|
||||||
|
left: 15px;
|
||||||
|
right: 15px;
|
||||||
|
bottom: 15px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 3px solid transparent;
|
||||||
|
border-top-color: #FFF;
|
||||||
|
-moz-animation: spin 1.5s linear infinite;
|
||||||
|
-o-animation: spin 1.5s linear infinite;
|
||||||
|
-ms-animation: spin 1.5s linear infinite;
|
||||||
|
-webkit-animation: spin 1.5s linear infinite;
|
||||||
|
animation: spin 1.5s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
-ms-transform: rotate(0deg);
|
-ms-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(360deg);
|
-webkit-transform: rotate(360deg);
|
||||||
-ms-transform: rotate(360deg);
|
-ms-transform: rotate(360deg);
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
-ms-transform: rotate(0deg);
|
-ms-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(360deg);
|
-webkit-transform: rotate(360deg);
|
||||||
-ms-transform: rotate(360deg);
|
-ms-transform: rotate(360deg);
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#loader-wrapper .loader-section {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 51%;
|
||||||
|
height: 100%;
|
||||||
|
background: #7171C6;
|
||||||
|
z-index: 1000;
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
-ms-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
|
|
||||||
#loader-wrapper .loader-section {
|
#loader-wrapper .loader-section.section-left {
|
||||||
position: fixed;
|
left: 0;
|
||||||
top: 0;
|
}
|
||||||
width: 51%;
|
|
||||||
height: 100%;
|
|
||||||
background: #7171C6;
|
|
||||||
z-index: 1000;
|
|
||||||
-webkit-transform: translateX(0);
|
|
||||||
-ms-transform: translateX(0);
|
|
||||||
transform: translateX(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader-wrapper .loader-section.section-left {
|
#loader-wrapper .loader-section.section-right {
|
||||||
left: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader-wrapper .loader-section.section-right {
|
.loaded #loader-wrapper .loader-section.section-left {
|
||||||
right: 0;
|
-webkit-transform: translateX(-100%);
|
||||||
}
|
-ms-transform: translateX(-100%);
|
||||||
|
transform: translateX(-100%);
|
||||||
|
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||||
|
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||||
|
}
|
||||||
|
|
||||||
|
.loaded #loader-wrapper .loader-section.section-right {
|
||||||
|
-webkit-transform: translateX(100%);
|
||||||
|
-ms-transform: translateX(100%);
|
||||||
|
transform: translateX(100%);
|
||||||
|
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||||
|
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||||
|
}
|
||||||
|
|
||||||
.loaded #loader-wrapper .loader-section.section-left {
|
.loaded #loader {
|
||||||
-webkit-transform: translateX(-100%);
|
opacity: 0;
|
||||||
-ms-transform: translateX(-100%);
|
-webkit-transition: all 0.3s ease-out;
|
||||||
transform: translateX(-100%);
|
transition: all 0.3s ease-out;
|
||||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
}
|
||||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
||||||
}
|
|
||||||
|
|
||||||
.loaded #loader-wrapper .loader-section.section-right {
|
.loaded #loader-wrapper {
|
||||||
-webkit-transform: translateX(100%);
|
visibility: hidden;
|
||||||
-ms-transform: translateX(100%);
|
-webkit-transform: translateY(-100%);
|
||||||
transform: translateX(100%);
|
-ms-transform: translateY(-100%);
|
||||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
transform: translateY(-100%);
|
||||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
-webkit-transition: all 0.3s 1s ease-out;
|
||||||
}
|
transition: all 0.3s 1s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
.loaded #loader {
|
.no-js #loader-wrapper {
|
||||||
opacity: 0;
|
display: none;
|
||||||
-webkit-transition: all 0.3s ease-out;
|
}
|
||||||
transition: all 0.3s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loaded #loader-wrapper {
|
.no-js h1 {
|
||||||
visibility: hidden;
|
color: #222222;
|
||||||
-webkit-transform: translateY(-100%);
|
}
|
||||||
-ms-transform: translateY(-100%);
|
|
||||||
transform: translateY(-100%);
|
|
||||||
-webkit-transition: all 0.3s 1s ease-out;
|
|
||||||
transition: all 0.3s 1s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-js #loader-wrapper {
|
#loader-wrapper .load_title {
|
||||||
display: none;
|
font-family: 'Open Sans';
|
||||||
}
|
color: #FFF;
|
||||||
|
font-size: 19px;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
z-index: 9999999999999;
|
||||||
|
position: absolute;
|
||||||
|
top: 60%;
|
||||||
|
opacity: 1;
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.no-js h1 {
|
#loader-wrapper .load_title span {
|
||||||
color: #222222;
|
font-weight: normal;
|
||||||
}
|
font-style: italic;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #FFF;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
#loader-wrapper .load_title {
|
<body>
|
||||||
font-family: 'Open Sans';
|
|
||||||
color: #FFF;
|
|
||||||
font-size: 19px;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
z-index: 9999999999999;
|
|
||||||
position: absolute;
|
|
||||||
top: 60%;
|
|
||||||
opacity: 1;
|
|
||||||
line-height: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader-wrapper .load_title span {
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: italic;
|
|
||||||
font-size: 13px;
|
|
||||||
color: #FFF;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<div id="loader-wrapper">
|
<div id="loader-wrapper">
|
||||||
<div id="loader"></div>
|
<div id="loader"></div>
|
||||||
<div class="loader-section section-left"></div>
|
<div class="loader-section section-left"></div>
|
||||||
<div class="loader-section section-right"></div>
|
<div class="loader-section section-right"></div>
|
||||||
<div class="load_title">正在加载系统资源,请耐心等待</div>
|
<div class="load_title">正在加载系统资源,请耐心等待</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
746
ruoyi-ui/report.20200705.171820.12992.0.001.json
Normal file
746
ruoyi-ui/report.20200705.171820.12992.0.001.json
Normal file
@ -0,0 +1,746 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"header": {
|
||||||
|
"reportVersion": 1,
|
||||||
|
"event": "Allocation failed - JavaScript heap out of memory",
|
||||||
|
"trigger": "FatalError",
|
||||||
|
"filename": "report.20200705.171820.12992.0.001.json",
|
||||||
|
"dumpEventTime": "2020-07-05T17:18:20Z",
|
||||||
|
"dumpEventTimeStamp": "1593940700842",
|
||||||
|
"processId": 12992,
|
||||||
|
"cwd": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
|
||||||
|
"commandLine": [
|
||||||
|
"node",
|
||||||
|
"D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin\\\\..\\@vue\\cli-service\\bin\\vue-cli-service.js",
|
||||||
|
"serve"
|
||||||
|
],
|
||||||
|
"nodejsVersion": "v12.16.1",
|
||||||
|
"wordSize": 64,
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"componentVersions": {
|
||||||
|
"node": "12.16.1",
|
||||||
|
"v8": "7.8.279.23-node.31",
|
||||||
|
"uv": "1.34.0",
|
||||||
|
"zlib": "1.2.11",
|
||||||
|
"brotli": "1.0.7",
|
||||||
|
"ares": "1.15.0",
|
||||||
|
"modules": "72",
|
||||||
|
"nghttp2": "1.40.0",
|
||||||
|
"napi": "5",
|
||||||
|
"llhttp": "2.0.4",
|
||||||
|
"http_parser": "2.9.3",
|
||||||
|
"openssl": "1.1.1d",
|
||||||
|
"cldr": "35.1",
|
||||||
|
"icu": "64.2",
|
||||||
|
"tz": "2019c",
|
||||||
|
"unicode": "12.1"
|
||||||
|
},
|
||||||
|
"release": {
|
||||||
|
"name": "node",
|
||||||
|
"lts": "Erbium",
|
||||||
|
"headersUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1-headers.tar.gz",
|
||||||
|
"sourceUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1.tar.gz",
|
||||||
|
"libUrl": "https://nodejs.org/download/release/v12.16.1/win-x64/node.lib"
|
||||||
|
},
|
||||||
|
"osName": "Windows_NT",
|
||||||
|
"osRelease": "10.0.18362",
|
||||||
|
"osVersion": "Windows 10 Home China",
|
||||||
|
"osMachine": "x86_64",
|
||||||
|
"cpus": [
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 492625,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 937875,
|
||||||
|
"idle": 15655578,
|
||||||
|
"irq": 221437
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 167843,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 401859,
|
||||||
|
"idle": 16515656,
|
||||||
|
"irq": 6406
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 565078,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 837984,
|
||||||
|
"idle": 15682296,
|
||||||
|
"irq": 7984
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 190734,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 259046,
|
||||||
|
"idle": 16635578,
|
||||||
|
"irq": 1859
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 495718,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 851640,
|
||||||
|
"idle": 15738000,
|
||||||
|
"irq": 8359
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 281671,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 339328,
|
||||||
|
"idle": 16464359,
|
||||||
|
"irq": 3625
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 582937,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 809281,
|
||||||
|
"idle": 15693125,
|
||||||
|
"irq": 6265
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
|
||||||
|
"speed": 1800,
|
||||||
|
"user": 275843,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 485734,
|
||||||
|
"idle": 16323765,
|
||||||
|
"irq": 3046
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"networkInterfaces": [
|
||||||
|
{
|
||||||
|
"name": "SV-Connection",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "08:00:58:00:00:05",
|
||||||
|
"address": "fe80::65a4:22c7:4682:24f9",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 11
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "SV-Connection",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "08:00:58:00:00:05",
|
||||||
|
"address": "192.168.199.94",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:f4:8d:d4:13:e7",
|
||||||
|
"address": "fe80::79f4:1bd4:8a94:c004",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 29
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:f4:8d:d4:13:e7",
|
||||||
|
"address": "192.168.5.58",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Loopback Pseudo-Interface 1",
|
||||||
|
"internal": true,
|
||||||
|
"mac": "00:00:00:00:00:00",
|
||||||
|
"address": "::1",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Loopback Pseudo-Interface 1",
|
||||||
|
"internal": true,
|
||||||
|
"mac": "00:00:00:00:00:00",
|
||||||
|
"address": "127.0.0.1",
|
||||||
|
"netmask": "255.0.0.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"host": "DESKTOP-5QMQNV1"
|
||||||
|
},
|
||||||
|
"javascriptStack": {
|
||||||
|
"message": "No stack.",
|
||||||
|
"stack": [
|
||||||
|
"Unavailable."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nativeStack": [
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6224119f9",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622415e1c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622414dd8",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6225134cb",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622d29f4e",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622d12021",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622bde57c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622be6521",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622bdbb13",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622bda184",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622bfb36d",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622960c51",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff623174ddd",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff623120701",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f9d8c",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f72c1",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6230f6eac",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622c37c33",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622c375b6",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff622d0862d",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff62253a73e",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff62253a977",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6225398ba",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6224dac92",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff62253a3d3",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff6223e67ac",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff62322be08",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff863a77bd4",
|
||||||
|
"symbol": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff863f4ce51",
|
||||||
|
"symbol": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javascriptHeap": {
|
||||||
|
"totalMemory": 3203072,
|
||||||
|
"totalCommittedMemory": 3203072,
|
||||||
|
"usedMemory": 2425536,
|
||||||
|
"availableMemory": 2195662200,
|
||||||
|
"memoryLimit": 2197815296,
|
||||||
|
"heapSpaces": {
|
||||||
|
"read_only_space": {
|
||||||
|
"memorySize": 262144,
|
||||||
|
"committedMemory": 262144,
|
||||||
|
"capacity": 32808,
|
||||||
|
"used": 32808,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"new_space": {
|
||||||
|
"memorySize": 1048576,
|
||||||
|
"committedMemory": 1048576,
|
||||||
|
"capacity": 1047456,
|
||||||
|
"used": 1047440,
|
||||||
|
"available": 16
|
||||||
|
},
|
||||||
|
"old_space": {
|
||||||
|
"memorySize": 1196032,
|
||||||
|
"committedMemory": 1196032,
|
||||||
|
"capacity": 957040,
|
||||||
|
"used": 954536,
|
||||||
|
"available": 2504
|
||||||
|
},
|
||||||
|
"code_space": {
|
||||||
|
"memorySize": 430080,
|
||||||
|
"committedMemory": 430080,
|
||||||
|
"capacity": 153152,
|
||||||
|
"used": 153152,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"map_space": {
|
||||||
|
"memorySize": 266240,
|
||||||
|
"committedMemory": 266240,
|
||||||
|
"capacity": 237600,
|
||||||
|
"used": 237600,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"large_object_space": {
|
||||||
|
"memorySize": 0,
|
||||||
|
"committedMemory": 0,
|
||||||
|
"capacity": 0,
|
||||||
|
"used": 0,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"code_large_object_space": {
|
||||||
|
"memorySize": 0,
|
||||||
|
"committedMemory": 0,
|
||||||
|
"capacity": 0,
|
||||||
|
"used": 0,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"new_large_object_space": {
|
||||||
|
"memorySize": 0,
|
||||||
|
"committedMemory": 0,
|
||||||
|
"capacity": 1047456,
|
||||||
|
"used": 0,
|
||||||
|
"available": 1047456
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resourceUsage": {
|
||||||
|
"userCpuSeconds": 0.062,
|
||||||
|
"kernelCpuSeconds": 0.078,
|
||||||
|
"cpuConsumptionPercent": 14,
|
||||||
|
"maxRss": 31289344,
|
||||||
|
"pageFaults": {
|
||||||
|
"IORequired": 7829,
|
||||||
|
"IONotRequired": 0
|
||||||
|
},
|
||||||
|
"fsActivity": {
|
||||||
|
"reads": 0,
|
||||||
|
"writes": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libuv": [
|
||||||
|
],
|
||||||
|
"environmentVariables": {
|
||||||
|
"=D:": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
|
||||||
|
"ALLUSERSPROFILE": "C:\\ProgramData",
|
||||||
|
"APPDATA": "C:\\Users\\Administrator\\AppData\\Roaming",
|
||||||
|
"asl.log": "Destination=file",
|
||||||
|
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
|
||||||
|
"COLORTERM": "truecolor",
|
||||||
|
"CommonProgramFiles": "C:\\Program Files\\Common Files",
|
||||||
|
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
|
||||||
|
"CommonProgramW6432": "C:\\Program Files\\Common Files",
|
||||||
|
"COMPUTERNAME": "DESKTOP-5QMQNV1",
|
||||||
|
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||||
|
"configsetroot": "C:\\WINDOWS\\ConfigSetRoot",
|
||||||
|
"dp0": "D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin\\",
|
||||||
|
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
|
||||||
|
"FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
|
||||||
|
"FPS_BROWSER_USER_PROFILE_STRING": "Default",
|
||||||
|
"GIT_ASKPASS": "c:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\resources\\app\\extensions\\git\\dist\\askpass.sh",
|
||||||
|
"HOME": "C:\\Users\\Administrator",
|
||||||
|
"HOMEDRIVE": "C:",
|
||||||
|
"HOMEPATH": "\\Users\\Administrator",
|
||||||
|
"INIT_CWD": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
|
||||||
|
"LANG": "zh_CN.UTF-8",
|
||||||
|
"LOCALAPPDATA": "C:\\Users\\Administrator\\AppData\\Local",
|
||||||
|
"LOGONSERVER": "\\\\DESKTOP-5QMQNV1",
|
||||||
|
"MAVEN_HOME": "*:\\Develop_soft\\Maven\\apache-maven-3.5.4",
|
||||||
|
"NODE": "C:\\Program Files (x86)\\nodejs\\node.exe",
|
||||||
|
"NODE_EXE": "C:\\Program Files (x86)\\nodejs\\\\node.exe",
|
||||||
|
"NPM_CLI_JS": "C:\\Program Files (x86)\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_config_access": "",
|
||||||
|
"npm_config_allow_same_version": "",
|
||||||
|
"npm_config_also": "",
|
||||||
|
"npm_config_always_auth": "",
|
||||||
|
"npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}",
|
||||||
|
"npm_config_audit": "true",
|
||||||
|
"npm_config_audit_level": "low",
|
||||||
|
"npm_config_auth_type": "legacy",
|
||||||
|
"npm_config_before": "",
|
||||||
|
"npm_config_bin_links": "true",
|
||||||
|
"npm_config_browser": "",
|
||||||
|
"npm_config_ca": "",
|
||||||
|
"npm_config_cache": "C:\\Users\\Administrator\\AppData\\Roaming\\npm-cache",
|
||||||
|
"npm_config_cache_lock_retries": "10",
|
||||||
|
"npm_config_cache_lock_stale": "60000",
|
||||||
|
"npm_config_cache_lock_wait": "10000",
|
||||||
|
"npm_config_cache_max": "Infinity",
|
||||||
|
"npm_config_cache_min": "10",
|
||||||
|
"npm_config_cafile": "",
|
||||||
|
"npm_config_cert": "",
|
||||||
|
"npm_config_cidr": "",
|
||||||
|
"npm_config_color": "true",
|
||||||
|
"npm_config_commit_hooks": "true",
|
||||||
|
"npm_config_depth": "Infinity",
|
||||||
|
"npm_config_description": "true",
|
||||||
|
"npm_config_dev": "",
|
||||||
|
"npm_config_dry_run": "",
|
||||||
|
"npm_config_editor": "notepad.exe",
|
||||||
|
"npm_config_engine_strict": "",
|
||||||
|
"npm_config_fetch_retries": "2",
|
||||||
|
"npm_config_fetch_retry_factor": "10",
|
||||||
|
"npm_config_fetch_retry_maxtimeout": "60000",
|
||||||
|
"npm_config_fetch_retry_mintimeout": "10000",
|
||||||
|
"npm_config_force": "",
|
||||||
|
"npm_config_format_package_lock": "true",
|
||||||
|
"npm_config_fund": "true",
|
||||||
|
"npm_config_git": "git",
|
||||||
|
"npm_config_git_tag_version": "true",
|
||||||
|
"npm_config_global": "",
|
||||||
|
"npm_config_globalconfig": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\etc\\npmrc",
|
||||||
|
"npm_config_globalignorefile": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\etc\\npmignore",
|
||||||
|
"npm_config_global_style": "",
|
||||||
|
"npm_config_group": "",
|
||||||
|
"npm_config_ham_it_up": "",
|
||||||
|
"npm_config_heading": "npm",
|
||||||
|
"npm_config_https_proxy": "",
|
||||||
|
"npm_config_if_present": "",
|
||||||
|
"npm_config_ignore_prepublish": "",
|
||||||
|
"npm_config_ignore_scripts": "",
|
||||||
|
"npm_config_init_author_email": "",
|
||||||
|
"npm_config_init_author_name": "",
|
||||||
|
"npm_config_init_author_url": "",
|
||||||
|
"npm_config_init_license": "ISC",
|
||||||
|
"npm_config_init_module": "C:\\Users\\Administrator\\.npm-init.js",
|
||||||
|
"npm_config_init_version": "1.0.0",
|
||||||
|
"npm_config_json": "",
|
||||||
|
"npm_config_key": "",
|
||||||
|
"npm_config_legacy_bundling": "",
|
||||||
|
"npm_config_link": "",
|
||||||
|
"npm_config_local_address": "",
|
||||||
|
"npm_config_loglevel": "notice",
|
||||||
|
"npm_config_logs_max": "10",
|
||||||
|
"npm_config_long": "",
|
||||||
|
"npm_config_maxsockets": "50",
|
||||||
|
"npm_config_message": "%s",
|
||||||
|
"npm_config_metrics_registry": "https://registry.npmjs.org/",
|
||||||
|
"npm_config_node_gyp": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
||||||
|
"npm_config_node_options": "",
|
||||||
|
"npm_config_node_version": "12.16.1",
|
||||||
|
"npm_config_noproxy": "",
|
||||||
|
"npm_config_offline": "",
|
||||||
|
"npm_config_onload_script": "",
|
||||||
|
"npm_config_only": "",
|
||||||
|
"npm_config_optional": "true",
|
||||||
|
"npm_config_otp": "",
|
||||||
|
"npm_config_package_lock": "true",
|
||||||
|
"npm_config_package_lock_only": "",
|
||||||
|
"npm_config_parseable": "",
|
||||||
|
"npm_config_prefer_offline": "",
|
||||||
|
"npm_config_prefer_online": "",
|
||||||
|
"npm_config_prefix": "C:\\Users\\Administrator\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_preid": "",
|
||||||
|
"npm_config_production": "",
|
||||||
|
"npm_config_progress": "true",
|
||||||
|
"npm_config_proxy": "",
|
||||||
|
"npm_config_read_only": "",
|
||||||
|
"npm_config_rebuild_bundle": "true",
|
||||||
|
"npm_config_registry": "https://registry.npmjs.org/",
|
||||||
|
"npm_config_rollback": "true",
|
||||||
|
"npm_config_save": "true",
|
||||||
|
"npm_config_save_bundle": "",
|
||||||
|
"npm_config_save_dev": "",
|
||||||
|
"npm_config_save_exact": "",
|
||||||
|
"npm_config_save_optional": "",
|
||||||
|
"npm_config_save_prefix": "^",
|
||||||
|
"npm_config_save_prod": "",
|
||||||
|
"npm_config_scope": "",
|
||||||
|
"npm_config_scripts_prepend_node_path": "warn-only",
|
||||||
|
"npm_config_script_shell": "",
|
||||||
|
"npm_config_searchexclude": "",
|
||||||
|
"npm_config_searchlimit": "20",
|
||||||
|
"npm_config_searchopts": "",
|
||||||
|
"npm_config_searchstaleness": "900",
|
||||||
|
"npm_config_send_metrics": "",
|
||||||
|
"npm_config_shell": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||||
|
"npm_config_shrinkwrap": "true",
|
||||||
|
"npm_config_sign_git_commit": "",
|
||||||
|
"npm_config_sign_git_tag": "",
|
||||||
|
"npm_config_sso_poll_frequency": "500",
|
||||||
|
"npm_config_sso_type": "oauth",
|
||||||
|
"npm_config_strict_ssl": "true",
|
||||||
|
"npm_config_tag": "latest",
|
||||||
|
"npm_config_tag_version_prefix": "v",
|
||||||
|
"npm_config_timing": "",
|
||||||
|
"npm_config_tmp": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
|
||||||
|
"npm_config_umask": "0000",
|
||||||
|
"npm_config_unicode": "",
|
||||||
|
"npm_config_unsafe_perm": "true",
|
||||||
|
"npm_config_update_notifier": "true",
|
||||||
|
"npm_config_usage": "",
|
||||||
|
"npm_config_user": "",
|
||||||
|
"npm_config_userconfig": "C:\\Users\\Administrator\\.npmrc",
|
||||||
|
"npm_config_user_agent": "npm/6.13.4 node/v12.16.1 win32 x64",
|
||||||
|
"npm_config_version": "",
|
||||||
|
"npm_config_versions": "",
|
||||||
|
"npm_config_viewer": "browser",
|
||||||
|
"npm_execpath": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_lifecycle_event": "dev",
|
||||||
|
"npm_lifecycle_script": "vue-cli-service serve",
|
||||||
|
"npm_node_execpath": "C:\\Program Files (x86)\\nodejs\\node.exe",
|
||||||
|
"npm_package_author_name": "本一智慧平台",
|
||||||
|
"npm_package_browserslist_0": "> 1%",
|
||||||
|
"npm_package_browserslist_1": "last 2 versions",
|
||||||
|
"npm_package_dependencies_axios": "0.18.1",
|
||||||
|
"npm_package_dependencies_clipboard": "2.0.4",
|
||||||
|
"npm_package_dependencies_driver_js": "^0.9.8",
|
||||||
|
"npm_package_dependencies_echarts": "4.2.1",
|
||||||
|
"npm_package_dependencies_element_ui": "2.13.0",
|
||||||
|
"npm_package_dependencies_file_saver": "2.0.1",
|
||||||
|
"npm_package_dependencies_fuse_js": "3.4.4",
|
||||||
|
"npm_package_dependencies_jsencrypt": "3.0.0-rc.1",
|
||||||
|
"npm_package_dependencies_js_beautify": "^1.10.2",
|
||||||
|
"npm_package_dependencies_js_cookie": "2.2.0",
|
||||||
|
"npm_package_dependencies_normalize_css": "7.0.0",
|
||||||
|
"npm_package_dependencies_nprogress": "0.2.0",
|
||||||
|
"npm_package_dependencies_path_to_regexp": "2.4.0",
|
||||||
|
"npm_package_dependencies_screenfull": "4.2.0",
|
||||||
|
"npm_package_dependencies_sortablejs": "1.8.4",
|
||||||
|
"npm_package_dependencies_video_js": "^7.7.6",
|
||||||
|
"npm_package_dependencies_vue": "2.6.10",
|
||||||
|
"npm_package_dependencies_vuedraggable": "2.20.0",
|
||||||
|
"npm_package_dependencies_vuex": "3.1.0",
|
||||||
|
"npm_package_dependencies_vue_count_to": "1.0.13",
|
||||||
|
"npm_package_dependencies_vue_cropper": "0.4.9",
|
||||||
|
"npm_package_dependencies_vue_lunar_full_calendar": "^1.3.2",
|
||||||
|
"npm_package_dependencies_vue_quill_editor": "3.0.6",
|
||||||
|
"npm_package_dependencies_vue_router": "3.0.2",
|
||||||
|
"npm_package_dependencies_vue_simple_uploader": "^0.7.4",
|
||||||
|
"npm_package_dependencies_vue_splitpane": "1.0.4",
|
||||||
|
"npm_package_dependencies_vue_video_player": "^5.0.2",
|
||||||
|
"npm_package_dependencies_v_distpicker": "^1.2.2",
|
||||||
|
"npm_package_dependencies__fullcalendar_core": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_daygrid": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_interaction": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_list": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_moment": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_timegrid": "^4.4.0",
|
||||||
|
"npm_package_dependencies__fullcalendar_vue": "^4.4.0",
|
||||||
|
"npm_package_dependencies__riophae_vue_treeselect": "0.4.0",
|
||||||
|
"npm_package_description": "本一智慧平台管理系统",
|
||||||
|
"npm_package_devDependencies_autoprefixer": "^9.5.1",
|
||||||
|
"npm_package_devDependencies_babel_core": "7.0.0-bridge.0",
|
||||||
|
"npm_package_devDependencies_babel_eslint": "10.0.1",
|
||||||
|
"npm_package_devDependencies_babel_jest": "23.6.0",
|
||||||
|
"npm_package_devDependencies_chalk": "2.4.2",
|
||||||
|
"npm_package_devDependencies_chokidar": "2.1.5",
|
||||||
|
"npm_package_devDependencies_connect": "3.6.6",
|
||||||
|
"npm_package_devDependencies_eslint": "5.15.3",
|
||||||
|
"npm_package_devDependencies_eslint_plugin_vue": "5.2.2",
|
||||||
|
"npm_package_devDependencies_html_webpack_plugin": "3.2.0",
|
||||||
|
"npm_package_devDependencies_http_proxy_middleware": "^0.19.1",
|
||||||
|
"npm_package_devDependencies_husky": "1.3.1",
|
||||||
|
"npm_package_devDependencies_lint_staged": "8.1.5",
|
||||||
|
"npm_package_devDependencies_mockjs": "1.0.1-beta3",
|
||||||
|
"npm_package_devDependencies_node_sass": "^4.9.0",
|
||||||
|
"npm_package_devDependencies_plop": "2.3.0",
|
||||||
|
"npm_package_devDependencies_runjs": "^4.3.2",
|
||||||
|
"npm_package_devDependencies_sass_loader": "^7.1.0",
|
||||||
|
"npm_package_devDependencies_script_ext_html_webpack_plugin": "2.1.3",
|
||||||
|
"npm_package_devDependencies_script_loader": "0.7.2",
|
||||||
|
"npm_package_devDependencies_serve_static": "^1.13.2",
|
||||||
|
"npm_package_devDependencies_svgo": "1.2.0",
|
||||||
|
"npm_package_devDependencies_svg_sprite_loader": "4.1.3",
|
||||||
|
"npm_package_devDependencies_vue_template_compiler": "2.6.10",
|
||||||
|
"npm_package_devDependencies__babel_core": "7.0.0",
|
||||||
|
"npm_package_devDependencies__babel_parser": "^7.7.4",
|
||||||
|
"npm_package_devDependencies__babel_register": "7.0.0",
|
||||||
|
"npm_package_devDependencies__vue_cli_plugin_babel": "3.5.3",
|
||||||
|
"npm_package_devDependencies__vue_cli_plugin_eslint": "^3.9.1",
|
||||||
|
"npm_package_devDependencies__vue_cli_plugin_unit_jest": "3.5.3",
|
||||||
|
"npm_package_devDependencies__vue_cli_service": "3.5.3",
|
||||||
|
"npm_package_devDependencies__vue_test_utils": "1.0.0-beta.29",
|
||||||
|
"npm_package_engines_node": ">=8.9",
|
||||||
|
"npm_package_engines_npm": ">= 3.0.0",
|
||||||
|
"npm_package_husky_hooks_pre_commit": "lint-staged",
|
||||||
|
"npm_package_keywords_0": "vue",
|
||||||
|
"npm_package_keywords_1": "admin",
|
||||||
|
"npm_package_keywords_2": "dashboard",
|
||||||
|
"npm_package_keywords_3": "element-ui",
|
||||||
|
"npm_package_keywords_4": "boilerplate",
|
||||||
|
"npm_package_keywords_5": "admin-template",
|
||||||
|
"npm_package_keywords_6": "management-system",
|
||||||
|
"npm_package_license": "MIT",
|
||||||
|
"npm_package_lint_staged_src_______js_vue__0": "eslint --fix",
|
||||||
|
"npm_package_lint_staged_src_______js_vue__1": "git add",
|
||||||
|
"npm_package_main": ".eslintrc.js",
|
||||||
|
"npm_package_name": "ruoyi",
|
||||||
|
"npm_package_readmeFilename": "README.md",
|
||||||
|
"npm_package_repository_type": "git",
|
||||||
|
"npm_package_repository_url": "https://gitee.com/y_project/RuoYi-Vue.git",
|
||||||
|
"npm_package_scripts_build_prod": "vue-cli-service build",
|
||||||
|
"npm_package_scripts_build_stage": "vue-cli-service build --mode staging",
|
||||||
|
"npm_package_scripts_dev": "vue-cli-service serve",
|
||||||
|
"npm_package_scripts_lint": "eslint --ext .js,.vue src",
|
||||||
|
"npm_package_scripts_new": "plop",
|
||||||
|
"npm_package_scripts_preview": "node build/index.js --preview",
|
||||||
|
"npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
||||||
|
"npm_package_scripts_test_ci": "npm run lint && npm run test:unit",
|
||||||
|
"npm_package_scripts_test_unit": "jest --clearCache && vue-cli-service test:unit",
|
||||||
|
"npm_package_version": "2.2.0",
|
||||||
|
"NPM_PREFIX_NPM_CLI_JS": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"NUMBER_OF_PROCESSORS": "8",
|
||||||
|
"OneDrive": "C:\\Users\\Administrator\\OneDrive",
|
||||||
|
"OS": "Windows_NT",
|
||||||
|
"Path": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin;D:\\app\\Administrator\\product\\11.2.0\\client_1;D:\\app\\Administrator\\product\\11.2.0\\client_1\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;D:\\Develop_soft\\Java\\jdk1.8.0_201\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Users\\lc\\AppData\\Local\\Postman\\app-7.0.5;*:\\Develop_soft\\Maven\\apache-maven-3.5.4\\bin;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\WINDOWS\\system32\\config\\systemprofile\\.dnx\\bin;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\VisualSVN\\bin;C:\\Program Files\\TortoiseSVN\\bin;\"%JMETER_HOME%\\lib\\ext\\ApacheJMeter_core.jar;%JMETER_HOME%\\lib\\jorphan.jar;\";*:\\Develop_soft\\apache-jmeter-5.1.1\\bin;D:\\Develop_soft\\apache-jmeter-5.1.1\\bin;D:\\Develop_soft\\Reids\\redis-win-3.2.100;D:\\Develop_soft\\Redis\\;D:\\Develop_soft\\plsql;C:\\Program Files (x86)\\nodejs\\;C:\\ProgramData\\chocolatey\\bin;D:\\Develop_soft\\TortoiseGit\\bin;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
|
||||||
|
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
|
||||||
|
"PROCESSOR_ARCHITECTURE": "AMD64",
|
||||||
|
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 142 Stepping 10, GenuineIntel",
|
||||||
|
"PROCESSOR_LEVEL": "6",
|
||||||
|
"PROCESSOR_REVISION": "8e0a",
|
||||||
|
"ProgramData": "C:\\ProgramData",
|
||||||
|
"ProgramFiles": "C:\\Program Files",
|
||||||
|
"ProgramFiles(x86)": "C:\\Program Files (x86)",
|
||||||
|
"ProgramW6432": "C:\\Program Files",
|
||||||
|
"PROMPT": "$P$G",
|
||||||
|
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\",
|
||||||
|
"PUBLIC": "C:\\Users\\Public",
|
||||||
|
"SESSIONNAME": "Console",
|
||||||
|
"SystemDrive": "C:",
|
||||||
|
"SystemRoot": "C:\\WINDOWS",
|
||||||
|
"TEMP": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
|
||||||
|
"TERM_PROGRAM": "vscode",
|
||||||
|
"TERM_PROGRAM_VERSION": "1.45.1",
|
||||||
|
"TMP": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
|
||||||
|
"TNS_ADMIN": "D:\\app\\lc\\product\\11.2.0\\client_1",
|
||||||
|
"USERDOMAIN": "DESKTOP-5QMQNV1",
|
||||||
|
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-5QMQNV1",
|
||||||
|
"USERNAME": "Administrator",
|
||||||
|
"USERPROFILE": "C:\\Users\\Administrator",
|
||||||
|
"VS140COMNTOOLS": "*:\\Develop_soft\\visual studio2015\\Common7\\Tools\\",
|
||||||
|
"VSCODE_GIT_ASKPASS_MAIN": "c:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\resources\\app\\extensions\\git\\dist\\askpass-main.js",
|
||||||
|
"VSCODE_GIT_ASKPASS_NODE": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\Code.exe",
|
||||||
|
"VSCODE_GIT_IPC_HANDLE": "\\\\.\\pipe\\vscode-git-212a868f6e-sock",
|
||||||
|
"VSSDK140Install": "*:\\Develop_soft\\visual studio2015\\VSSDK\\",
|
||||||
|
"windir": "C:\\WINDOWS",
|
||||||
|
"_prog": "node"
|
||||||
|
},
|
||||||
|
"sharedObjects": [
|
||||||
|
"C:\\Program Files (x86)\\nodejs\\node.exe",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\ntdll.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\KERNEL32.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\KERNELBASE.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\WS2_32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\RPCRT4.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\PSAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\ADVAPI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcrt.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\sechost.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\ucrtbase.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\USER32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\win32u.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\GDI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\gdi32full.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcp_win.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\CRYPT32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\MSASN1.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\bcrypt.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\profapi.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\WINMM.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\winmmbase.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\cfgmgr32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\bcryptPrimitives.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\IMM32.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\powrprof.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\UMPDC.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\CRYPTBASE.DLL",
|
||||||
|
"C:\\WINDOWS\\system32\\uxtheme.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\combase.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\mswsock.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\kernel.appcore.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\NSI.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\napinsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\pnrpnsp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\winrnr.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\NLAapi.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\wshbth.dll"
|
||||||
|
]
|
||||||
|
}
|
53
ruoyi-ui/src/api/benyi/math.js
Normal file
53
ruoyi-ui/src/api/benyi/math.js
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询游戏数学列表
|
||||||
|
export function listMath(query) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询游戏数学详细
|
||||||
|
export function getMath(id) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增游戏数学
|
||||||
|
export function addMath(data) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改游戏数学
|
||||||
|
export function updateMath(data) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除游戏数学
|
||||||
|
export function delMath(id) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 导出游戏数学
|
||||||
|
export function exportMath(query) {
|
||||||
|
return request({
|
||||||
|
url: '/benyi/math/export',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
@ -1,20 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<svg-icon icon-class="question" @click="goto"/>
|
<svg-icon icon-class="question" @click="goto"/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'BenYiDoc',
|
name: 'RuoYiDoc',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: 'https://www.baidu.com'
|
url: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
goto() {
|
goto() {
|
||||||
window.open(this.url)
|
window.open(this.url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
338
ruoyi-ui/src/views/benyi/math/index.vue
Normal file
338
ruoyi-ui/src/views/benyi/math/index.vue
Normal file
@ -0,0 +1,338 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
||||||
|
<el-form-item label="名称" prop="name">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name"
|
||||||
|
placeholder="请输入名称"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用班级" prop="classtypeId">
|
||||||
|
<el-select v-model="queryParams.classtypeId" placeholder="请选择适用班级">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in classtypeIdOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
|
||||||
|
<el-row :gutter="10" class="mb8">
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-plus"
|
||||||
|
size="mini"
|
||||||
|
@click="handleAdd"
|
||||||
|
v-hasPermi="['benyi:math:add']"
|
||||||
|
>新增</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="success"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
size="mini"
|
||||||
|
:disabled="single"
|
||||||
|
@click="handleUpdate"
|
||||||
|
v-hasPermi="['benyi:math:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="danger"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
size="mini"
|
||||||
|
:disabled="multiple"
|
||||||
|
@click="handleDelete"
|
||||||
|
v-hasPermi="['benyi:math:remove']"
|
||||||
|
>删除</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="warning"
|
||||||
|
icon="el-icon-download"
|
||||||
|
size="mini"
|
||||||
|
@click="handleExport"
|
||||||
|
v-hasPermi="['benyi:math:export']"
|
||||||
|
>导出</el-button>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-table v-loading="loading" :data="mathList" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
<el-table-column label="编号" align="center" prop="id" />
|
||||||
|
<el-table-column label="名称" align="center" prop="name" />
|
||||||
|
<!-- <el-table-column label="学习目标" align="center" prop="target" />
|
||||||
|
<el-table-column label="年龄段表现特征" align="center" prop="feature" />
|
||||||
|
<el-table-column label="教学建议" align="center" prop="suggest" /> -->
|
||||||
|
<el-table-column
|
||||||
|
label="适用班级"
|
||||||
|
align="center"
|
||||||
|
prop="classtypeId"
|
||||||
|
:formatter="classtypeIdFormat"
|
||||||
|
/>
|
||||||
|
<el-table-column label="序号" align="center" prop="sort" />
|
||||||
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
@click="handleUpdate(scope.row)"
|
||||||
|
v-hasPermi="['benyi:math:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['benyi:math:remove']"
|
||||||
|
>删除</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<pagination
|
||||||
|
v-show="total>0"
|
||||||
|
:total="total"
|
||||||
|
:page.sync="queryParams.pageNum"
|
||||||
|
:limit.sync="queryParams.pageSize"
|
||||||
|
@pagination="getList"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- 添加或修改游戏数学对话框 -->
|
||||||
|
<el-dialog :title="title" :visible.sync="open" width="1024px" append-to-body>
|
||||||
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
||||||
|
<el-form-item label="名称" prop="name">
|
||||||
|
<el-input v-model="form.name" placeholder="请输入名称" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="学习目标" prop="target">
|
||||||
|
<Editor v-model="form.target" placeholder="请输入学习目标" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="年龄段表现特征" prop="feature">
|
||||||
|
<Editor v-model="form.feature" placeholder="请输入年龄段表现特征" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="教学建议" prop="suggest">
|
||||||
|
<Editor v-model="form.suggest" placeholder="请输入教学建议" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用班级" prop="classtypeId">
|
||||||
|
<el-select v-model="form.classtypeId" placeholder="请选择适用班级">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in classtypeIdOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="序号" prop="sort">
|
||||||
|
<el-input v-model="form.sort" placeholder="请输入序号" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
listMath,
|
||||||
|
getMath,
|
||||||
|
delMath,
|
||||||
|
addMath,
|
||||||
|
updateMath,
|
||||||
|
exportMath
|
||||||
|
} from "@/api/benyi/math";
|
||||||
|
import Editor from "@/components/Editor";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Math",
|
||||||
|
components: {
|
||||||
|
Editor
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// 遮罩层
|
||||||
|
loading: true,
|
||||||
|
// 选中数组
|
||||||
|
ids: [],
|
||||||
|
// 非单个禁用
|
||||||
|
single: true,
|
||||||
|
// 非多个禁用
|
||||||
|
multiple: true,
|
||||||
|
// 总条数
|
||||||
|
total: 0,
|
||||||
|
//班级类型 字典
|
||||||
|
bjtypeOptions: [],
|
||||||
|
// 游戏数学表格数据
|
||||||
|
mathList: [],
|
||||||
|
// 弹出层标题
|
||||||
|
title: "",
|
||||||
|
// 是否显示弹出层
|
||||||
|
open: false,
|
||||||
|
// 适用班级字典
|
||||||
|
classtypeIdOptions: [],
|
||||||
|
// 查询参数
|
||||||
|
queryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
name: undefined,
|
||||||
|
target: undefined,
|
||||||
|
feature: undefined,
|
||||||
|
suggest: undefined,
|
||||||
|
classtypeId: undefined,
|
||||||
|
sort: undefined
|
||||||
|
},
|
||||||
|
// 表单参数
|
||||||
|
form: {},
|
||||||
|
// 表单校验
|
||||||
|
rules: {}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList();
|
||||||
|
this.getDicts("sys_yebjlx").then(response => {
|
||||||
|
this.classtypeIdOptions = response.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 查询游戏数学列表 */
|
||||||
|
getList() {
|
||||||
|
this.loading = true;
|
||||||
|
listMath(this.queryParams).then(response => {
|
||||||
|
this.mathList = response.rows;
|
||||||
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 适用班级字典翻译
|
||||||
|
classtypeIdFormat(row, column) {
|
||||||
|
return this.selectDictLabel(this.classtypeIdOptions, row.classtypeId);
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false;
|
||||||
|
this.reset();
|
||||||
|
},
|
||||||
|
// 表单重置
|
||||||
|
reset() {
|
||||||
|
this.form = {
|
||||||
|
id: undefined,
|
||||||
|
name: undefined,
|
||||||
|
target: undefined,
|
||||||
|
feature: undefined,
|
||||||
|
suggest: undefined,
|
||||||
|
classtypeId: undefined,
|
||||||
|
sort: undefined,
|
||||||
|
createTime: undefined
|
||||||
|
};
|
||||||
|
this.resetForm("form");
|
||||||
|
},
|
||||||
|
/** 搜索按钮操作 */
|
||||||
|
handleQuery() {
|
||||||
|
this.queryParams.pageNum = 1;
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
/** 重置按钮操作 */
|
||||||
|
resetQuery() {
|
||||||
|
this.resetForm("queryForm");
|
||||||
|
this.handleQuery();
|
||||||
|
},
|
||||||
|
// 多选框选中数据
|
||||||
|
handleSelectionChange(selection) {
|
||||||
|
this.ids = selection.map(item => item.id);
|
||||||
|
this.single = selection.length != 1;
|
||||||
|
this.multiple = !selection.length;
|
||||||
|
},
|
||||||
|
/** 新增按钮操作 */
|
||||||
|
handleAdd() {
|
||||||
|
this.reset();
|
||||||
|
this.open = true;
|
||||||
|
this.title = "添加游戏数学";
|
||||||
|
},
|
||||||
|
/** 修改按钮操作 */
|
||||||
|
handleUpdate(row) {
|
||||||
|
this.reset();
|
||||||
|
const id = row.id || this.ids;
|
||||||
|
getMath(id).then(response => {
|
||||||
|
this.form = response.data;
|
||||||
|
this.open = true;
|
||||||
|
this.title = "修改游戏数学";
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 提交按钮 */
|
||||||
|
submitForm: function() {
|
||||||
|
this.$refs["form"].validate(valid => {
|
||||||
|
if (valid) {
|
||||||
|
if (this.form.id != undefined) {
|
||||||
|
updateMath(this.form).then(response => {
|
||||||
|
if (response.code === 200) {
|
||||||
|
this.msgSuccess("修改成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
addMath(this.form).then(response => {
|
||||||
|
if (response.code === 200) {
|
||||||
|
this.msgSuccess("新增成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 删除按钮操作 */
|
||||||
|
handleDelete(row) {
|
||||||
|
const ids = row.id || this.ids;
|
||||||
|
this.$confirm(
|
||||||
|
'是否确认删除游戏数学编号为"' + ids + '"的数据项?',
|
||||||
|
"警告",
|
||||||
|
{
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
.then(function() {
|
||||||
|
return delMath(ids);
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
this.getList();
|
||||||
|
this.msgSuccess("删除成功");
|
||||||
|
})
|
||||||
|
.catch(function() {});
|
||||||
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
const queryParams = this.queryParams;
|
||||||
|
this.$confirm("是否确认导出所有游戏数学数据项?", "警告", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
})
|
||||||
|
.then(function() {
|
||||||
|
return exportMath(queryParams);
|
||||||
|
})
|
||||||
|
.then(response => {
|
||||||
|
this.download(response.msg);
|
||||||
|
})
|
||||||
|
.catch(function() {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
@ -0,0 +1,103 @@
|
|||||||
|
package com.ruoyi.project.benyi.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.framework.aspectj.lang.annotation.Log;
|
||||||
|
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
|
||||||
|
import com.ruoyi.project.benyi.domain.ByMath;
|
||||||
|
import com.ruoyi.project.benyi.service.IByMathService;
|
||||||
|
import com.ruoyi.framework.web.controller.BaseController;
|
||||||
|
import com.ruoyi.framework.web.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.framework.web.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 游戏数学Controller
|
||||||
|
*
|
||||||
|
* @author tsbz
|
||||||
|
* @date 2020-07-20
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/benyi/math")
|
||||||
|
public class ByMathController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IByMathService byMathService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询游戏数学列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(ByMath byMath)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<ByMath> list = byMathService.selectByMathList(byMath);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出游戏数学列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:export')")
|
||||||
|
@Log(title = "游戏数学", businessType = BusinessType.EXPORT)
|
||||||
|
@GetMapping("/export")
|
||||||
|
public AjaxResult export(ByMath byMath)
|
||||||
|
{
|
||||||
|
List<ByMath> list = byMathService.selectByMathList(byMath);
|
||||||
|
ExcelUtil<ByMath> util = new ExcelUtil<ByMath>(ByMath.class);
|
||||||
|
return util.exportExcel(list, "math");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取游戏数学详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return AjaxResult.success(byMathService.selectByMathById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增游戏数学
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:add')")
|
||||||
|
@Log(title = "游戏数学", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody ByMath byMath)
|
||||||
|
{
|
||||||
|
return toAjax(byMathService.insertByMath(byMath));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改游戏数学
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:edit')")
|
||||||
|
@Log(title = "游戏数学", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody ByMath byMath)
|
||||||
|
{
|
||||||
|
return toAjax(byMathService.updateByMath(byMath));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除游戏数学
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('benyi:math:remove')")
|
||||||
|
@Log(title = "游戏数学", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(byMathService.deleteByMathByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
122
ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java
Normal file
122
ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
package com.ruoyi.project.benyi.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
||||||
|
import com.ruoyi.framework.web.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 游戏数学对象 by_math
|
||||||
|
*
|
||||||
|
* @author tsbz
|
||||||
|
* @date 2020-07-20
|
||||||
|
*/
|
||||||
|
public class ByMath extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 编号 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 名称 */
|
||||||
|
@Excel(name = "名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 学习目标 */
|
||||||
|
@Excel(name = "学习目标")
|
||||||
|
private String target;
|
||||||
|
|
||||||
|
/** 年龄段表现特征 */
|
||||||
|
@Excel(name = "年龄段表现特征")
|
||||||
|
private String feature;
|
||||||
|
|
||||||
|
/** 教学建议 */
|
||||||
|
@Excel(name = "教学建议")
|
||||||
|
private String suggest;
|
||||||
|
|
||||||
|
/** 适用班级 */
|
||||||
|
@Excel(name = "适用班级")
|
||||||
|
private Integer classtypeId;
|
||||||
|
|
||||||
|
/** 序号 */
|
||||||
|
@Excel(name = "序号")
|
||||||
|
private Long sort;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setName(String name)
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setTarget(String target)
|
||||||
|
{
|
||||||
|
this.target = target;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTarget()
|
||||||
|
{
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
public void setFeature(String feature)
|
||||||
|
{
|
||||||
|
this.feature = feature;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFeature()
|
||||||
|
{
|
||||||
|
return feature;
|
||||||
|
}
|
||||||
|
public void setSuggest(String suggest)
|
||||||
|
{
|
||||||
|
this.suggest = suggest;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSuggest()
|
||||||
|
{
|
||||||
|
return suggest;
|
||||||
|
}
|
||||||
|
public void setClasstypeId(Integer classtypeId)
|
||||||
|
{
|
||||||
|
this.classtypeId = classtypeId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getClasstypeId()
|
||||||
|
{
|
||||||
|
return classtypeId;
|
||||||
|
}
|
||||||
|
public void setSort(Long sort)
|
||||||
|
{
|
||||||
|
this.sort = sort;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSort()
|
||||||
|
{
|
||||||
|
return sort;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("name", getName())
|
||||||
|
.append("target", getTarget())
|
||||||
|
.append("feature", getFeature())
|
||||||
|
.append("suggest", getSuggest())
|
||||||
|
.append("classtypeId", getClasstypeId())
|
||||||
|
.append("sort", getSort())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.project.benyi.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.project.benyi.domain.ByMath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 游戏数学Mapper接口
|
||||||
|
*
|
||||||
|
* @author tsbz
|
||||||
|
* @date 2020-07-20
|
||||||
|
*/
|
||||||
|
public interface ByMathMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询游戏数学
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 游戏数学
|
||||||
|
*/
|
||||||
|
public ByMath selectByMathById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询游戏数学列表
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 游戏数学集合
|
||||||
|
*/
|
||||||
|
public List<ByMath> selectByMathList(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertByMath(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateByMath(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除游戏数学
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteByMathById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除游戏数学
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteByMathByIds(Long[] ids);
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.project.benyi.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.project.benyi.domain.ByMath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 游戏数学Service接口
|
||||||
|
*
|
||||||
|
* @author tsbz
|
||||||
|
* @date 2020-07-20
|
||||||
|
*/
|
||||||
|
public interface IByMathService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询游戏数学
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 游戏数学
|
||||||
|
*/
|
||||||
|
public ByMath selectByMathById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询游戏数学列表
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 游戏数学集合
|
||||||
|
*/
|
||||||
|
public List<ByMath> selectByMathList(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertByMath(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateByMath(ByMath byMath);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除游戏数学
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的游戏数学ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteByMathByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除游戏数学信息
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteByMathById(Long id);
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
package com.ruoyi.project.benyi.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.project.benyi.mapper.ByMathMapper;
|
||||||
|
import com.ruoyi.project.benyi.domain.ByMath;
|
||||||
|
import com.ruoyi.project.benyi.service.IByMathService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 游戏数学Service业务层处理
|
||||||
|
*
|
||||||
|
* @author tsbz
|
||||||
|
* @date 2020-07-20
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class ByMathServiceImpl implements IByMathService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private ByMathMapper byMathMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询游戏数学
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 游戏数学
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public ByMath selectByMathById(Long id)
|
||||||
|
{
|
||||||
|
return byMathMapper.selectByMathById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询游戏数学列表
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 游戏数学
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<ByMath> selectByMathList(ByMath byMath)
|
||||||
|
{
|
||||||
|
return byMathMapper.selectByMathList(byMath);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertByMath(ByMath byMath)
|
||||||
|
{
|
||||||
|
byMath.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return byMathMapper.insertByMath(byMath);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改游戏数学
|
||||||
|
*
|
||||||
|
* @param byMath 游戏数学
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateByMath(ByMath byMath)
|
||||||
|
{
|
||||||
|
return byMathMapper.updateByMath(byMath);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除游戏数学
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的游戏数学ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteByMathByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return byMathMapper.deleteByMathByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除游戏数学信息
|
||||||
|
*
|
||||||
|
* @param id 游戏数学ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteByMathById(Long id)
|
||||||
|
{
|
||||||
|
return byMathMapper.deleteByMathById(id);
|
||||||
|
}
|
||||||
|
}
|
88
ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml
Normal file
88
ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.project.benyi.mapper.ByMathMapper">
|
||||||
|
|
||||||
|
<resultMap type="ByMath" id="ByMathResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="name" column="name" />
|
||||||
|
<result property="target" column="target" />
|
||||||
|
<result property="feature" column="feature" />
|
||||||
|
<result property="suggest" column="suggest" />
|
||||||
|
<result property="classtypeId" column="classtype_id" />
|
||||||
|
<result property="sort" column="sort" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectByMathVo">
|
||||||
|
select id, name, target, feature, suggest, classtype_id, sort, create_time from by_math
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectByMathList" parameterType="ByMath" resultMap="ByMathResult">
|
||||||
|
<include refid="selectByMathVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="target != null and target != ''"> and target = #{target}</if>
|
||||||
|
<if test="feature != null and feature != ''"> and feature = #{feature}</if>
|
||||||
|
<if test="suggest != null and suggest != ''"> and suggest = #{suggest}</if>
|
||||||
|
<if test="classtypeId != null "> and classtype_id = #{classtypeId}</if>
|
||||||
|
<if test="sort != null "> and sort = #{sort}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectByMathById" parameterType="Long" resultMap="ByMathResult">
|
||||||
|
<include refid="selectByMathVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertByMath" parameterType="ByMath">
|
||||||
|
insert into by_math
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null ">id,</if>
|
||||||
|
<if test="name != null and name != ''">name,</if>
|
||||||
|
<if test="target != null and target != ''">target,</if>
|
||||||
|
<if test="feature != null and feature != ''">feature,</if>
|
||||||
|
<if test="suggest != null and suggest != ''">suggest,</if>
|
||||||
|
<if test="classtypeId != null ">classtype_id,</if>
|
||||||
|
<if test="sort != null ">sort,</if>
|
||||||
|
<if test="createTime != null ">create_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null ">#{id},</if>
|
||||||
|
<if test="name != null and name != ''">#{name},</if>
|
||||||
|
<if test="target != null and target != ''">#{target},</if>
|
||||||
|
<if test="feature != null and feature != ''">#{feature},</if>
|
||||||
|
<if test="suggest != null and suggest != ''">#{suggest},</if>
|
||||||
|
<if test="classtypeId != null ">#{classtypeId},</if>
|
||||||
|
<if test="sort != null ">#{sort},</if>
|
||||||
|
<if test="createTime != null ">#{createTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateByMath" parameterType="ByMath">
|
||||||
|
update by_math
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="name != null and name != ''">name = #{name},</if>
|
||||||
|
<if test="target != null and target != ''">target = #{target},</if>
|
||||||
|
<if test="feature != null and feature != ''">feature = #{feature},</if>
|
||||||
|
<if test="suggest != null and suggest != ''">suggest = #{suggest},</if>
|
||||||
|
<if test="classtypeId != null ">classtype_id = #{classtypeId},</if>
|
||||||
|
<if test="sort != null ">sort = #{sort},</if>
|
||||||
|
<if test="createTime != null ">create_time = #{createTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteByMathById" parameterType="Long">
|
||||||
|
delete from by_math where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteByMathByIds" parameterType="String">
|
||||||
|
delete from by_math where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
Loading…
x
Reference in New Issue
Block a user