Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
isc-v3.1-tmp
isc-web-vue
Commits
9bfe4abc
Commit
9bfe4abc
authored
Oct 24, 2024
by
ZcyJames
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.bsnsel查询
parent
3f1f3973
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
index.js
src/page/Frontend/Bsnsel/event/index.js
+32
-0
Mainpl.vue
src/page/Frontend/Bsnsel/views/Mainpl.vue
+4
-2
No files found.
src/page/Frontend/Bsnsel/event/index.js
View file @
9bfe4abc
...
...
@@ -6,6 +6,38 @@ export default {
mixins
:
[
getSubtyp
],
methods
:
{
async
handleSearch
()
{
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/bsnsel/sel"
,
{
...
this
.
model
.
bsnp
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
model
.
bsngrp
.
rcvlst
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:{
sta1
}}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
sta1
){
if
(
sta1
[
i
].
value
==
v
.
sta
){
v
.
sta
=
sta1
[
i
].
label
;
}
}
})
this
.
model
.
bsngrp
.
rcvlst
=
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
...
...
src/page/Frontend/Bsnsel/views/Mainpl.vue
View file @
9bfe4abc
<
template
>
<div
class=
"eibs-tab"
>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"
formSubmit
"
>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"
handleSearch
"
>
<!-- 持续展示区 -->
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
label-position=
"right"
label-width=
"110px"
size=
"small"
...
...
@@ -146,10 +146,12 @@
</div>
</template>
<
script
>
import
event
from
"../event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[],
mixins
:
[
event
],
components
:
{
},
data
()
{
...
...
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