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
8b748f15
Commit
8b748f15
authored
Dec 18, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭标签页清除
parent
b798852a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
basicInfo.vue
src/views/equipment/basicInfo.vue
+1
-0
index.vue
src/views/equipment/inventoryRecord/index.vue
+3
-2
No files found.
src/views/equipment/basicInfo.vue
View file @
8b748f15
...
...
@@ -310,6 +310,7 @@ export default {
},
/** 路由离开前存储筛选条件*/
beforeRouteLeave
(
to
,
from
,
next
)
{
console
.
log
(
"離開路由前賦值"
)
this
.
$store
.
dispatch
(
'searchSave/searchParamsSet'
,
{
path
:
this
.
$route
.
path
,
param
:
{
...
...
src/views/equipment/inventoryRecord/index.vue
View file @
8b748f15
...
...
@@ -225,7 +225,7 @@
</
template
>
<
script
>
import
{
exportInventoryRecord
,
exportTest
,
findSingleLogDetail
,
listLog
}
from
'@/api/processMangement/InventoryRecord'
import
{
exportInventoryRecord
,
exportTest
,
findSingleLogDetail
,
listLog
}
from
'@/api/processMangement/InventoryRecord'
import
BaseTable
from
'@/components/Table/BaseTable/index.vue'
import
{
BaseTableArgumentsTest
}
from
'@/components/Table/AllTableArguments/BaseTableArguments'
import
{
getDictData
}
from
'@/api/equipment/application'
...
...
@@ -452,6 +452,7 @@ export default {
},
created
()
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
console
.
log
(
'111'
,
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
}
...
...
@@ -595,7 +596,7 @@ export default {
}
this
.
openDetails
=
true
},
test
(){
test
()
{
exportTest
().
then
(
response
=>
{
const
blob
=
new
Blob
([
response
])
const
downloadElement
=
document
.
createElement
(
'a'
)
...
...
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