Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9a93418
authored
May 26, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
35fbec8a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
16 deletions
pages/mine/inquery.vue
pages/mine/inquery.vue
View file @
b9a93418
...
...
@@ -46,7 +46,6 @@ export default {
list
:
[],
count
:
[],
searchParams
:
{
status
:
''
,
page
:
1
,
limit
:
1000
,
user_id
:
getCookie
(
'Yo4teW_uid'
)
...
...
@@ -64,27 +63,24 @@ export default {
methods
:
{
tab
(
index
)
{
this
.
curr
=
index
;
if
(
index
==
0
)
{
this
.
searchParams
.
status
=
''
;
}
else
if
(
index
==
1
)
{
this
.
searchParams
.
status
=
0
;
}
else
if
(
index
==
2
)
{
this
.
searchParams
.
status
=
1
;
}
this
.
getData
();
},
getData
()
{
this
.
request
(
Api_Url
+
'/ucoupon/count'
,
'POST'
,
{},
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
count
[
0
]
=
res
.
data
[
-
1
];
this
.
count
[
1
]
=
res
.
data
[
1
]
;
this
.
count
[
2
]
=
res
.
data
[
-
2
];
this
.
text_arr
=
[
'全部'
,
'待处理'
,
'已答复'
]
;
if
(
this
.
curr
==
0
)
{
var
params
=
Object
.
assign
({},
this
.
searchParams
);
}
else
if
(
this
.
curr
==
1
)
{
var
params
=
Object
.
assign
({},
this
.
searchParams
,
{
status
:
0
})
;
}
else
if
(
this
.
curr
==
2
)
{
var
params
=
Object
.
assign
({},
this
.
searchParams
,
{
status
:
1
})
;
}
});
this
.
request
(
Api_Url
+
'/help/help/feedback_list'
,
'POST'
,
this
.
searchP
arams
,
true
,
true
).
then
(
res
=>
{
this
.
request
(
Api_Url
+
'/help/help/feedback_list'
,
'POST'
,
p
arams
,
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
this
.
count
[
0
]
=
res
.
data
.
amount
.
all
;
this
.
count
[
1
]
=
res
.
data
.
amount
.
todo
;
this
.
count
[
2
]
=
res
.
data
.
amount
.
responded
;
this
.
text_arr
=
[
'全部'
,
'待处理'
,
'已答复'
];
}
else
if
(
res
.
err_code
==
11012
)
{
uni
.
navigateTo
({
url
:
'/login?referer=/user/inquery'
...
...
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