Merge branch 'develop-business-css' of http://121.37.111.42:3000/ThbTech/JavaProjectRepo into development-business-css
@ -3,6 +3,6 @@
|
|||||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
||||||
NODE_ENV='development'
|
NODE_ENV='development'
|
||||||
|
|
||||||
VITE_APP_TITLE = '公司开发平台框架'
|
VITE_APP_TITLE = '临界事故情景分析模拟系统'
|
||||||
VITE_APP_PORT = 3000
|
VITE_APP_PORT = 3000
|
||||||
VITE_APP_BASE_API = '/dev-api'
|
VITE_APP_BASE_API = '/dev-api'
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="description" content="NewFrameWork2023-WEB" />
|
<meta name="description" content="NewFrameWork2023-WEB" />
|
||||||
<meta name="keywords" content="NewFrameWork2023-WEB" />
|
<meta name="keywords" content="NewFrameWork2023-WEB" />
|
||||||
<title>公司开发平台框架</title>
|
<title>临界事故情景分析模拟系统</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.2 KiB |
50
business-css/frontend/src/api/business/algorithm/index.ts
Normal file
@ -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
|
||||||
|
});
|
||||||
|
}
|
||||||
BIN
business-css/frontend/src/assets/algorithm/tab1.png
Normal file
|
After Width: | Height: | Size: 534 B |
BIN
business-css/frontend/src/assets/algorithm/tab1_selected.png
Normal file
|
After Width: | Height: | Size: 541 B |
BIN
business-css/frontend/src/assets/algorithm/tab2.png
Normal file
|
After Width: | Height: | Size: 723 B |
BIN
business-css/frontend/src/assets/algorithm/tab2_selected.png
Normal file
|
After Width: | Height: | Size: 702 B |
BIN
business-css/frontend/src/assets/images/bg.png
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
business-css/frontend/src/assets/login/password.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
business-css/frontend/src/assets/login/username.png
Normal file
|
After Width: | Height: | Size: 452 B |
BIN
business-css/frontend/src/assets/login/valid_code.png
Normal file
|
After Width: | Height: | Size: 540 B |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
business-css/frontend/src/assets/table/del.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
business-css/frontend/src/assets/table/design.png
Normal file
|
After Width: | Height: | Size: 650 B |
BIN
business-css/frontend/src/assets/table/edit.png
Normal file
|
After Width: | Height: | Size: 523 B |
BIN
business-css/frontend/src/assets/table/export.png
Normal file
|
After Width: | Height: | Size: 488 B |
BIN
business-css/frontend/src/assets/table/simulation.png
Normal file
|
After Width: | Height: | Size: 642 B |
@ -6,7 +6,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 登录页面国际化
|
// 登录页面国际化
|
||||||
login: {
|
login: {
|
||||||
title: '公司开发平台框架',
|
title: '临界事故情景分析模拟系统',
|
||||||
username: '用户名',
|
username: '用户名',
|
||||||
rulesUsername: '请输入用户名',
|
rulesUsername: '请输入用户名',
|
||||||
password: '密码',
|
password: '密码',
|
||||||
|
|||||||
@ -10,7 +10,7 @@ interface DefaultSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const defaultSettings: DefaultSettings = {
|
const defaultSettings: DefaultSettings = {
|
||||||
title: '公司开发平台框架',
|
title: '临界事故情景分析模拟系统',
|
||||||
showSettings: false,
|
showSettings: false,
|
||||||
tagsView: true,
|
tagsView: true,
|
||||||
fixedHeader: true,
|
fixedHeader: true,
|
||||||
|
|||||||
453
business-css/frontend/src/views/business/algorithm/index.vue
Normal file
@ -0,0 +1,453 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
name: "algorithm-算法",
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { onMounted, ref, nextTick } from "vue";
|
||||||
|
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
||||||
|
import { searchAlgorithmsPage,addAlgorithms,updateAlgorithms,deleteAlgorithms,deleteBatchAlgorithms} from "@/api/business/algorithm";
|
||||||
|
import Page from '@/components/Pagination/page.vue'
|
||||||
|
// 搜索框
|
||||||
|
const queryParams = ref({
|
||||||
|
current: 1,
|
||||||
|
size: 10,
|
||||||
|
querystr: ''
|
||||||
|
});
|
||||||
|
//分页 总条数
|
||||||
|
const total = ref()
|
||||||
|
//定义表格数据
|
||||||
|
|
||||||
|
const customAttrsData:any = ref([])
|
||||||
|
|
||||||
|
const tableData: any = ref([]);
|
||||||
|
const multipleSelection = ref([]);
|
||||||
|
// 表格加载
|
||||||
|
const loading = ref(false)
|
||||||
|
function gettableData() {
|
||||||
|
let params = {
|
||||||
|
name: input.value,
|
||||||
|
pageNum: queryParams.value.current,
|
||||||
|
pageSize: queryParams.value.size,
|
||||||
|
};
|
||||||
|
loading.value = true;
|
||||||
|
searchAlgorithmsPage(params).then((result:any) => {
|
||||||
|
tableData.value = result.records;
|
||||||
|
total.value = result.total;
|
||||||
|
loading.value = false;
|
||||||
|
}).catch((err) => {
|
||||||
|
loading.value = false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//表格多选事件
|
||||||
|
function handleSelectionChange(val: any) {
|
||||||
|
multipleSelection.value = val;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 处理数字输入的过滤
|
||||||
|
function handleNumberInput(field: string) {
|
||||||
|
// 过滤输入,只允许数字和小数点
|
||||||
|
info.value[field] = info.value[field].replace(/[^\d.]/g, '');
|
||||||
|
// 确保只有一个小数点
|
||||||
|
const parts = info.value[field].split('.');
|
||||||
|
if (parts.length > 2) {
|
||||||
|
info.value[field] = parts[0] + '.' + parts.slice(1).join('');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 处理数字输入的过滤
|
||||||
|
function tableNumberInput(index:any, field: string) {
|
||||||
|
// 过滤输入,只允许数字和小数点
|
||||||
|
customAttrsData.value[index][field] = customAttrsData.value[index][field].replace(/[^\d.]/g, '');
|
||||||
|
// 确保只有一个小数点
|
||||||
|
const parts = customAttrsData.value[index][field].split('.');
|
||||||
|
if (parts.length > 2) {
|
||||||
|
customAttrsData.value[index][field] = parts[0] + '.' + parts.slice(1).join('');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const infoForm = ref();
|
||||||
|
//搜索内容及点击搜索按钮
|
||||||
|
const input = ref("");
|
||||||
|
//新建算法数据
|
||||||
|
const title = ref("");
|
||||||
|
const info: any = ref({
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
version: "",
|
||||||
|
principle: "",
|
||||||
|
});
|
||||||
|
|
||||||
|
const dialogVisible = ref(false);
|
||||||
|
function addClick() {
|
||||||
|
title.value = "新增算法数据";
|
||||||
|
info.value = {
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
version: "",
|
||||||
|
principle: "",
|
||||||
|
};
|
||||||
|
customAttrsData.value = []
|
||||||
|
dialogVisible.value = true;
|
||||||
|
}
|
||||||
|
//新建算法数据-确认按钮/修改按钮
|
||||||
|
function confirmClick(formEl: any) {
|
||||||
|
formEl.validate((valid: any) => {
|
||||||
|
if (valid) {
|
||||||
|
|
||||||
|
if (!info.value.algorithmId) {
|
||||||
|
|
||||||
|
const params = {
|
||||||
|
name: info.value.name,
|
||||||
|
description: info.value.description,
|
||||||
|
version: info.value.version,
|
||||||
|
principle: info.value.principle,
|
||||||
|
|
||||||
|
}
|
||||||
|
addAlgorithms(params).then((res) => {
|
||||||
|
gettableData();
|
||||||
|
dialogVisible.value = false;
|
||||||
|
});
|
||||||
|
} else if (info.value.algorithmId) {
|
||||||
|
const params = {
|
||||||
|
algorithmId: info.value.algorithmId,
|
||||||
|
name: info.value.name,
|
||||||
|
description: info.value.description,
|
||||||
|
version: info.value.version,
|
||||||
|
principle: info.value.principle,
|
||||||
|
}
|
||||||
|
updateAlgorithms(params).then((res) => {
|
||||||
|
gettableData();
|
||||||
|
dialogVisible.value = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
//新建角色-取消按钮
|
||||||
|
function handleClose() {
|
||||||
|
dialogVisible.value = false;
|
||||||
|
if (infoForm.value != null) infoForm.value.resetFields();
|
||||||
|
}
|
||||||
|
//新建算法数据
|
||||||
|
const rules = ref({
|
||||||
|
name: [{ required: true, message: "请输入算法数据名称", trigger: "blur" }],
|
||||||
|
uConcentration: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
uo2Density: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
uEnrichment: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
puConcentration: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
puo2Density: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
puIsotope: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
hno3Acidity: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
h2c2o4Concentration: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
organicRatio: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
moistureContent: [
|
||||||
|
{ pattern: /^\d+(\.\d+)?$/, message: "请输入有效的数字或小数", trigger: "blur" }
|
||||||
|
],
|
||||||
|
});
|
||||||
|
//修改算法数据
|
||||||
|
function editClick(row: any) {
|
||||||
|
title.value = "修改算法数据";
|
||||||
|
info.value = JSON.parse(JSON.stringify(row));
|
||||||
|
|
||||||
|
if(row.customAttrs != null){
|
||||||
|
customAttrsData.value = JSON.parse(row.customAttrs);
|
||||||
|
}
|
||||||
|
dialogVisible.value = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
//删除算法数据
|
||||||
|
function delAloneClick(row: any) {
|
||||||
|
ElMessageBox.confirm("确定删除此算法数据吗?", "删除提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning",
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
let params = {
|
||||||
|
id: row.algorithmId,
|
||||||
|
};
|
||||||
|
deleteAlgorithms(params).then(() => {
|
||||||
|
gettableData();
|
||||||
|
ElMessage({
|
||||||
|
type: "success",
|
||||||
|
message: "删除成功",
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 多选删除?
|
||||||
|
function delClick() {
|
||||||
|
ElMessageBox.confirm("确定删除已选择角色吗?", "删除提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning",
|
||||||
|
}).then(() => {
|
||||||
|
let id = [] as any[];
|
||||||
|
multipleSelection.value.forEach((item: any) => {
|
||||||
|
id.push(item.algorithmId)
|
||||||
|
})
|
||||||
|
let params = {
|
||||||
|
ids: id,
|
||||||
|
};
|
||||||
|
deleteBatchAlgorithms(params.ids).then(() => {
|
||||||
|
gettableData();
|
||||||
|
ElMessage({
|
||||||
|
message: "删除成功",
|
||||||
|
type: "success",
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function dateFormat(row: any) {
|
||||||
|
const daterc = row;
|
||||||
|
if (daterc != null) {
|
||||||
|
var date = new Date(daterc);
|
||||||
|
var year = date.getFullYear();
|
||||||
|
var month =
|
||||||
|
date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
|
||||||
|
date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
|
||||||
|
var day = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
|
||||||
|
var hours = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
|
||||||
|
var minutes = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
|
||||||
|
var seconds = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
|
||||||
|
// 拼接
|
||||||
|
return year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const tabActive = ref(0);
|
||||||
|
function tabClick(index: any) {
|
||||||
|
tabActive.value = index;
|
||||||
|
}
|
||||||
|
onMounted(() => {
|
||||||
|
gettableData();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="Algorithms-box">
|
||||||
|
<div class="conductproject-bg-box">
|
||||||
|
<div
|
||||||
|
style="display: flex;display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between;margin-bottom: 10px">
|
||||||
|
<div style="display: flex;display: -webkit-flex;">
|
||||||
|
<el-input v-model="input" placeholder="请输入算法数据名称" @keyup.enter="gettableData" style="width: 200px" clearable />
|
||||||
|
<el-button type="primary" style="margin-left: 10px" @click="gettableData">搜索</el-button>
|
||||||
|
</div>
|
||||||
|
<div style="display: flex;display: -webkit-flex;">
|
||||||
|
<el-button type="primary" @click="addClick">
|
||||||
|
新增</el-button>
|
||||||
|
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
|
||||||
|
:disabled="multipleSelection.length <= 0" @click="delClick">删除</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-table v-loading="loading" :data="tableData" style="width: 100%; height: calc(100vh - 260px);margin-bottom: 10px;" border
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
:header-cell-style="{ background: 'rgb(250 250 250)', color: '#383838', height: '50px' }">
|
||||||
|
<el-table-column type="selection" width="50" align="center"></el-table-column>
|
||||||
|
<el-table-column type="index" label="序号" width="70" align="center"></el-table-column>
|
||||||
|
<el-table-column prop="name" label="算法名称" width="180"></el-table-column>
|
||||||
|
<el-table-column prop="version" label="版本号" width="100"></el-table-column>
|
||||||
|
<el-table-column prop="description" label="算法描述" min-width="100"></el-table-column>
|
||||||
|
<el-table-column prop="updatedAt" label="更新时间" width="200">
|
||||||
|
<template #default="scope">
|
||||||
|
{{ dateFormat(scope.row.updatedAt) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column fixed="right" label="操作" width="80" align="center">
|
||||||
|
<template #default="scope">
|
||||||
|
<span
|
||||||
|
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
||||||
|
<img src="@/assets/table/edit.png" alt="" title="修改"
|
||||||
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
|
<img src="@/assets/table/del.png" alt="" title="删除"
|
||||||
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<Page :total="total" v-model:size="queryParams.size" v-model:current="queryParams.current" @pagination="gettableData()" ></Page>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<el-dialog v-model="dialogVisible" :close-on-click-modal="false"
|
||||||
|
:modal="false" draggable :before-close="handleClose" :title="title"
|
||||||
|
append-to-body width="1145px" height="600px">
|
||||||
|
<div class="Algorithms_dialog_tabbox" >
|
||||||
|
<div class="Algorithms_dialog_tabbox_item" :class="{'Algorithms_dialog_tabbox_active': tabActive === 0}"
|
||||||
|
@click="tabClick(0)">
|
||||||
|
<img v-if="tabActive === 0" src="@/assets/algorithm/tab1_selected.png" alt="">
|
||||||
|
<img v-else src="@/assets/algorithm/tab1.png" alt="">
|
||||||
|
<span>基本信息</span>
|
||||||
|
</div>
|
||||||
|
<div class="Algorithms_dialog_tabbox_item" :class="{'Algorithms_dialog_tabbox_active': tabActive === 1}"
|
||||||
|
@click="tabClick(1)">
|
||||||
|
<img v-if="tabActive === 1" src="@/assets/algorithm/tab2_selected.png" alt="">
|
||||||
|
<img v-else src="@/assets/algorithm/tab2.png" alt="">
|
||||||
|
<span>调用参数</span>
|
||||||
|
</div>
|
||||||
|
<div class="Algorithms_dialog_tabbox_item" :class="{'Algorithms_dialog_tabbox_active': tabActive === 2}"
|
||||||
|
@click="tabClick(2)" >
|
||||||
|
<img v-if="tabActive === 2" src="@/assets/algorithm/tab2_selected.png" alt="">
|
||||||
|
<img v-else src="@/assets/algorithm/tab2.png" alt="">
|
||||||
|
<span>输出参数</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<el-form ref="infoForm" :model="info" :rules="rules" label-width="220px"
|
||||||
|
style="margin-top: 20px;">
|
||||||
|
<el-form-item label="算法名称" prop="name" style="width: 100%;" label-width="80px">
|
||||||
|
<el-input v-model="info.name" style="width: 100%" placeholder="输入算法名称"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="算法描述" style="width: 100%;" label-width="80px">
|
||||||
|
<el-input type="textarea" v-model="info.description" :rows="6" style="width: 100%" placeholder="请输入算法描述"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="版本" style="width: 100%;" label-width="80px">
|
||||||
|
<el-input v-model="info.version" style="width: 100%" placeholder="输入版本"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="算法原理" style="width: 100%;" label-width="80px">
|
||||||
|
<el-input type="textarea" v-model="info.principle" :rows="8" style="width: 100%" placeholder="请输入算法原理"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<span class="dialog-footer"
|
||||||
|
style="display: flex;display: -webkit-flex; justify-content: flex-end;-webkit-justify-content: flex-end;">
|
||||||
|
<el-button @click="handleClose">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="confirmClick(infoForm)">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-form>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.Algorithms-box {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tree-node__content) {
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 500;
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialog-footer {
|
||||||
|
display: block;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.conductproject-bg-box {
|
||||||
|
padding: 20px;
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100vh - 130px);
|
||||||
|
overflow: auto;
|
||||||
|
background-color: rgba(255, 255, 255, 1);
|
||||||
|
border: none;
|
||||||
|
border-radius: 3px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.Algorithms_dialog_tabbox{
|
||||||
|
display: flex;
|
||||||
|
border-bottom: 1px solid #e4e7ed;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
.Algorithms_dialog_tabbox_item{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Algorithms_dialog_tabbox_item span{
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-family: 'Arial Normal', 'Arial';
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #363636;
|
||||||
|
}
|
||||||
|
.Algorithms_dialog_tabbox_item span:hover{
|
||||||
|
color: #266fff;
|
||||||
|
}
|
||||||
|
.Algorithms_dialog_tabbox_active span{
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
|
.el-dialog {
|
||||||
|
padding: 0 !important;
|
||||||
|
border-radius: 10px !important;
|
||||||
|
border: 1px solid #363636 !important;
|
||||||
|
}
|
||||||
|
.el-dialog .el-dialog__header{
|
||||||
|
display: flex;
|
||||||
|
display: -webkit-flex;
|
||||||
|
justify-content: flex-start;-webkit-justify-content: flex-start;
|
||||||
|
align-items: center;-webkit-align-items: center;
|
||||||
|
padding: 10px 20px;
|
||||||
|
background-color: #f1f3f8 !important;
|
||||||
|
font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #1B1B1B;
|
||||||
|
text-align: left;
|
||||||
|
border-radius: 10px 10px 0 0;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.el-dialog .el-dialog__close{
|
||||||
|
font-size: 22px;
|
||||||
|
color: rgb(80, 80, 80);
|
||||||
|
}
|
||||||
|
.el-dialog .el-dialog__headerbtn{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.el-dialog .el-dialog__body{
|
||||||
|
padding: 20px 40px !important;
|
||||||
|
}
|
||||||
|
.el-dialog .el-input{
|
||||||
|
--el-input-inner-height: 38px
|
||||||
|
}
|
||||||
|
.Algorithms-box .el-button{
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
.el-dialog .el-button{
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -305,6 +305,7 @@ onMounted(() => {
|
|||||||
ref="upload"
|
ref="upload"
|
||||||
accept=".xlsx,.xls"
|
accept=".xlsx,.xls"
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
|
:data="{ deviceType: queryParams.type }"
|
||||||
:action=" url + '/critical-data/import' "
|
:action=" url + '/critical-data/import' "
|
||||||
:headers="{ token: getToken() }"
|
:headers="{ token: getToken() }"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
@ -326,7 +327,7 @@ onMounted(() => {
|
|||||||
<el-table-column prop="height" label="等效高度" min-width="100"></el-table-column>
|
<el-table-column prop="height" label="等效高度" min-width="100"></el-table-column>
|
||||||
<el-table-column prop="fissileConcentration" label="核材料浓度" min-width="100"></el-table-column>
|
<el-table-column prop="fissileConcentration" label="核材料浓度" min-width="100"></el-table-column>
|
||||||
<el-table-column prop="isotopicAbundance" label="同位素丰度" min-width="100"></el-table-column>
|
<el-table-column prop="isotopicAbundance" label="同位素丰度" min-width="100"></el-table-column>
|
||||||
<el-table-column prop="keffValue" label="对应 k_eff 值" min-width="100"></el-table-column>
|
<el-table-column prop="keffValue" label="对应Keff值" min-width="100"></el-table-column>
|
||||||
<el-table-column prop="modifier" label="创建人" width="120"></el-table-column>
|
<el-table-column prop="modifier" label="创建人" width="120"></el-table-column>
|
||||||
<el-table-column prop="updatedAt" label="创建时间" width="200">
|
<el-table-column prop="updatedAt" label="创建时间" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
@ -337,9 +338,9 @@ onMounted(() => {
|
|||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span
|
<span
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_xg.png" alt="" title="修改"
|
<img src="@/assets/table/edit.png" alt="" title="修改"
|
||||||
@click="editClick(scope.row)" style="cursor: pointer; ">
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
|
<img src="@/assets/table/del.png" alt="" title="删除"
|
||||||
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@ -374,8 +375,8 @@ onMounted(() => {
|
|||||||
<!-- <template #append>m</template> -->
|
<!-- <template #append>m</template> -->
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="对应k_eff值" style="width: 100%;">
|
<el-form-item label="对应Kef值" style="width: 100%;">
|
||||||
<el-input v-model="info.keffValue" style="width: 100%" placeholder="请输入对应k_eff值"
|
<el-input v-model="info.keffValue" style="width: 100%" placeholder="请输入对应Kef值"
|
||||||
@input="handleNumberInput('keffValue')">
|
@input="handleNumberInput('keffValue')">
|
||||||
<!-- <template #append>m³/s</template> -->
|
<!-- <template #append>m³/s</template> -->
|
||||||
</el-input>
|
</el-input>
|
||||||
@ -495,6 +496,9 @@ onMounted(() => {
|
|||||||
.el-dialog .el-input{
|
.el-dialog .el-input{
|
||||||
--el-input-inner-height: 38px
|
--el-input-inner-height: 38px
|
||||||
}
|
}
|
||||||
|
.criticalData-box .el-button{
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
.el-dialog .el-button{
|
.el-dialog .el-button{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -300,6 +300,7 @@ onMounted(() => {
|
|||||||
ref="upload"
|
ref="upload"
|
||||||
accept=".xlsx,.xls"
|
accept=".xlsx,.xls"
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
|
:data="{deviceType: queryParams.type}"
|
||||||
:action=" url + '/devices/import' "
|
:action=" url + '/devices/import' "
|
||||||
:headers="{ token: getToken() }"
|
:headers="{ token: getToken() }"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
@ -318,7 +319,6 @@ onMounted(() => {
|
|||||||
<el-table-column type="selection" width="50" align="center"></el-table-column>
|
<el-table-column type="selection" width="50" align="center"></el-table-column>
|
||||||
<el-table-column type="index" label="序号" width="70" align="center"></el-table-column>
|
<el-table-column type="index" label="序号" width="70" align="center"></el-table-column>
|
||||||
<el-table-column prop="name" label="设备名称" min-width="180"></el-table-column>
|
<el-table-column prop="name" label="设备名称" min-width="180"></el-table-column>
|
||||||
<!-- <el-table-column prop="description" label="设备描述" min-width="100"></el-table-column> -->
|
|
||||||
<el-table-column prop="modifier" label="创建人" width="120"></el-table-column>
|
<el-table-column prop="modifier" label="创建人" width="120"></el-table-column>
|
||||||
<el-table-column prop="updatedAt" label="创建时间" width="200">
|
<el-table-column prop="updatedAt" label="创建时间" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
@ -329,9 +329,9 @@ onMounted(() => {
|
|||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span
|
<span
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_xg.png" alt="" title="修改"
|
<img src="@/assets/table/edit.png" alt="" title="修改"
|
||||||
@click="editClick(scope.row)" style="cursor: pointer; ">
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
|
<img src="@/assets/table/del.png" alt="" title="删除"
|
||||||
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@ -640,9 +640,13 @@ onMounted(() => {
|
|||||||
.el-dialog .el-input{
|
.el-dialog .el-input{
|
||||||
--el-input-inner-height: 38px
|
--el-input-inner-height: 38px
|
||||||
}
|
}
|
||||||
|
.Device-box .el-button{
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
.el-dialog .el-button{
|
.el-dialog .el-button{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input-group__append {
|
.el-input-group__append {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
|||||||
@ -323,7 +323,7 @@ onMounted(() => {
|
|||||||
:before-upload="handlePreview"
|
:before-upload="handlePreview"
|
||||||
:on-success="handlesSuccess"
|
:on-success="handlesSuccess"
|
||||||
:on-error="handleError">
|
:on-error="handleError">
|
||||||
<el-button type="primary" style="margin: 0 3px;">导入</el-button>
|
<el-button type="primary" style="margin: 0 10px;">导入</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
|
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
|
||||||
:disabled="multipleSelection.length <= 0" @click="delClick">删除</el-button>
|
:disabled="multipleSelection.length <= 0" @click="delClick">删除</el-button>
|
||||||
@ -346,9 +346,9 @@ onMounted(() => {
|
|||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span
|
<span
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_xg.png" alt="" title="修改"
|
<img src="@/assets/table/edit.png" alt="" title="修改"
|
||||||
@click="editClick(scope.row)" style="cursor: pointer; ">
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
|
<img src="@/assets/table/del.png" alt="" title="删除"
|
||||||
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@ -534,6 +534,9 @@ onMounted(() => {
|
|||||||
.el-dialog .el-input{
|
.el-dialog .el-input{
|
||||||
--el-input-inner-height: 38px
|
--el-input-inner-height: 38px
|
||||||
}
|
}
|
||||||
|
.Materials-box .el-button{
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
.el-dialog .el-button{
|
.el-dialog .el-button{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -184,7 +184,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="invalidcatalogue-box">
|
<div class="project-box">
|
||||||
<div class="conductproject-bg-box">
|
<div class="conductproject-bg-box">
|
||||||
<div
|
<div
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between;margin-bottom: 10px">
|
style="display: flex;display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between;margin-bottom: 10px">
|
||||||
@ -194,12 +194,9 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="primary" @click="addClick">
|
<el-button type="primary" @click="addClick">
|
||||||
<img src="@/assets/MenuIcon/jscz_xz.png" alt="" style="margin-right: 3px">
|
|
||||||
新增</el-button>
|
新增</el-button>
|
||||||
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
|
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
|
||||||
:disabled="multipleSelection.length <= 0" @click="delClick"><el-icon>
|
:disabled="multipleSelection.length <= 0" @click="delClick">删除</el-button>
|
||||||
<Delete />
|
|
||||||
</el-icon> 删除</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table v-loading="loading" :data="tableData" style="width: 100%; height: calc(100vh - 260px);margin-bottom: 10px;" border
|
<el-table v-loading="loading" :data="tableData" style="width: 100%; height: calc(100vh - 260px);margin-bottom: 10px;" border
|
||||||
@ -215,21 +212,20 @@ onMounted(() => {
|
|||||||
{{ dateFormat(scope.row.updatedAt) }}
|
{{ dateFormat(scope.row.updatedAt) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column fixed="right" label="操作" width="200">
|
<el-table-column fixed="right" label="操作" width="190">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span
|
<span
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
style="display: flex;display: -webkit-flex; justify-content: space-around;-webkit-justify-content: space-around; ">
|
||||||
|
|
||||||
<img src="@/assets/MenuIcon/lbcz_xg.png" alt="" title="修改"
|
<img src="@/assets/table/edit.png" alt="" title="修改"
|
||||||
@click="editClick(scope.row)" style="cursor: pointer; ">
|
@click="editClick(scope.row)" style="cursor: pointer; ">
|
||||||
<!-- <img src="@/assets/MenuIcon/lbcz_zyw.png" alt="" title="业务范围" @click="businessclick(scope.row)"
|
<img src="@/assets/table/design.png" alt="" title="分享设计"
|
||||||
style="cursor: pointer;">
|
|
||||||
<img src="@/assets/MenuIcon/u343.png" alt="" title="组织范围" @click="organizeclick(scope.row)"
|
|
||||||
style="cursor: pointer; ">
|
style="cursor: pointer; ">
|
||||||
<img src="@/assets/MenuIcon/lbcz_qx.png" alt="" title="权限分配" @click="assignment(scope.row)"
|
<img src="@/assets/table/simulation.png" alt="" title="模拟分析"
|
||||||
style="cursor: pointer; ">
|
style="cursor: pointer; ">
|
||||||
-->
|
<img src="@/assets/table/export.png" alt="" title="导出项目工程"
|
||||||
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
|
style="cursor: pointer; ">
|
||||||
|
<img src="@/assets/table/del.png" alt="" title="删除"
|
||||||
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@ -263,7 +259,7 @@ onMounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.invalidcatalogue-box {
|
.project-box {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -342,7 +338,11 @@ onMounted(() => {
|
|||||||
.el-dialog .el-input{
|
.el-dialog .el-input{
|
||||||
--el-input-inner-height: 38px
|
--el-input-inner-height: 38px
|
||||||
}
|
}
|
||||||
.el-dialog .el-button{
|
.project-box .el-button{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
.el-dialog .el-button{
|
||||||
|
height: 38px;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@ -1,11 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login-container">
|
<div class="login-container">
|
||||||
|
<img src="@/assets/images/bg.png" alt="" style="position: absolute;top: 0;left: 0;width: 100%;height: 100vh;object-fit: cover;">
|
||||||
<div class="login-container-center">
|
<div class="login-container-center">
|
||||||
<div class="login-container-left">
|
<div class="login-container-left">
|
||||||
<el-image
|
|
||||||
:src="loginImg"
|
|
||||||
fit="cover"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="login-container-right">
|
<div class="login-container-right">
|
||||||
<el-form
|
<el-form
|
||||||
@ -17,12 +15,12 @@
|
|||||||
label-position="left"
|
label-position="left"
|
||||||
>
|
>
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<h3 class="title">{{$t('login.title')}}</h3>
|
<div class="title">账号登录</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<span class="svg-container">
|
<span class="svg-container">
|
||||||
<svg-icon icon-class="user" />
|
<img src="@/assets/login/username.png" alt="">
|
||||||
</span>
|
</span>
|
||||||
<el-input
|
<el-input
|
||||||
ref="username"
|
ref="username"
|
||||||
@ -43,7 +41,7 @@
|
|||||||
>
|
>
|
||||||
<el-form-item prop="password">
|
<el-form-item prop="password">
|
||||||
<span class="svg-container">
|
<span class="svg-container">
|
||||||
<svg-icon icon-class="password" />
|
<img src="@/assets/login/password.png" alt="">
|
||||||
</span>
|
</span>
|
||||||
<el-input
|
<el-input
|
||||||
ref="passwordRef"
|
ref="passwordRef"
|
||||||
@ -73,7 +71,7 @@
|
|||||||
class="login-code"
|
class="login-code"
|
||||||
>
|
>
|
||||||
<span class="svg-container">
|
<span class="svg-container">
|
||||||
<svg-icon icon-class="valid_code" />
|
<img src="@/assets/login/valid_code.png" alt="">
|
||||||
</span>
|
</span>
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 60%;"
|
style="width: 60%;"
|
||||||
@ -102,7 +100,7 @@
|
|||||||
size="default"
|
size="default"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 100%;height: 50px; margin-bottom: 10px"
|
style="width: 100%;height: 50px; margin-bottom: 10px;margin-top: 10px;"
|
||||||
@click.prevent="handleLogin"
|
@click.prevent="handleLogin"
|
||||||
>{{ $t('login.login') }}
|
>{{ $t('login.login') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
@ -321,11 +319,12 @@ $light_gray: #000000;
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 36px;
|
font-family: '微软雅黑';
|
||||||
color: $light_gray;
|
font-weight: 400;
|
||||||
margin: 0px auto 40px auto;
|
font-style: normal;
|
||||||
|
font-size: 30px;
|
||||||
|
color: #363636;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.set-language {
|
.set-language {
|
||||||
@ -413,7 +412,7 @@ $light_gray: #eee;
|
|||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
justify-content: center;
|
justify-content: space-between;
|
||||||
.login-container-left {
|
.login-container-left {
|
||||||
.el-image {
|
.el-image {
|
||||||
min-height: 420px;
|
min-height: 420px;
|
||||||
@ -422,18 +421,23 @@ $light_gray: #eee;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.login-container-right {
|
.login-container-right {
|
||||||
width: 625px;
|
position: relative;
|
||||||
height: calc(100vh - 200px);
|
margin-bottom: 40px;
|
||||||
min-height: 420px;
|
width: 500px;
|
||||||
min-width: 350px;
|
height: 539px;
|
||||||
border-radius: 5px 5px 0;
|
background: rgba(255, 255, 255, 1);
|
||||||
box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
|
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: flex;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
-webkit-justify-content: center;
|
-webkit-justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.login-container {
|
.login-container {
|
||||||
|
|||||||
@ -572,12 +572,10 @@ onMounted(() => {
|
|||||||
<template>
|
<template>
|
||||||
<div class="collectiontemplate-box">
|
<div class="collectiontemplate-box">
|
||||||
<section class="detail-box">
|
<section class="detail-box">
|
||||||
<el-menu style="margin-bottom:10px;" :default-active="activeIndex" class="el-menu-demo" mode="horizontal"
|
<!-- <el-menu style="margin-bottom:10px;" :default-active="activeIndex" class="el-menu-demo" mode="horizontal"
|
||||||
@select="handleSelect">
|
@select="handleSelect">
|
||||||
<el-menu-item index="1">Web端</el-menu-item>
|
<el-menu-item index="1">Web端</el-menu-item>
|
||||||
<el-menu-item index="2">手机App</el-menu-item>
|
</el-menu> -->
|
||||||
<el-menu-item index="3">Pad端</el-menu-item>
|
|
||||||
</el-menu>
|
|
||||||
<div
|
<div
|
||||||
style="display: flex;display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between; margin-bottom:10px">
|
style="display: flex;display: -webkit-flex; justify-content: space-between; -webkit-justify-content: space-between; margin-bottom:10px">
|
||||||
<div style="display: flex;display: -webkit-flex;">
|
<div style="display: flex;display: -webkit-flex;">
|
||||||
@ -595,7 +593,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="draggable">
|
<div class="draggable">
|
||||||
<el-table v-loading="loading" ref="multipleTable" :data="tableData" default-expand-all tooltip-effect="dark"
|
<el-table v-loading="loading" ref="multipleTable" :data="tableData" default-expand-all tooltip-effect="dark"
|
||||||
style="width: 100%;height: calc(104vh - 290px)" row-key="id" border
|
style="width: 100%;height: calc(104vh - 230px)" row-key="id" border
|
||||||
:header-cell-style="{ background: 'rgb(250 250 250)', color: '#383838', height: '50px' }">
|
:header-cell-style="{ background: 'rgb(250 250 250)', color: '#383838', height: '50px' }">
|
||||||
<el-table-column label="菜单标题" width="250" prop="name" show-overflow-tooltip>
|
<el-table-column label="菜单标题" width="250" prop="name" show-overflow-tooltip>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
|
|||||||