过程监督 迁移中

This commit is contained in:
GGJ
2024-03-06 16:14:09 +08:00
parent faec144f58
commit e4745f891f
10 changed files with 144 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ const rules = {
}
const ruleFormRef = ref()
const tableStore = new TableStore({
url: '/advance-boot/process/querySagEventsPage',
url: '/hzj/carrycapacityuser/queyDetailUser',
method: 'POST',
column: [
{ width: '60', type: 'checkbox' },
@@ -209,7 +209,29 @@ const tableStore = new TableStore({
]
}
})
// "area": "",
// "city": "",
// "endTime": "",
// "pageNum": {},
// "pageSize": {},
// "protocolCapacity": 0,
// "province": "",
// "region": "",
// "startTime": "",
// "userId": "",
// "userName": "",
// "userType": "",
// "voltage": ""
tableStore.table.params.searchValue = ''
tableStore.table.params.area = ''
tableStore.table.params.city = ''
tableStore.table.params.protocolCapacity = 0
tableStore.table.params.province = ''
tableStore.table.params.region = ''
tableStore.table.params.userId = ''
tableStore.table.params.userName = ''
tableStore.table.params.userType = ''
tableStore.table.params.voltage = ''
provide('tableStore', tableStore)
onMounted(() => {

View File

@@ -0,0 +1,11 @@
<template>
<div>占比 </div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -0,0 +1,11 @@
<template>
<div>结果 </div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -0,0 +1,11 @@
<template>
<div> 审核</div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -0,0 +1,11 @@
<template>
<div> 计划管理</div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>

View File

@@ -0,0 +1,42 @@
<template>
<div class="default-main">
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="普测计划管理" name="1">
<planManage />
</el-tab-pane>
<el-tab-pane label="普测计划审批" name="2">
<planAudits />
</el-tab-pane>
<el-tab-pane label="普测结果管理" name="3"><outcome /></el-tab-pane>
<el-tab-pane label="普测计划占比配置" name="4"><occupancy /></el-tab-pane>
</el-tabs>
</div>
</template>
<script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue'
import occupancy from './components/occupancy.vue'
import outcome from './components/outcome.vue'
import planAudits from './components/planAudits.vue'
import planManage from './components/planManage.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'Region/overview'
})
const activeName = ref('1')
const Statistics = ref()
const compatibility = ref()
const layout = mainHeight(63) as any
</script>
<style lang="scss" scoped>
.bars_w {
width: 100%;
height: 500px;
}
::v-deep(.el-tabs__content) {
height: v-bind('layout.height');
overflow-y: auto;
}
</style>

View File

@@ -0,0 +1,15 @@
<template>
<div>123
general
</div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
</script>
<style lang="scss" scoped>
</style>