Browse Source

接口地址修改

master
zhang_li 9 months ago
parent
commit
4dbd820267
  1. 2
      api/dict.js
  2. 16
      api/overhaulOrder.js
  3. 20
      api/repairOrder.js
  4. 18
      api/upkeepOrder.js
  5. 175
      manifest.json

2
api/dict.js

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 获取字典
function getDictList(type) {
return request({
url: '/eam/device-maintenance-main/getDictList?type=' + type,
url: '/eam/device-maintenance-job-main/getDictList?type=' + type,
'method': 'GET',
})
}

16
api/overhaulOrder.js

@ -4,7 +4,7 @@ import request from '@/utils/request'
// 添加工单
export function overhaulOrderCreate(data) {
return request({
url: '/eam/device-inspection-main/create',
url: '/eam/device-inspection-job-main/create',
'method': 'POST',
data
})
@ -12,7 +12,7 @@ export function overhaulOrderCreate(data) {
// 编辑工单
export function overhaulOrderUpdate(data) {
return request({
url: '/eam/device-inspection-main/update',
url: '/eam/device-inspection-job-main/update',
'method': 'PUT',
data
})
@ -20,7 +20,7 @@ export function overhaulOrderUpdate(data) {
// 报修列表
export function overhaulOrderPage(params) {
return request({
url: '/eam/device-inspection-main/getAppPage',
url: '/eam/device-inspection-job-main/getAppPage',
'method': 'GET',
params
})
@ -28,7 +28,7 @@ export function overhaulOrderPage(params) {
// 操作工单
export function orderClick(params) {
return request({
url: '/eam/device-inspection-main/onClick',
url: '/eam/device-inspection-job-main/onClick',
'method': 'GET',
params
})
@ -36,7 +36,7 @@ export function orderClick(params) {
// 添加维修工单子项维修内容
export function overhaulOrderDetailCreate(data) {
return request({
url: '/eam/device-inspection-detail/create',
url: '/eam/device-inspection-job-detail/create',
'method': 'POST',
data
})
@ -44,7 +44,7 @@ export function overhaulOrderDetailCreate(data) {
// 编辑维修工单子项维修内容
export function overhaulOrderDetailUpdate(data) {
return request({
url: '/eam/device-inspection-detail/update',
url: '/eam/device-inspection-job-detail/update',
'method': 'PUT',
data
})
@ -52,7 +52,7 @@ export function overhaulOrderDetailUpdate(data) {
// 获得维修工单子列表
export function overhaulOrderDetailList(params) {
return request({
url: '/eam/device-inspection-detail/selectListByNumber',
url: '/eam/device-inspection-job-detail/selectListByNumber',
'method': 'GET',
params
})
@ -60,7 +60,7 @@ export function overhaulOrderDetailList(params) {
// 删除维修工单子
export function overhaulOrderDetailDelete(id) {
return request({
url: '/eam/device-inspection-detail/delete?id='+id,
url: '/eam/device-inspection-job-detail/delete?id='+id,
'method': 'DELETE'
})
}

20
api/repairOrder.js

@ -4,7 +4,7 @@ import request from '@/utils/request'
// 添加工单
export function repairOrderCreate(data) {
return request({
url: '/eam/device-maintenance-main/create',
url: '/eam/device-maintenance-job-main/create',
'method': 'POST',
data
})
@ -12,7 +12,7 @@ export function repairOrderCreate(data) {
// 编辑工单
export function repairOrderUpdate(data) {
return request({
url: '/eam/device-maintenance-main/update',
url: '/eam/device-maintenance-job-main/update',
'method': 'PUT',
data
})
@ -20,7 +20,7 @@ export function repairOrderUpdate(data) {
// 工单列表
export function repairOrderPage(params) {
return request({
url: '/eam/device-maintenance-main/getAppPage',
url: '/eam/device-maintenance-job-main/getAppPage',
'method': 'GET',
params
})
@ -28,7 +28,7 @@ export function repairOrderPage(params) {
// 操作工单
export function orderClick(params) {
return request({
url: '/eam/device-maintenance-main/orderClick',
url: '/eam/device-maintenance-job-main/orderClick',
'method': 'GET',
params
})
@ -36,7 +36,7 @@ export function orderClick(params) {
// 添加维修工单子项维修内容
export function repairOrderDetailCreate(data) {
return request({
url: '/eam/device-maintenance-detail/create',
url: '/eam/device-maintenance-job-detail/create',
'method': 'POST',
data
})
@ -44,7 +44,7 @@ export function repairOrderDetailCreate(data) {
// 编辑维修工单子项维修内容
export function repairOrderDetailUpdate(data) {
return request({
url: '/eam/device-maintenance-detail/update',
url: '/eam/device-maintenance-job-detail/update',
'method': 'PUT',
data
})
@ -52,7 +52,7 @@ export function repairOrderDetailUpdate(data) {
// 获得维修工单子列表
export function repairOrderDetailList(params) {
return request({
url: '/eam/device-maintenance-detail/selectListByNumber',
url: '/eam/device-maintenance-job-detail/selectListByNumber',
'method': 'GET',
params
})
@ -60,7 +60,7 @@ export function repairOrderDetailList(params) {
// 删除维修工单子
export function repairOrderDetailDelete(id) {
return request({
url: '/eam/device-maintenance-detail/delete?id='+id,
url: '/eam/device-maintenance-job-detail/delete?id='+id,
'method': 'DELETE'
})
}
@ -68,7 +68,7 @@ export function repairOrderDetailDelete(id) {
//转办
export function transfer(params) {
return request({
url: '/eam/device-maintenance-main/turnTo',
url: '/eam/device-maintenance-job-main/turnTo',
'method': 'GET',
params
})
@ -77,7 +77,7 @@ export function transfer(params) {
// 获取采取临时措施的维修工单
export function repairOrderList(params) {
return request({
url: '/eam/device-maintenance-main/getList',
url: '/eam/device-maintenance-job-main/getList',
'method': 'GET',
params
})

18
api/upkeepOrder.js

@ -4,7 +4,7 @@ import request from '@/utils/request'
// 添加工单
export function upkeepOrderCreate(data) {
return request({
url: '/eam/device-maintain-order-main/create',
url: '/eam/device-maintain-job-main/create',
'method': 'POST',
data
})
@ -12,7 +12,7 @@ export function upkeepOrderCreate(data) {
// 编辑工单
export function upkeepOrderUpdate(data) {
return request({
url: '/eam/device-maintain-order-main/update',
url: '/eam/device-maintain-job-main/update',
'method': 'PUT',
data
})
@ -20,7 +20,7 @@ export function upkeepOrderUpdate(data) {
// 工单列表
export function upkeepOrderPage(params) {
return request({
url: '/eam/device-maintain-order-main/getAppPage',
url: '/eam/device-maintain-job-main/getAppPage',
'method': 'GET',
params
})
@ -28,7 +28,7 @@ export function upkeepOrderPage(params) {
// 接单
export function orderClick(params) {
return request({
url: '/eam/device-maintain-order-main/orderClick',
url: '/eam/device-maintain-job-main/orderClick',
'method': 'GET',
params
})
@ -36,7 +36,7 @@ export function orderClick(params) {
// 完成保养工单
export function orderClickFinish(params) {
return request({
url: '/eam/device-maintain-order-main/orderClickFinish',
url: '/eam/device-maintain-job-main/orderClickFinish',
'method': 'GET',
params
})
@ -44,7 +44,7 @@ export function orderClickFinish(params) {
// 添加维修工单子项维修内容
export function upkeepOrderDetailCreate(data) {
return request({
url: '/eam/device-maintain-order-detail/create',
url: '/eam/device-maintain-job-detail/create',
'method': 'POST',
data
})
@ -52,7 +52,7 @@ export function upkeepOrderDetailCreate(data) {
// 编辑维修工单子项维修内容
export function upkeepOrderDetailUpdate(data) {
return request({
url: '/eam/device-maintain-order-detail/update',
url: '/eam/device-maintain-job-detail/update',
'method': 'PUT',
data
})
@ -60,7 +60,7 @@ export function upkeepOrderDetailUpdate(data) {
// 获得维修工单子列表
export function upkeepOrderDetailList(params) {
return request({
url: '/eam/device-maintain-order-detail/selectListByNumber',
url: '/eam/device-maintain-job-detail/selectListByNumber',
'method': 'GET',
params
})
@ -68,7 +68,7 @@ export function upkeepOrderDetailList(params) {
// 删除维修工单子
export function upkeepOrderDetailDelete(id) {
return request({
url: '/eam/device-maintain-order-detail/delete?id='+id,
url: '/eam/device-maintain-job-detail/delete?id='+id,
'method': 'DELETE'
})
}

175
manifest.json

@ -15,9 +15,7 @@
"autoclose" : true,
"delay" : 0
},
"modules" : {
"Push" : {}
},
"modules" : {},
"distribute" : {
"android" : {
"permissions" : [
@ -57,176 +55,7 @@
}
}
},
"nativePlugins" : {
"JG-JPush" : {
"JPUSH_ADVERTISINGID_IOS" : "",
"JPUSH_DEFAULTINITJPUSH_IOS" : "",
"JPUSH_GOOGLE_API_KEY" : "",
"JPUSH_GOOGLE_APP_ID" : "",
"JPUSH_GOOGLE_PROJECT_ID" : "",
"JPUSH_GOOGLE_PROJECT_NUMBER" : "",
"JPUSH_GOOGLE_STORAGE_BUCKET" : "",
"JPUSH_HONOR_APPID" : "",
"JPUSH_HUAWEI_APPID" : "",
"JPUSH_ISPRODUCTION_IOS" : "",
"JPUSH_MEIZU_APPID" : "",
"JPUSH_MEIZU_APPKEY" : "",
"JPUSH_OPPO_APPID" : "",
"JPUSH_OPPO_APPKEY" : "",
"JPUSH_OPPO_APPSECRET" : "",
"JPUSH_VIVO_APPID" : "",
"JPUSH_VIVO_APPKEY" : "",
"JPUSH_XIAOMI_APPID" : "",
"JPUSH_XIAOMI_APPKEY" : "",
"__plugin_info__" : {
"name" : "极光推送 JPush 官方 SDK",
"description" : "极光推送JPush官方SDK HBuilder插件版本",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=4035",
"android_package_name" : "com.eam.uniapp",
"ios_bundle_id" : "",
"isCloud" : true,
"bought" : 1,
"pid" : "4035",
"parameters" : {
"JPUSH_ADVERTISINGID_IOS" : {
"des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
"key" : "JPush:ADVERTISINGID",
"value" : ""
},
"JPUSH_DEFAULTINITJPUSH_IOS" : {
"des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
"key" : "JPush:DEFAULTINITJPUSH",
"value" : ""
},
"JPUSH_GOOGLE_API_KEY" : {
"des" : "厂商google api_key,示例:g-12346578",
"key" : "google_api_key",
"value" : ""
},
"JPUSH_GOOGLE_APP_ID" : {
"des" : "厂商google mobilesdk_app_id,示例:g-12346578",
"key" : "google_app_id",
"value" : ""
},
"JPUSH_GOOGLE_PROJECT_ID" : {
"des" : "厂商google project_id ,示例:g-12346578",
"key" : "project_id",
"value" : ""
},
"JPUSH_GOOGLE_PROJECT_NUMBER" : {
"des" : "厂商google project_number,示例:g-12346578",
"key" : "gcm_defaultSenderId",
"value" : ""
},
"JPUSH_GOOGLE_STORAGE_BUCKET" : {
"des" : "厂商google storage_bucket,示例:g-12346578",
"key" : "google_storage_bucket",
"value" : ""
},
"JPUSH_HONOR_APPID" : {
"des" : "厂商HONOR-appId,示例:12346578",
"key" : "com.hihonor.push.app_id",
"value" : ""
},
"JPUSH_HUAWEI_APPID" : {
"des" : "厂商HUAWEI-appId,示例:appid=12346578",
"key" : "com.huawei.hms.client.appid",
"value" : ""
},
"JPUSH_ISPRODUCTION_IOS" : {
"des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
"key" : "JPush:ISPRODUCTION",
"value" : ""
},
"JPUSH_MEIZU_APPID" : {
"des" : "厂商MEIZU-appId,示例:MZ-12345678",
"key" : "MEIZU_APPID",
"value" : ""
},
"JPUSH_MEIZU_APPKEY" : {
"des" : "厂商MEIZU-appKey,示例:MZ-12345678",
"key" : "MEIZU_APPKEY",
"value" : ""
},
"JPUSH_OPPO_APPID" : {
"des" : "厂商OPPO-appId,示例:OP-12345678",
"key" : "OPPO_APPID",
"value" : ""
},
"JPUSH_OPPO_APPKEY" : {
"des" : "厂商OPPO-appkey,示例:OP-12345678",
"key" : "OPPO_APPKEY",
"value" : ""
},
"JPUSH_OPPO_APPSECRET" : {
"des" : "厂商OPPO-appSecret,示例:OP-12345678",
"key" : "OPPO_APPSECRET",
"value" : ""
},
"JPUSH_VIVO_APPID" : {
"des" : "厂商VIVO-appId,示例:12345678",
"key" : "com.vivo.push.app_id",
"value" : ""
},
"JPUSH_VIVO_APPKEY" : {
"des" : "厂商VIVO-appkey,示例:12345678",
"key" : "com.vivo.push.api_key",
"value" : ""
},
"JPUSH_XIAOMI_APPID" : {
"des" : "厂商XIAOMI-appId,示例:MI-12345678",
"key" : "XIAOMI_APPID",
"value" : ""
},
"JPUSH_XIAOMI_APPKEY" : {
"des" : "厂商XIAOMI-appKey,示例:MI-12345678",
"key" : "XIAOMI_APPKEY",
"value" : ""
}
}
}
},
"JG-JCore" : {
"JPUSH_APPKEY_ANDROID" : "8cf133b5a225d7e8fa2a64f3",
"JPUSH_APPKEY_IOS" : "8cf133b5a225d7e8fa2a64f3",
"JPUSH_CHANNEL_ANDROID" : "",
"JPUSH_CHANNEL_IOS" : "",
"__plugin_info__" : {
"name" : "极光推送 JCore 官方 SDK",
"description" : "极光推送 JCore 官方 SDK HBuilder 插件版本",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=4028",
"android_package_name" : "com.eam.uniapp",
"ios_bundle_id" : "",
"isCloud" : true,
"bought" : 1,
"pid" : "4028",
"parameters" : {
"JPUSH_APPKEY_ANDROID" : {
"des" : "[Android]极光portal配置应用信息时分配的AppKey",
"key" : "JPUSH_APPKEY",
"value" : ""
},
"JPUSH_APPKEY_IOS" : {
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
"key" : "JCore:APP_KEY",
"value" : ""
},
"JPUSH_CHANNEL_ANDROID" : {
"des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
"key" : "JPUSH_CHANNEL",
"value" : ""
},
"JPUSH_CHANNEL_IOS" : {
"des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
"key" : "JCore:CHANNEL",
"value" : ""
}
}
}
}
}
"nativePlugins" : {}
},
"quickapp" : {},
"mp-weixin" : {

Loading…
Cancel
Save