This commit is contained in:
weiz 2024-03-18 18:00:46 +08:00
parent 5a44510905
commit 346a5866d2
14 changed files with 59 additions and 21 deletions

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="检查名称" prop="name">
<el-input class="w-[280px]" v-model="queryParams.name" clearable placeholder="请输入检查名称" />
</el-form-item>
@ -71,7 +74,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionCompanyCheckLists, apiSupervisionCompanyCheckDelete, apiSupervisionCompanyCheckDetail } from '@/api/supervision_company_check'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,7 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="危大工程类型" prop="type">
<el-select class="flex-1" v-model="queryParams.type" clearable placeholder="请选择危大工程类型">
<el-option label="超规模工程" :value="parseInt(0)" />
@ -103,7 +105,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionDangerousEngineeringMonitoringLists, apiSupervisionDangerousEngineeringMonitoringDelete, apiSupervisionDangerousEngineeringMonitoringDetail } from '@/api/supervision_dangerous_engineering_monitoring'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="分部分项工程" prop="partial_project">
<el-select class="flex-1" v-model="queryParams.partial_project" clearable placeholder="请选择分部分项工程">
<el-option v-for="(item, index) in dictData.partial_project" :key="index" :label="item.name"
@ -69,7 +72,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionExcessRiskSecurityMonitoringLists, apiSupervisionExcessRiskSecurityMonitoringDelete, apiSupervisionExcessRiskSecurityMonitoringDetail } from '@/api/supervision_excess_risk_security_monitoring'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,7 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="分部分项工程" prop="partial_project">
<el-select class="flex-1" v-model="queryParams.partial_project" clearable placeholder="请选择分部分项工程">
<el-option v-for="(item, index) in dictData.partial_project" :key="index" :label="item.name"
@ -68,7 +70,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionHighRiskSecurityMonitoringLists, apiSupervisionHighRiskSecurityMonitoringDelete, apiSupervisionHighRiskSecurityMonitoringDetail } from '@/api/supervision_high_risk_security_monitoring'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -3,6 +3,12 @@
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" label-width="80px">
<el-row>
<el-col :span="6">
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id"
:api="apiSupervisionProjectSearch" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="序号" prop="sn">
<el-input v-model="queryParams.sn" clearable placeholder="请输入序号" />
@ -97,7 +103,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionLargeMechanicalEquipmentLists, apiSupervisionLargeMechanicalEquipmentDelete } from '@/api/supervision_large_mechanical_equipment'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="文档名称" prop="title">
<el-input class="w-[280px]" v-model="queryParams.title" clearable placeholder="请输入文档名称" />
</el-form-item>
@ -56,7 +59,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectAcceptanceReportLists, apiSupervisionProjectAcceptanceReportDelete, apiSupervisionProjectAcceptanceReportDetail } from '@/api/supervision_project_acceptance_report'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,7 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="专项审批类型" prop="review_type">
<el-select class="flex-1" v-model="queryParams.review_type" clearable placeholder="请选择专项审批类型">
<el-option v-for="(item, index) in dictData.supervision_planning_approval_type" :key="index"
@ -65,7 +67,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectCaseReviewLists, apiSupervisionProjectCaseReviewDelete, apiSupervisionProjectCaseReviewDetail } from '@/api/supervision_project_case_review'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="项目总监意见" prop="opinion">
<el-input class="w-[280px]" v-model="queryParams.opinion" clearable placeholder="请输入项目总监意见" />
</el-form-item>
@ -57,7 +60,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectDataArchivingLists, apiSupervisionProjectDataArchivingDelete, apiSupervisionProjectDataArchivingDetail } from '@/api/supervision_project_data_archiving'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="信息摘要" prop="abstract">
<el-input class="w-[280px]" v-model="queryParams.abstract" clearable placeholder="请输入信息摘要" />
</el-form-item>
@ -70,7 +73,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectInfoReportLists, apiSupervisionProjectInfoReportDelete, apiSupervisionProjectInfoReportDetail } from '@/api/supervision_project_info_report'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,7 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="标题" prop="title">
<el-input class="w-[280px]" v-model="queryParams.title" clearable placeholder="请输入标题" />
</el-form-item>
@ -58,7 +60,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectMilestonesLists, apiSupervisionProjectMilestonesDelete } from '@/api/supervision_project_milestones'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="年月" prop="date">
<el-date-picker class="flex-1 !flex" v-model="queryParams.date" clearable type="month"
value-format="YYYY-MM" placeholder="请选择日期">
@ -80,7 +83,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectMonthlyReportLists, apiSupervisionProjectMonthlyReportDelete, apiSupervisionProjectMonthlyReportDetail } from '@/api/supervision_project_monthly_report'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,9 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<!-- <el-form-item label="项目id" prop="project_id">
<el-input class="w-[280px]" v-model="queryParams.project_id" clearable placeholder="请输入项目id" />
</el-form-item> -->
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="文档名称" prop="title">
<el-input class="w-[280px]" v-model="queryParams.title" clearable placeholder="请输入文档名称" />
</el-form-item>
@ -59,7 +59,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectOwnerEvaluationLists, apiSupervisionProjectOwnerEvaluationDelete, apiSupervisionProjectOwnerEvaluationDetail } from '@/api/supervision_project_owner_evaluation'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="姓名" prop="name">
<el-input class="w-[280px]" v-model="queryParams.name" clearable placeholder="请输入姓名" />
</el-form-item>
@ -66,7 +69,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionProjectPersonnelLists, apiSupervisionProjectPersonnelDelete } from '@/api/supervision_project_personnel'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'

View File

@ -2,6 +2,9 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" />
</el-form-item>
<el-form-item label="检查人" prop="check_user">
<el-input class="w-[280px]" v-model="queryParams.check_user" clearable placeholder="请输入检查人" />
</el-form-item>
@ -62,7 +65,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiSupervisionSafetyWarningSignLists, apiSupervisionSafetyWarningSignDelete } from '@/api/supervision_safety_warning_sign'
import { timeFormat } from '@/utils/util'
import { apiSupervisionProjectSearch } from '@/api/supervision_project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'