Commit 37cbed1b by liaoxing

静态交易修改

parent 857c909a
......@@ -4,8 +4,8 @@ export function queryByPage(data) {
return Api.post("/service/btb/queryByPage", data)
}
export function queryByPageAgent(data) {
return Api.post("/service/btb/queryByPageAgent",data)
export function queryByPage_Agent(data) {
return Api.post("/service/btb/queryByPage_Agent",data)
}
export function queryByPageByInr(data) {
......
......@@ -21,17 +21,17 @@ export function edit(data) {
}
export function deleteById(inr) {
return Api.post(`/manager/cty/deleteById?inr=${inr}`)
return Api.post(`/service/cty/deleteById?inr=${inr}`)
}
export function addBopctyData(inr, data) {
return Api.post(`/service/cty/addBopctyData?inr=${inr}`, data)
}
// export function addBopctyData(inr, data) {
// return Api.post(`/service/cty/addBopctyData?inr=${inr}`, data)
// }
export function editBopctyData(inr, data) {
return Api.post(`/service/cty/editBopctyData?inr=${inr}`, data)
}
// export function editBopctyData(inr, data) {
// return Api.post(`/service/cty/editBopctyData?inr=${inr}`, data)
// }
export function deleteBopctyById(data) {
return Api.post(`/service/cty/deleteBopctyById`, data)
}
// export function deleteBopctyById(data) {
// return Api.post(`/service/cty/deleteBopctyById`, data)
// }
......@@ -21,7 +21,7 @@ export function edit(data) {
}
export function deleteById(data) {
return Api.post(`/manager/cur/deleteById?inr=${data}`)
return Api.post(`/service/cur/deleteById?inr=${data}`)
}
// export function addAdrData(inr, data) {
......
......@@ -17,6 +17,6 @@ export function edit(data) {
}
export function deleteById(inr) {
return Api.post("/service/ety/deleteById", {inr})
return Api.post(`/service/ety/deleteById?inr=${inr}`)
}
......@@ -202,7 +202,6 @@ export default {
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ inifrm: "infdia", ininam: "交易备忘录查询", pntmiu: "10" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
......@@ -130,7 +130,7 @@ export default {
},
onInfbtbSearch() {
this.model.lnktyp="B";
queryByPage(this.model).then(res => {
queryByPage_Agent(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
......
......@@ -145,15 +145,16 @@ export default {
})
.catch((err) => {
this.$message.error("国家地区信息保存失败!");
});}else{
editBopctyData(this.model.inr,this.model)
.then((res) => {
this.$message.success("收支申报国家代码表保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("收支申报国家代码表保存失败!");
});
// }else{
// editBopctyData(this.model.inr,this.model)
// .then((res) => {
// this.$message.success("收支申报国家代码表保存成功!");
// this.goBack(true)
// })
// .catch((err) => {
// this.$message.error("收支申报国家代码表保存失败!");
// });
}
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
......@@ -175,15 +176,16 @@ export default {
})
.catch((err) => {
this.$message.error("国家地区信息删除失败!");
})}else{
deleteBopctyById(this.model)
.then((res) => {
this.$message.success("收支申报国家代码表删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("收支申报国家代码表删除失败!");
})
// }else{
// deleteBopctyById(this.model)
// .then((res) => {
// this.$message.success("收支申报国家代码表删除成功!");
// this.goBack(true)
// })
// .catch((err) => {
// this.$message.error("收支申报国家代码表删除失败!");
// })
};
})
.catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment