Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
f1f8a184
Commit
f1f8a184
authored
Oct 27, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
8c0f16e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
BidOpeningRecord.vue
.../views/project/projectList/component/BidOpeningRecord.vue
+18
-3
No files found.
dsk-operate-ui/src/views/project/projectList/component/BidOpeningRecord.vue
View file @
f1f8a184
...
...
@@ -4,7 +4,7 @@
<!-- 查询功能 -->
<div
class=
"search-form-container"
>
<div
class=
"left-form-title"
>
开标记录
</div>
<div
class=
"right-form-btn-box"
v-if=
"
projectDetail.isPrivate === 0
"
>
<div
class=
"right-form-btn-box"
v-if=
"
!notHasPermission
"
>
<div
class=
"search-btn add"
@
click
.
stop=
"addBidOpeningRecord"
>
<img
src=
"@/assets/images/project/project-bid-opening-record-add.svg"
alt=
""
>
<span>
新增
</span>
...
...
@@ -76,6 +76,10 @@ export default {
projectData
:
{
type
:
Object
,
default
:
()
=>
({})
},
isDisabled
:
{
type
:
Boolean
,
default
:
false
}
},
watch
:
{
...
...
@@ -83,6 +87,11 @@ export default {
handler
(
newValue
,
oldValue
)
{
this
.
projectDetail
=
newValue
;
}
},
isDisabled
:
{
handler
(
newValue
,
oldValue
)
{
this
.
notHasPermission
=
newValue
;
}
}
},
data
()
{
...
...
@@ -137,6 +146,8 @@ export default {
return
{
// 项目详情
projectDetail
:
this
.
projectData
,
// 是否拥有权限
notHasPermission
:
this
.
isDisabled
,
title
:
"新增开标记录"
,
// 加载状态
isLoadingData
:
false
,
...
...
@@ -215,9 +226,13 @@ export default {
methods
:
{
async
dataInit
()
{
try
{
if
(
this
.
projectDetail
.
isPrivate
===
0
)
{
this
.
needSelection
=
false
;
if
(
!
this
.
notHasPermission
)
{
this
.
formColum
.
push
({
label
:
'操作'
,
prop
:
'action-field-bar'
,
width
:
"151px"
,
fixed
:
"right"
});
}
else
{
this
.
needSelection
=
{
flag
:
false
,
width
:
"39px"
,
};
}
await
this
.
getTableList
();
}
catch
(
error
)
{
...
...
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