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: '专项资金名称',