From a4f94099af599a646e3acfeb3ec3133fdccac57c Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Thu, 1 Aug 2024 17:00:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E8=A1=A8=E6=A0=BC=E5=89=8D=E6=96=B9?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SearchFilesByTag.vue | 7 +++++ src/fvcomponents/fvTable/index.vue | 1 - src/views/expense-management/share/index.vue | 7 +++++ src/views/home/index.vue | 14 +++++++++ src/views/plan/index.vue | 7 +++++ .../project-demand/requirement/index.vue | 30 ++++++++++++------- src/views/project-demand/summary/index.vue | 7 +++++ src/views/project-management/filing/index.vue | 13 ++++++-- .../implementation/index.vue | 13 ++++++-- .../project-management/initiation/index.vue | 14 +++++++-- src/views/special-fund/index.vue | 7 +++++ 11 files changed, 100 insertions(+), 20 deletions(-) diff --git a/src/components/SearchFilesByTag.vue b/src/components/SearchFilesByTag.vue index 3a76224..06b96b1 100644 --- a/src/components/SearchFilesByTag.vue +++ b/src/components/SearchFilesByTag.vue @@ -62,6 +62,13 @@ const props = defineProps({ const tagsOption = ref([]) const tableConfig = reactive({ columns: [ + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, + }, { prop: 'originalFileName', label: '附件名称', diff --git a/src/fvcomponents/fvTable/index.vue b/src/fvcomponents/fvTable/index.vue index db4d586..f5cd626 100644 --- a/src/fvcomponents/fvTable/index.vue +++ b/src/fvcomponents/fvTable/index.vue @@ -59,7 +59,6 @@ v-loading="localData.loading" :row-key="tableConfig?.rowKey || 'id'" v-bind="$attrs" - table-layout="auto" :show-overflow-tooltip="true" highlight-current-row @selection-change="selectionChange" diff --git a/src/views/expense-management/share/index.vue b/src/views/expense-management/share/index.vue index 3120035..c55a2ac 100644 --- a/src/views/expense-management/share/index.vue +++ b/src/views/expense-management/share/index.vue @@ -96,6 +96,13 @@ const searchConfig = reactive([ const tableIns = ref() const tableConfig = reactive({ columns: [ + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85 + }, { prop: 'shareName', label: '分摊名称', diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 6b49c4e..9fc2504 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -123,6 +123,13 @@ const auths = { } const tableConfigBacklog = reactive({ columns: [ + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, + }, { prop: 'targetName', label: '流程名称', @@ -181,6 +188,13 @@ const tableConfigReport = reactive({ // type: 'selection', // prop: 'selection' // }, + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, + }, { prop: 'requirementName', label: '征集名称', diff --git a/src/views/plan/index.vue b/src/views/plan/index.vue index 4a8ad44..0eb2f22 100644 --- a/src/views/plan/index.vue +++ b/src/views/plan/index.vue @@ -28,6 +28,13 @@ const tableConfig = reactive({ // type: 'selection', // prop: 'selection' // }, + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85 + }, { prop: 'annualPlanName', label: '年度计划名称', diff --git a/src/views/project-demand/requirement/index.vue b/src/views/project-demand/requirement/index.vue index 15b0874..104d81a 100644 --- a/src/views/project-demand/requirement/index.vue +++ b/src/views/project-demand/requirement/index.vue @@ -113,43 +113,53 @@ const tableConfig = reactive({ // type: 'selection', // prop: 'selection' // }, + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, + }, { prop: 'requirementName', label: '征集名称', - align: 'center' + align: 'center', }, { prop: 'collectType', label: '征集类型', - align: 'center' + align: 'center', + // width: 200 }, { prop: 'companyName', label: '征集公司', align: 'center', - // currentRender: ({row, index}) => ( - //
{row.companyName}
) + // width: 200 }, { prop: 'approveName', label: '审批人', - align: 'center' + align: 'center', + // width: 100, }, { prop: 'deadline', - label: '截止时间', - align: 'center' + label: '需求上报截止时间', + align: 'center', + // width: 150, }, { prop: 'taskNode', label: '当前节点', - align: 'center' + align: 'center', + // width: 300 }, { prop: 'state', label: '状态', align: 'center', - width: 200, + // width: 100, showOverflowTooltip: false, currentRender: ({row, index}) => () }, @@ -157,7 +167,7 @@ const tableConfig = reactive({ prop: 'oper', label: '操作', align: 'center', - fixed: 'right', + width: 150, showOverflowTooltip: false, currentRender: ({row, index}) => { let btn = [] diff --git a/src/views/project-demand/summary/index.vue b/src/views/project-demand/summary/index.vue index 2015f81..d1cda14 100644 --- a/src/views/project-demand/summary/index.vue +++ b/src/views/project-demand/summary/index.vue @@ -157,6 +157,13 @@ const tableConfig = reactive({ return row.state === '4'; } }, + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:60, + }, { prop: 'requirementName', label: '征集名称', diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue index 31ff380..8fc20f0 100644 --- a/src/views/project-management/filing/index.vue +++ b/src/views/project-management/filing/index.vue @@ -138,15 +138,22 @@ const tableIns = ref() const tableConfig = reactive({ columns: [ { - prop: 'projectName', - label: '项目名称', - align: 'center' + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, }, { prop: 'affiliatedCompany', label: '征集公司', align: 'center' }, + { + prop: 'projectName', + label: '项目名称', + align: 'center' + }, { prop: 'approveName', label: '审批人', diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue index 62e83b8..403344e 100644 --- a/src/views/project-management/implementation/index.vue +++ b/src/views/project-management/implementation/index.vue @@ -141,15 +141,22 @@ const tableConfig = reactive({ // prop: 'selection' // }, { - prop: 'projectName', - label: '项目名称', - align: 'center' + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, }, { prop: 'affiliatedCompany', label: '征集公司', align: 'center' }, + { + prop: 'projectName', + label: '项目名称', + align: 'center' + }, { prop: 'approveName', label: '审批人', diff --git a/src/views/project-management/initiation/index.vue b/src/views/project-management/initiation/index.vue index 74e4031..4b5634a 100644 --- a/src/views/project-management/initiation/index.vue +++ b/src/views/project-management/initiation/index.vue @@ -135,15 +135,23 @@ const tableIns = ref() const tableConfig = reactive({ columns: [ { - prop: 'projectName', - label: '项目名称', - align: 'center' + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, }, { prop: 'affiliatedCompany', label: '征集公司', align: 'center' }, + { + prop: 'projectName', + label: '项目名称', + align: 'center' + }, + { prop: 'approveName', label: '审批人', diff --git a/src/views/special-fund/index.vue b/src/views/special-fund/index.vue index 20d2d55..0565a62 100644 --- a/src/views/special-fund/index.vue +++ b/src/views/special-fund/index.vue @@ -64,6 +64,13 @@ const searchConfig = reactive([ ]) const tableConfig = reactive({ columns: [ + { + prop: 'index', + type: 'index', + label: '序号', + align: 'center', + width:85, + }, { prop: 'name', label: '专项资金名称',