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
a94bd3f2
Commit
a94bd3f2
authored
Jun 06, 2023
by
MyName
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目管理
parent
fbfb6af1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
92 additions
and
38 deletions
+92
-38
xgqy.vue
...erate-ui/src/views/project/projectList/component/xgqy.vue
+91
-37
xmsl.vue
...erate-ui/src/views/project/projectList/component/xmsl.vue
+1
-1
No files found.
dsk-operate-ui/src/views/project/projectList/component/xgqy.vue
View file @
a94bd3f2
...
...
@@ -5,19 +5,19 @@
<div
class=
"cardtitles"
>
相关企业
</div>
<div
class=
"searchbtns"
>
<el-select
class=
"select"
placeholder=
"企业类型"
>
<el-select
placeholder=
"请选择"
>
<el-select
placeholder=
"请选择"
v-model=
"searchParam.companyType"
>
<el-option
v-for=
"(item,index) in companytype"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
<div
class=
"searchInput"
>
<el-input
type=
"text"
placeholder=
"输入关键词查询"
></el-input>
<div
class=
"btn"
>
搜索
</div>
<el-input
type=
"text"
placeholder=
"输入关键词查询"
v-model=
"searchParam.companyName"
></el-input>
<div
class=
"btn"
@
click=
"handleCurrentChange(1)"
>
搜索
</div>
</div>
<div
class=
"btn btn_primary h32 b3"
@
click=
"opennew"
><div
class=
"img img1"
></div>
添加相关企业
</div>
</div>
<div
class=
"document"
>
<el-table
:data=
"tableData"
:data=
"tableData
.rows
"
style=
"width: 100%"
>
<template
slot=
"empty"
>
...
...
@@ -29,26 +29,26 @@
</div>
</
template
>
<el-table-column
prop=
"
dat
e"
prop=
"
companyNam
e"
label=
"企业名称"
>
<
template
slot-scope=
"scope"
>
<div
class=
"wordprimary"
>
集团投标常用资料
</div>
<div
class=
"wordprimary"
>
{{
scope
.
row
.
companyName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
name
"
label=
"对接深度"
prop=
"
depth
"
label=
"对接深度
/竞争力度
"
>
</el-table-column>
<el-table-column
prop=
"
nam
e"
prop=
"
companyRol
e"
label=
"企业角色"
sortable
width=
""
>
</el-table-column>
<el-table-column
prop=
"
name
"
prop=
"
responsiblePerson
"
label=
"负责人"
width=
""
>
</el-table-column>
...
...
@@ -59,21 +59,21 @@
width=
""
>
<
template
slot-scope=
"scope"
>
<div
class=
"hoverbtn"
>
<div
class=
"sc"
>
删除
</div>
<div
class=
"sc"
@
click=
"delQY(scope.row.id)"
>
删除
</div>
</div>
</
template
>
</el-table-column>
</el-table>
<div
class=
"tables"
>
<div
class=
"tables"
v-if=
"tableData.total > searchParam.pageSize"
>
<div
class=
"bottems"
>
<el-pagination
background
:page-size=
"
20
"
:current-page=
"
1
"
:page-size=
"
searchParam.pageSize
"
:current-page=
"
searchParam.pageNum
"
@
current-change=
"handleCurrentChange"
layout=
"prev, pager, next"
:total=
"
1000
"
>
:total=
"
tableData.total
"
>
</el-pagination>
</div>
</div>
...
...
@@ -87,12 +87,12 @@
<span>
新建相关企业
</span>
</div>
<div
class=
"types"
>
<div
v-for=
"(item,index) in companytype"
:class=
"{'on':types==item.dictValue}"
@
click=
"t
ypes=item.dictLabel
"
><i></i>
{{item.dictLabel}}
</div>
<div
v-for=
"(item,index) in companytype"
:class=
"{'on':types==item.dictValue}"
@
click=
"t
otype(item.dictValue)
"
><i></i>
{{item.dictLabel}}
</div>
</div>
<div
class=
"popform"
>
<div
class=
"popbot"
style=
"padding-right: 0"
>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"
hzhbVisible=tru
e"
>
下一步
</div>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel
(0)
"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"
gettyp
e"
>
下一步
</div>
</div>
</div>
</el-dialog>
...
...
@@ -105,29 +105,23 @@
<span>
新建相关企业-{{types}}
</span>
</div>
<el-form
class=
"popform i"
label-width=
"85px"
:rules=
"rules"
ref=
"ruleForm"
>
<el-form-item
label=
"企业名称:"
prop=
"projectName"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[0].dictValue"
label=
"对接深度:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[1].dictValue"
label=
"合作阶段:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-form-item
label=
"企业名称:"
prop=
"companyName"
class=
"row"
>
<el-input
type=
"text"
v-model=
"queryParam.companyName"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
v-if=
"types == companytype[2].dictValue"
label=
"竞争力度:
"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-form-item
:label=
"typename
"
class=
"row"
>
<el-input
type=
"text"
v-model=
"queryParam.depth"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"企业角色:"
class=
"row"
>
<el-select
placeholder=
"请选择"
>
<el-select
placeholder=
"请选择"
v-model=
"queryParam.companyRole"
>
<el-option
v-for=
"(item,index) in companyrole"
:key=
"index"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"负责人:"
class=
"row"
>
<el-input
type=
"text"
placeholder=
"请输入"
></el-input>
<el-input
type=
"text"
v-model=
"queryParam.responsiblePerson"
placeholder=
"请输入"
></el-input>
</el-form-item>
<div
class=
"popbot"
>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel"
>
返回
</div>
<div
class=
"btn btn_primary h32"
>
添加
</div>
<div
class=
"btn btn_cancel h32"
@
click=
"cancel
(1)
"
>
返回
</div>
<div
class=
"btn btn_primary h32"
@
click=
"addqy"
>
添加
</div>
</div>
</el-form>
</el-dialog>
...
...
@@ -169,12 +163,29 @@
address
:
'上海市普陀区金沙江路 1516 弄'
}
],
typelist
:[
'对接深度:'
,
'合作阶段:'
,
'竞争力度:'
],
typename
:
""
,
rules
:{
project
Name
:[{
required
:
true
,
message
:
'请输入非空格字符!'
,
trigger
:
'blur'
},],
company
Name
:[{
required
:
true
,
message
:
'请输入非空格字符!'
,
trigger
:
'blur'
},],
},
companytype
:[],
companyrole
:[],
queryParam
:{
businessId
:
this
.
$route
.
query
.
id
,
companyId
:
''
,
companyName
:
''
,
companyRole
:
''
,
companyType
:
''
,
responsiblePerson
:
''
,
depth
:
''
,
},
searchParam
:{
pageSize
:
20
,
pageNum
:
1
,
businessId
:
this
.
$route
.
query
.
id
,
companyType
:
""
,
companyName
:
''
,
},
}
},
created
(){
...
...
@@ -189,16 +200,59 @@
})
},
methods
:{
delQY
(
id
){
},
addqy
(){
addXGQY
(
this
.
queryParam
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
$message
.
success
(
'添加成功!'
)
this
.
getlist
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
},
getlist
(){
getXGQY
(
this
.
searchParam
).
then
(
result
=>
{
this
.
tableData
=
result
.
data
})
},
//翻页
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
searchParam
.
pageNum
=
val
this
.
getlist
()
},
cancel
(){
cancel
(
type
){
if
(
type
==
0
)
this
.
dialogVisible
=
false
else
this
.
hzhbVisible
=
false
},
totype
(
value
){
this
.
types
=
value
},
gettype
(){
this
.
queryParam
.
companyType
=
this
.
types
this
.
companytype
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
dictValue
==
this
.
types
){
this
.
typename
=
this
.
typelist
[
index
]
}
})
this
.
hzhbVisible
=
true
},
//打开新建窗口
opennew
(){
this
.
dialogVisible
=
true
this
.
queryParam
=
{
businessId
:
this
.
$route
.
query
.
id
,
companyId
:
''
,
companyName
:
''
,
companyRole
:
''
,
companyType
:
''
,
responsiblePerson
:
''
,
depth
:
''
,
}
},
}
}
...
...
dsk-operate-ui/src/views/project/projectList/component/xmsl.vue
View file @
a94bd3f2
...
...
@@ -26,7 +26,7 @@
{{
xmjd
}}
<i
class=
"el-icon-caret-bottom"
></i>
</span>
<el-select
v-model=
"xmjd"
class=
"select-multiple"
placeholder=
"请选择"
@
c
lick
=
"editXMSL(
{projectStage:xmjd})">
<el-select
v-model=
"xmjd"
class=
"select-multiple"
placeholder=
"请选择"
@
c
hange
=
"editXMSL(
{projectStage:xmjd})">
<el-option
v-for=
"(item,index) in projectStage"
:key=
"index"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</div>
...
...
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