Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
Details
Activity
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
jiawei.su
Laisi_AutoMES2
Commits
63b50b01
Commit
63b50b01
authored
Jan 25, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some update
parent
39680d0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
typeMaintenance.vue
Html/src/view/fms/config/typeMaintenance.vue
+13
-13
No files found.
Html/src/view/fms/config/typeMaintenance.vue
View file @
63b50b01
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
data
(){
data
(){
return
{
return
{
//导入方法
//导入方法
action
:
this
.
axios
.
publicPath
+
"
wms/Upload/Submit?templateName=StorageLocation
"
,
action
:
this
.
axios
.
publicPath
+
"
acc/Upload/Submit?templateName=FixtureToolsCategoryTemplate
"
,
headers
:
{
headers
:
{
token
:
localStorage
.
getItem
(
"token"
),
token
:
localStorage
.
getItem
(
"token"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
timestamp
:
localStorage
.
getItem
(
"timestamp"
),
...
@@ -313,18 +313,18 @@ export default {
...
@@ -313,18 +313,18 @@ export default {
},
},
//导出模板
//导出模板
loadexcel
()
{
loadexcel
()
{
//
this.axios.request({
this
.
axios
.
request
({
// url: "/config/Download/GetTemplate?name=StorageLocation
",
url
:
"/config/Download/GetTemplate?name=FixtureToolsCategoryTemplate
"
,
//
method: "get",
method
:
"get"
,
//
})
})
//
.then((res) => {
.
then
((
res
)
=>
{
//
if (res.data.ret === 1) {
if
(
res
.
data
.
ret
===
1
)
{
//
window.location.href =
window
.
location
.
href
=
//
this.axios.publicPath + "" + res.data.data;
this
.
axios
.
publicPath
+
""
+
res
.
data
.
data
;
//
} else {
}
else
{
//
this.$Message.error(this.$t(res.data.msg));
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
//
}
}
//
});
});
},
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
this
.
detailobj
=
currentRow
;
...
...
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