Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
6cce4175
Commit
6cce4175
authored
Aug 02, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化重置
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
7396c5eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
checkProcess.vue
src/views/equipment/checkProcess.vue
+7
-7
index.vue
src/views/processManagement/inventoryRecord/index.vue
+6
-0
index.vue
src/views/sample/inventoryRecord/index.vue
+1
-0
No files found.
src/views/equipment/checkProcess.vue
View file @
6cce4175
src/views/processManagement/inventoryRecord/index.vue
View file @
6cce4175
...
@@ -430,6 +430,11 @@ export default {
...
@@ -430,6 +430,11 @@ export default {
next
()
next
()
},
},
created
()
{
created
()
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
this
.
queryParams
=
{
...
param
}
}
this
.
getList
()
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
...
@@ -483,6 +488,7 @@ export default {
...
@@ -483,6 +488,7 @@ export default {
/** TODO: 重置按钮操作 */
/** TODO: 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryEntity
=
{
this
.
queryEntity
=
{
tableSortMark
:
0
,
entity
:
{
entity
:
{
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
...
...
src/views/sample/inventoryRecord/index.vue
View file @
6cce4175
...
@@ -389,6 +389,7 @@ export default {
...
@@ -389,6 +389,7 @@ export default {
/** TODO: 重置按钮操作 */
/** TODO: 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryEntity
=
{
this
.
queryEntity
=
{
tableSortMark
:
0
,
entity
:
{
entity
:
{
pn
:
''
,
pn
:
''
,
lot
:
''
,
lot
:
''
,
...
...
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