update
This commit is contained in:
parent
c7d91dc682
commit
62e10a88b5
@ -1,26 +1,30 @@
|
||||
import request from '@/utils/request'
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 项目管理--项目信息列表
|
||||
export function apiManageProjectLists(params: any) {
|
||||
return request.get({ url: '/manage_basic.manage_project/lists', params })
|
||||
return request.get({ url: "/manage_basic.manage_project/lists", params });
|
||||
}
|
||||
|
||||
// 添加项目管理--项目信息
|
||||
export function apiManageProjectAdd(params: any) {
|
||||
return request.post({ url: '/manage_basic.manage_project/add', params })
|
||||
return request.post({ url: "/manage_basic.manage_project/add", params });
|
||||
}
|
||||
|
||||
// 编辑项目管理--项目信息
|
||||
export function apiManageProjectEdit(params: any) {
|
||||
return request.post({ url: '/manage_basic.manage_project/edit', params })
|
||||
return request.post({ url: "/manage_basic.manage_project/edit", params });
|
||||
}
|
||||
|
||||
// 删除项目管理--项目信息
|
||||
export function apiManageProjectDelete(params: any) {
|
||||
return request.post({ url: '/manage_basic.manage_project/delete', params })
|
||||
return request.post({ url: "/manage_basic.manage_project/delete", params });
|
||||
}
|
||||
|
||||
// 项目管理--项目信息详情
|
||||
export function apiManageProjectDetail(params: any) {
|
||||
return request.get({ url: '/manage_basic.manage_project/detail', params })
|
||||
}
|
||||
return request.get({ url: "/manage_basic.manage_project/detail", params });
|
||||
}
|
||||
|
||||
export function apiManageProjectSearch(params: any) {
|
||||
return request.get({ url: "/manage_basic.manage_project/datas", params });
|
||||
}
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="发文单位" prop="send_company">
|
||||
<el-input class="w-[280px]" v-model="queryParams.send_company" clearable placeholder="请输入发文单位" />
|
||||
</el-form-item>
|
||||
@ -60,6 +63,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageAcceptDocLists, apiManageAcceptDocDelete, apiManageAcceptDocDetail } from '@/api/manage_accept_doc'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="单位名称" prop="name">
|
||||
<el-input class="w-[280px]" v-model="queryParams.name" clearable placeholder="请输入单位名称" />
|
||||
</el-form-item>
|
||||
@ -77,6 +80,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageCompanyLists, apiManageCompanyDelete, apiManageCompanyDetail } from '@/api/manage_company'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
import detailConfig from './detail'
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="编号" prop="code">
|
||||
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入编号" />
|
||||
</el-form-item>
|
||||
@ -61,6 +64,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageEngineeringChangesLists, apiManageEngineeringChangesDelete, apiManageEngineeringChangesDetail } from '@/api/manage_engineering_changes'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="严重程度" prop="severity">
|
||||
<el-select class="flex-1" v-model="queryParams.severity" clearable placeholder="请选择严重程度">
|
||||
<el-option v-for="(item, index) in dictData.severity" :key="index" :label="item.name"
|
||||
@ -63,6 +66,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageInfoReportLists, apiManageInfoReportDelete, apiManageInfoReportDetail } from '@/api/manage_info_report'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="填报人" prop="create_user">
|
||||
<el-input class="w-[280px]" v-model="queryParams.create_user" clearable placeholder="请输入填报人" />
|
||||
</el-form-item>
|
||||
@ -61,7 +61,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageMeteredPaymentLists, apiManageMeteredPaymentDelete, apiManageMeteredPaymentDetail } from '@/api/manage_metered_payment'
|
||||
import { timeFormat } from '@/utils/util'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- <el-card class="!border-none mb-4" shadow="never">
|
||||
<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 label="所属项目" prop="project_id">
|
||||
<selectRemote :formData="queryParams" model="project_id" :api="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="resetPage">查询</el-button>
|
||||
<el-button @click="resetParams">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-card> -->
|
||||
</el-card>
|
||||
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
|
||||
<el-button v-perms="['manage_progress.manage_monthly_progress_report/add']" type="primary"
|
||||
@click="handleAdd">
|
||||
@ -59,7 +59,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageMonthlyProgressReportLists, apiManageMonthlyProgressReportDelete, apiManageMonthlyProgressReportDetail } from '@/api/manage_monthly_progress_report'
|
||||
import { timeFormat } from '@/utils/util'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
@ -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="apiManageProjectSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="编号" prop="code">
|
||||
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入编号" />
|
||||
</el-form-item>
|
||||
@ -65,6 +68,7 @@
|
||||
import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiManageSendDocLists, apiManageSendDocDelete, apiManageSendDocDetail } from '@/api/manage_send_doc'
|
||||
import { apiManageProjectSearch } from '@/api/manage_project'
|
||||
import feedback from '@/utils/feedback'
|
||||
import EditPopup from './edit.vue'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user