Commit fef56e32 by Wuyuqiu

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 47675db5 713d1474
......@@ -4,8 +4,8 @@ export function queryByPage(data) {
return Api.post("/manager/bopcur/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/manager/bopcur/queryById?inr=${inr}`)
export function queryById(data) {
return Api.post(`/manager/bopcur/queryById`, data)
}
export function add(data) {
......@@ -16,6 +16,6 @@ export function edit(data) {
return Api.post("/manager/bopcur/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/bopcur/deleteById?inr=${inr}`)
export function deleteById(data) {
return Api.post(`/manager/bopcur/deleteById`, data)
}
\ No newline at end of file
......@@ -354,6 +354,11 @@ import Dbafee from "~/views/Statics/Dbafee";
import Dbefee from "~/views/Statics/Dbefee";
import Dbdfee from "~/views/Statics/Dbdfee";
import Infcup from "~/views/Statics/Infcup";
import Dbicup from "~/views/Statics/Dbicup";
import Dbacup from "~/views/Statics/Dbacup";
import Dbecup from "~/views/Statics/Dbecup";
import Dbdcup from "~/views/Statics/Dbdcup";
import Dblapf from "~/views/Statics/Dblapf";
import Dbiapf from "~/views/Statics/Dbiapf";
import Dbaapf from "~/views/Statics/Dbaapf";
......@@ -741,6 +746,11 @@ const BusRouter = [
{ path: 'dbedia/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '交易备忘录修改: ' + tag.params.inr } } },
{ path: 'dbddia/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '交易备忘录删除: ' + tag.params.inr } } },
{ path: 'infcup', component: Infcup, name: 'StaticsInfcup', meta: { title: '查询申报币种信息' } },
{ path: 'dbacup', component: Dbacup, name: 'StaticsDbacup', meta: { title: '新增申报币别信息' } },
{ path: 'dbicup/:inr', component: Dbicup, name: 'StaticsDbicup', meta: { title: (tag) => { return '查看申报币种详情信息: ' + tag.params.inr } } },
{ path: 'dbecup/:inr', component: Dbecup, name: 'StaticsDbecup', meta: { title: (tag) => { return '修改申报币别信息: ' + tag.params.inr } } },
{ path: 'dbdcup/:inr', component: Dbdcup, name: 'StaticsDbdcup', meta: { title: (tag) => { return '删除申报币别信息: ' + tag.params.inr } } },
{ path: 'dblapf', component: Dblapf, name: 'StaticsDblapf', meta: { title: '报文格式信息查询' } },
{ path: 'dbaapf', component: Dbaapf, name: 'StaticsDbaapf', meta: { title: '报文格式信息新增' } },
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
......
......@@ -203,6 +203,7 @@ export default {
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ inifrm: "infdia", ininam: "交易备忘录查询", pntmiu: "10" },
{ inifrm: "inftxm2", ininam: "固定格式文本查询", pntmiu: "10"},
{ inifrm: "infcup", ininam: "查询申报币种信息", pntmiu: "10"},
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
......@@ -91,7 +91,8 @@ export default {
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryById(inr).then((res) => {
const data = {"inr":inr}
queryById(data).then((res) => {
if (res.inr) {
this.model = res;
} else {
......@@ -140,7 +141,8 @@ export default {
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
const data = {"inr":this.model.inr}
deleteById(data)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
......
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