过程监督 迁移中
This commit is contained in:
@@ -30,3 +30,10 @@ export function analyseWave(params:string) {
|
|||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// // 123
|
||||||
|
// export function queyDetailUser(params:string) {
|
||||||
|
// return createAxios({
|
||||||
|
// url: '/cs-harmonic-boot/event/analyseWave?eventId=' + params,
|
||||||
|
// method: 'get'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|||||||
@@ -55,6 +55,10 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
|
|||||||
// 请求拦截
|
// 请求拦截
|
||||||
Axios.interceptors.request.use(
|
Axios.interceptors.request.use(
|
||||||
config => {
|
config => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 取消重复请求
|
||||||
removePending(config)
|
removePending(config)
|
||||||
options.CancelDuplicateRequest && addPending(config)
|
options.CancelDuplicateRequest && addPending(config)
|
||||||
// 创建loading实例
|
// 创建loading实例
|
||||||
@@ -73,7 +77,10 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
|
|||||||
config.headers.Authorization = 'Basic bmpjbnRlc3Q6bmpjbnBxcw=='
|
config.headers.Authorization = 'Basic bmpjbnRlc3Q6bmpjbnBxcw=='
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(config.url?.substring(0, 4)=='/hzj'){
|
||||||
|
config.url=config.url?.slice(4)
|
||||||
|
config.baseURL='/hzj'
|
||||||
|
}
|
||||||
return config
|
return config
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ const rules = {
|
|||||||
}
|
}
|
||||||
const ruleFormRef = ref()
|
const ruleFormRef = ref()
|
||||||
const tableStore = new TableStore({
|
const tableStore = new TableStore({
|
||||||
url: '/advance-boot/process/querySagEventsPage',
|
url: '/hzj/carrycapacityuser/queyDetailUser',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
column: [
|
column: [
|
||||||
{ width: '60', type: 'checkbox' },
|
{ 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.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)
|
provide('tableStore', tableStore)
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
<div>占比 </div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script setup lang='ts'>
|
||||||
|
import { ref, reactive } from 'vue'
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
<div>结果 </div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script setup lang='ts'>
|
||||||
|
import { ref, reactive } from 'vue'
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
<div> 审核</div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script setup lang='ts'>
|
||||||
|
import { ref, reactive } from 'vue'
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
<div> 计划管理</div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<script setup lang='ts'>
|
||||||
|
import { ref, reactive } from 'vue'
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
42
src/views/pqs/supervise/harmonicSurvey/index.vue
Normal file
42
src/views/pqs/supervise/harmonicSurvey/index.vue
Normal 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>
|
||||||
15
src/views/pqs/supervise/technology/index.vue
Normal file
15
src/views/pqs/supervise/technology/index.vue
Normal 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>
|
||||||
@@ -18,6 +18,11 @@ export default defineConfig({
|
|||||||
'/map': {
|
'/map': {
|
||||||
target: 'http://192.168.1.81:8088', //数据中心
|
target: 'http://192.168.1.81:8088', //数据中心
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
'/hzj': {
|
||||||
|
target: 'http://550fa81d.nat123.fun', //黄正剑
|
||||||
|
changeOrigin: true,
|
||||||
|
rewrite: path => path.replace(/^\/hzj/, '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user