This commit is contained in:
zmj 2024-03-08 17:27:52 +08:00
parent fbd24a3445
commit 05f88efdef
18 changed files with 128 additions and 205 deletions

View File

@ -1,73 +0,0 @@
<template>
<div>
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="合同名称" prop="contract_name">
<el-input class="w-[280px]" v-model="queryParams.contract_name" clearable placeholder="请输入合同名称" />
</el-form-item>
<el-form-item label="合同编号" prop="contract_num">
<el-input class="w-[280px]" v-model="queryParams.contract_num" clearable placeholder="请输入合同编号" />
</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>
<div class="mt-4">
<el-table :data="pager.lists" @cell-click="handleCurrentChange">
<el-table-column label="合同编号" prop="contract_num" show-overflow-tooltip />
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
<el-table-column label="甲方签约单位" prop="part_a" show-overflow-tooltip />
<el-table-column label="乙方签约单位" prop="part_b" show-overflow-tooltip />
<el-table-column label="合同计划开始日期" prop="start_date" show-overflow-tooltip />
<el-table-column label="合同计划结束日期" prop="end_date" show-overflow-tooltip />
<el-table-column label="工程总投资" prop="project_money" show-overflow-tooltip />
<el-table-column label="业务性质" prop="business_nature_text" show-overflow-tooltip />
<el-table-column label="行业性质" prop="industry_nature" show-overflow-tooltip />
<el-table-column label="签订部门" prop="dept" show-overflow-tooltip />
<el-table-column label="资金来源" prop="fund_sources_text" show-overflow-tooltip />
<el-table-column label="建设区域" prop="const_area_text" show-overflow-tooltip />
<el-table-column label="项目总监/经理" prop="project_director" show-overflow-tooltip />
<el-table-column label="监管部门" prop="regulators" show-overflow-tooltip />
</el-table>
</div>
<div class="flex justify-end mt-4">
<pagination v-model="pager" @change="getLists" />
</div>
</el-card>
</div>
</template>
<script lang="ts" setup>
import { usePaging } from "@/hooks/usePaging"
import { apiCostApprovedProjectLists } from '@/api/cost_approved_project'
import { defineEmits } from "vue"
const props = defineProps({
project_id: Number
})
//
const queryParams = reactive({
contract_name: '',
contract_num: '',
});
//
const emits = defineEmits(["customEvent"]);
//
const handleCurrentChange = (value: any) => {
emits("customEvent", value);
};
//
const { pager, getLists, resetParams, resetPage } = usePaging({
fetchFun: apiCostApprovedProjectLists,
params: queryParams,
});
getLists();
</script>

View File

@ -1,93 +0,0 @@
<template>
<div>
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="项目编号" prop="project_num">
<el-input class="w-[280px]" v-model="queryParams.project_num" 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>
<el-form-item>
<el-button type="primary" @click="resetPage">查询</el-button>
<el-button @click="resetParams">重置</el-button>
</el-form-item>
</el-form>
<div class="mt-4">
<el-table :data="pager.lists" @cell-click="handleCurrentChange">
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="关联合同" prop="contract_id" show-overflow-tooltip />
<el-table-column label="咨询类型" prop="types" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.consultation_type" :value="row.types" />
</template>
</el-table-column>
<el-table-column label="行业" prop="industry" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.cost_consultation_industry_nature" :value="row.industry" />
</template>
</el-table-column>
<el-table-column label="所在省份" prop="province" show-overflow-tooltip />
<el-table-column label="所在市区" prop="city" show-overflow-tooltip />
<el-table-column label="具体地址" prop="address" show-overflow-tooltip />
<el-table-column label="计划开始日期" prop="starting" show-overflow-tooltip />
<el-table-column label="计划结束日期" prop="endtime" show-overflow-tooltip />
<el-table-column label="计划工期(天)" prop="jhgq" show-overflow-tooltip />
<el-table-column label="项目所属部门" prop="depar" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="principal" show-overflow-tooltip />
<el-table-column label="项目相关人员" prop="person" show-overflow-tooltip />
<el-table-column label="项目总投资(万元)" prop="invest" show-overflow-tooltip />
<el-table-column label="预算造价(万元)" prop="budget" show-overflow-tooltip />
<el-table-column label="送审造价(万元)" prop="cost" show-overflow-tooltip />
<el-table-column label="审定造价(万元)" prop="approval" show-overflow-tooltip />
<el-table-column label="委托单位" prop="aunit" show-overflow-tooltip />
<el-table-column label="委托方联系人" prop="Acontact" show-overflow-tooltip />
<el-table-column label="联系电话" prop="acontactnum" show-overflow-tooltip />
<el-table-column label="登记日期" prop="date" show-overflow-tooltip />
<el-table-column label="项目规模及概括" prop="generalize" show-overflow-tooltip />
<el-table-column label="注意事项" prop="note" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
</el-table>
</div>
<div class="flex justify-end mt-4">
<pagination v-model="pager" @change="getLists" />
</div>
</el-card>
</div>
</template>
<script lang="ts" setup>
import { usePaging } from "@/hooks/usePaging"
import { apiCostProjectLists } from '@/api/cost_project'
import { defineEmits } from "vue"
import { useDictData } from '@/hooks/useDictOptions'
const props = defineProps({
project_id: Number,
task_allocation: Number
})
//
const queryParams = reactive({
project_name: '',
project_num: '',
task_allocation: props.task_allocation || ''
});
const { dictData } = useDictData('consultation_type,cost_consultation_industry_nature')
//
const emits = defineEmits(["customEvent"]);
//
const handleCurrentChange = (value: any) => {
emits("customEvent", value);
};
//
const { pager, getLists, resetParams, resetPage } = usePaging({
fetchFun: apiCostProjectLists,
params: queryParams,
});
getLists();
</script>

View File

@ -29,7 +29,7 @@
</el-card>
</div>
</template>
<script lang="ts" setup>
import { usePaging } from "@/hooks/usePaging"
import { useDictData } from "@/hooks/useDictOptions"

View File

@ -19,6 +19,8 @@ import { apiManageProjectLists} from '@/api/manage_project'
import { apiSupervisionDangerousEngineeringMonitoringLists, } from '@/api/supervision_dangerous_engineering_monitoring'
import { apiSupervisionMaterialEntryLists } from '@/api/supervision_material_entry'
import { apiSupervisionParticipatingUnitsQualificationsLists } from '@/api/supervision_participating_units_qualifications'
import { apiCostApprovedProjectLists } from '@/api/cost_approved_project'
import { apiCostProjectLists } from '@/api/cost_project'
export const supervision_project:Iconfig = {
@ -260,6 +262,68 @@ export const supervision_participating_units_qualifications:Iconfig = {
]
}
export const cost_approved_projects:Iconfig = {
fetchFn: apiCostApprovedProjectLists,
serchList: [
{
label: '合同名称',
value: "contract_name"
},
{
label:"合同编号",
value:'contract_num',
},
],
tableList: [
{ contract_num: "合同编号" },
{ contract_name: "合同名称" },
{ part_a: "甲方签约单位" },
{ part_b: "乙方签约单位" },
{ start_date: "合同计划开始日期" },
{ end_date: "合同计划结束日期" },
{ project_money: "工程总投资" },
{ business_nature_text: "业务性质" },
{ industry_nature: "行业性质" },
{ dept: "签订部门" },
{ fund_sources_text: "资金来源" },
{ project_director: "项目总监" },
{ regulators: "监管部门" },
]
}
export const cost_project:Iconfig = {
fetchFn: apiCostProjectLists,
serchList: [
{
label: '项目编号',
value: "project_num"
},
{
label:"项目名称",
value:'project_name',
},
],
tableList: [
{ project_name: "项目名称" },
{ address: "具体地址" },
{ starting: "计划开始日期" },
{ endtime: "计划结束日期" },
{ jhgq: "计划工期(天)" },
{ principal: "项目负责人" },
{ person: "项目相关人员" },
{ invest: "项目总投资(万元)" },
{ budget: "预算造价(万元)" },
{ cost: "送审造价(万元)" },
{ approval: "审定造价(万元)" },
{ aunit: "委托单位" },
{ acontactnum: "联系电话" },
{ date: "登记日期" },
{ generalize: "项目规模及概括" },
{ note: "注意事项" },
{ remark: "备注" },
]
}

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="120px" :rules="formRules">
<el-row>
<el-col :span="8">
@ -174,7 +175,8 @@
</el-col>
</el-row>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -191,6 +193,7 @@ import Popup from '@/components/popup/index.vue'
import { apiApplyWithSealAdd, apiApplyWithSealEdit, apiApplyWithSealDetail } from '@/api/apply_with_seal'
import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-form-item label="单据编号" prop="num">
<el-input v-model="formData.num" clearable placeholder="系统自动填写" disabled />
@ -45,7 +46,8 @@
placeholder="请输入多行文本框3" />
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent" :task_allocation="1"></cost_project>
<dialogTable :config="cost_project" :query="{ task_allocation: 1 }" @customEvent="customEvent">
</dialogTable>
</el-dialog>
</el-form>
</popup>
@ -56,7 +58,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiApprovalIssuanceAchievementDocumentsAdd, apiApprovalIssuanceAchievementDocumentsEdit, apiApprovalIssuanceAchievementDocumentsDetail } from '@/api/approval_issuance_achievement_documents'
import { timeFormat } from '@/utils/util'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -193,7 +193,7 @@
</el-form-item>
</el-col>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_approved_projects @customEvent="customEvent"></cost_approved_projects>
<dialogTable :config='cost_approved_projects' @customEvent="customEvent"></dialogTable>
</el-dialog>
<div v-if="showDialog1">
<personnelselector ref="personnel" @confirm="submituser" :type="persoleType">
@ -213,6 +213,7 @@ import type { PropType } from 'vue'
import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
import { useRoute } from 'vue-router'
import { cost_approved_projects } from "@/components/dialogTable/dialogTableConfig"
import {
apiCityList,
apiAreaList,

View File

@ -54,7 +54,6 @@
<dict-value :options="dictData.cost_consultation_industry_nature" :value="row.industry" />
</template>
</el-table-column>
<el-table-column label="所在省份" prop="province" show-overflow-tooltip />
<!-- <el-table-column label="所在市区" prop="city" show-overflow-tooltip />
<el-table-column label="具体地址" prop="address" show-overflow-tooltip /> -->
<el-table-column label="计划开始日期" prop="starting" show-overflow-tooltip />
@ -163,4 +162,3 @@ if (route.query.contractId) {
getLists()
</script>

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="60vw" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="60vw" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-row>
<el-col :span="8">
@ -72,8 +73,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="项目变更、签证资料" prop="xmbgqzzl_file" label-width="170px">
<annexUpload :annex="formData.xmbgqzzl_file" @handleAvatarSuccess="handleAvatarSuccess_four3"
@delFile="delFileFn3" />
<annexUpload :annex="formData.xmbgqzzl_file"
@handleAvatarSuccess="handleAvatarSuccess_four3" @delFile="delFileFn3" />
</el-form-item>
</el-col>
</el-row>
@ -81,8 +82,8 @@
<el-col :span="8">
<el-form-item label="送审概算、预算、结算资料" prop="ssgsysjs_file" label-width="200px">
<!-- <material-picker v-model="formData.ssgsysjs_file" /> -->
<annexUpload :annex="formData.ssgsysjs_file" @handleAvatarSuccess="handleAvatarSuccess_four4"
@delFile="delFileFn4" />
<annexUpload :annex="formData.ssgsysjs_file"
@handleAvatarSuccess="handleAvatarSuccess_four4" @delFile="delFileFn4" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -100,7 +101,8 @@
</el-col>
</el-row>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent" :task_allocation="1"></cost_project>
<dialogTable :config="cost_project" :query="{ task_allocation: 1 }" @customEvent="customEvent">
</dialogTable>
</el-dialog>
</el-form>
</popup>
@ -111,7 +113,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiDataReceptionAdd, apiDataReceptionEdit, } from '@/api/data_reception'
import { timeFormat } from '@/utils/util'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="140px" :rules="formRules">
<el-row>
<el-col :span="8">
@ -24,7 +25,8 @@
<el-col :span="8">
<el-form-item label="部门负责人" prop="bm_master">
<el-input v-model="formData.bm_master" clearable placeholder="请选择部门负责人" @click="userclick()" />
<el-input v-model="formData.bm_master" clearable placeholder="请选择部门负责人"
@click="userclick()" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -74,7 +76,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="本阶段完成进度(%)" prop="bjd_progress">
<el-input v-model="formData.bjd_progress" clearable placeholder="请输入本阶段完成进度(%)" type="number" />
<el-input v-model="formData.bjd_progress" clearable placeholder="请输入本阶段完成进度(%)"
type="number" />
</el-form-item>
</el-col>
</el-row>
@ -107,7 +110,8 @@
<el-input v-model="formData.fd_23" clearable placeholder="请输入文本输入框" />
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -122,7 +126,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiJianliProjectProgressReportAdd, apiJianliProjectProgressReportEdit, } from '@/api/jianli_project_progress_report'
import { timeFormat } from '@/utils/util'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -23,7 +23,8 @@
</el-date-picker>
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -118,7 +119,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiProjectChangeVisaAdd, apiProjectChangeVisaEdit, } from '@/api/project_change_visa'
import { timeFormat } from '@/utils/util'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -90,7 +90,8 @@
</el-col>
</el-row>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -194,6 +195,8 @@ import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiProjectCommissionAdd, apiProjectCommissionEdit, } from '@/api/project_commission'
import type { PropType } from 'vue'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,

View File

@ -57,7 +57,8 @@
@delFile="delFileFn" />
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
</el-form>
<div style="margin-bottom: 30px;">进度明细</div>
@ -203,7 +204,7 @@ import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiProjectProgressPaymentAdd, apiProjectProgressPaymentEdit, apiProjectProgressPaymentDetail } from '@/api/project_progress_payment'
import type { PropType } from 'vue'
import { number } from 'echarts/core'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-form-item label="单据编号" prop="num">
@ -23,7 +24,8 @@
<el-input v-model="formData.zx_type" clearable placeholder="请输入咨询类型" />
</el-form-item>
<el-form-item label="项目整改人" prop="zg_master">
<el-input v-model="formData.zg_master" clearable placeholder="点击选择" @click="userclick('zg_master')" />
<el-input v-model="formData.zg_master" clearable placeholder="点击选择"
@click="userclick('zg_master')" />
</el-form-item>
<el-form-item label="登记人" prop="dj_person">
<el-input v-model="formData.dj_person" clearable placeholder="请输入登记人" />
@ -47,7 +49,8 @@
@delFile="delFileFn" />
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -62,7 +65,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiProjectRectificationAdd, apiProjectRectificationEdit, } from '@/api/project_rectification'
import { timeFormat } from '@/utils/util'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -1,6 +1,7 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit"
@close="handleClose">
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-form-item label="单据编号" prop="num">
<el-input v-model="formData.num" clearable placeholder="系统自动生成" disabled />
@ -55,7 +56,8 @@
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -72,6 +74,8 @@ import Popup from '@/components/popup/index.vue'
import { apiProjectSurveySignatureAdd, apiProjectSurveySignatureEdit, } from '@/api/project_survey_signature'
import { timeFormat } from '@/utils/util'
import type { PropType } from 'vue'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,

View File

@ -26,7 +26,8 @@
@delFile="delFileFn" />
</el-form-item>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent" :task_allocation="1"></cost_project>
<dialogTable :config="cost_project" :query="{ task_allocation: 1 }" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<el-dialog v-model="showDialog1" title="选择任务" width="70%">
<task_type @customEvent="customEvent1"></task_type>
@ -192,6 +193,7 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiTaskAllocationAdd, apiTaskAllocationEdit, } from '@/api/task_allocation'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {

View File

@ -29,7 +29,7 @@
<div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column type="expand">
<!-- <el-table-column type="expand">
<template #default="props">
<div style="width: 95%;margin: 0 auto;">
<el-table :data="props.row.children">
@ -64,7 +64,7 @@
</el-table>
</div>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="单据编号" prop="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="项目编号" prop="projectInfo.project_num" show-overflow-tooltip />
@ -72,7 +72,8 @@
<el-table-column label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<template #default="{ row }">
<el-button v-perms="['task.task_allocation/edit']" type="primary" link @click="handleEdit(row)">
<el-button v-perms="['task.task_allocation/edit']" type="primary" link
@click="handleEdit(row)">
编辑
</el-button>
<el-button v-perms="['task.task_allocation/delete']" type="danger" link
@ -151,4 +152,3 @@ const handleDelete = async (id: number | any[]) => {
getLists()
</script>

View File

@ -257,7 +257,8 @@
</el-col>
</el-row>
<el-dialog v-model="showDialog" title="选择项目" width="70%">
<cost_project @customEvent="customEvent"></cost_project>
<dialogTable :config="cost_project" @customEvent="customEvent">
</dialogTable>
</el-dialog>
<div v-if="showDialog3">
<personnelselector ref="personnel" @confirm="submituser" type="1">
@ -273,8 +274,8 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiTaskHandlingThreeLevelReviewAdd, apiTaskHandlingThreeLevelReviewEdit, } from '@/api/task_handling_three_level_review'
import { timeFormat } from '@/utils/util'
import type { PropType } from 'vue'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import file from "@/components/material/file.vue";
defineProps({
dictData: {