修复接口代理问题

This commit is contained in:
aixianling
2022-08-31 17:29:17 +08:00
parent 6c44cf5a65
commit b1d31708da
5 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ export default {
this.dialog = true
},
getClassTypeList() {
this.instance.post("/zwspapprovalclassification/list?size=100").then(res => {
this.instance.post("/api/zwspapprovalclassification/list?size=100").then(res => {
if (res?.data) {
res.data.records.map((item) => {
item.dictName = item.name

View File

@@ -90,7 +90,7 @@ export default {
},
handleIsHot(row) {
let {id, isHot} = row
this.instance.post("appfinancialproduct/setIsHot", null, {
this.instance.post("/api/appfinancialproduct/setIsHot", null, {
params: {id, isHot}
}).then(res => {
if (res?.code == 0) {

View File

@@ -131,7 +131,7 @@ export default {
},
handleIsHot(row) {
let {id, isHot} = row
this.instance.post("appfinancialproduct/setIsHot", null, {
this.instance.post("/api/appfinancialproduct/setIsHot", null, {
params: {id, isHot}
}).then(res => {
if (res?.code == 0) {

View File

@@ -112,7 +112,7 @@ export default {
},
handleIsHot(row) {
let {id, isHot} = row
this.instance.post("appfinancialproduct/setIsHot", null, {
this.instance.post("/api/appfinancialproduct/setIsHot", null, {
params: {id, isHot}
}).then(res => {
if (res?.code == 0) {

View File

@@ -410,7 +410,7 @@ export default {
this.$refs["ruleForm1"].validate(valid => {
if (valid) {
this.form1.id = this.detail.id;
this.instance.post('/oa/approv-alapply-info/approval', this.form1).then(res => {
this.instance.post('/api/oa/approv-alapply-info/approval', this.form1).then(res => {
if (res && res.code == 0) {
this.$message.success("转办成功");
this.approval.goBack()