This commit is contained in:
weiz 2024-03-19 17:06:03 +08:00
parent 818d6166bf
commit 9374ccfb14
4 changed files with 59 additions and 70 deletions

View File

@ -2,15 +2,15 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" label-width="auto" inline>
<el-form-item label="决策编码" prop="code">
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入决策编码" />
</el-form-item>
<el-form-item label="项目名称" prop="project_name">
<el-input class="w-[280px]" v-model="queryParams.project_name" clearable placeholder="请输入项目名称" />
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiProjectSearch" />
</el-form-item>
<el-form-item label="客户名称" prop="custom_name">
<el-input class="w-[280px]" v-model="queryParams.custom_name" clearable placeholder="请输入客户名称" />
</el-form-item>
<el-form-item label="决策编码" prop="code">
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入决策编码" />
</el-form-item>
<el-form-item label="资金来源" prop="bidding_project_fund_source">
<el-select class="w-[280px]" v-model="queryParams.bidding_project_fund_source" clearable
placeholder="请选择类型">
@ -46,23 +46,19 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="决策编码" prop="code" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="决策编码" prop="code" show-overflow-tooltip />
<el-table-column label="项目估算" width="125" prop="project_estimation" show-overflow-tooltip />
<el-table-column label="资金来源" width="155" prop="bidding_project_fund_source" show-overflow-tooltip />
<el-table-column label="资金来源" width="155" prop="bidding_project_fund_source"
show-overflow-tooltip />
<el-table-column label="投标时间" prop="bidding_time" width="155" show-overflow-tooltip />
<!-- <el-table-column label="购买标书时间" width="155" prop="buy_bid_document_date" show-overflow-tooltip /> -->
<el-table-column label="招标方式" prop="bid_type" show-overflow-tooltip />
<el-table-column label="竞争对手" prop="competitor" show-overflow-tooltip />
<!-- <el-table-column label="是否需要保证金" prop="is_margin">
<template #default="{ row }">
<dict-value :options="dictData.whether_status" :value="row.is_margin" />
</template>
</el-table-column> -->
<el-table-column label="保证金金额" prop="margin_amount" width="125" show-overflow-tooltip />
<el-table-column label="开标日期" prop="bid_opening_date" show-overflow-tooltip />
<el-table-column label="保证金退还时间" width="155" prop="margin_amount_return_date" show-overflow-tooltip />
<el-table-column label="保证金退还时间" width="155" prop="margin_amount_return_date"
show-overflow-tooltip />
<el-table-column label="有无内部资源" width="155" prop="is_internal_resources" show-overflow-tooltip />
<el-table-column label="项目把握度" width="85" prop="project_assurance" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
@ -93,8 +89,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiBidBiddingDecisionLists, apiBidBiddingDecisionDetail } from '@/api/bid_bidding_decision'
import { timeFormat } from '@/utils/util'
import feedback from '@/utils/feedback'
import { apiProjectSearch } from '@/api/project'
import EditPopup from './edit.vue'
import DetailPopup from './detail.vue'
const detailRef = shallowRef<InstanceType<typeof DetailPopup>>()
@ -107,10 +102,9 @@ const showDtail = ref(false)
//
const queryParams = reactive({
bidding_project_fund_source: '',
bid_type: "",
project_name: "",
project_id: "",
code: "",
custom_name: "",
})
@ -154,4 +148,3 @@ if (route.query?.listId) {
handledetail({ id: route.query.listId })
}
</script>

View File

@ -2,11 +2,15 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" label-width="auto" inline>
<el-form-item label="项目" prop="project_id">
<el-select class="w-[250px]" v-model="queryParams.project_id" clearable placeholder="请选择项目">
<el-option v-for="(item, index) in projectList" :key="index" :label="item.name"
:value="parseInt(item.id)" />
</el-select>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiProjectSearch" />
</el-form-item>
<el-form-item label="客户名称" prop="custom_name">
<el-input class="w-[250px]" v-model="queryParams.custom_name" clearable placeholder="请输入客户名称" />
</el-form-item>
<el-form-item label="决策编号" prop="bid_decision_code">
<el-input class="w-[250px]" v-model="queryParams.bid_decision_code" clearable
placeholder="请输入投标决策编号" />
</el-form-item>
<el-form-item label="标书编号" prop="bid_document_no">
<el-input class="w-[250px]" v-model="queryParams.bid_document_no" clearable placeholder="请输入标书编号" />
@ -16,13 +20,8 @@
placeholder="请输入招标公司名称" />
</el-form-item>
<el-form-item label="投标公司名称" prop="bid_company_name">
<el-input class="w-[250px]" v-model="queryParams.bid_company_name" clearable placeholder="请输入招标公司名称" />
</el-form-item>
<el-form-item label="项目名称" prop="project_name">
<el-input class="w-[250px]" v-model="queryParams.project_name" clearable placeholder="请输入项目名称" />
</el-form-item>
<el-form-item label="客户名称" prop="custom_name">
<el-input class="w-[250px]" v-model="queryParams.custom_name" clearable placeholder="请输入客户名称" />
<el-input class="w-[250px]" v-model="queryParams.bid_company_name" clearable
placeholder="请输入招标公司名称" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="resetPage">查询</el-button>
@ -44,11 +43,12 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="投标决策编号" prop="bid_decision_code" width="210" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="投标决策编号" prop="bid_decision_code" width="210" show-overflow-tooltip />
<el-table-column label="标书编号" prop="bid_document_no" width="180" show-overflow-tooltip />
<el-table-column label="招标公司名称" width="120" prop="invite_tenders_company_name" show-overflow-tooltip />
<el-table-column label="招标公司名称" width="120" prop="invite_tenders_company_name"
show-overflow-tooltip />
<el-table-column label="投标公司名称" width="120" prop="bid_company_name" show-overflow-tooltip />
<el-table-column label="购买人员" prop="buyer" show-overflow-tooltip />
<el-table-column label="购买标书金额" width="120" prop="amount" show-overflow-tooltip />
@ -66,7 +66,8 @@
<!-- <el-button v-perms="['bid.bid_buy_bidding_document/delete']" type="danger" link @click="handleDelete(row.id)">
删除
</el-button> -->
<el-button v-perms="['bid.bid_buy_bidding_document/detail']" link @click="handledetail(row)">
<el-button v-perms="['bid.bid_buy_bidding_document/detail']" link
@click="handledetail(row)">
详情
</el-button>
</template>
@ -86,9 +87,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiBidBuyBiddingDocumentLists, apiBidBuyBiddingDocumentDetail } from '@/api/bid_buy_bidding_document'
import { timeFormat } from '@/utils/util'
import { apiProjectLists } from '@/api/project'
import feedback from '@/utils/feedback'
import { apiProjectSearch } from '@/api/project'
import EditPopup from './edit.vue'
import DetailPopup from './detail.vue'
const detailRef = shallowRef<InstanceType<typeof DetailPopup>>()
@ -106,8 +105,7 @@ const queryParams = reactive({
bid_document_no: '',
invite_tenders_company_name: '',
bid_company_name: '',
code: '',
project_name: '',
bid_decision_code: '',
custom_name: '',
})

View File

@ -2,11 +2,14 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="购买标书" prop="buy_bidding_document_id">
<el-select v-model="queryParams.buy_bidding_document_id" clearable placeholder="请选择购买标书">
<el-option v-for="(item, index) in documentList" :key="index" :label="item.name"
:value="parseInt(item.id)" />
</el-select>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiProjectSearch" />
</el-form-item>
<el-form-item label="标书编号" prop="bid_document_no">
<el-input class="w-[250px]" v-model="queryParams.bid_document_no" clearable placeholder="请输入标书编号" />
</el-form-item>
<el-form-item label="审查编号" prop="code">
<el-input class="w-[250px]" v-model="queryParams.code" clearable placeholder="请输入审查编号" />
</el-form-item>
<el-form-item label="是否需要保证金" prop="is_need_deposit">
<el-select v-model="queryParams.is_need_deposit" clearable placeholder="请选择是否需要保证金">
@ -34,9 +37,9 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="审查编号" prop="code" show-overflow-tooltip />
<el-table-column label="标书编号" prop="bid_document_no" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="招标公司名称" prop="invite_tenders_company_name" show-overflow-tooltip />
<el-table-column label="投标公司名称" prop="bid_company_name" show-overflow-tooltip />
<el-table-column label="招标项目资金来源" width="150" prop="bidding_project_fund_source"
@ -53,7 +56,8 @@
<!-- <el-button v-perms="['bid.bid_document_examination/delete']" type="danger" link @click="handleDelete(row.id)">
删除
</el-button> -->
<el-button v-perms="['bid.bid_document_examination/detail']" link @click="handledetail(row)">
<el-button v-perms="['bid.bid_document_examination/detail']" link
@click="handledetail(row)">
详情
</el-button>
</template>
@ -77,6 +81,7 @@ import {
apiBidDocumentExaminationDetail
} from '@/api/bid_document_examination'
import { apiBidBuyBiddingDocumentLists } from '@/api/bid_buy_bidding_document'
import { apiProjectSearch } from '@/api/project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import DetailPopup from './detail.vue'
@ -94,7 +99,8 @@ const documentList = ref([])
//
const queryParams = reactive({
buy_bidding_document_id: '',
bid_document_no: '',
code: '',
is_need_deposit: ''
})
@ -160,4 +166,3 @@ if (route.query?.listId) {
documentlists()
getLists()
</script>

View File

@ -2,20 +2,13 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="标书审查" prop="bid_document_examination_id">
<el-select v-model="queryParams.bid_document_examination_id" clearable placeholder="请选择标书审查">
<el-option v-for="(item, index) in documentList" :key="index" :label="item.bid_document_no"
:value="parseInt(item.id)" />
</el-select>
<el-form-item label="所属项目" prop="project_id">
<selectRemote :formData="queryParams" model="project_id" :api="apiProjectSearch" />
</el-form-item>
<el-form-item label="项目" prop="project_id">
<el-select v-model="queryParams.project_id" clearable placeholder="请选择项目">
<el-option v-for="(item, index) in projectList" :key="index" :label="item.name"
:value="parseInt(item.id)" />
</el-select>
<el-form-item label="审查编号" prop="code">
<el-input class="w-[250px]" v-model="queryParams.bid_document_examination_code" clearable
placeholder="请输入审查编号" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="resetPage">查询</el-button>
<el-button @click="resetParams">重置</el-button>
@ -29,17 +22,17 @@
</template>
新增
</el-button>
<el-button v-perms="['bid.bid_result/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)">
<el-button v-perms="['bid.bid_result/delete']" :disabled="!selectData.length"
@click="handleDelete(selectData)">
删除
</el-button>
<div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="标书审查编号" prop="bid_document_examination_code" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="标书审查编号" prop="bid_document_examination_code" show-overflow-tooltip />
<el-table-column label="项目编码" prop="project_code" show-overflow-tooltip />
<el-table-column label="投标时间" prop="bidding_time" show-overflow-tooltip />
<el-table-column label="开标日期" prop="bid_opening_date" show-overflow-tooltip />
@ -56,7 +49,8 @@
<el-button v-perms="['bid.bid_result/edit']" type="primary" link @click="handleEdit(row)">
编辑
</el-button>
<el-button v-perms="['bid.bid_result/delete']" type="danger" link @click="handleDelete(row.id)">
<el-button v-perms="['bid.bid_result/delete']" type="danger" link
@click="handleDelete(row.id)">
删除
</el-button>
<el-button v-perms="['bid.bid_result/detail']" link @click="handledetail(row)">
@ -82,7 +76,7 @@ import { apiBidResultLists, apiBidResultDelete, apiBidResultDetail } from '@/api
import {
apiBidDocumentExaminationLists
} from '@/api/bid_document_examination'
import { apiProjectLists } from '@/api/project'
import { apiProjectSearch } from '@/api/project'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import DetailPopup from './detail.vue'
@ -96,7 +90,7 @@ const projectList = ref([])
const documentList = ref([])
//
const queryParams = reactive({
bid_document_examination_id: '',
bid_document_examination_code: '',
project_id: ''
})
@ -165,4 +159,3 @@ documentlists()
projectlist()
getLists()
</script>