修正接口请求
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user