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
24f3b5b3
Commit
24f3b5b3
authored
Oct 27, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商机详情 开标记录列表权限区分
parent
2b59cf42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
11 deletions
+33
-11
BidOpeningRecord.vue
.../views/project/projectList/component/BidOpeningRecord.vue
+29
-8
detail.vue
dsk-operate-ui/src/views/project/projectList/detail.vue
+4
-3
No files found.
dsk-operate-ui/src/views/project/projectList/component/BidOpeningRecord.vue
View file @
24f3b5b3
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- 查询功能 -->
<!-- 查询功能 -->
<div
class=
"search-form-container"
>
<div
class=
"search-form-container"
>
<div
class=
"left-form-title"
>
开标记录
</div>
<div
class=
"left-form-title"
>
开标记录
</div>
<div
class=
"right-form-btn-box"
>
<div
class=
"right-form-btn-box"
v-if=
"projectDetail.isPrivate === 0"
>
<div
class=
"search-btn add"
@
click
.
stop=
"addBidOpeningRecord"
>
<div
class=
"search-btn add"
@
click
.
stop=
"addBidOpeningRecord"
>
<img
src=
"@/assets/images/project/project-bid-opening-record-add.svg"
alt=
""
>
<img
src=
"@/assets/images/project/project-bid-opening-record-add.svg"
alt=
""
>
<span>
新增
</span>
<span>
新增
</span>
...
@@ -68,6 +68,23 @@ import { getToken } from "@/utils/auth";
...
@@ -68,6 +68,23 @@ import { getToken } from "@/utils/auth";
export
default
{
export
default
{
components
:
{
skeleton
,
TableListCom
,
AddBidOpeningRecord
,
BatchImportCom
},
components
:
{
skeleton
,
TableListCom
,
AddBidOpeningRecord
,
BatchImportCom
},
name
:
"bidOpeningRecord"
,
name
:
"bidOpeningRecord"
,
props
:
{
detailId
:
{
type
:
Number
,
default
:
0
},
projectData
:
{
type
:
Object
,
default
:
()
=>
({})
}
},
watch
:
{
projectData
:
{
handler
(
newValue
,
oldValue
)
{
this
.
projectDetail
=
newValue
;
}
}
},
data
()
{
data
()
{
// 必填字符串长度验证
// 必填字符串长度验证
function
tendererStrLengthValidator
(
target
)
{
function
tendererStrLengthValidator
(
target
)
{
...
@@ -118,6 +135,8 @@ export default {
...
@@ -118,6 +135,8 @@ export default {
return
callback
();
return
callback
();
}
}
return
{
return
{
// 项目详情
projectDetail
:
this
.
projectData
,
title
:
"新增开标记录"
,
title
:
"新增开标记录"
,
// 加载状态
// 加载状态
isLoadingData
:
false
,
isLoadingData
:
false
,
...
@@ -128,7 +147,6 @@ export default {
...
@@ -128,7 +147,6 @@ export default {
{
label
:
'项目经理'
,
prop
:
'businessManager'
,
minWidth
:
"115px"
},
{
label
:
'项目经理'
,
prop
:
'businessManager'
,
minWidth
:
"115px"
},
{
label
:
'联系方式'
,
prop
:
'contact'
,
width
:
"133px"
,
},
{
label
:
'联系方式'
,
prop
:
'contact'
,
width
:
"133px"
,
},
{
label
:
'投标金额(万元)'
,
prop
:
'tenderAmount'
,
width
:
"168px"
,
slot
:
true
,
slotHeader
:
true
,
slotName
:
"tenderAmountHeader"
},
{
label
:
'投标金额(万元)'
,
prop
:
'tenderAmount'
,
width
:
"168px"
,
slot
:
true
,
slotHeader
:
true
,
slotName
:
"tenderAmountHeader"
},
{
label
:
'操作'
,
prop
:
'action-field-bar'
,
width
:
"151px"
,
fixed
:
"right"
},
],
],
needSelection
:
{
needSelection
:
{
flag
:
true
,
flag
:
true
,
...
@@ -140,14 +158,14 @@ export default {
...
@@ -140,14 +158,14 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
orderByColumn
:
"tenderAmount"
,
orderByColumn
:
"tenderAmount"
,
isAsc
:
"asc"
,
isAsc
:
"asc"
,
businessId
:
this
.
$route
.
query
.
id
,
businessId
:
this
.
detailId
?
this
.
detailId
:
parseInt
(
this
.
$route
.
query
.
id
)
,
},
},
tableDataTotal
:
0
,
tableDataTotal
:
0
,
tableDataList
:
[],
tableDataList
:
[],
// 表单验证规则
// 表单验证规则
// 表单数据
// 表单数据
formData
:
{
formData
:
{
businessId
:
this
.
$route
.
query
.
id
,
businessId
:
this
.
detailId
?
this
.
detailId
:
parseInt
(
this
.
$route
.
query
.
id
)
,
tenderer
:
""
,
tenderer
:
""
,
tendererNature
:
""
,
tendererNature
:
""
,
businessManager
:
""
,
businessManager
:
""
,
...
@@ -175,7 +193,7 @@ export default {
...
@@ -175,7 +193,7 @@ export default {
// 设置上传的请求头部
// 设置上传的请求头部
headers
:
{
Authorization
:
"Bearer "
+
getToken
()
},
headers
:
{
Authorization
:
"Bearer "
+
getToken
()
},
// 上传的地址
// 上传的地址
url
:
process
.
env
.
VUE_APP_BASE_API
+
`/business/open/tender/importData/
${
this
.
$route
.
query
.
id
}
`
,
url
:
process
.
env
.
VUE_APP_BASE_API
+
`/business/open/tender/importData/
${
this
.
detailId
?
this
.
detailId
:
parseInt
(
this
.
$route
.
query
.
id
)
}
`
,
// 展示上传结果
// 展示上传结果
showResult
:
false
,
showResult
:
false
,
// 模板下载地址
// 模板下载地址
...
@@ -197,6 +215,9 @@ export default {
...
@@ -197,6 +215,9 @@ export default {
methods
:
{
methods
:
{
async
dataInit
()
{
async
dataInit
()
{
try
{
try
{
if
(
this
.
projectDetail
.
isPrivate
===
0
)
{
this
.
formColum
.
push
({
label
:
'操作'
,
prop
:
'action-field-bar'
,
width
:
"151px"
,
fixed
:
"right"
});
}
await
this
.
getTableList
();
await
this
.
getTableList
();
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
@@ -279,7 +300,7 @@ export default {
...
@@ -279,7 +300,7 @@ export default {
try
{
try
{
await
this
.
$nextTick
();
await
this
.
$nextTick
();
// 清空复选框选项
// 清空复选框选项
this
.
$refs
[
"tableListComParent"
]
.
$refs
[
"tableRef"
].
clearSelection
()
;
this
.
$refs
[
"tableListComParent"
]
?.
$refs
[
"tableRef"
]
?
this
.
$refs
[
"tableListComParent"
].
$refs
[
"tableRef"
].
clearSelection
()
:
null
;
this
.
selectionArray
=
[];
this
.
selectionArray
=
[];
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
@@ -423,8 +444,8 @@ export default {
...
@@ -423,8 +444,8 @@ export default {
&
.import
{
&
.import
{
background
:
#fff
;
background
:
#fff
;
border
:
1px
solid
#0081
FF
;
border
:
1px
solid
#0081
ff
;
color
:
#0081
FF
;
color
:
#0081
ff
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
}
}
...
...
dsk-operate-ui/src/views/project/projectList/detail.vue
View file @
24f3b5b3
...
@@ -123,7 +123,8 @@
...
@@ -123,7 +123,8 @@
<!--联系人-->
<!--联系人-->
<lxr
v-if=
"thistag == 'lxr'"
:isDisabled=
'isDisabled'
:detailId=
"detailId"
listtype=
"project"
></lxr>
<lxr
v-if=
"thistag == 'lxr'"
:isDisabled=
'isDisabled'
:detailId=
"detailId"
listtype=
"project"
></lxr>
<!-- 开标记录 -->
<!-- 开标记录 -->
<bid-opening-record
v-if=
"thistag == 'bidOpeningRecord'"
></bid-opening-record>
<bid-opening-record
v-if=
"thistag == 'bidOpeningRecord'"
:isDisabled=
'isDisabled'
:detailId=
"detailId"
:projectData=
"ProjectData"
></bid-opening-record>
<!--跟进记录-->
<!--跟进记录-->
<gjjl
v-if=
"thistag == 'gjjl'"
:isDisabled=
'isDisabled'
types=
"gjjl"
:detailId=
"detailId"
></gjjl>
<gjjl
v-if=
"thistag == 'gjjl'"
:isDisabled=
'isDisabled'
types=
"gjjl"
:detailId=
"detailId"
></gjjl>
<!--工作待办-->
<!--工作待办-->
...
@@ -486,10 +487,10 @@ export default {
...
@@ -486,10 +487,10 @@ export default {
}
}
}
}
&
.i4
{
&
.i4
{
background
:
#
F3F4F
5
;
background
:
#
f3f4f
5
;
color
:
#999999
;
color
:
#999999
;
&
:hover
{
&
:hover
{
background
:
#
D9D9D
9
;
background
:
#
d9d9d
9
;
}
}
}
}
>
span
{
>
span
{
...
...
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