谐波普测-普测计划新增&终端退运-历史记录
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<TableHeader area datePicker ref="TableHeaderRef">
|
||||
|
||||
<template #operation>
|
||||
<el-button icon="el-icon-Plus" type="primary" @click="add">新增计划</el-button>
|
||||
<!-- <el-button icon="el-icon-Download" type="primary" @click="exportFn">导出</el-button> -->
|
||||
@@ -9,9 +8,6 @@
|
||||
<Table ref="tableRef" />
|
||||
<!-- 新增 -->
|
||||
<planAdd ref="planAddRef" @onsubmit="tableStore.index()" />
|
||||
|
||||
|
||||
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, provide, nextTick } from 'vue'
|
||||
@@ -22,19 +18,15 @@ import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { cancel } from '@/api/process-boot/generalTest'
|
||||
import planAdd from './planAdd.vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
import { queryPlan,removeSurvey } from '@/api/process-boot/generalTest'
|
||||
import { queryPlan, removeSurvey } from '@/api/process-boot/generalTest'
|
||||
import { getUserByRoleType } from '@/api/user-boot/user'
|
||||
const { push } = useRouter()
|
||||
const dialogVisible=ref(false)
|
||||
const dialogVisible = ref(false)
|
||||
const tableRef = ref()
|
||||
|
||||
|
||||
const planAddRef = ref()
|
||||
const TableHeaderRef = ref()
|
||||
const auditList:any = ref([])
|
||||
const auditList: any = ref([])
|
||||
const auditUser = ref('')
|
||||
|
||||
const tableStore = new TableStore({
|
||||
url: '/supervision-boot/surveyPlan/surveyPlanPage',
|
||||
publicHeight: 65,
|
||||
@@ -47,12 +39,21 @@ const tableStore = new TableStore({
|
||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||
}
|
||||
},
|
||||
{ field: 'deptName', title: '普测负责单位' },
|
||||
{
|
||||
field: 'deptName',
|
||||
title: '普测负责单位'
|
||||
},
|
||||
{
|
||||
field: 'substation',
|
||||
title: '变电站',
|
||||
formatter: (row: any) => {
|
||||
return row.cellValue
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'planName',
|
||||
title: '普测计划名称'
|
||||
},
|
||||
{ field: 'substation', title: '变电站' },
|
||||
{ field: 'planStartTime', title: '计划开始时间' },
|
||||
{ field: 'planEndTime', title: '计划结束时间' },
|
||||
{
|
||||
@@ -125,7 +126,6 @@ const tableStore = new TableStore({
|
||||
})
|
||||
|
||||
tableStore.table.params.status = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
// 新增计划
|
||||
const add = () => {
|
||||
|
||||
Reference in New Issue
Block a user