技术监督台账管理功能

This commit is contained in:
cdf
2024-05-16 16:22:18 +08:00
parent 8d27a12fb0
commit 7167d52de4
4 changed files with 57 additions and 12 deletions

View File

@@ -119,6 +119,14 @@ export const adminBaseRoute = {
title: pageTitle('router.instanceDetail') title: pageTitle('router.instanceDetail')
} }
}, },
{
path: 'programReview',
component: () => import('@/views/pqs/supervise/interfere/components/normalizationManager/programReview.vue'),
name: 'programReview',
meta: {
title: pageTitle('router.programReview')
}
},
// { // {
// path: 'manager/model/edit', // path: 'manager/model/edit',
// component: () => import('@/views/bpm/model/editor/index.vue'), // component: () => import('@/views/bpm/model/editor/index.vue'),

View File

@@ -29,16 +29,12 @@ import { ref, onMounted, provide, nextTick } from 'vue'
import TableStore from '@/utils/tableStore' import TableStore from '@/utils/tableStore'
import Table from '@/components/table/index.vue' import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue' import TableHeader from '@/components/table/header/index.vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { mainHeight } from '@/utils/layout'
import { useDictData } from '@/stores/dictData' import { useDictData } from '@/stores/dictData'
import { addUse, updateUse, removeUse } from '@/api/advance-boot/bearingCapacity'
const dictData = useDictData() const dictData = useDictData()
const interferenceType = dictData.getBasicData('Interference_Source')
const istatusList = dictData.getBasicData('On-network_Status')
const TableHeaderRef = ref()
const areaOptionList = dictData.getBasicData('jibei_area') const areaOptionList = dictData.getBasicData('jibei_area')
const { push } = useRouter()
const TableHeaderRef = ref()
const tableStore = new TableStore({ const tableStore = new TableStore({
url: '/supervision-boot/userReport/getInterferenceUserPage', url: '/supervision-boot/userReport/getInterferenceUserPage',
publicHeight: 65, publicHeight: 65,
@@ -86,22 +82,22 @@ const tableStore = new TableStore({
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',
title: '电能质量治理工程验收', title: '方案审查',
type: 'primary', type: 'primary',
icon: 'el-icon-EditPen', icon: 'el-icon-EditPen',
render: 'basicButton', render: 'basicButton',
click: row => { click: row => {
toFangAn(row.id,"3")
} }
}, },
{ {
name: 'productSetting', name: 'productSetting',
title: '电能质量监测评估', title: '治理工程',
type: 'primary', type: 'primary',
icon: 'el-icon-EditPen', icon: 'el-icon-EditPen',
render: 'basicButton', render: 'basicButton',
click: row => { click: row => {
toZhiLi(row.id)
} }
} }
] ]
@@ -123,6 +119,26 @@ onMounted(() => {
tableStore.index() tableStore.index()
}) })
/** 方案审查 */
const toFangAn = (id: any,activeName:String) => {
push({
name: 'programReview',
query: {
id: id,
activeName:"3"
}
})
}
/** 治理工程 */
const toZhiLi = (instanceId: any) => {
push({
name: 'BpmProcessInstanceDetail',
query: {
id: instanceId
}
})
}
/**获取用户性质*/ /**获取用户性质*/
const getUserTypeName = (userType: any) => { const getUserTypeName = (userType: any) => {

View File

@@ -0,0 +1,21 @@
<template>
<div class='default-main'>
<back-component style='margin: 8px;position: absolute;z-index: 10;top: -3px;right: 2px' />
</div>
</template>
<script lang='ts' setup>
import BackComponent from '@/components/icon/back/index.vue'
defineOptions({ name: 'programReview' })
import { onMounted, provide, ref, getCurrentInstance, reactive, watch, unref, nextTick } from 'vue'
const { query } = useRoute() // 查询参数
</script>
<style scoped lang='scss'>
</style>

View File

@@ -18,9 +18,9 @@
<script setup lang="ts"> <script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue' import { onMounted, reactive, ref, provide } from 'vue'
import { mainHeight } from '@/utils/layout'
import undocumented from './components/undocumented/index.vue' import undocumented from './components/undocumented/index.vue'
import interferenceUserTable from './components/normalizationManager/interferenceUserTable.vue' import interferenceUserTable from './components/normalizationManager/interferenceUserTable.vue'
import { mainHeight } from '@/utils/layout'
import terminalNetworkDetection from './components/terminalNetworkDetection/index.vue' import terminalNetworkDetection from './components/terminalNetworkDetection/index.vue'
defineOptions({ defineOptions({
name: 'Processsupervision/interferencemanagement' name: 'Processsupervision/interferencemanagement'