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
caac205d
Commit
caac205d
authored
Nov 20, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
0ef1f2fc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
9 deletions
+33
-9
index.vue
dsk-operate-ui/src/components/TableListCom/index.vue
+12
-3
HeadFormNew.vue
...ate-ui/src/views/detail/party-a/component/HeadFormNew.vue
+1
-1
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+0
-1
regionalEconomies.vue
...iews/detail/party-a/urbanLnvestment/regionalEconomies.vue
+1
-1
BidOpeningRecord.vue
.../views/project/projectList/component/BidOpeningRecord.vue
+19
-3
No files found.
dsk-operate-ui/src/components/TableListCom/index.vue
View file @
caac205d
...
...
@@ -3,9 +3,9 @@
<div
class=
"table-item"
>
<el-table
v-if=
"tableDataTotal>0"
class=
"fixed-table"
:class=
"headerFixed ? 'headerFixed':''"
v-loading=
"tableLoading"
:data=
"tableData"
element-loading-text=
"Loading"
ref=
"tableRef"
border
fit
highlight-current-row
v-sticky-header
.
always=
"stickyHeader"
:default-sort=
"defaultSort?defaultSort:
{}" @sort-change="sortChange" @selection-change="selectionChange">
:default-sort=
"defaultSort?defaultSort:
{}" @sort-change="sortChange" @selection-change="selectionChange"
:cell-class-name="cellClassName" :cell-style="cellStyle"
>
<el-table-column
type=
"selection"
:width=
"needSelection.width ? needSelection.width : '38px'"
v-if=
"needSelection.flag"
:fixed=
"needSelection.fixed"
:align=
"needSelection.align"
>
:fixed=
"needSelection.fixed"
:align=
"needSelection.align"
:show-overflow-tooltip=
"needSelection.showOverflowTooltip"
>
</el-table-column>
<el-table-column
v-if=
"isIndex"
label=
"序号"
:width=
"flexWidth(tableData)"
align=
"left"
:fixed=
"indexFixed"
:resizable=
"false"
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
...
...
@@ -69,9 +69,18 @@ export default {
flag
:
false
,
width
:
"39px"
,
fixed
:
false
,
align
:
"left"
align
:
"left"
,
showOverflowTooltip
:
false
})
},
cellClassName
:
{
type
:
Function
,
default
:
()
=>
()
=>
{
}
},
cellStyle
:
{
type
:
Function
,
default
:
()
=>
()
=>
{
}
},
// 吸顶偏移量
stickyHeader
:
{
type
:
Object
,
...
...
dsk-operate-ui/src/views/detail/party-a/component/HeadFormNew.vue
View file @
caac205d
...
...
@@ -27,7 +27,7 @@
<transition
name=
"fade-position"
appear
mode=
"out-in"
>
<span
v-if=
"!form.hover && !form.value"
>
搜索
</span>
<el-input
v-model=
"form.value"
:placeholder=
"form.placeholder ? form.placeholder : '输入关键词查询'"
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
=
"searchFocus($event,form)"
@
blur
=
"searchBlur($event,form)"
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
.
stop=
"searchFocus($event,form)"
@
blur
.
stop
=
"searchBlur($event,form)"
@
input=
"value => searchInput(value,form)"
v-else
@
keydown
.
native
.
enter=
"changeSelect"
>
<template
slot=
"suffix"
>
<transition
mode=
"out-in"
appear
name=
"fade"
>
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
caac205d
...
...
@@ -369,7 +369,6 @@ export default {
if
(
this
.
sideRoute1
[
i
].
children
)
{
for
(
var
j
in
this
.
sideRoute1
[
i
].
children
)
{
if
(
item
.
title
==
this
.
sideRoute1
[
i
].
children
[
j
].
title
)
{
console
.
log
(
this
.
sideRoute1
[
i
].
children
[
j
]);
obj
.
pathName
=
this
.
sideRoute1
[
i
].
children
[
j
].
pathName
;
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/regionalEconomies.vue
View file @
caac205d
...
...
@@ -285,7 +285,7 @@ export default {
.el-table__body
{
tr
:first-child
{
position
:
sticky
;
top
:
56
px
;
top
:
0
px
;
z-index
:
9
;
}
}
...
...
dsk-operate-ui/src/views/project/projectList/component/BidOpeningRecord.vue
View file @
caac205d
...
...
@@ -24,8 +24,8 @@
<!-- 列表 -->
<div
class=
"table-data-list-container"
v-else-if=
"!isLoadingData || !tableDataList.length"
>
<table-list-com
:formColum=
"formColum"
:queryParams=
"queryParams"
:tableData=
"tableDataList"
:tableDataTotal=
"tableDataTotal"
:needSelection=
"needSelection"
:
stickyHeader=
"
{offsetTop:'48px',offsetBottom : '10px'}" @selectionChange="selectionChange
"
@handle-current-change="pageCurrentChange" ref="tableListComParent">
:needSelection=
"needSelection"
:
cellClassName=
"cellClassName"
:stickyHeader=
"
{offsetTop:'48px',offsetBottom : '10px'}
"
@
selectionChange="selectionChange" @
handle-current-change="pageCurrentChange" ref="tableListComParent">
<template
slot=
"tenderAmountHeader"
>
<div
class=
"tender-amount-header"
>
<span>
投标金额(万元)
</span>
...
...
@@ -161,7 +161,8 @@ export default {
],
needSelection
:
{
flag
:
true
,
width
:
"39px"
,
width
:
"46px"
,
align
:
"center"
},
// 查询参数
queryParams
:
{
...
...
@@ -224,6 +225,12 @@ export default {
},
//方法集
methods
:
{
cellClassName
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
==
0
)
{
return
"need-selection-column"
;
}
return
""
;
},
async
dataInit
()
{
try
{
if
(
!
this
.
notHasPermission
)
{
...
...
@@ -517,6 +524,15 @@ export default {
}
}
}
::v-deep
.el-table
{
.need-selection-column
{
.cell
{
white-space
:
nowrap
;
overflow
:
visible
;
}
}
}
}
}
}
...
...
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