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
1f40740c
Commit
1f40740c
authored
Jul 05, 2024
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目库,报表中心的所有开工竣工详情字段完善
parent
a22c1823
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
14 deletions
+66
-14
annualDrawer.vue
src/views/project/annualDrawer/annualDrawer.vue
+3
-0
drawerData.ts
src/views/project/annualDrawer/drawerData.ts
+13
-3
drawerData.ts
src/views/project/investmentPlanDrawer/drawerData.ts
+14
-4
investmentPlanDrawer.vue
...ews/project/investmentPlanDrawer/investmentPlanDrawer.vue
+4
-0
detail.data.ts
src/views/statement/InvestmentPlanlDrawer/detail.data.ts
+14
-4
detailDrawer.vue
src/views/statement/InvestmentPlanlDrawer/detailDrawer.vue
+2
-0
detail.data.ts
src/views/statement/annualPlanDrawer/detail.data.ts
+13
-3
detailDrawer.vue
src/views/statement/annualPlanDrawer/detailDrawer.vue
+3
-0
No files found.
src/views/project/annualDrawer/annualDrawer.vue
View file @
1f40740c
...
...
@@ -35,6 +35,9 @@
resetFields
();
setDrawerProps
({
confirmLoading
:
false
});
handleDetail
(
data
.
record
.
id
);
// 将开工时间和竣工时间拼在一起显示
data
.
record
.
time
=
[
data
.
record
.
beginTime
,
data
.
record
.
endTime
];
//根据传过来的值做禁用处理
if
(
data
.
disabled
==
true
)
{
getTitle
.
value
=
'查看年度资金计划详情'
;
...
...
src/views/project/annualDrawer/drawerData.ts
View file @
1f40740c
...
...
@@ -154,11 +154,21 @@ export const annualFormSchema: FormSchema[] = [
},
},
{
field
:
'time'
,
component
:
'RangePicker'
,
label
:
'开竣工时间'
,
labelWidth
:
'140px'
,
field
:
'beginTime'
,
required
:
false
,
component
:
'Input'
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM-DD'
,
format
:
'YYYY-MM-DD'
,
},
colProps
:
{
offset
:
2
,
},
},
{
label
:
'当年底预计形象进度'
,
...
...
src/views/project/investmentPlanDrawer/drawerData.ts
View file @
1f40740c
...
...
@@ -132,11 +132,21 @@ export const columnsFormSchema: FormSchema[] = [
},
},
{
label
:
'开工竣工时间
'
,
labelWidth
:
'140px
'
,
field
:
'beginTime
'
,
field
:
'time
'
,
component
:
'RangePicker
'
,
label
:
'开竣工时间
'
,
required
:
false
,
component
:
'Input'
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM-DD'
,
format
:
'YYYY-MM-DD'
,
},
colProps
:
{
offset
:
2
,
},
},
{
...
...
src/views/project/investmentPlanDrawer/investmentPlanDrawer.vue
View file @
1f40740c
...
...
@@ -35,6 +35,9 @@
resetFields
();
setDrawerProps
({
confirmLoading
:
false
});
handleDetail
(
data
.
record
.
id
);
// 将开工时间和竣工时间拼在一起显示
data
.
record
.
time
=
[
data
.
record
.
beginTime
,
data
.
record
.
endTime
];
//根据传过来的值做禁用处理
if
(
data
.
disabled
==
true
)
{
getTitle
.
value
=
'查看投资计划详情'
;
...
...
@@ -45,6 +48,7 @@
});
}
});
/*查询详情显示*/
async
function
handleDetail
(
e
)
{
console
.
log
(
'调取成功了'
);
...
...
src/views/statement/InvestmentPlanlDrawer/detail.data.ts
View file @
1f40740c
...
...
@@ -132,11 +132,21 @@ export const formSchema: FormSchema[] = [
},
},
{
label
:
'开工竣工时间
'
,
labelWidth
:
'140px
'
,
field
:
'beginTime
'
,
field
:
'time
'
,
component
:
'RangePicker
'
,
label
:
'开竣工时间
'
,
required
:
false
,
component
:
'Input'
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM-DD'
,
format
:
'YYYY-MM-DD'
,
},
colProps
:
{
offset
:
2
,
},
},
{
...
...
src/views/statement/InvestmentPlanlDrawer/detailDrawer.vue
View file @
1f40740c
...
...
@@ -35,6 +35,8 @@
resetFields
();
setDrawerProps
({
confirmLoading
:
false
});
isUpdate
.
value
=
!!
data
?.
isUpdate
;
// 将开工时间和竣工时间拼在一起显示
data
.
record
.
time
=
[
data
.
record
.
beginTime
,
data
.
record
.
endTime
];
if
(
isUpdate
.
value
)
{
detailId
.
value
=
data
.
record
.
id
;
getTitle
.
value
=
'编辑项目'
;
...
...
src/views/statement/annualPlanDrawer/detail.data.ts
View file @
1f40740c
...
...
@@ -155,11 +155,21 @@ export const formSchema: FormSchema[] = [
},
},
{
field
:
'time'
,
component
:
'RangePicker'
,
label
:
'开竣工时间'
,
labelWidth
:
'140px'
,
field
:
'beginTime'
,
required
:
false
,
component
:
'Input'
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM-DD'
,
format
:
'YYYY-MM-DD'
,
},
colProps
:
{
offset
:
2
,
},
},
{
label
:
'当年底预计形象进度'
,
...
...
src/views/statement/annualPlanDrawer/detailDrawer.vue
View file @
1f40740c
...
...
@@ -35,6 +35,9 @@
resetFields
();
setDrawerProps
({
confirmLoading
:
false
});
isUpdate
.
value
=
!!
data
?.
isUpdate
;
// 将开工时间和竣工时间拼在一起显示
data
.
record
.
time
=
[
data
.
record
.
beginTime
,
data
.
record
.
endTime
];
if
(
isUpdate
.
value
)
{
detailId
.
value
=
data
.
record
.
id
;
getTitle
.
value
=
'编辑项目'
;
...
...
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