|
@@ -169,9 +169,9 @@ export default {
|
|
|
var id = self.formModel.id;
|
|
|
|
|
|
if (id == null || id.length == 0) {
|
|
|
- return insuranceApi.add(self.formModel);
|
|
|
+ return insuranceApplicationApi.add(self.formModel);
|
|
|
} else {
|
|
|
- return insuranceApi.update(self.formModel);
|
|
|
+ return insuranceApplicationApi.update(self.formModel);
|
|
|
}
|
|
|
})().then(function(response) {
|
|
|
var jsonData = response.data;
|
|
@@ -201,9 +201,9 @@ export default {
|
|
|
|
|
|
(function() {
|
|
|
if (self.businessKey.length == 0) {
|
|
|
- return insuranceApi.create();
|
|
|
+ return insuranceApplicationApi.create();
|
|
|
} else {
|
|
|
- return insuranceApi.edit(self.menuId);
|
|
|
+ return insuranceApplicationApi.edit(self.menuId);
|
|
|
}
|
|
|
})()
|
|
|
.then(response => {
|