diff --git a/business-css/frontend/src/views/business/project/index.vue b/business-css/frontend/src/views/business/project/index.vue index fd8ab7e..af0168b 100644 --- a/business-css/frontend/src/views/business/project/index.vue +++ b/business-css/frontend/src/views/business/project/index.vue @@ -9,8 +9,9 @@ import { onMounted, ref, nextTick } from "vue"; import { ElForm, ElMessage, ElMessageBox } from "element-plus"; import { searchProjectsLsit,addProjects,updateProjects,deleteProjects,deleteBatchProjects} from "@/api/business/project"; import Page from '@/components/Pagination/page.vue' +import Scenario from '@/views/component/scenario/index.vue' - +const isScenario = ref(false) //是否展示历史模拟场景 // 搜索框 const queryParams = ref({ current: 1, @@ -115,7 +116,10 @@ function editClick(row: any) { info.value = JSON.parse(JSON.stringify(row)); dialogVisible.value = true; } - +function simulationClick(row: any) { + info.value = JSON.parse(JSON.stringify(row)); + isScenario.value = true; +} //删除项目 function delAloneClick(row: any) { ElMessageBox.confirm("确定删除此项目吗?", "删除提示", { @@ -219,9 +223,10 @@ onMounted(() => { - @@ -245,7 +250,7 @@ onMounted(() => { - + { + + + + + + @@ -284,6 +298,7 @@ onMounted(() => { border: none; border-radius: 3px; box-sizing: border-box; + padding-bottom: 10px; } .line { @@ -339,10 +354,10 @@ onMounted(() => { --el-input-inner-height: 38px } .project-box .el-button{ - height: 40px; + height: 36px; } .el-dialog .el-button{ - height: 38px; + height: 40px; } \ No newline at end of file diff --git a/business-css/frontend/src/views/component/scenario/index.vue b/business-css/frontend/src/views/component/scenario/index.vue new file mode 100644 index 0000000..00eed13 --- /dev/null +++ b/business-css/frontend/src/views/component/scenario/index.vue @@ -0,0 +1,355 @@ + + + + + + + + \ No newline at end of file diff --git a/business-css/frontend/src/views/system/menu/index.vue b/business-css/frontend/src/views/system/menu/index.vue index 2b93f52..50ee024 100644 --- a/business-css/frontend/src/views/system/menu/index.vue +++ b/business-css/frontend/src/views/system/menu/index.vue @@ -593,7 +593,7 @@ onMounted(() => {