Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f51cb7b3
authored
Nov 04, 2021
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
物料管理增加导出
1 parent
61422b4f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletions
src/http/interface.js
src/views/materielManage/material.vue
src/http/interface.js
View file @
f51cb7b
...
@@ -679,6 +679,15 @@ export const PAGEMATERIALINFO = (params) => {
...
@@ -679,6 +679,15 @@ export const PAGEMATERIALINFO = (params) => {
})
})
}
}
// 设备配置管理-导出物料列表
export
const
EXPORTMATERIALINFO
=
(
params
)
=>
{
return
axios
({
url
:
'JXCCommon/exportMaterialInfo'
,
method
:
'GET'
,
params
,
})
}
// 设备配置管理-创建设备配置-获取设备型号
// 设备配置管理-创建设备配置-获取设备型号
export
const
GETLISTATTRIBINFOLIST
=
(
params
)
=>
{
export
const
GETLISTATTRIBINFOLIST
=
(
params
)
=>
{
return
axios
({
return
axios
({
...
...
src/views/materielManage/material.vue
View file @
f51cb7b
...
@@ -51,6 +51,9 @@
...
@@ -51,6 +51,9 @@
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-refresh"
plain
@
click=
"rest()"
>
重置
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-refresh"
plain
@
click=
"rest()"
>
重置
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-download"
:loading=
"exportLoading"
@
click=
"exportInfo()"
>
导出
</el-button>
</el-form-item>
</el-form>
</el-form>
</el-card>
</el-card>
...
@@ -101,7 +104,7 @@
...
@@ -101,7 +104,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
PAGEMATERIALINFO
,
PAGEKCWAREHOUSE
}
from
'@/http/interface'
import
{
PAGEMATERIALINFO
,
PAGEKCWAREHOUSE
,
EXPORTMATERIALINFO
}
from
'@/http/interface'
import
{
import
{
GETJXCCOMMONLISTMATERIALTYPE
,
GETJXCCOMMONLISTMATERIALTYPE
,
GETJXCCOMMONLISTDEVICETYPE
,
GETJXCCOMMONLISTDEVICETYPE
,
...
@@ -190,6 +193,22 @@ export default {
...
@@ -190,6 +193,22 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
/**
* 导出列表
*/
exportInfo
:
function
()
{
const
_this
=
this
const
oParams
=
_this
.
getParams
()
_this
.
exportLoading
=
true
EXPORTMATERIALINFO
(
oParams
)
.
then
((
res
)
=>
{
_this
.
exportLoading
=
false
})
.
catch
((
error
)
=>
{
_this
.
exportLoading
=
false
})
},
/** 获取服务商列表 */
/** 获取服务商列表 */
getService
:
function
()
{
getService
:
function
()
{
let
_this
=
this
let
_this
=
this
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment