整理项目模块,数据管理,算法管理图标

This commit is contained in:
limengnan 2025-12-25 14:24:35 +08:00
parent 033579d549
commit 731f5fadad
11 changed files with 61 additions and 63 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

View File

@ -78,16 +78,8 @@ const title = ref("");
const info: any = ref({
name: "",
description: "",
uConcentration: "",
uo2Density: "",
uEnrichment: "",
puConcentration: "",
puo2Density: "",
puIsotope: "",
hno3Acidity: "",
h2c2o4Concentration: "",
organicRatio: "",
moistureContent: "",
version: "",
principle: "",
});
const dialogVisible = ref(false);
@ -96,16 +88,8 @@ function addClick() {
info.value = {
name: "",
description: "",
uConcentration: "",
uo2Density: "",
uEnrichment: "",
puConcentration: "",
puo2Density: "",
puIsotope: "",
hno3Acidity: "",
h2c2o4Concentration: "",
organicRatio: "",
moistureContent: "",
version: "",
principle: "",
};
customAttrsData.value = []
dialogVisible.value = true;
@ -118,9 +102,11 @@ function confirmClick(formEl: any) {
if (!info.value.algorithmId) {
const params = {
projectId: -1,
...info.value,
customAttrs: JSON.stringify( customAttrsData.value)
name: info.value.name,
description: info.value.description,
version: info.value.version,
principle: info.value.principle,
}
addAlgorithms(params).then((res) => {
gettableData();
@ -128,9 +114,11 @@ function confirmClick(formEl: any) {
});
} else if (info.value.algorithmId) {
const params = {
projectId: -1,
...info.value,
customAttrs: JSON.stringify( customAttrsData.value)
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();
@ -284,8 +272,8 @@ onMounted(() => {
: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="算法名称" min-width="180"></el-table-column>
<el-table-column prop="version" label="版本号" min-width="180"></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">
@ -296,9 +284,9 @@ onMounted(() => {
<template #default="scope">
<span
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; ">
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
<img src="@/assets/table/del.png" alt="" title="删除"
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
</span>
</template>
@ -454,6 +442,9 @@ onMounted(() => {
.el-dialog .el-input{
--el-input-inner-height: 38px
}
.Algorithms-box .el-button{
height: 36px;
}
.el-dialog .el-button{
height: 40px;
}

View File

@ -338,9 +338,9 @@ onMounted(() => {
<template #default="scope">
<span
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; ">
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
<img src="@/assets/table/del.png" alt="" title="删除"
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
</span>
</template>
@ -496,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;
}

View File

@ -300,7 +300,7 @@ onMounted(() => {
ref="upload"
accept=".xlsx,.xls"
class="upload-demo"
:data="{"deviceType": queryParams.type}"
:data="{deviceType: queryParams.type}"
:action=" url + '/devices/import' "
:headers="{ token: getToken() }"
:show-file-list="false"
@ -319,7 +319,6 @@ onMounted(() => {
<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="设备名称" 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="updatedAt" label="创建时间" width="200">
<template #default="scope">
@ -330,9 +329,9 @@ onMounted(() => {
<template #default="scope">
<span
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; ">
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
<img src="@/assets/table/del.png" alt="" title="删除"
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
</span>
</template>
@ -641,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;

View File

@ -323,7 +323,7 @@ onMounted(() => {
:before-upload="handlePreview"
:on-success="handlesSuccess"
: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-button :type="multipleSelection.length > 0 ? 'primary' : ''"
:disabled="multipleSelection.length <= 0" @click="delClick">删除</el-button>
@ -346,9 +346,9 @@ onMounted(() => {
<template #default="scope">
<span
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; ">
<img src="@/assets/MenuIcon/lbcz_sc.png" alt="" title="删除"
<img src="@/assets/table/del.png" alt="" title="删除"
@click="delAloneClick(scope.row)" style="cursor: pointer; ">
</span>
</template>
@ -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;
}

View File

@ -184,7 +184,7 @@ onMounted(() => {
</script>
<template>
<div class="invalidcatalogue-box">
<div class="project-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">
@ -194,12 +194,9 @@ onMounted(() => {
</div>
<div>
<el-button type="primary" @click="addClick">
<img src="@/assets/MenuIcon/jscz_xz.png" alt="" style="margin-right: 3px">
新增</el-button>
<el-button :type="multipleSelection.length > 0 ? 'primary' : ''"
:disabled="multipleSelection.length <= 0" @click="delClick"><el-icon>
<Delete />
</el-icon> </el-button>
: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
@ -215,21 +212,20 @@ onMounted(() => {
{{ dateFormat(scope.row.updatedAt) }}
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="200">
<el-table-column fixed="right" label="操作" width="190">
<template #default="scope">
<span
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; ">
<!-- <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)"
<img src="@/assets/table/simulation.png" alt="" title="模拟分析"
style="cursor: pointer; ">
<img src="@/assets/MenuIcon/lbcz_qx.png" alt="" title="权限分配" @click="assignment(scope.row)"
<img src="@/assets/table/export.png" alt="" title="导出项目工程"
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; ">
</span>
</template>
@ -263,7 +259,7 @@ onMounted(() => {
</template>
<style scoped>
.invalidcatalogue-box {
.project-box {
padding-right: 10px;
}
@ -342,7 +338,11 @@ onMounted(() => {
.el-dialog .el-input{
--el-input-inner-height: 38px
}
.el-dialog .el-button{
.project-box .el-button{
height: 40px;
}
.el-dialog .el-button{
height: 38px;
}
</style>

View File

@ -572,12 +572,10 @@ onMounted(() => {
<template>
<div class="collectiontemplate-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">
<el-menu-item index="1">Web端</el-menu-item>
<el-menu-item index="2">手机App</el-menu-item>
<el-menu-item index="3">Pad端</el-menu-item>
</el-menu>
</el-menu> -->
<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;">
@ -595,7 +593,7 @@ onMounted(() => {
</div>
<div class="draggable">
<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' }">
<el-table-column label="菜单标题" width="250" prop="name" show-overflow-tooltip>
<template #default="scope">