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