添加正式版
parent
808090ab3e
commit
edbc4c067f
@ -1,9 +1,10 @@
|
||||
import http from '@/common/js/request/request.js'
|
||||
import { loginUrl } from "@/common/js/request/moduleType.js"
|
||||
|
||||
export const login = (data) => {
|
||||
return http.post('/test_auth/user/login', data, 'json')
|
||||
return http.post(`${loginUrl}/user/login`, data, 'json')
|
||||
}
|
||||
|
||||
export const getUserInfo = (data) => {
|
||||
return http.get('/test_auth/user/info', data)
|
||||
return http.get(`${loginUrl}/user/info`, data)
|
||||
}
|
||||
|
@ -1,21 +1,23 @@
|
||||
import http from '@/common/js/request/request.js'
|
||||
import { moveTraceUrl } from "@/common/js/request/moduleType.js"
|
||||
|
||||
// 获取场站数据
|
||||
export const GetYaRDList = (data) => {
|
||||
return http.get('/test_billtrace/billtrace/GetYaRDList', data)
|
||||
return http.get(`${moveTraceUrl}/billtrace/GetYaRDList`, data)
|
||||
}
|
||||
// 获取船公司数据
|
||||
export const GetSubscribeList = (data) => {
|
||||
return http.get('/test_billtrace/billtrace/GetSubscribeList', data)
|
||||
return http.get(`${moveTraceUrl}/billtrace/GetSubscribeList`, data)
|
||||
}
|
||||
// 目的港订阅接口
|
||||
export const SaveAddSubscribe = (data) => {
|
||||
return http.post('/test_billtrace/billtrace/SaveAddSubscribe', data)
|
||||
return http.post(`${moveTraceUrl}/billtrace/SaveAddSubscribe`, data)
|
||||
}
|
||||
// 获取运踪数据
|
||||
export const ListData = (data) => {
|
||||
return http.post('/test_billtrace/BillTrace/ListData', data,'json')
|
||||
return http.post(`${moveTraceUrl}/BillTrace/ListData`, data, 'json')
|
||||
}
|
||||
// 新增接口
|
||||
export const SaveAddBillTrace = (data) => {
|
||||
return http.post('/test_billtrace/billtrace/SaveAddBillTrace', data)
|
||||
return http.post(`${moveTraceUrl}/billtrace/SaveAddBillTrace`, data)
|
||||
}
|
||||
|
@ -1,81 +1,90 @@
|
||||
import http from '@/common/js/request/request.js'
|
||||
import { amsUrl } from "@/common/js/request/moduleType.js"
|
||||
|
||||
// ams 查询接口
|
||||
export const amsLoad = (data) => {
|
||||
return http.get('/test_ams/api/Ams/Load', data)
|
||||
return http.get(`${amsUrl}/api/Ams/Load`, data)
|
||||
}
|
||||
|
||||
// ams 删除接口
|
||||
export const amsDel = (data) => {
|
||||
return http.get('/test_ams/api/Ams/Del', data)
|
||||
return http.get(`${amsUrl}/api/Ams/Del`, data)
|
||||
}
|
||||
|
||||
// ams 发送接口
|
||||
export const amsSend = (data) => {
|
||||
return http.get('/test_ams/api/Ams/Send', data)
|
||||
return http.get(`${amsUrl}/api/Ams/Send`, data)
|
||||
}
|
||||
|
||||
|
||||
// ams 获取港口 (非起运港 装货港)
|
||||
export const amsGetPort = (data) => {
|
||||
return http.get('/test_ams/GetPort', data)
|
||||
return http.get(`${amsUrl}/GetPort`, data)
|
||||
}
|
||||
|
||||
// ams 获取港口 (起运港 装货港)
|
||||
export const amsGetCodePortLoad = (data) => {
|
||||
return http.get('/test_ams/GetCodePortLoad', data)
|
||||
return http.get(`${amsUrl}/GetCodePortLoad`, data)
|
||||
}
|
||||
|
||||
// ams 船司
|
||||
export const getCarrier = (data) => {
|
||||
return http.get('/test_ams/GetCARRIER', data)
|
||||
return http.get(`${amsUrl}/GetCARRIER`, data)
|
||||
}
|
||||
|
||||
// ams 获取国家
|
||||
export const getCountry = (data) => {
|
||||
return http.get('/test_ams/GetCountry', data)
|
||||
return http.get(`${amsUrl}/GetCountry`, data)
|
||||
}
|
||||
|
||||
// ams 获取包装单位
|
||||
export const getPackage = (data) => {
|
||||
return http.get('/test_ams/GetPackage', data)
|
||||
return http.get(`${amsUrl}/GetPackage`, data)
|
||||
}
|
||||
|
||||
// ams 获取箱型
|
||||
export const getCtnall = (data) => {
|
||||
return http.get('/test_ams/GetCTNALL', data)
|
||||
return http.get(`${amsUrl}/GetCTNALL`, data)
|
||||
}
|
||||
|
||||
// ams 获取危品等级及CODE
|
||||
export const getDangerousGoods = (data) => {
|
||||
return http.get('/test_ams/GetDangerousGoods', data)
|
||||
return http.get(`${amsUrl}/GetDangerousGoods`, data)
|
||||
}
|
||||
|
||||
// ams 获取船名
|
||||
export const getVessel = (data) => {
|
||||
return http.get('/test_ams/GetVessel', data)
|
||||
return http.get(`${amsUrl}/GetVessel`, data)
|
||||
}
|
||||
|
||||
// ams 获取收发通模板
|
||||
export const getTemplate = (data) => {
|
||||
return http.get('/test_ams/api/Ams/GetTemplate', data)
|
||||
return http.get(`${amsUrl}/api/Ams/GetTemplate`, data)
|
||||
}
|
||||
|
||||
|
||||
// ams 保存收发通模板
|
||||
export const saveTemplate = (data) => {
|
||||
return http.post('/test_ams/api/Ams/SaveTemplate', data, 'json')
|
||||
return http.post(`${amsUrl}/api/Ams/SaveTemplate`, data, 'json')
|
||||
}
|
||||
|
||||
|
||||
// ams 新增编辑 (保存)
|
||||
export const addOrUpdate = (data) => {
|
||||
return http.post('/test_ams/api/Ams/AddOrUpdate', data, 'json')
|
||||
return http.post(`${amsUrl}/api/Ams/AddOrUpdate`, data, 'json')
|
||||
}
|
||||
|
||||
// ams 新增编辑 (发送)
|
||||
export const sendAms = (data) => {
|
||||
return http.get('/test_ams/api/Ams/Send', data)
|
||||
return http.get(`${amsUrl}/api/Ams/Send`, data)
|
||||
}
|
||||
|
||||
// ams 导出
|
||||
export const exportPDF = (data) => {
|
||||
return http.get(`${amsUrl}/api/Ams/ExportPDF`, data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,18 +1,19 @@
|
||||
import http from '@/common/js/request/request.js'
|
||||
import { cabinQueryUrl } from "@/common/js/request/moduleType.js"
|
||||
|
||||
// 运价综合查询
|
||||
export const realQuery = (data) => {
|
||||
return http.post('/test_yunjia/v1/real/query', data, 'json')
|
||||
return http.post(`${cabinQueryUrl}/v1/real/query`, data, 'json')
|
||||
}
|
||||
|
||||
// 港口模糊查询
|
||||
export const realGk = (data) => {
|
||||
return http.post('/test_yunjia/v1/real/gk', data, 'json')
|
||||
return http.post(`${cabinQueryUrl}/v1/real/gk`, data, 'json')
|
||||
}
|
||||
|
||||
// 箱型模糊查询
|
||||
export const realBox = (data) => {
|
||||
return http.post('/test_yunjia/v1/real/box', data, 'json')
|
||||
return http.post(`${cabinQueryUrl}/v1/real/box`, data, 'json')
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
import http from '@/common/js/request/request.js'
|
||||
import { baseUrl } from "@/common/js/request/moduleType.js"
|
||||
|
||||
// 舱单查询
|
||||
export const GetMsOpSeaeEdiList = (data) => {
|
||||
return http.get('/WechatApplet/GetMsOpSeaeEdiList', data)
|
||||
return http.get(`${baseUrl}/GetMsOpSeaeEdiList`, data)
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
import http from "./config.js"
|
||||
|
||||
// 登陆授权 - 用户登录、获取用户信息等
|
||||
export const loginUrl = http.moduleUrlType === 'test' ? '/test_auth' : '/auth'
|
||||
// 公共基础 - 基础信息, 舱单, 注册
|
||||
export const baseUrl = http.moduleUrlType === 'test' ? '/test_common' : '/CommonCD'
|
||||
// 出口运踪
|
||||
export const moveTraceUrl = http.moduleUrlType === 'test' ? '/test_billtrace' : '/billtrace'
|
||||
// 运价联查
|
||||
export const cabinQueryUrl = http.moduleUrlType === 'test' ? '/test_yunjia' : '/yunjia'
|
||||
// AMS
|
||||
export const amsUrl = http.moduleUrlType === 'test' ? '/test_ams' : '/ams'
|
||||
|
||||
|
@ -1,87 +0,0 @@
|
||||
{
|
||||
"id": "uni-fab",
|
||||
"displayName": "uni-fab 悬浮按钮",
|
||||
"version": "1.2.2",
|
||||
"description": "悬浮按钮 fab button ,点击可展开一个图标按钮菜单。",
|
||||
"keywords": [
|
||||
"uni-ui",
|
||||
"uniui",
|
||||
"按钮",
|
||||
"悬浮按钮",
|
||||
"fab"
|
||||
],
|
||||
"repository": "https://github.com/dcloudio/uni-ui",
|
||||
"engines": {
|
||||
"HBuilderX": ""
|
||||
},
|
||||
"directories": {
|
||||
"example": "../../temps/example_temps"
|
||||
},
|
||||
"dcloudext": {
|
||||
"category": [
|
||||
"前端组件",
|
||||
"通用组件"
|
||||
],
|
||||
"sale": {
|
||||
"regular": {
|
||||
"price": "0.00"
|
||||
},
|
||||
"sourcecode": {
|
||||
"price": "0.00"
|
||||
}
|
||||
},
|
||||
"contact": {
|
||||
"qq": ""
|
||||
},
|
||||
"declaration": {
|
||||
"ads": "无",
|
||||
"data": "无",
|
||||
"permissions": "无"
|
||||
},
|
||||
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
|
||||
},
|
||||
"uni_modules": {
|
||||
"dependencies": ["uni-scss","uni-icons"],
|
||||
"encrypt": [],
|
||||
"platforms": {
|
||||
"cloud": {
|
||||
"tcb": "y",
|
||||
"aliyun": "y"
|
||||
},
|
||||
"client": {
|
||||
"App": {
|
||||
"app-vue": "y",
|
||||
"app-nvue": "y"
|
||||
},
|
||||
"H5-mobile": {
|
||||
"Safari": "y",
|
||||
"Android Browser": "y",
|
||||
"微信浏览器(Android)": "y",
|
||||
"QQ浏览器(Android)": "y"
|
||||
},
|
||||
"H5-pc": {
|
||||
"Chrome": "y",
|
||||
"IE": "y",
|
||||
"Edge": "y",
|
||||
"Firefox": "y",
|
||||
"Safari": "y"
|
||||
},
|
||||
"小程序": {
|
||||
"微信": "y",
|
||||
"阿里": "y",
|
||||
"百度": "y",
|
||||
"字节跳动": "y",
|
||||
"QQ": "y"
|
||||
},
|
||||
"快应用": {
|
||||
"华为": "u",
|
||||
"联盟": "u"
|
||||
},
|
||||
"Vue": {
|
||||
"vue2": "y",
|
||||
"vue3": "y"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
@ -1,87 +0,0 @@
|
||||
{
|
||||
"id": "uni-fab",
|
||||
"displayName": "uni-fab 悬浮按钮",
|
||||
"version": "1.2.2",
|
||||
"description": "悬浮按钮 fab button ,点击可展开一个图标按钮菜单。",
|
||||
"keywords": [
|
||||
"uni-ui",
|
||||
"uniui",
|
||||
"按钮",
|
||||
"悬浮按钮",
|
||||
"fab"
|
||||
],
|
||||
"repository": "https://github.com/dcloudio/uni-ui",
|
||||
"engines": {
|
||||
"HBuilderX": ""
|
||||
},
|
||||
"directories": {
|
||||
"example": "../../temps/example_temps"
|
||||
},
|
||||
"dcloudext": {
|
||||
"category": [
|
||||
"前端组件",
|
||||
"通用组件"
|
||||
],
|
||||
"sale": {
|
||||
"regular": {
|
||||
"price": "0.00"
|
||||
},
|
||||
"sourcecode": {
|
||||
"price": "0.00"
|
||||
}
|
||||
},
|
||||
"contact": {
|
||||
"qq": ""
|
||||
},
|
||||
"declaration": {
|
||||
"ads": "无",
|
||||
"data": "无",
|
||||
"permissions": "无"
|
||||
},
|
||||
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
|
||||
},
|
||||
"uni_modules": {
|
||||
"dependencies": ["uni-scss","uni-icons"],
|
||||
"encrypt": [],
|
||||
"platforms": {
|
||||
"cloud": {
|
||||
"tcb": "y",
|
||||
"aliyun": "y"
|
||||
},
|
||||
"client": {
|
||||
"App": {
|
||||
"app-vue": "y",
|
||||
"app-nvue": "y"
|
||||
},
|
||||
"H5-mobile": {
|
||||
"Safari": "y",
|
||||
"Android Browser": "y",
|
||||
"微信浏览器(Android)": "y",
|
||||
"QQ浏览器(Android)": "y"
|
||||
},
|
||||
"H5-pc": {
|
||||
"Chrome": "y",
|
||||
"IE": "y",
|
||||
"Edge": "y",
|
||||
"Firefox": "y",
|
||||
"Safari": "y"
|
||||
},
|
||||
"小程序": {
|
||||
"微信": "y",
|
||||
"阿里": "y",
|
||||
"百度": "y",
|
||||
"字节跳动": "y",
|
||||
"QQ": "y"
|
||||
},
|
||||
"快应用": {
|
||||
"华为": "u",
|
||||
"联盟": "u"
|
||||
},
|
||||
"Vue": {
|
||||
"vue2": "y",
|
||||
"vue3": "y"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue