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
2255d2b3
Commit
2255d2b3
authored
Mar 01, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
a71b3705
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
30 deletions
+33
-30
index.js
dsk-operate-ui/src/api/projectCostLedger/index.js
+1
-1
index.vue
...rojectCostLedger/detail/components/MeasureItems/index.vue
+2
-1
index.vue
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
+30
-28
No files found.
dsk-operate-ui/src/api/projectCostLedger/index.js
View file @
2255d2b3
...
@@ -61,7 +61,7 @@ export function getProjectFileUploadDetail(projectId) {
...
@@ -61,7 +61,7 @@ export function getProjectFileUploadDetail(projectId) {
export
function
importData
(
projectId
)
{
export
function
importData
(
projectId
)
{
return
request
({
return
request
({
url
:
'/cbProjectRecord/importData/'
+
projectId
,
url
:
'/cbProjectRecord/importData/'
+
projectId
,
method
:
'
ge
t'
,
method
:
'
pos
t'
,
});
});
}
}
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/MeasureItems/index.vue
View file @
2255d2b3
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</div>
</div>
<!--单条-->
<!--单条-->
<div
class=
"table-item"
v-else
>
<div
class=
"table-item"
v-else
>
<el-table
element-loading-text=
"Loading"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
<el-table
element-loading-text=
"Loading"
ref=
"edittable"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored1"
:header-cell-class-name=
"tored1"
>
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored1"
:header-cell-class-name=
"tored1"
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
fixed=
"left"
></el-table-column>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
fixed=
"left"
></el-table-column>
<el-table-column
label=
"清单内容"
width=
"130"
prop=
"itemContent"
fixed=
"left"
>
<el-table-column
label=
"清单内容"
width=
"130"
prop=
"itemContent"
fixed=
"left"
>
...
@@ -448,6 +448,7 @@ export default {
...
@@ -448,6 +448,7 @@ export default {
inputnum
(){
inputnum
(){
this
.
cbVisible
=
false
this
.
cbVisible
=
false
this
.
isinput
=
true
this
.
isinput
=
true
this
.
$refs
.
edittable
.
bodyWrapper
.
scrollLeft
=
Number
(
2220
)
}
}
},
},
}
}
...
...
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
View file @
2255d2b3
...
@@ -295,11 +295,14 @@
...
@@ -295,11 +295,14 @@
methods
:{
methods
:{
importdata
(){
importdata
(){
this
.
visible
=
true
this
.
visible
=
true
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
let
valid
=
true
if
(
this
.
directExpense
&&
this
.
quantitySummary
&&
this
.
measureProject
&&
this
.
otherProject
&&
this
.
sceneExpense
&&
this
.
cbSummary
){
valid
=
true
}
else
{
valid
=
false
}
if
(
valid
)
{
if
(
valid
)
{
importData
(
this
.
formdata
.
id
).
then
(
res
=>
{
importData
(
this
.
formdata
.
id
).
then
(
res
=>
{})
})
this
.
issub
=
true
this
.
issub
=
true
this
.
directExpense
.
forEach
(
item
=>
{
this
.
directExpense
.
forEach
(
item
=>
{
item
.
fileParseStatus
=
1
item
.
fileParseStatus
=
1
...
@@ -322,7 +325,6 @@
...
@@ -322,7 +325,6 @@
}
else
{
}
else
{
this
.
issub
=
false
this
.
issub
=
false
}
}
});
},
},
goback
(){
goback
(){
this
.
visible
=
false
this
.
visible
=
false
...
...
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