diff --git a/business-css/frontend/.env.development b/business-css/frontend/.env.development
index 282c646..8af9418 100644
--- a/business-css/frontend/.env.development
+++ b/business-css/frontend/.env.development
@@ -3,6 +3,6 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV='development'
-VITE_APP_TITLE = '公司开发平台框架'
+VITE_APP_TITLE = '临界事故情景分析模拟系统'
VITE_APP_PORT = 3000
VITE_APP_BASE_API = '/dev-api'
diff --git a/business-css/frontend/index.html b/business-css/frontend/index.html
index c48809f..61c30e7 100644
--- a/business-css/frontend/index.html
+++ b/business-css/frontend/index.html
@@ -6,7 +6,7 @@
-
公司开发平台框架
+ 临界事故情景分析模拟系统
diff --git a/business-css/frontend/public/favicon.ico b/business-css/frontend/public/favicon.ico
index df36fcf..961f987 100644
Binary files a/business-css/frontend/public/favicon.ico and b/business-css/frontend/public/favicon.ico differ
diff --git a/business-css/frontend/src/api/business/algorithm/index.ts b/business-css/frontend/src/api/business/algorithm/index.ts
new file mode 100644
index 0000000..c19fe3a
--- /dev/null
+++ b/business-css/frontend/src/api/business/algorithm/index.ts
@@ -0,0 +1,50 @@
+import request from '@/utils/request';
+
+//获取所有项目列表
+export function searchAlgorithmsPage(queryParams:any){
+ return request({
+ url: '/api/algorithms/search' ,
+ method: 'get',
+ params:queryParams
+ });
+}
+
+
+
+
+//新增项目
+export function addAlgorithms(data:any){
+ return request({
+ url:'/api/algorithms' ,
+ method: 'Post',
+ data: data
+ });
+}
+
+
+//更新项目信息
+export function updateAlgorithms (queryParams:any){
+ return request({
+ url:'/api/algorithms' ,
+ method: 'PUT',
+ data: queryParams
+ });
+}
+
+
+//单个删除项目
+export function deleteAlgorithms (queryParams:any){
+ return request({
+ url:'/api/algorithms/'+queryParams.id ,
+ method: 'delete'
+ // params: queryParams
+ });
+}
+//多选删除项目
+export function deleteBatchAlgorithms (queryParams:any){
+ return request({
+ url:'/api/algorithms',
+ method: 'delete',
+ data: queryParams
+ });
+}
diff --git a/business-css/frontend/src/assets/algorithm/tab1.png b/business-css/frontend/src/assets/algorithm/tab1.png
new file mode 100644
index 0000000..6270b71
Binary files /dev/null and b/business-css/frontend/src/assets/algorithm/tab1.png differ
diff --git a/business-css/frontend/src/assets/algorithm/tab1_selected.png b/business-css/frontend/src/assets/algorithm/tab1_selected.png
new file mode 100644
index 0000000..7ff3550
Binary files /dev/null and b/business-css/frontend/src/assets/algorithm/tab1_selected.png differ
diff --git a/business-css/frontend/src/assets/algorithm/tab2.png b/business-css/frontend/src/assets/algorithm/tab2.png
new file mode 100644
index 0000000..706c924
Binary files /dev/null and b/business-css/frontend/src/assets/algorithm/tab2.png differ
diff --git a/business-css/frontend/src/assets/algorithm/tab2_selected.png b/business-css/frontend/src/assets/algorithm/tab2_selected.png
new file mode 100644
index 0000000..eb945fc
Binary files /dev/null and b/business-css/frontend/src/assets/algorithm/tab2_selected.png differ
diff --git a/business-css/frontend/src/assets/images/bg.png b/business-css/frontend/src/assets/images/bg.png
new file mode 100644
index 0000000..54c57ed
Binary files /dev/null and b/business-css/frontend/src/assets/images/bg.png differ
diff --git a/business-css/frontend/src/assets/login/password.png b/business-css/frontend/src/assets/login/password.png
new file mode 100644
index 0000000..ae776bc
Binary files /dev/null and b/business-css/frontend/src/assets/login/password.png differ
diff --git a/business-css/frontend/src/assets/login/username.png b/business-css/frontend/src/assets/login/username.png
new file mode 100644
index 0000000..0965eea
Binary files /dev/null and b/business-css/frontend/src/assets/login/username.png differ
diff --git a/business-css/frontend/src/assets/login/valid_code.png b/business-css/frontend/src/assets/login/valid_code.png
new file mode 100644
index 0000000..5394cb5
Binary files /dev/null and b/business-css/frontend/src/assets/login/valid_code.png differ
diff --git a/business-css/frontend/src/assets/logo.png b/business-css/frontend/src/assets/logo.png
index f3d2503..961f987 100644
Binary files a/business-css/frontend/src/assets/logo.png and b/business-css/frontend/src/assets/logo.png differ
diff --git a/business-css/frontend/src/assets/table/del.png b/business-css/frontend/src/assets/table/del.png
new file mode 100644
index 0000000..90509c2
Binary files /dev/null and b/business-css/frontend/src/assets/table/del.png differ
diff --git a/business-css/frontend/src/assets/table/design.png b/business-css/frontend/src/assets/table/design.png
new file mode 100644
index 0000000..2bb3a34
Binary files /dev/null and b/business-css/frontend/src/assets/table/design.png differ
diff --git a/business-css/frontend/src/assets/table/edit.png b/business-css/frontend/src/assets/table/edit.png
new file mode 100644
index 0000000..0ee16ca
Binary files /dev/null and b/business-css/frontend/src/assets/table/edit.png differ
diff --git a/business-css/frontend/src/assets/table/export.png b/business-css/frontend/src/assets/table/export.png
new file mode 100644
index 0000000..491c2ee
Binary files /dev/null and b/business-css/frontend/src/assets/table/export.png differ
diff --git a/business-css/frontend/src/assets/table/simulation.png b/business-css/frontend/src/assets/table/simulation.png
new file mode 100644
index 0000000..d9eb1a9
Binary files /dev/null and b/business-css/frontend/src/assets/table/simulation.png differ
diff --git a/business-css/frontend/src/lang/zh-cn.ts b/business-css/frontend/src/lang/zh-cn.ts
index a52feb6..532ab43 100644
--- a/business-css/frontend/src/lang/zh-cn.ts
+++ b/business-css/frontend/src/lang/zh-cn.ts
@@ -6,7 +6,7 @@ export default {
},
// 登录页面国际化
login: {
- title: '公司开发平台框架',
+ title: '临界事故情景分析模拟系统',
username: '用户名',
rulesUsername: '请输入用户名',
password: '密码',
diff --git a/business-css/frontend/src/settings.ts b/business-css/frontend/src/settings.ts
index cd9b78b..7768a28 100644
--- a/business-css/frontend/src/settings.ts
+++ b/business-css/frontend/src/settings.ts
@@ -10,7 +10,7 @@ interface DefaultSettings {
}
const defaultSettings: DefaultSettings = {
- title: '公司开发平台框架',
+ title: '临界事故情景分析模拟系统',
showSettings: false,
tagsView: true,
fixedHeader: true,
diff --git a/business-css/frontend/src/views/business/algorithm/index.vue b/business-css/frontend/src/views/business/algorithm/index.vue
new file mode 100644
index 0000000..cf249c0
--- /dev/null
+++ b/business-css/frontend/src/views/business/algorithm/index.vue
@@ -0,0 +1,453 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+ 新增
+ 删除
+
+
+
+
+
+
+
+
+
+
+ {{ dateFormat(scope.row.updatedAt) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+

+
基本信息
+
+
+

+

+
调用参数
+
+
+

+

+
输出参数
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/business-css/frontend/src/views/business/database/criticalData/index.vue b/business-css/frontend/src/views/business/database/criticalData/index.vue
index 058d2a3..6687a91 100644
--- a/business-css/frontend/src/views/business/database/criticalData/index.vue
+++ b/business-css/frontend/src/views/business/database/criticalData/index.vue
@@ -305,6 +305,7 @@ onMounted(() => {
ref="upload"
accept=".xlsx,.xls"
class="upload-demo"
+ :data="{ deviceType: queryParams.type }"
:action=" url + '/critical-data/import' "
:headers="{ token: getToken() }"
:show-file-list="false"
@@ -326,7 +327,7 @@ onMounted(() => {
-
+
@@ -335,11 +336,11 @@ onMounted(() => {
-
-
-
@@ -374,8 +375,8 @@ onMounted(() => {
-
-
+
@@ -495,6 +496,9 @@ onMounted(() => {
.el-dialog .el-input{
--el-input-inner-height: 38px
}
+.criticalData-box .el-button{
+ height: 36px;
+}
.el-dialog .el-button{
height: 40px;
}
diff --git a/business-css/frontend/src/views/business/database/device/index.vue b/business-css/frontend/src/views/business/database/device/index.vue
index f5112c7..cf0827f 100644
--- a/business-css/frontend/src/views/business/database/device/index.vue
+++ b/business-css/frontend/src/views/business/database/device/index.vue
@@ -300,6 +300,7 @@ onMounted(() => {
ref="upload"
accept=".xlsx,.xls"
class="upload-demo"
+ :data="{deviceType: queryParams.type}"
:action=" url + '/devices/import' "
:headers="{ token: getToken() }"
:show-file-list="false"
@@ -318,7 +319,6 @@ onMounted(() => {
-
@@ -329,9 +329,9 @@ onMounted(() => {
-
-
@@ -640,9 +640,13 @@ onMounted(() => {
.el-dialog .el-input{
--el-input-inner-height: 38px
}
+.Device-box .el-button{
+ height: 36px;
+}
.el-dialog .el-button{
height: 40px;
}
+
.el-input-group__append {
background-color: transparent !important;
border: none !important;
diff --git a/business-css/frontend/src/views/business/database/material/index.vue b/business-css/frontend/src/views/business/database/material/index.vue
index a3ddd59..5b392ff 100644
--- a/business-css/frontend/src/views/business/database/material/index.vue
+++ b/business-css/frontend/src/views/business/database/material/index.vue
@@ -323,7 +323,7 @@ onMounted(() => {
:before-upload="handlePreview"
:on-success="handlesSuccess"
:on-error="handleError">
- 导入
+ 导入
删除
@@ -344,11 +344,11 @@ onMounted(() => {
-
-
-
@@ -534,6 +534,9 @@ onMounted(() => {
.el-dialog .el-input{
--el-input-inner-height: 38px
}
+.Materials-box .el-button{
+ height: 36px;
+}
.el-dialog .el-button{
height: 40px;
}
diff --git a/business-css/frontend/src/views/business/project/index.vue b/business-css/frontend/src/views/business/project/index.vue
index 5d9ef62..fd8ab7e 100644
--- a/business-css/frontend/src/views/business/project/index.vue
+++ b/business-css/frontend/src/views/business/project/index.vue
@@ -184,7 +184,7 @@ onMounted(() => {
-
+
@@ -194,12 +194,9 @@ onMounted(() => {
-
新增
-
- 删除
+ :disabled="multipleSelection.length <= 0" @click="delClick">删除
{
{{ dateFormat(scope.row.updatedAt) }}
-
+
-
-
-
+
@@ -263,7 +259,7 @@ onMounted(() => {
\ No newline at end of file
diff --git a/business-css/frontend/src/views/login/index.vue b/business-css/frontend/src/views/login/index.vue
index e49fb8b..9c40031 100644
--- a/business-css/frontend/src/views/login/index.vue
+++ b/business-css/frontend/src/views/login/index.vue
@@ -1,11 +1,9 @@
+
-
+
-
{{$t('login.title')}}
+
账号登录
-
+
-
+
-
+
{{ $t('login.login') }}
@@ -321,11 +319,12 @@ $light_gray: #000000;
position: relative;
.title {
- font-size: 36px;
- color: $light_gray;
- margin: 0px auto 40px auto;
+ font-family: '微软雅黑';
+ font-weight: 400;
+ font-style: normal;
+ font-size: 30px;
+ color: #363636;
text-align: center;
- font-weight: bold;
}
.set-language {
@@ -413,7 +412,7 @@ $light_gray: #eee;
display: -webkit-flex;
align-items: center;
-webkit-align-items: center;
- justify-content: center;
+ justify-content: space-between;
.login-container-left {
.el-image {
min-height: 420px;
@@ -422,18 +421,23 @@ $light_gray: #eee;
}
}
.login-container-right {
- width: 625px;
- height: calc(100vh - 200px);
- min-height: 420px;
- min-width: 350px;
- border-radius: 5px 5px 0;
- box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
+ position: relative;
+ margin-bottom: 40px;
+ width: 500px;
+ height: 539px;
+ background: rgba(255, 255, 255, 1);
+ border: none;
+ border-radius: 10px;
+ -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
+ -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
display: flex;
display: -webkit-flex;
justify-content: center;
-webkit-justify-content: center;
align-items: center;
-webkit-align-items: center;
+
}
}
.login-container {
diff --git a/business-css/frontend/src/views/system/menu/index.vue b/business-css/frontend/src/views/system/menu/index.vue
index 08b547d..2b93f52 100644
--- a/business-css/frontend/src/views/system/menu/index.vue
+++ b/business-css/frontend/src/views/system/menu/index.vue
@@ -572,12 +572,10 @@ onMounted(() => {
-
+ -->
@@ -595,7 +593,7 @@ onMounted(() => {