Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
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
8eb82615
authored
Feb 22, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
80c6f6c3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
3 deletions
src/store/modules/sample/index.js
src/views/sample/sample.vue
view/18.js
view/app.js
src/store/modules/sample/index.js
View file @
8eb82615
...
...
@@ -76,15 +76,26 @@ const actions = {
state
.
finished
=
false
;
let
param
=
{
/*
let param = {
'sample_status/eq': 1
};
};*/
/* let obj = Object.assign({}, param, payload.params);*/
let
obj
=
{
...
payload
.
params
,
'sample_status/eq'
:
1
,
}
let
obj
=
Object
.
assign
({},
param
,
payload
.
params
);
let
params
=
Util
.
getParams
(
obj
);
Services
.
ZiYingIndex
(
params
).
then
((
res
)
=>
{
state
.
loading
=
false
;
let
data
=
res
.
data
;
...
...
src/views/sample/sample.vue
View file @
8eb82615
...
...
@@ -273,6 +273,14 @@
onLoad
()
{
this
.
p
++
;
let
params
=
Object
.
assign
({},
{
p
:
this
.
p
,
'sample_class_id/eq'
:
this
.
sample_class_id
},
this
.
brand_id
,
this
.
packing
,
this
.
encap
,
this
.
attrs
,
{
id
:
this
.
id
.
join
(
','
)});
this
.
$store
.
dispatch
({
type
:
"ziYingIndex"
,
params
:
params
});
},
getuserf
()
{
this
.
getPop
=
false
;
...
...
view/18.js
View file @
8eb82615
This diff is collapsed.
Click to expand it.
view/app.js
View file @
8eb82615
This diff is collapsed.
Click to expand it.
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