Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
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
fukai
vue-gjjs
Commits
ba246036
Commit
ba246036
authored
Feb 01, 2023
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infpts更新
parent
18c7a8e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
pts.js
src/service/test/pts.js
+3
-0
Infsea.vue
src/views/Statics/Infpts/Infsea.vue
+22
-2
No files found.
src/service/test/pts.js
View file @
ba246036
...
...
@@ -5,6 +5,9 @@ export function queryById(data) {
export
function
queryByPage
(
data
)
{
return
Api
.
post
(
"/manager/pts/queryByPage"
,
data
)
}
export
function
queryByPage2
(
data
)
{
return
Api
.
post
(
"/manager/pts/queryByPage2"
,
data
)
}
export
function
insert
(
data
)
{
return
Api
.
post
(
"/manager/pts/insert"
,
data
)
}
...
...
src/views/Statics/Infpts/Infsea.vue
View file @
ba246036
...
...
@@ -73,7 +73,7 @@
<
script
>
import
codes
from
"~/config/CodeTable"
;
import
{
queryById
,
queryByPage
}
from
"~/service/test/pts.js"
;
import
{
queryById
,
queryByPage
,
queryByPage2
}
from
"~/service/test/pts.js"
;
export
default
{
name
:
""
,
...
...
@@ -90,9 +90,12 @@ export default {
],
ptaData
:
[],
ptaColumns
:
[
{
label
:
"客户号"
,
prop
:
"extkey"
,
width
:
"auto"
},
{
label
:
"客户号"
,
prop
:
"objkey"
,
width
:
"auto"
},
{
label
:
"客户名称"
,
prop
:
"nam"
,
width
:
"auto"
},
{
label
:
"所属机构"
,
prop
:
"branch"
,
width
:
"auto"
},
{
label
:
"机构名称"
,
prop
:
"bchname"
,
width
:
"auto"
},
{
label
:
"经办机构"
,
prop
:
"bchname"
,
width
:
"auto"
},
{
label
:
"机构名称"
,
prop
:
"bchname"
,
width
:
"auto"
},
],
};
},
...
...
@@ -111,6 +114,7 @@ export default {
this
.
model
.
pageNum
=
1
;
this
.
model
.
pageSize
=
5
;
this
.
onInfptsSearch
();
this
.
onInfptsSearch2
();
},
onInfptsSearch
()
{
queryByPage
(
this
.
model
).
then
(
res
=>
{
...
...
@@ -129,6 +133,22 @@ export default {
})
},
onInfptsSearch2
()
{
queryByPage2
(
this
.
model
).
then
(
res
=>
{
/**
* pageNumber: 0
* pageSize: 0
* total:
* totalPage: 0
*/
const
list
=
res
.
list
this
.
ptaData
=
list
this
.
model
.
total
=
res
.
total
})
},
queryFunc
(
pageNumber
,
pageSize
)
{
this
.
model
.
pageNum
=
pageNumber
;
this
.
model
.
pageSize
=
pageSize
;
...
...
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