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
08adb2bc
authored
Feb 25, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
ad69b818
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
src/store/modules/sample/index.js
src/views/sample/sample.vue
view/14.js
view/app.js
src/store/modules/sample/index.js
View file @
08adb2bc
...
@@ -118,10 +118,7 @@ const actions = {
...
@@ -118,10 +118,7 @@ const actions = {
});
});
}
else
if
(
data
.
error_code
==
3
)
{
}
else
{
state
.
loading
=
true
;
state
.
finished
=
true
;
}
else
{
state
.
loading
=
false
;
state
.
loading
=
false
;
state
.
finished
=
true
;
state
.
finished
=
true
;
}
}
...
...
src/views/sample/sample.vue
View file @
08adb2bc
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
attrs
:
{},
attrs
:
{},
curr
:
false
,
curr
:
false
,
id
:
[],
id
:
[],
offset
:
100
,
offset
:
100
,
shareUrl
:
window
.
location
.
origin
+
"/v3/samplereg?uid="
+
util
.
getCookie
(
"Yo4teW_uid"
)
shareUrl
:
window
.
location
.
origin
+
"/v3/samplereg?uid="
+
util
.
getCookie
(
"Yo4teW_uid"
)
};
};
},
},
...
@@ -183,8 +183,8 @@
...
@@ -183,8 +183,8 @@
loading
(
now
)
{
loading
(
now
)
{
this
.
loadingYp
=
now
;
this
.
loadingYp
=
now
;
},
},
smaple_class_id
(
val
){
smaple_class_id
(
val
)
{
if
(
val
)
{
if
(
val
)
{
//先获取aggSample的第一个id
//先获取aggSample的第一个id
this
.
$store
.
dispatch
({
this
.
$store
.
dispatch
({
type
:
"ziYingIndex"
,
type
:
"ziYingIndex"
,
...
@@ -262,10 +262,12 @@
...
@@ -262,10 +262,12 @@
this
.
p
++
;
this
.
p
++
;
let
params
=
Object
.
assign
({},
{
p
:
this
.
p
},
{
'sample_class_id/eq'
:
this
.
sample_class_id
||
this
.
smaple_class_id
},
this
.
brand_id
,
this
.
packing
,
this
.
encap
,
this
.
attrs
,
{
id
:
this
.
id
.
join
(
','
)});
let
params
=
Object
.
assign
({},
{
p
:
this
.
p
},
{
'sample_class_id/eq'
:
this
.
sample_class_id
||
this
.
smaple_class_id
},
this
.
brand_id
,
this
.
packing
,
this
.
encap
,
this
.
attrs
,
{
id
:
this
.
id
.
join
(
','
)});
this
.
$store
.
dispatch
({
setTimeout
(()
=>
{
type
:
"ziYingIndex"
,
this
.
$store
.
dispatch
({
params
:
params
type
:
"ziYingIndex"
,
});
params
:
params
});
},
1000
)
},
},
getuserf
()
{
getuserf
()
{
...
...
view/14.js
View file @
08adb2bc
This diff is collapsed.
Click to expand it.
view/app.js
View file @
08adb2bc
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