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
b3fe2015
Commit
b3fe2015
authored
Sep 21, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
19e9d8a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
addProject.vue
...ui/src/views/project/projectList/component/addProject.vue
+3
-5
No files found.
dsk-operate-ui/src/views/project/projectList/component/addProject.vue
View file @
b3fe2015
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,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(1)"
:
ο
nkeyup=
"queryParam.projectName=queryParam.projectName.replace(/^\s+|\s+$/g,'')"
></el-input>
<el-input
type=
"text"
placeholder=
"请输入"
v-model=
"queryParam.projectName"
@
input=
"getProject(1)"
:
ο
nkeyup=
"queryParam.projectName=queryParam.projectName.replace(/^\s+|\s+$/g,'')"
></el-input>
<div
class=
"resultlist infinite-list"
v-infinite-scroll=
"load1"
v-if=
"proList.length>0"
id=
"box1"
>
<div
class=
"resultlist infinite-list"
v-infinite-scroll=
"load1"
v-if=
"proList.length>0"
id=
"box1"
>
<div
class=
"infinite-list-item"
v-for=
"(item,index) in proList"
@
click=
"selProject(item)"
><span
v-html=
"item.projectName"
></span></div>
<div
class=
"infinite-list-item"
v-for=
"(item,index) in proList"
@
click=
"selProject(item)"
><span
v-html=
"item.projectName"
:key=
"projectpage"
></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"
>
...
@@ -191,10 +191,8 @@
...
@@ -191,10 +191,8 @@
if
(
this
.
queryParam
.
projectName
.
length
>=
2
){
if
(
this
.
queryParam
.
projectName
.
length
>=
2
){
let
param
=
{
let
param
=
{
projectName
:
this
.
queryParam
.
projectName
,
projectName
:
this
.
queryParam
.
projectName
,
page
:{
pageSize
:
20
,
limit
:
20
,
pageNum
:
this
.
projectpage
page
:
this
.
projectpage
}
}
}
queryProject
(
JSON
.
stringify
(
param
)).
then
(
result
=>
{
queryProject
(
JSON
.
stringify
(
param
)).
then
(
result
=>
{
if
(
result
.
code
!=
200
){
if
(
result
.
code
!=
200
){
...
...
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