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
a7003755
Commit
a7003755
authored
Aug 08, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
082ec7b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
dsk-operate-ui/src/views/custom/customList/index.vue
+4
-3
No files found.
dsk-operate-ui/src/views/custom/customList/index.vue
View file @
a7003755
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
</div>
</div>
<el-form
class=
"popform j"
:model=
"queryParam"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"130px"
>
<el-form
class=
"popform j"
:model=
"queryParam"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"130px"
>
<el-form-item
label=
"企业名称:"
class=
"row"
prop=
"companyName"
>
<el-form-item
label=
"企业名称:"
class=
"row"
prop=
"companyName"
>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"queryParam.companyName"
@
input=
"getCompany"
></el-input>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"queryParam.companyName"
@
input=
"getCompany
(1)
"
></el-input>
<div
class=
"resultlist infinite-list"
v-if=
"showlist"
id=
"box"
v-infinite-scroll=
"load"
style=
"overflow:auto"
>
<div
class=
"resultlist infinite-list"
v-if=
"showlist"
id=
"box"
v-infinite-scroll=
"load"
style=
"overflow:auto"
>
<div
class=
"infinite-list-item"
v-for=
"(item,index) in companData"
@
click=
"selCompany(item)"
><span
v-html=
"item.name"
:key=
"companypage"
></span></div>
<div
class=
"infinite-list-item"
v-for=
"(item,index) in companData"
@
click=
"selCompany(item)"
><span
v-html=
"item.name"
:key=
"companypage"
></span></div>
</div>
</div>
...
@@ -431,8 +431,9 @@
...
@@ -431,8 +431,9 @@
//获取建设库客户
//获取建设库客户
getCompany
(
value
){
getCompany
(
value
){
this
.
queryParam
.
companyId
=
null
this
.
queryParam
.
companyId
=
null
if
(
value
){
if
(
value
==
1
){
this
.
companData
=
[]
this
.
companData
=
[]
this
.
companypage
=
1
}
}
if
(
this
.
queryParam
.
companyName
.
length
>=
2
){
if
(
this
.
queryParam
.
companyName
.
length
>=
2
){
let
param
=
{
let
param
=
{
...
@@ -469,7 +470,7 @@
...
@@ -469,7 +470,7 @@
},
},
load
(){
load
(){
if
(
this
.
isscroll
){
if
(
this
.
isscroll
){
this
.
getCompany
()
this
.
getCompany
(
2
)
}
}
},
},
selCompany
(
item
){
selCompany
(
item
){
...
...
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