fix
This commit is contained in:
parent
295866e1a7
commit
d46ac2cf7d
1403
src/api/年报填报相关.js
1403
src/api/年报填报相关.js
File diff suppressed because it is too large
Load Diff
|
|
@ -38,7 +38,7 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
createGlobalLoading(() => {
|
createGlobalLoading(() => {
|
||||||
return annualFillBasePage({
|
return annualFillBasePage(undefined, {
|
||||||
current: '1',
|
current: '1',
|
||||||
size: 999
|
size: 999
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
|
|
|
||||||
|
|
@ -226,7 +226,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,10 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return annualFillAssetEntTempSave(formData).then(() => {
|
return annualFillAssetEntTempSave({
|
||||||
|
info: formData,
|
||||||
|
year: formData.year
|
||||||
|
}).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveSfc(formData).then(() => {
|
return annualFillBaseSaveSfc(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,10 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return annualFillAssetSfcTempSave(formData).then(() => {
|
return annualFillAssetSfcTempSave({
|
||||||
|
info: formData,
|
||||||
|
year: formData.year
|
||||||
|
}).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSavePb(formData).then(() => {
|
return annualFillBaseSavePb(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,10 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return annualFillAssetEntTempSave(formData).then(() => {
|
return annualFillAssetEntTempSave({
|
||||||
|
info: formData,
|
||||||
|
year: formData.year
|
||||||
|
}).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -322,7 +322,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveEnt(formData).then(() => {
|
return annualFillBaseSaveEnt(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return this.api.save(formData).then(() => {
|
return this.api.save(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -376,7 +376,7 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return this.api.save(formData).then(() => {
|
return this.api.save(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -42,10 +42,7 @@ export default {
|
||||||
label: '保存',
|
label: '保存',
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return this.api.save({
|
return this.api.save(undefined, formData).then(() => {
|
||||||
info: formData,
|
|
||||||
year: this.$route.query.year
|
|
||||||
}).then(() => {
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -234,7 +234,7 @@ export default {
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
formData.bizSource = 6
|
formData.bizSource = 6
|
||||||
return annualFillBaseSaveFor(formData).then(() => {
|
return annualFillBaseSaveFor(undefined, formData).then(() => {
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/report/public/index',
|
path: '/report/public/index',
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return annualFillWsOtherDebtSaveTemp({
|
return annualFillWsOtherDebtSaveTemp(undefined, {
|
||||||
year: this.$route.query.year,
|
year: this.$route.query.year,
|
||||||
info: formData
|
info: formData
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@ export default {
|
||||||
},
|
},
|
||||||
handler: (scope) => {
|
handler: (scope) => {
|
||||||
return scope.formInstance.submitForm().then((formData) => {
|
return scope.formInstance.submitForm().then((formData) => {
|
||||||
return annualFillWsOtherCapitalSaveTemp({
|
return annualFillWsOtherCapitalSaveTemp(undefined, {
|
||||||
year: this.$route.query.year,
|
year: this.$route.query.year,
|
||||||
info: formData
|
info: formData
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue