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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
17 deletions
pages/mine/inquery.vue
pages/mine/inquery.vue
View file @
b9a93418
...
@@ -46,7 +46,6 @@ export default {
...
@@ -46,7 +46,6 @@ export default {
list
:
[],
list
:
[],
count
:
[],
count
:
[],
searchParams
:
{
searchParams
:
{
status
:
''
,
page
:
1
,
page
:
1
,
limit
:
1000
,
limit
:
1000
,
user_id
:
getCookie
(
'Yo4teW_uid'
)
user_id
:
getCookie
(
'Yo4teW_uid'
)
...
@@ -64,27 +63,24 @@ export default {
...
@@ -64,27 +63,24 @@ export default {
methods
:
{
methods
:
{
tab
(
index
)
{
tab
(
index
)
{
this
.
curr
=
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
();
this
.
getData
();
},
},
getData
()
{
getData
()
{
this
.
request
(
Api_Url
+
'/ucoupon/count'
,
'POST'
,
{},
true
,
true
).
then
(
res
=>
{
if
(
this
.
curr
==
0
)
{
if
(
res
.
err_code
===
0
)
{
var
params
=
Object
.
assign
({},
this
.
searchParams
);
this
.
count
[
0
]
=
res
.
data
[
-
1
];
}
else
if
(
this
.
curr
==
1
)
{
this
.
count
[
1
]
=
res
.
data
[
1
]
;
var
params
=
Object
.
assign
({},
this
.
searchParams
,
{
status
:
0
})
;
this
.
count
[
2
]
=
res
.
data
[
-
2
];
}
else
if
(
this
.
curr
==
2
)
{
this
.
text_arr
=
[
'全部'
,
'待处理'
,
'已答复'
]
;
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
)
{
if
(
res
.
err_code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
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
)
{
}
else
if
(
res
.
err_code
==
11012
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/login?referer=/user/inquery'
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