修正接口请求

This commit is contained in:
aixianling
2022-08-26 14:24:34 +08:00
parent 44ca30cbf3
commit ce1fd46b7e
53 changed files with 151 additions and 151 deletions

View File

@@ -86,7 +86,7 @@ export default {
},
methods: {
getTableData() {
this.instance.post("/appfinancialorganization/list", null, {
this.instance.post("/app/appfinancialorganization/list", null, {
params: {...this.page, ...this.search}
}).then(res => {
if (res?.data) {
@@ -100,7 +100,7 @@ export default {
this.$refs.addAccountForm.validate(v => {
if (v) {
let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url
this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
this.instance.post("/app/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
if (res?.code == 0) {
this.$message.success("提交成功!")
this.dialog = false
@@ -117,7 +117,7 @@ export default {
},
handleDelete(ids) {
this.$confirm("是否要删除该机构?").then(() => {
this.instance.post("/appfinancialorganization/delete", null, {
this.instance.post("/app/appfinancialorganization/delete", null, {
params: {ids}
}).then(res => {
if (res?.code == 0) {