Commit b1baf136 by zhouqian

缺陷代码修改,适配模块名称修改

parent 00decab7
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/act/queryByPage", data)
return Api.post("/manager/act/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/act/queryDetailById?inr=${inr}`)
return Api.post(`/manager/act/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/act/add", data)
return Api.post("/manager/act/add", data)
}
export function edit(data) {
return Api.post("/test/act/edit", data)
return Api.post("/manager/act/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/act/deleteById?inr=${inr}`)
return Api.post(`/manager/act/deleteById?inr=${inr}`)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atp/queryByPage", data)
return Api.post("/manager/atp/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/test/atp/queryById?inr=${inr}`)
return Api.post(`/manager/atp/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atp/add", data)
return Api.post("/manager/atp/add", data)
}
export function edit(data) {
return Api.post("/test/atp/edit", data)
return Api.post("/manager/atp/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atp/deleteById?inr=${inr}`)
return Api.post(`/manager/atp/deleteById?inr=${inr}`)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atx/queryByPage", data)
return Api.post("/manager/atx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/atx/queryDetailById?inr=${inr}`)
return Api.post(`/manager/atx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atx/add", data)
return Api.post("/manager/atx/add", data)
}
export function edit(data) {
return Api.post("/test/atx/edit", data)
return Api.post("/manager/atx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atx/deleteById?inr=${inr}`)
return Api.post(`/manager/atx/deleteById?inr=${inr}`)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/bch/queryByPage", data)
return Api.post("/manager/bch/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/bch/queryDetailById?inr=${inr}`)
return Api.post(`/manager/bch/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/bch/add", data)
return Api.post("/manager/bch/add", data)
}
export function edit(data) {
return Api.post("/test/bch/edit", data)
return Api.post("/manager/bch/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/bch/deleteById?inr=${inr}`)
return Api.post(`/manager/bch/deleteById?inr=${inr}`)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/cty/queryByPage", data)
return Api.post("/manager/cty/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/test/cty/queryById?inr=${inr}`)
return Api.post(`/manager/cty/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/cty/add", data)
return Api.post("/manager/cty/add", data)
}
export function edit(data) {
return Api.post("/test/cty/edit", data)
return Api.post("/manager/cty/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/cty/deleteById?inr=${inr}`)
return Api.post(`/manager/cty/deleteById?inr=${inr}`)
}
export function addBopctyData(inr, data) {
return Api.post(`/test/cty/addBopctyData?inr=${inr}`, data)
return Api.post(`/manager/cty/addBopctyData?inr=${inr}`, data)
}
export function editBopctyData(inr, data) {
return Api.post(`/test/cty/editBopctyData?inr=${inr}`, data)
return Api.post(`/manager/cty/editBopctyData?inr=${inr}`, data)
}
export function deleteBopctyById(data) {
return Api.post(`/test/cty/deleteBopctyById`, data)
return Api.post(`/manager/cty/deleteBopctyById`, data)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/cur/queryByPage", data)
return Api.post("/manager/cur/queryByPage", data)
}
export function curInfo(inr) {
return Api.post(`/test/cur/queryById?inr=${inr}`)
return Api.post(`/manager/cur/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/cur/add", data)
return Api.post("/manager/cur/add", data)
}
export function edit(data) {
return Api.post("/test/cur/edit", data)
return Api.post("/manager/cur/edit", data)
}
export function deleteById(data) {
return Api.post(`/test/cur/deleteById`, data)
return Api.post(`/manager/cur/deleteById`, data)
}
// export function addAdrData(inr, data) {
// return Api.post(`/test/cur/addAdrData?inr=${inr}`, data)
// return Api.post(`/manager/cur/addAdrData?inr=${inr}`, data)
// }
// export function updateAdrData(inr, data) {
// return Api.post(`/test/cur/updateAdrData?inr=${inr}`, data)
// return Api.post(`/manager/cur/updateAdrData?inr=${inr}`, data)
// }
// export function deleteAdrData(data) {
// return Api.post(`/test/cur/deleteAdrData`, data)
// return Api.post(`/manager/cur/deleteAdrData`, data)
// }
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/fec/queryByPage", data)
return Api.post("/manager/fec/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/fec/queryDetailById?inr=${inr}`)
return Api.post(`/manager/fec/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/fec/add", data)
return Api.post("/manager/fec/add", data)
}
export function edit(data) {
return Api.post("/test/fec/edit", data)
return Api.post("/manager/fec/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/fec/deleteById?inr=${inr}`)
return Api.post(`/manager/fec/deleteById?inr=${inr}`)
}
export function addFeeData(inr,data) {
return Api.post(`/test/fec/addFeeData?inr=${inr}`, data)
return Api.post(`/manager/fec/addFeeData?inr=${inr}`, data)
}
export function editFeeData(inr,data) {
return Api.post(`/test/fec/editFeeData?inr=${inr}`, data)
return Api.post(`/manager/fec/editFeeData?inr=${inr}`, data)
}
export function deleteFeeData(data) {
return Api.post(`/test/fec/deleteFeeData`, data)
return Api.post(`/manager/fec/deleteFeeData`, data)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/gtx/queryByPage", data)
return Api.post("/manager/gtx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/gtx/queryDetailById?inr=${inr}`)
return Api.post(`/manager/gtx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/gtx/add", data)
return Api.post("/manager/gtx/add", data)
}
export function edit(data) {
return Api.post("/test/gtx/edit", data)
return Api.post("/manager/gtx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/gtx/deleteById?inr=${inr}`)
return Api.post(`/manager/gtx/deleteById?inr=${inr}`)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/pty/queryByPage", data)
return Api.post("/manager/pty/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/pty/queryDetailById?inr=${inr}`)
return Api.post(`/manager/pty/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/pty/add", data)
return Api.post("/manager/pty/add", data)
}
export function edit(data) {
return Api.post("/test/pty/edit", data)
return Api.post("/manager/pty/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/pty/deleteById?inr=${inr}`)
return Api.post(`/manager/pty/deleteById?inr=${inr}`)
}
export function addAdrData(inr, data) {
return Api.post(`/test/pty/addAdrData?inr=${inr}`, data)
return Api.post(`/manager/pty/addAdrData?inr=${inr}`, data)
}
export function updateAdrData(inr, data) {
return Api.post(`/test/pty/updateAdrData?inr=${inr}`, data)
return Api.post(`/manager/pty/updateAdrData?inr=${inr}`, data)
}
export function deleteAdrData(data) {
return Api.post(`/test/pty/deleteAdrData`, data)
return Api.post(`/manager/pty/deleteAdrData`, data)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/trl/queryByPage", data)
return Api.post("/manager/trl/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/test/trl/queryById?inr=${inr}`)
return Api.post(`/manager/trl/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/trl/add", data)
return Api.post("/manager/trl/add", data)
}
export function edit(data) {
return Api.post("/test/trl/edit", data)
return Api.post("/manager/trl/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/trl/deleteById?inr=${inr}`)
return Api.post(`/manager/trl/deleteById?inr=${inr}`)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/usr/queryByPage", data)
return Api.post("/manager/usr/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/usr/queryDetailById?inr=${inr}`)
return Api.post(`/manager/usr/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/usr/add", data)
return Api.post("/manager/usr/add", data)
}
export function edit(data) {
return Api.post("/test/usr/edit", data)
return Api.post("/manager/usr/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/usr/deleteById?inr=${inr}`)
return Api.post(`/manager/usr/deleteById?inr=${inr}`)
}
export function addUbrData(data) {
return Api.post(`/test/usr/addUbrData`, data)
return Api.post(`/manager/usr/addUbrData`, data)
}
export function updateUbrData(data) {
return Api.post(`/test/usr/updateUbrData`, data)
return Api.post(`/manager/usr/updateUbrData`, data)
}
export function deleteUbrData(inr) {
return Api.post(`/test/usr/deleteUbrData?inr=${inr}`, inr)
return Api.post(`/manager/usr/deleteUbrData?inr=${inr}`, inr)
}
export function addUclData(data) {
return Api.post(`/test/usr/addUclData`, data)
export function addUclData(inr,data) {
return Api.post(`/manager/usr/addUclData?inr=${inr}`, data)
}
export function updateUclData(data) {
return Api.post(`/test/usr/updateUclData`, data)
export function updateUclData(inr,data) {
return Api.post(`/manager/usr/updateUclData?inr=${inr}`, data)
}
export function deleteUclData(usr, branchinr) {
return Api.post(`/test/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
return Api.post(`/manager/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
}
\ No newline at end of file
......@@ -13,23 +13,11 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="BCH" name="bch">
<el-tab-pane label="机构信息" name="bch">
<c-content>
<m-bchp0 :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Related clients" name="bchp1">
<c-content>
<m-bchp1 :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Authorization" name="bchp2">
<c-content>
<m-bchp2 :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
......
......@@ -12,24 +12,6 @@
>
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="唯一ID" prop="inr">
<c-input
v-model="ubr.inr"
placeholder="请输入唯一ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户ID" prop="usrinr">
<c-input
v-model="ubr.usrinr"
placeholder="请输入用户ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易名" prop="bussec">
<c-input
v-model="ubr.bussec"
......@@ -49,24 +31,22 @@
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input
<c-input-currency
v-model="ubr.relamt"
placeholder="请输入授权金额"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二授权金额" prop="relamt2nd">
<c-input
<c-input-currency
v-model="ubr.relamt2nd"
placeholder="请输入第二授权金额"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="授权状态" prop="relgrp">
<c-input
......@@ -76,6 +56,8 @@
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="交易代码" prop="trncod">
<c-input
......@@ -105,11 +87,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="一次性释放授权" prop="autamt">
<c-input
<c-input-currency
v-model="ubr.autamt"
placeholder="请输入一次性释放授权"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
......
......@@ -128,6 +128,7 @@ export default {
*/
ubrAdd() {
this.ubr = new Ubr().data;
this.ubr.usrinr=this.model.inr;
this.operate = "add";
this.ubrDialog = true;
},
......@@ -170,6 +171,7 @@ export default {
if (res) {
this.$message.success("修改柜员权限信息成功!");
//TODO model.uclList回填
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
......@@ -202,6 +204,7 @@ export default {
this.$message.success("保存柜员权限信息成功!");
//TODO model.uclList回填
// this.model.ubrList = res.ubrList;
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
......
......@@ -160,11 +160,12 @@ export default {
editUcl() {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
updateUclData(this.ucl)
updateUclData(this.model.inr,this.ucl)
.then((res) => {
if (res.usr) {
if (res) {
this.$message.success("修改柜员组信息成功!");
//TODO model.uclList回填
this.model.uclList = res.uclList;
this.handleClose();
}
})
......@@ -190,11 +191,12 @@ export default {
} else {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
addUclData(this.ucl)
addUclData(this.model.inr,this.ucl)
.then((res) => {
if (res) {
this.$message.success("保存柜员组信息成功!");
//TODO model.uclList回填
this.model.uclList = res.uclList;
this.handleClose();
}
})
......
......@@ -2,15 +2,6 @@
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="ID" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户ID" prop="extkey">
<c-input
v-model="model.extkey"
......@@ -56,15 +47,6 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体标志" prop="pri">
<c-input
v-model="model.pri"
......@@ -111,20 +93,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input
<c-input-currency
v-model="model.relamt"
placeholder="请输入relamt"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二授权金额" prop="relamt2nd">
<c-input
<c-input-currency
v-model="model.relamt2nd"
placeholder="请输入relamt2nd"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
......@@ -168,11 +150,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="可用时间" prop="quepow">
<c-input
<c-input-currency
v-model="model.quepow"
placeholder="请输入quepow"
>
</c-input>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -62,11 +62,11 @@ module.exports = {
'^/gjjs/elec': '/gjjs/elec'
}
},
'/gjjs/test/': {
'/gjjs/manager/': {
target: 'http://127.0.0.1:8089',
changeOrigin: true,
pathRewrite: {
'^/gjjs/test': '/gjjs/test'
'^/gjjs/manager': '/gjjs/manager'
}
},
......
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