|
@@ -145,31 +145,12 @@ export function insureEmailDetail(params) {
|
|
|
|
|
|
// --------------------------------------------------------
|
|
|
|
|
|
-// 商用保险保存
|
|
|
-export function insureWorkerCommercialSave(data) {
|
|
|
- return request({
|
|
|
- url: `/insure/worker/commercial/save`,
|
|
|
- method: 'post',
|
|
|
- data
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
-export function insureList2(params) {
|
|
|
- return request({
|
|
|
- url: `/worker/list2`,
|
|
|
- method: 'post',
|
|
|
- params
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
-// worker/list2
|
|
|
-
|
|
|
/**
|
|
|
* 邮箱配置
|
|
|
*/
|
|
|
export function insureListemail(data) {
|
|
|
return request({
|
|
|
- url: `/insure/listemail?moduleId=${data.moduleId}`,
|
|
|
+ url: `/mailbox/list?moduleId=${data.moduleId}`,
|
|
|
method: 'post',
|
|
|
data
|
|
|
})
|
|
@@ -177,7 +158,7 @@ export function insureListemail(data) {
|
|
|
|
|
|
export function insureListemailExport(data, name) {
|
|
|
return postBlob({
|
|
|
- url: '/insure/listemail/export',
|
|
|
+ url: '/mailbox/list/export',
|
|
|
data,
|
|
|
name
|
|
|
})
|
|
@@ -185,19 +166,21 @@ export function insureListemailExport(data, name) {
|
|
|
|
|
|
export function insureDetailemail(params) {
|
|
|
return request({
|
|
|
- url: `/insure/detailemail`,
|
|
|
+ url: `/mailbox/detailRecord`,
|
|
|
method: 'post',
|
|
|
params
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function insureResend(params) {
|
|
|
- return request({
|
|
|
- url: `/insure/resend`,
|
|
|
- method: 'post',
|
|
|
- params
|
|
|
- })
|
|
|
-}
|
|
|
+// export function insureResend(params) {
|
|
|
+// return request({
|
|
|
+// url: `/insure/resend`,
|
|
|
+// method: 'post',
|
|
|
+// params
|
|
|
+// })
|
|
|
+// }
|
|
|
+
|
|
|
+// --------------------------------------------------------
|
|
|
|
|
|
/**
|
|
|
* 工程师保险
|
|
@@ -205,7 +188,7 @@ export function insureResend(params) {
|
|
|
export function insureWorkerList(data) {
|
|
|
var { moduleId, ...p } = data
|
|
|
return request({
|
|
|
- url: `/insure/worker/list?moduleId=`,
|
|
|
+ url: `/mailbox/listPolicy`,
|
|
|
method: 'post',
|
|
|
data: p
|
|
|
})
|
|
@@ -213,7 +196,7 @@ export function insureWorkerList(data) {
|
|
|
|
|
|
export function insureWorkerLists(data) {
|
|
|
return request({
|
|
|
- url: `/insure/worker/list?moduleId=${data.moduleId}`,
|
|
|
+ url: `/mailbox/listPolicy?moduleId=${data.moduleId}`,
|
|
|
method: 'post',
|
|
|
data
|
|
|
})
|
|
@@ -221,27 +204,29 @@ export function insureWorkerLists(data) {
|
|
|
|
|
|
export function insureWorkerExport(data, name) {
|
|
|
return postBlob({
|
|
|
- url: '/insure/worker/export',
|
|
|
+ url: '/mailbox/listPolicy/export',
|
|
|
data,
|
|
|
name
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function insureWorkerDetail(params) {
|
|
|
- return request({
|
|
|
- url: `/insure/worker/detail`,
|
|
|
- method: 'post',
|
|
|
- params
|
|
|
- })
|
|
|
-}
|
|
|
+// export function insureWorkerDetail(params) {
|
|
|
+// return request({
|
|
|
+// url: `/insure/worker/detail`,
|
|
|
+// method: 'post',
|
|
|
+// params
|
|
|
+// })
|
|
|
+// }
|
|
|
|
|
|
-export function insureWorkerOnOff(params) {
|
|
|
- return request({
|
|
|
- url: `/insure/worker/on-off`,
|
|
|
- method: 'post',
|
|
|
- params
|
|
|
- })
|
|
|
-}
|
|
|
+// export function insureWorkerOnOff(params) {
|
|
|
+// return request({
|
|
|
+// url: `/insure/worker/on-off`,
|
|
|
+// method: 'post',
|
|
|
+// params
|
|
|
+// })
|
|
|
+// }
|
|
|
+
|
|
|
+// --------------------------------------------------------
|
|
|
|
|
|
/**
|
|
|
* 商用工程师保险
|
|
@@ -285,3 +270,22 @@ export function insureWorkerCommercialOnOff(params) {
|
|
|
params
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+// --------------------------------------------------------
|
|
|
+
|
|
|
+// 商用保险保存
|
|
|
+export function insureWorkerCommercialSave(data) {
|
|
|
+ return request({
|
|
|
+ url: `/insure/worker/commercial/save`,
|
|
|
+ method: 'post',
|
|
|
+ data
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+export function insureList2(params) {
|
|
|
+ return request({
|
|
|
+ url: `/worker/list2`,
|
|
|
+ method: 'post',
|
|
|
+ params
|
|
|
+ })
|
|
|
+}
|