Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
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
fulixin
dsk-operate-sys-cscec
Commits
903cee35
Commit
903cee35
authored
Feb 27, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
0a8d6205
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
3 deletions
+38
-3
index.vue
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
+38
-3
No files found.
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
View file @
903cee35
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
</div>
</div>
<div
class=
"upload-project"
>
<div
class=
"upload-project"
>
<el-form
:model=
"uploaddata"
label-width=
"200px"
:rules=
"uprules"
label-position=
"right"
:inline=
"tru
e"
>
<el-form
:model=
"uploaddata"
label-width=
"200px"
:rules=
"uprules"
ref=
"ruleForm"
label-position=
"right"
:inline=
"true"
:show-message=
"fals
e"
>
<el-row>
<el-row>
<el-form-item
label=
"直接费成本"
prop=
"zjfcb"
>
<el-form-item
label=
"直接费成本"
prop=
"zjfcb"
>
<div
class=
"filelist"
>
<div
class=
"filelist"
>
...
@@ -220,11 +220,23 @@
...
@@ -220,11 +220,23 @@
</div>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
<div
class=
"pro-btns"
>
<div
class=
"pro-btns"
>
<el-button
type=
"primary"
size=
"small"
>
导入数据
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"importdata"
>
导入数据
</el-button>
<el-button
size=
"small"
@
click=
"goback"
>
返回
</el-button>
<el-button
size=
"small"
@
click=
"goback"
>
返回
</el-button>
</div>
</div>
</div>
</div>
<el-dialog
title=
"提示"
:visible
.
sync=
"visible"
width=
"480px"
custom-class=
'dialog-supplier'
>
<el-divider></el-divider>
<div
class=
"protypes"
>
<div
class=
"ck"
v-if=
"issub"
>
解析成本数据过程需3~10分钟,稍后可到项目列表查看导入结果。
</div>
<div
class=
"ck"
v-else
>
请将各阶段成本数据全部上传后,再次点击导入数据按钮。
</div>
</div>
<el-divider></el-divider>
<div
style=
"padding: 16px 20px 24px;text-align: right"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"goback"
v-if=
"issub"
>
返回项目列表
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"visible = false"
v-else
>
我知道了
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -269,16 +281,28 @@
...
@@ -269,16 +281,28 @@
sceneExpense
:[],
sceneExpense
:[],
cbSummary
:[],
cbSummary
:[],
uploadtype
:
0
,
//上传的版块类型
uploadtype
:
0
,
//上传的版块类型
visible
:
false
,
issub
:
false
,
//已填完数据可以开始解析
}
}
},
},
created
()
{
created
()
{
this
.
formdata
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
uploadData
))
this
.
formdata
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
uploadData
))
this
.
formdata
.
cbStage
=
this
.
formdata
.
cbStage
.
toString
()
this
.
formdata
.
cbStage
=
this
.
formdata
.
cbStage
.
toString
()
this
.
getDetail
()
this
.
getDetail
()
console
.
log
(
this
.
uploadData
)
},
},
methods
:{
methods
:{
importdata
(){
this
.
visible
=
true
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
issub
=
true
}
else
{
this
.
issub
=
false
}
});
},
goback
(){
goback
(){
this
.
visible
=
false
this
.
$emit
(
'closeupload'
)
this
.
$emit
(
'closeupload'
)
},
},
getDetail
(){
getDetail
(){
...
@@ -387,6 +411,17 @@
...
@@ -387,6 +411,17 @@
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.protypes
{
padding
:
24px
20px
;
height
:
120px
;
.ck
{
margin-bottom
:
12px
;
height
:
22px
;
font-size
:
14px
;
color
:
rgba
(
35
,
35
,
35
,
0
.8
);
line-height
:
22px
;
}
}
.title-small
{
.title-small
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
24px
;
line-height
:
24px
;
...
...
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