Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
紫光云
web-project
Commits
97306de8
Commit
97306de8
authored
Jun 04, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(变更签证管理): 页面
parent
1f7440e7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
137 additions
and
1 deletion
+137
-1
changeSignature.ts
src/api/project/changeSignature.ts
+0
-0
changeSignature.ts
src/router/routes/modules/changeSignature.ts
+1
-1
changeSignatrue.data.ts
src/views/changeSignature/changeSignatrue.data.ts
+65
-0
index.vue
src/views/changeSignature/index.vue
+71
-0
No files found.
src/api/project/changeSignature.ts
0 → 100644
View file @
97306de8
src/router/routes/modules/changeSignature.ts
View file @
97306de8
...
...
@@ -17,7 +17,7 @@ const changeSignature: AppRouteModule = {
{
path
:
'index'
,
name
:
'changeSignature'
,
component
:
()
=>
import
(
'@/views/
dashboard/analysis
/index.vue'
),
component
:
()
=>
import
(
'@/views/
changeSignature
/index.vue'
),
meta
:
{
// affix: true,
title
:
'变更签证管理'
,
...
...
src/views/changeSignature/changeSignatrue.data.ts
0 → 100644
View file @
97306de8
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
export
const
columns
:
BasicColumn
[]
=
[
{
title
:
'填报周期'
,
dataIndex
:
'project_name'
,
width
:
200
,
},
{
title
:
'项目数量'
,
dataIndex
:
'implementing_entity'
,
width
:
180
,
},
{
title
:
'公司名称'
,
dataIndex
:
'construction_mode'
,
width
:
180
,
},
{
title
:
'最新更新人'
,
dataIndex
:
'project_type'
,
width
:
180
,
},
{
title
:
'最新更新时间'
,
dataIndex
:
'funding_source'
,
width
:
180
,
},
{
title
:
'审核状态'
,
dataIndex
:
'construction_purpose'
,
width
:
180
,
},
{
title
:
'审核人'
,
dataIndex
:
'国construction_scale'
,
width
:
180
,
},
{
title
:
'审核时间'
,
dataIndex
:
'国construction_scale'
,
width
:
180
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'ProjecName'
,
label
:
''
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'点击选择图标'
,
},
colProps
:
{
span
:
4
},
},
{
field
:
'ProjecName'
,
label
:
''
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'点击选择图标'
,
},
colProps
:
{
span
:
4
},
},
];
src/views/changeSignature/index.vue
0 → 100644
View file @
97306de8
<
template
>
<div>
<BasicTable
@
register=
"registerTable"
:title=
"'变更签证管理'"
>
<template
#
toolbar
>
<a-button
type=
"primary"
icon=
""
>
新建变更签证管理
</a-button>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
{
icon: 'clarity:note-edit-line',
onClick: handleEdit.bind(null, record),
},
{
icon: 'ant-design:delete-outlined',
color: 'error',
popConfirm: {
title: '是否确认删除',
placement: 'left',
confirm: handleDelete.bind(null, record),
},
},
]"
/>
</
template
>
</template>
</BasicTable>
</div>
</template>
<
script
setup
lang=
"ts"
>
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getListByPage
}
from
'@/api/project/biddingPlan'
;
import
{
columns
,
searchFormSchema
,
}
from
'@/views/changeSignature/changeSignatrue.data'
;
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
getListByPage
,
columns
,
formConfig
:
{
labelWidth
:
120
,
schemas
:
searchFormSchema
,
},
useSearchForm
:
true
,
showTableSetting
:
false
,
bordered
:
true
,
showIndexColumn
:
false
,
actionColumn
:
{
width
:
80
,
title
:
'操作'
,
dataIndex
:
'action'
,
// slots: { customRender: 'action' },
fixed
:
undefined
,
},
});
function
handleEdit
(
record
:
Recordable
)
{
openDrawer
(
true
,
{
record
,
isUpdate
:
true
,
});
}
function
handleDelete
(
record
:
Recordable
)
{
console
.
log
(
record
);
}
</
script
>
<
style
scoped
lang=
"less"
></
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment