编辑分析设计添加查询方法
This commit is contained in:
parent
fbe5401bda
commit
c76129e35c
@ -7,7 +7,7 @@ export default {
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, nextTick } from "vue";
|
import { onMounted, ref, nextTick } from "vue";
|
||||||
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
||||||
import { searchProjectsLsit,addProjects,updateProjects,deleteProjects,deleteBatchProjects,
|
import { searchProjectsLsit,addProjects,updateProjects,deleteProjects,deleteBatchProjects,projectsById,
|
||||||
visibilityProjects,exportAllExports,exportProject,importProject} from "@/api/business/project";
|
visibilityProjects,exportAllExports,exportProject,importProject} from "@/api/business/project";
|
||||||
import Page from '@/components/Pagination/page.vue'
|
import Page from '@/components/Pagination/page.vue'
|
||||||
import ScenarioModel from '@/views/component/scenario/index.vue'
|
import ScenarioModel from '@/views/component/scenario/index.vue'
|
||||||
@ -150,8 +150,11 @@ function permissionClick(row: any) { // 打开权限设置
|
|||||||
dialogPermissionVisible.value = true;
|
dialogPermissionVisible.value = true;
|
||||||
}
|
}
|
||||||
function designClick(row: any) { // 打开分析设计
|
function designClick(row: any) { // 打开分析设计
|
||||||
info.value = JSON.parse(JSON.stringify(row));
|
projectsById({projectId:row.projectId}).then((res:any) => {
|
||||||
isShowAntvx6.value = true;
|
info.value = JSON.parse(JSON.stringify(res));
|
||||||
|
isShowAntvx6.value = true;
|
||||||
|
|
||||||
|
})
|
||||||
}
|
}
|
||||||
function simulationClick(row: any) { // 打开模拟分析
|
function simulationClick(row: any) { // 打开模拟分析
|
||||||
info.value = JSON.parse(JSON.stringify(row));
|
info.value = JSON.parse(JSON.stringify(row));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user