Commit 67e258f8 by panziyi

静态交易fec,gtx

parent a891f1f7
import Api from "~/service/Api" import Api from "~/service/Api"
export function queryByPage(data) { export function queryByPage(data) {
return Api.post("/manager/fec/queryByPage", data) return Api.post("/service/fec/queryByPage", data)
} }
export function queryDetailById(inr) { export function queryDetailById(inr) {
return Api.post(`/manager/fec/queryDetailById?inr=${inr}`) return Api.post(`/service/fec/queryDetailById?inr=${inr}`)
} }
export function add(data) { export function add(data) {
return Api.post("/manager/fec/add", data) return Api.post("/service/fec/add", data)
} }
export function edit(data) { export function edit(data) {
return Api.post("/manager/fec/edit", data) return Api.post("/service/fec/edit", data)
} }
export function deleteById(inr) { export function deleteById(inr) {
return Api.post(`/manager/fec/deleteById?inr=${inr}`) return Api.post(`/service/fec/deleteById?inr=${inr}`)
} }
export function addFeeData(inr,data) { export function addFeeData(inr,data) {
return Api.post(`/manager/fec/addFeeData?inr=${inr}`, data) return Api.post(`/service/fec/addFeeData?inr=${inr}`, data)
} }
export function editFeeData(inr,data) { export function editFeeData(inr,data) {
return Api.post(`/manager/fec/editFeeData?inr=${inr}`, data) return Api.post(`/service/fec/editFeeData?inr=${inr}`, data)
} }
export function deleteFeeData(data) { export function deleteFeeData(data) {
return Api.post(`/manager/fec/deleteFeeData`, data) return Api.post(`/service/fec/deleteFeeData`, data)
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
export function queryByPage(data) { export function queryByPage(data) {
return Api.post("/manager/gtx/queryByPage", data) return Api.post("/service/gtx/queryByPage", data)
} }
export function queryDetailById(inr) { export function queryDetailById(inr) {
return Api.post(`/manager/gtx/queryDetailById?inr=${inr}`) return Api.post(`/service/gtx/queryDetailById?inr=${inr}`)
} }
export function add(data) { export function add(data) {
return Api.post("/manager/gtx/add", data) return Api.post("/service/gtx/add", data)
} }
export function edit(data) { export function edit(data) {
return Api.post("/manager/gtx/edit", data) return Api.post("/service/gtx/edit", data)
} }
export function deleteById(inr) { export function deleteById(inr) {
return Api.post(`/manager/gtx/deleteById?inr=${inr}`) return Api.post(`/service/gtx/deleteById?inr=${inr}`)
} }
...@@ -301,17 +301,17 @@ import Dbicur from "~/views/Statics/cur/views/Dbicur"; ...@@ -301,17 +301,17 @@ import Dbicur from "~/views/Statics/cur/views/Dbicur";
import Dbecur from "~/views/Statics/cur/views/Dbecur"; import Dbecur from "~/views/Statics/cur/views/Dbecur";
import Dbdcur from "~/views/Statics/cur/views/Dbdcur"; import Dbdcur from "~/views/Statics/cur/views/Dbdcur";
import Inffec from "~/views/Statics/Inffec"; import Inffec from "~/views/Statics/Fec/views/Inffec";
import Dbifec from "~/views/Statics/Dbifec"; import Dbifec from "~/views/Statics/Fec/views/Dbifec";
import Dbafec from "~/views/Statics/Dbafec"; import Dbafec from "~/views/Statics/Fec/views/Dbafec";
import Dbefec from "~/views/Statics/Dbefec"; import Dbefec from "~/views/Statics/Fec/views/Dbefec";
import Dbdfec from "~/views/Statics/Dbdfec"; import Dbdfec from "~/views/Statics/Fec/views/Dbdfec";
import Infgtx from "~/views/Statics/Infgtx"; import Infgtx from "~/views/Statics/Gtx/views/Infgtx";
import Dbigtx from "~/views/Statics/Dbigtx"; import Dbigtx from "~/views/Statics/Gtx/views/Dbigtx";
import Dbagtx from "~/views/Statics/Dbagtx"; import Dbagtx from "~/views/Statics/Gtx/views/Dbagtx";
import Dbegtx from "~/views/Statics/Dbegtx"; import Dbegtx from "~/views/Statics/Gtx/views/Dbegtx";
import Dbdgtx from "~/views/Statics/Dbdgtx"; import Dbdgtx from "~/views/Statics/Gtx/views/Dbdgtx";
import Infpty from "~/views/Statics/Infpty"; import Infpty from "~/views/Statics/Infpty";
import Dbipty from "~/views/Statics/Dbipty"; import Dbipty from "~/views/Statics/Dbipty";
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbifec from "~/views/Statics/Dbifec"; import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default { export default {
name: "StaticsDbafec", name: "StaticsDbafec",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbifec from "~/views/Statics/Dbifec"; import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default { export default {
name: "StaticsDbdfec", name: "StaticsDbdfec",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbifec from "~/views/Statics/Dbifec"; import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default { export default {
name: "StaticsDbefec", name: "StaticsDbefec",
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<script> <script>
import Utils from "~/utils"; import Utils from "~/utils";
import Fec, { Pattern } from "./Fec.js"; import Fec, { Pattern } from "~/views/Statics/Fec/model/Fec.js";
import FecInfo from "./FecInfo.vue"; import FecInfo from "./FecInfo.vue";
import FeeInfo from "./FeeInfo.vue"; import FeeInfo from "./FeeInfo.vue";
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbigtx from "~/views/Statics/Dbigtx"; import Dbigtx from "../Dbigtx";
export default { export default {
name: "StaticsDbagtx", name: "StaticsDbagtx",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbigtx from "~/views/Statics/Dbigtx"; import Dbigtx from "../Dbigtx";
export default { export default {
name: "StaticsDbdgtx", name: "StaticsDbdgtx",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import Dbigtx from "~/views/Statics/Dbigtx"; import Dbigtx from "../Dbigtx";
export default { export default {
name: "StaticsDbegtx", name: "StaticsDbegtx",
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<script> <script>
import Utils from "~/utils"; import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js"; import Gtx, { Pattern } from "~/views/Statics/Gtx/model/Gtx.js";
import GtxInfo from "./GtxInfo.vue"; import GtxInfo from "./GtxInfo.vue";
......
...@@ -42,17 +42,17 @@ import Infswm from "./Swm/views/Infswm"; ...@@ -42,17 +42,17 @@ import Infswm from "./Swm/views/Infswm";
// import Dbecty from "./Dbecty"; // import Dbecty from "./Dbecty";
// import Dbdcty from "./Dbdcty"; // import Dbdcty from "./Dbdcty";
import Inffec from "./Inffec"; import Inffec from "./Fec/views/Inffec";
import Dbifec from "./Dbifec"; import Dbifec from "./Fec/views/Dbifec";
import Dbafec from "./Dbafec"; import Dbafec from "./Fec/views/Dbafec";
import Dbefec from "./Dbefec"; import Dbefec from "./Fec/views/Dbefec";
import Dbdfec from "./Dbdfec"; import Dbdfec from "./Fec/views/Dbdfec";
import Infgtx from "./Infgtx"; import Infgtx from "./Gtx/views/Infgtx";
import Dbigtx from "./Dbigtx"; import Dbigtx from "./Gtx/views/Dbigtx";
import Dbagtx from "./Dbagtx"; import Dbagtx from "./Gtx/views/Dbagtx";
import Dbegtx from "./Dbegtx"; import Dbegtx from "./Gtx/views/Dbegtx";
import Dbdgtx from "./Dbdgtx"; import Dbdgtx from "./Gtx/views/Dbdgtx";
import Infcur from "./cur/views/Infcur"; import Infcur from "./cur/views/Infcur";
import Dbacur from "./cur/views/Dbacur"; import Dbacur from "./cur/views/Dbacur";
...@@ -181,6 +181,12 @@ const StaticsRouter = [ ...@@ -181,6 +181,12 @@ const StaticsRouter = [
{ path: 'dbaxrt', component: Dbaxrt, name: 'StaticsDbaxrt', meta: { title: '牌价新增' } }, { path: 'dbaxrt', component: Dbaxrt, name: 'StaticsDbaxrt', meta: { title: '牌价新增' } },
{ path: 'dbexrt/:inr', component: Dbexrt, name: 'StaticsDbexrt', meta: { title: (tag) => { return '牌价修改: ' + tag.params.inr } } }, { path: 'dbexrt/:inr', component: Dbexrt, name: 'StaticsDbexrt', meta: { title: (tag) => { return '牌价修改: ' + tag.params.inr } } },
{ path: 'dbdxrt/:inr', component: Dbdxrt, name: 'StaticsDbdxrt', meta: { title: (tag) => { return '牌价删除: ' + tag.params.inr } } }, { path: 'dbdxrt/:inr', component: Dbdxrt, name: 'StaticsDbdxrt', meta: { title: (tag) => { return '牌价删除: ' + tag.params.inr } } },
{ path: 'inffec', component: Inffec, name: 'StaticsInffec', meta: { title: '费率查询' } },
{ path: 'dbafec', component: Dbafec, name: 'StaticsDbafec', meta: { title: '费率新增' } },
{ path: 'dbifec/:inr', component: Dbifec, name: 'StaticsDbifec', meta: { title: (tag) => { return '费率详情: ' + tag.params.inr } } },
{ path: 'dbefec/:inr', component: Dbefec, name: 'StaticsDbefec', meta: { title: (tag) => { return '费率修改: ' + tag.params.inr } } },
{ path: 'dbdfec/:inr', component: Dbdfec, name: 'StaticsDbdfec', meta: { title: (tag) => { return '费率删除: ' + tag.params.inr } } },
] ]
export default StaticsRouter export default StaticsRouter
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