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
c13e1d21
Commit
c13e1d21
authored
Jul 27, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
e41ae7a1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
17 deletions
+21
-17
index.vue
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
+2
-2
addProject.vue
...ui/src/views/project/projectList/component/addProject.vue
+19
-15
No files found.
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
View file @
c13e1d21
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<el-form-item
label=
"项目名称:"
prop=
"projectName"
label-width=
"120px"
>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
label-width=
"120px"
>
<el-input
v-model=
"addParam.projectName"
placeholder=
"请输入项目名称"
@
input=
"getCompany1"
></el-input>
<el-input
v-model=
"addParam.projectName"
placeholder=
"请输入项目名称"
@
input=
"getCompany1"
></el-input>
<div
class=
"resultlist"
v-if=
"showlist1"
>
<div
class=
"resultlist"
v-if=
"showlist1"
>
<div
v-for=
"(item,index) in companData1"
@
click=
"selCompany1(item)"
><span
v-html=
"item"
></span></div>
<div
v-for=
"(item,index) in companData1"
@
click=
"selCompany1(item)"
><span
v-html=
"item
.projectName
"
></span></div>
</div>
</div>
</el-form-item>
</el-form-item>
<div
class=
"erow"
>
<div
class=
"erow"
>
...
@@ -324,7 +324,7 @@ export default {
...
@@ -324,7 +324,7 @@ export default {
}
}
},
},
selCompany1
(
item
){
selCompany1
(
item
){
this
.
addParam
.
projectName
=
item
this
.
addParam
.
projectName
=
item
.
projectName
this
.
showlist1
=
false
this
.
showlist1
=
false
},
},
//获取业主单位
//获取业主单位
...
...
dsk-operate-ui/src/views/project/projectList/component/addProject.vue
View file @
c13e1d21
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-form-item
label=
"项目名称:"
class=
"row"
prop=
"projectName"
>
<el-form-item
label=
"项目名称:"
class=
"row"
prop=
"projectName"
>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"queryParam.projectName"
@
input=
"getProject"
></el-input>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"queryParam.projectName"
@
input=
"getProject"
></el-input>
<div
class=
"resultlist"
v-if=
"proList.length>0"
id=
"box1"
>
<div
class=
"resultlist"
v-if=
"proList.length>0"
id=
"box1"
>
<div
v-for=
"(item,index) in proList"
@
click=
"selProject(item)"
><span
v-html=
"item"
></span></div>
<div
v-for=
"(item,index) in proList"
@
click=
"selProject(item)"
><span
v-html=
"item
.projectName
"
></span></div>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"业主单位:"
class=
"row"
prop=
"ownerCompany"
>
<el-form-item
label=
"业主单位:"
class=
"row"
prop=
"ownerCompany"
>
...
@@ -153,18 +153,18 @@
...
@@ -153,18 +153,18 @@
},
},
//获取项目名称
//获取项目名称
getProject
(
value
){
getProject
(
value
){
//
if (value.length>=2){
if
(
value
.
length
>=
2
){
//
let param = {
let
param
=
{
//
projectName:value,
projectName
:
value
,
//
}
}
//
queryProject(JSON.stringify(param)).then(result=>{
queryProject
(
JSON
.
stringify
(
param
)).
then
(
result
=>
{
//
if(result.code != 200){
if
(
result
.
code
!=
200
){
//
this.proList = []
this
.
proList
=
[]
//
return false
return
false
//
}
}
//
this.proList = result.data
this
.
proList
=
result
.
data
//
})
})
//
}
}
},
},
selCompany
(
item
){
selCompany
(
item
){
this
.
queryParam
.
companyId
=
item
.
jskEid
this
.
queryParam
.
companyId
=
item
.
jskEid
...
@@ -172,8 +172,12 @@
...
@@ -172,8 +172,12 @@
this
.
showlist
=
false
this
.
showlist
=
false
},
},
selProject
(
item
){
selProject
(
item
){
// this.queryParam.companyId = item.jskEid
this
.
queryParam
.
projectStage
=
item
.
projectStage
// this.queryParam.ownerCompany = item.name.replace(/
<
[
^>
]
+>
/g, ''
)
this
.
queryParam
.
investmentAmount
=
item
.
investmentAmount
this
.
queryParam
.
projectType
=
item
.
projectType
this
.
queryParam
.
projectCategory
=
item
.
projectCategory
this
.
queryParam
.
status
=
item
.
status
this
.
queryParam
.
projectName
=
item
.
projectName
.
replace
(
/<
[^
>
]
+>/g
,
''
)
this
.
proList
=
[]
this
.
proList
=
[]
},
},
//添加客户
//添加客户
...
...
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