切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
小范
3 years ago
提交
0f95ddcc49fc06f2b73c6e1f4e98c77e4a8aca92
1 个父辈
19ed859a
快件导入提交问题修复
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
27 行删除
src/api/technological.js
src/views/nmms_fast/DataImport.vue
src/api/technological.js
查看文件 @
0f95ddc
import
http
from
'./http.js'
import
axios
from
'axios'
import
VueAxios
from
"vue-axios"
;
let
baseUrl
=
'wlpt-custom-service-workflow'
//部署管理
...
...
@@ -29,27 +27,7 @@ export const definitions = params => { return http.get(`${baseUrl}/deployment/de
//导入原始
// export const uploadPath = `/api/${baseUrl}/file/upload`;
export
const
upfile
=
params
=>
{
return
axios
({
method
:
'POST'
,
// 请求协议
url
:
'/nmms-server-import/nmms/awbm/importExcelAWBM'
,
// 请求的地址
data
:
params
,
// post 请求的数据
timeout
:
30000
,
// 超时时间, 单位毫秒
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
,
}
})
}
export
const
upfile
=
params
=>
{
return
http
.
post
(
`
/
nmms
-
server
-
import
/
nmms
/
awbm
/
importExcelAWBM
`
,
params
);}
export
const
upfiles
=
params
=>
{
return
axios
({
method
:
'POST'
,
// 请求协议
url
:
'/nmms-server-import/nmms/awbm/importExcelAWBM5201'
,
// 请求的地址
data
:
params
,
// post 请求的数据
timeout
:
30000
,
// 超时时间, 单位毫秒
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
,
}
})
return
http
.
post
(
`
/
nmms
-
server
-
import
/
nmms
/
awbm
/
importExcelAWBM5201
`
,
params
);
}
...
...
src/views/nmms_fast/DataImport.vue
查看文件 @
0f95ddc
...
...
@@ -51,9 +51,6 @@
<script>
import {upfile,upfiles} from "../../api/technological";
import axios from 'axios'
import Vue from 'vue'
import VueAxios from 'vue-axios'
export default {
data() {
return {
...
...
请
注册
或
登录
后发表评论