From abd060b5305ebc2cfd06655b25893daa22c3fe48 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 3 Jun 2024 15:53:21 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=AE=9E=E6=96=BD=E6=9F=A5=E7=9C=8B=E5=88=86=E6=91=8A?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../implementation/share.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/project-management/implementation/share.vue b/src/views/project-management/implementation/share.vue index 2fdac5c..c1e1d87 100644 --- a/src/views/project-management/implementation/share.vue +++ b/src/views/project-management/implementation/share.vue @@ -12,37 +12,36 @@ import fvSelect from '@/fvcomponents/fvSelect/index.vue' const searchConfig = reactive([ { - label: '需求名称', + label: '关键词', prop: 'requirementName', component: 'el-input', props: { - placeholder: '请输入需求名称查询', + placeholder: '请输入关键词查询', clearable: true, filterable: true, checkStrictly: true } }, { - label: '项目费用', + label: '项目人员', prop: 'projectCost', component: shallowRef(fvSelect), props: { - placeholder: '请选择项目费用查询', + placeholder: '请选择项目人员查询', clearable: true, filterable: true, checkStrictly: true, - cacheKey: 'project_cost' + cacheKey: '' } }, { - label: '起始时间', + label: '时间', prop: 'datetime', component: 'el-date-picker', props: { - placeholder: '请选择起始时间', + placeholder: '请选择时间', clearable: true, - }, - colProps: {} + } } ]) const tableIns = ref() @@ -52,6 +51,7 @@ const tableConfig = reactive({ prop: 'name', type: 'index', label: '序号', + align: 'center', width:'80' }, { @@ -100,7 +100,7 @@ const tableConfig = reactive({ align: 'center' } ], - api: '', + api: '/workflow/mosr/cost/allocation/usr', params: {}, }) From 63a6f9b85e571338d9d3e0cf19ed02e5418dcf8b Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 3 Jun 2024 16:48:00 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8F=B0=E8=B4=A6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../implementation/account.vue | 2 -- .../project-management/implementation/index.vue | 16 +++++++++++++++- .../implementation/uploadFee.vue | 10 ++++++++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue index e3bca82..65c724a 100644 --- a/src/views/project-management/implementation/account.vue +++ b/src/views/project-management/implementation/account.vue @@ -110,9 +110,7 @@ const tableConfig = reactive({ label: '研发阶段', align: 'center', currentRender: ({row, index}) => { - console.log('row.researchStage',row.researchStage) if (row.researchStage&&row.researchStage !== null&&row.researchStage!==undefined) { - console.log('ull',row.researchStage) return () } else { return '--' diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue index 386677f..806aec4 100644 --- a/src/views/project-management/implementation/index.vue +++ b/src/views/project-management/implementation/index.vue @@ -142,7 +142,7 @@ const tableConfig = reactive({ }, { prop: 'projectName', - label: '名称', + label: '项目名称', align: 'center' }, { @@ -181,6 +181,19 @@ const tableConfig = reactive({ } } }, + { + prop: 'researchStage', + label: '研发阶段', + align: 'center', + showOverflowTooltip: false, + currentRender: ({row, index}) => { + if (row.researchStage&&row.researchStage !== null&&row.researchStage!==undefined) { + return () + } else { + return '--' + } + } + }, { prop: 'projectImpact', label: '项目影响', @@ -321,6 +334,7 @@ const handleEdit = (row) => { }) } const handleStandingBook = (row) => { + localStorage.setItem('projectName', row.projectName) router.push({ name: 'Implementation/account', query: { diff --git a/src/views/project-management/implementation/uploadFee.vue b/src/views/project-management/implementation/uploadFee.vue index 3d65ea2..c742b75 100644 --- a/src/views/project-management/implementation/uploadFee.vue +++ b/src/views/project-management/implementation/uploadFee.vue @@ -1,6 +1,9 @@