Commit de39528b authored by chuan.liu's avatar chuan.liu

违约查询 地址填写新增+联调

parent 8791c116
......@@ -116,13 +116,13 @@
"changeOrigin": true
},
"/wmdpwebservices": {
"target": "http://221.10.127.60:5000/sczx",
// "target": "https://10.0.134.182:9002",
// "target": "http://221.10.127.60:5000/sczx",
"target": "https://10.0.134.182:9002",
"changeOrigin": true
},
"/adapter": {
// "target": "http://221.10.127.60:5000/cyj",
"target": "http://api.c0331.dev.guanyingyun.com",
"target": "http://221.10.127.60:5000/cyj",
// "target": "http://api.c0331.dev.guanyingyun.com",
"changeOrigin": true
}
}
......
......@@ -790,6 +790,38 @@
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-mission-receiver/breakwords-mission-receiver",
"style": {
"app-plus": {
"titleNView": {
"titleAlign": "left",
"titleColor": "#333",
"titleSize": "17px",
"backgroundColor": "transparent",
"titleText": "收货地址",
"autoBackButton": true
}
}
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-mission-confirm/breakwords-mission-confirm",
"style": {
"app-plus": {
"titleNView": {
"titleAlign": "left",
"titleColor": "#333",
"titleSize": "17px",
"backgroundColor": "transparent",
"titleText": "确认收货 ",
"autoBackButton": true
}
}
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-handle/breakwords-handle",
"style": {
......
......@@ -160,8 +160,80 @@
setTimeout(function() {
uni.hideLoading();
}, 2000);
const res = await apiGetMissionList(params)
// const res = await apiGetMissionList(params)
// const res = await apiGetClueList()
let res = {
"result": "S",
"message": "操作成功",
"data": {
"count": 27,
"page": 1,
"pagesize": 10,
"data": [{
"rno": "1",
"requestname": "测试111",
"pcurl": "",
"departmentname": "",
"sysname": "市场秩序",
"createdate": "2021-07-30",
"workflowtype": "-4001",
"appurl": "string",
"requestid": "-206",
"ticketId": "string",
"entryType": "1",
"status": "已处理"
},
{
"rno": "2",
"requestname": "联络函待填写收货信息",
"pcurl": "",
"departmentname": "",
"sysname": "市场秩序",
"createdate": "2021-07-30",
"workflowtype": "-4001",
"appurl": "T00001STE",
"requestid": "-203",
"ticketId": "T00001STE",
"entryType": "4",
"status": "已处理",
"viloationName": "影响质量",
"childTypeName": "childTypeName",
"terminalName": "terminalName",
"terminalAddress": "terminalAddress",
"productName": "productName",
"productQty": "productQty",
},
{
"rno": "3",
"requestname": "string",
"pcurl": "",
"departmentname": "",
"sysname": "市场秩序",
"createdate": "2021-07-30",
"workflowtype": "-4001",
"appurl": "string",
"requestid": "-200",
"ticketId": "string",
"entryType": "1",
"status": "已处理"
},
{
"rno": "4",
"requestname": "联络函待填写收货信息",
"pcurl": "",
"departmentname": "",
"sysname": "市场秩序",
"createdate": "2021-08-01",
"workflowtype": "-4001",
"appurl": "T00001UD0",
"requestid": "-208",
"ticketId": "T00001UD0",
"entryType": "1",
"status": "已处理"
}
]
}
}
uni.hideLoading();
const {
......@@ -227,7 +299,7 @@
},
handleStatustext(item) {
let text = '--'
switch (item.entryType) {
switch (item.entryType * 1) {
case 1:
text = '填写收货'
break
......@@ -242,17 +314,24 @@
},
checkOrderStatus(item) {
let entryType = ''
switch (item.entryType) {
switch (item.entryType * 1) {
case 1:
entryType = '2'
uni.navigateTo({
url: `/pages/breakwords-mission-receiver/breakwords-mission-receiver?info=${JSON.stringify(item)}&pageType=${entryType}`
})
break
case 4:
entryType = '5'
uni.navigateTo({
url: `/pages/breakwords-mission-confirm/breakwords-mission-confirm?info=${JSON.stringify(item)}&pageType=${entryType}`
})
break
case 3:
entryType = '6'
break
}
}
}
}
......
......@@ -176,8 +176,8 @@ class Request {
// config.baseUrl = 'http://10.0.135.61'
config.baseUrl = 'http://221.10.127.60:5000'
} else if (config.url.indexOf('adapter') !== -1) {
config.baseUrl = 'http://api.c0331.dev.guanyingyun.com'
// config.baseUrl = 'http://221.10.127.60:5000/cyj'
// config.baseUrl = 'http://api.c0331.dev.guanyingyun.com'
config.baseUrl = 'http://221.10.127.60:5000/cyj'
} else if (config.url.indexOf('wmdpwebservices') !== -1) {
config.baseUrl = 'https://10.0.134.182:9002'
// config.baseUrl = 'http://221.10.127.60:5000/sczx'
......
......@@ -100,6 +100,26 @@ export async function apiGetMissionList(params) {
return res
}
/**
* 联络函详情
* @param name 账户名
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiGetContactLetterDetail(params) {
const res = await apiHelper.post('/wmdpwebservices/taskassignment/contactletter/detail', params)
return res
}
/**
* 易商-填写收货信息接口
* @param name 账户名
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiDoReceiveInfo(params) {
const res = await apiHelper.post('/wmdpwebservices/trackInformation/doReceiveInfo', params)
return res
}
/**
* 查询处理单
* @param name 账户名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment