|
|
@@ -1,6 +1,6 @@
|
|
|
-/*import axios from 'axios';*/
|
|
|
+/*import axios from 'axios'; */
|
|
|
export default {
|
|
|
- entrustList(EntrustTime, params, myAxios) {
|
|
|
+ entrustList (EntrustTime, params, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/limsentrust/entrustlist?EntrustTime=' + EntrustTime,
|
|
|
method: 'GET',
|
|
|
@@ -8,15 +8,15 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- entrustPlanList(EntrustTime, params, myAxios) {
|
|
|
+ entrustPlanList (EntrustTime, params, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/limsentrust/entrustplanlist?EntrustTime=' + EntrustTime,
|
|
|
method: 'GET',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
- addEntrust(mainForm, myAxios) {
|
|
|
+ addEntrust (mainForm, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/limsentrust/addentrust',
|
|
|
method: 'post',
|
|
|
@@ -24,8 +24,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- editEntrust(serviceId, mainForm, myAxios) {
|
|
|
- //return myAxios.put('limsentrust/editentrust/' + serviceId, mainForm)
|
|
|
+ editEntrust (serviceId, mainForm, myAxios) {
|
|
|
+ // return myAxios.put('limsentrust/editentrust/' + serviceId, mainForm)
|
|
|
return myAxios({
|
|
|
url: 'limsentrust/editentrust/' + serviceId,
|
|
|
method: 'put',
|
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- applyEntrust(serviceId, mainForm, myAxios) {
|
|
|
+ applyEntrust (serviceId, mainForm, myAxios) {
|
|
|
return myAxios({
|
|
|
url: 'limsentrust/entrustsampleapply/' + serviceId,
|
|
|
method: 'put',
|
|
|
@@ -41,19 +41,25 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- getEntrustInfo(entityId, myAxios) {
|
|
|
+ getEntrustInfo (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
url: 'limsentrust/getentrustinfo/' + entityId,
|
|
|
method: 'get'
|
|
|
})
|
|
|
},
|
|
|
+ getInner (entityId, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: 'limsentrust/getInner/' + entityId,
|
|
|
+ method: 'get'
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
- waitestList(params, myAxios) {
|
|
|
+ waitestList (params, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/limsentrust/waitestlist',
|
|
|
method: 'GET',
|
|
|
params: params
|
|
|
- });
|
|
|
- },
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
}
|