修正接口请求

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

@@ -90,7 +90,7 @@ export default {
methods: {
getDetail() {
let {id} = this.$route.query
this.instance.post("/appportaluserenterprise/queryDetailById", null, {
this.instance.post("/app/appportaluserenterprise/queryDetailById", null, {
params: {id}
}).then(res => {
if (res?.data) {
@@ -102,7 +102,7 @@ export default {
this.$refs.AuditForm.validate(v => {
if (v) {
let {id} = this.detail
this.instance.post("/appportaluserenterprise/auditEnterprise", null, {
this.instance.post("/app/appportaluserenterprise/auditEnterprise", null, {
params: {id, ...this.form}
}).then(res => {
if (res?.code == 0) {

View File

@@ -63,7 +63,7 @@ export default {
},
methods: {
getTableData() {
this.instance.post("/appportaluserenterprise/list", null, {
this.instance.post("/app/appportaluserenterprise/list", null, {
params: {...this.page, ...this.search, enterpriseStatus: 0}
}).then(res => {
if (res?.data) {