修复接口代理问题
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user