Commit 45cbb57c by xionglin

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents a23fb268 8c369cbf
import Api from "~/service/Api" import Api from "~/service/Api"
export function queryByPage(data) { export function queryByPage(data) {
return Api.post("/manager/trl/queryByPage", data) return Api.post("/service/trl/queryByPage", data)
} }
export function queryById(inr) { export function queryById(inr) {
return Api.post(`/manager/trl/queryById?inr=${inr}`) return Api.post(`/service/trl/queryById?inr=${inr}`)
} }
export function add(data) { export function add(data) {
return Api.post("/manager/trl/add", data) return Api.post("/service/trl/add", data)
} }
export function edit(data) { export function edit(data) {
return Api.post("/manager/trl/edit", data) return Api.post("/service/trl/edit", data)
} }
export function deleteById(inr) { export function deleteById(inr) {
return Api.post(`/manager/trl/deleteById?inr=${inr}`) return Api.post(`/service/trl/deleteById?inr=${inr}`)
} }
\ No newline at end of file
...@@ -319,11 +319,11 @@ import Dbapty from "~/views/Statics/Dbapty"; ...@@ -319,11 +319,11 @@ import Dbapty from "~/views/Statics/Dbapty";
import Dbepty from "~/views/Statics/Dbepty"; import Dbepty from "~/views/Statics/Dbepty";
import Dbdpty from "~/views/Statics/Dbdpty"; import Dbdpty from "~/views/Statics/Dbdpty";
import Inftrl from "~/views/Statics/Inftrl"; import Dbatrl from "~/views/Statics/Trl/views/Dbatrl";
import Dbitrl from "~/views/Statics/Dbitrl"; import Dbdtrl from "~/views/Statics/Trl/views/Dbdtrl";
import Dbatrl from "~/views/Statics/Dbatrl"; import Dbetrl from "~/views/Statics/Trl/views/Dbetrl";
import Dbetrl from "~/views/Statics/Dbetrl"; import Dbitrl from "~/views/Statics/Trl/views/Dbitrl";
import Dbdtrl from "~/views/Statics/Dbdtrl"; import Inftrl from "~/views/Statics/Trl/views/Inftrl";
import Infusr from "~/views/Statics/Infusr"; import Infusr from "~/views/Statics/Infusr";
import Dbausr from "~/views/Statics/Dbausr"; import Dbausr from "~/views/Statics/Dbausr";
......
...@@ -3,11 +3,11 @@ import Dbipty from "./Dbipty"; ...@@ -3,11 +3,11 @@ import Dbipty from "./Dbipty";
import Dbapty from "./Dbapty"; import Dbapty from "./Dbapty";
import Dbepty from "./Dbepty"; import Dbepty from "./Dbepty";
import Dbdpty from "./Dbdpty"; import Dbdpty from "./Dbdpty";
import Inftrl from "./Inftrl"; import Dbatrl from "./Trl/views/Dbatrl";
import Dbitrl from "./Dbitrl"; import Dbdtrl from "./Trl/views/Dbdtrl";
import Dbatrl from "./Dbatrl"; import Dbetrl from "./Trl/views/Dbetrl";
import Dbetrl from "./Dbetrl"; import Dbitrl from "./Trl/views/Dbitrl";
import Dbdtrl from "./Dbdtrl"; import Inftrl from "./Trl/views/Inftrl";
import Infusr from "./Infusr"; import Infusr from "./Infusr";
import Dbausr from "./Dbausr"; import Dbausr from "./Dbausr";
import Dbiusr from "./Dbiusr"; import Dbiusr from "./Dbiusr";
...@@ -34,6 +34,8 @@ import Infswm from "./Swm/views/Infswm"; ...@@ -34,6 +34,8 @@ import Infswm from "./Swm/views/Infswm";
// import Infcty from "./Infcty"; // import Infcty from "./Infcty";
// import Dbicty from "./Dbicty"; // import Dbicty from "./Dbicty";
// import Dbacty from "./Dbacty"; // import Dbacty from "./Dbacty";
......
...@@ -58,7 +58,8 @@ ...@@ -58,7 +58,8 @@
<script> <script>
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Utils from "~/utils"; import Utils from "~/utils";
import Swm, { Pattern } from "./Swm.js";
import Swm, { Pattern } from "~/views/Statics/Swm/model/Swm.js";
import SwmInfo from "./SwmInfo.vue"; import SwmInfo from "./SwmInfo.vue";
import SwmAdd from "./SwmAdd"; import SwmAdd from "./SwmAdd";
......
<template>
<m-trl ref="trl" title="dbatrl" type="add"></m-trl>
</template>
<script>
import Dbitrl from "~/views/Statics/Trl/views/Dbitrl";
export default {
name: "StaticsDbatrl",
components: {
"m-trl": Dbitrl
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-trl title="dbdtrl" type="delete"></m-trl>
</template>
<script>
import Dbitrl from "~/views/Statics/Trl/views/Dbitrl";
export default {
name: "StaticsDbdtrl",
components: {
"m-trl": Dbitrl
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-trl title="dbetrl" type="edit"></m-trl>
</template>
<script>
import Dbitrl from "~/views/Statics/Trl/views/Dbitrl";
export default {
name: "StaticsDbetrl",
components: {
"m-trl": Dbitrl
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
<script> <script>
import Utils from "~/utils"; import Utils from "~/utils";
import Trl, { Pattern } from "./Trl.js"; import Trl, { Pattern } from "~/views/Statics/Trl/model/Trl.js";
import TrlInfo from "./TrlInfo.vue"; import TrlInfo from "~/views/Statics/Trl/views/Dbitrl/TrlInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/trl.js"; import { queryById, add, edit, deleteById } from "~/service/test/trl.js";
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="机构编码" prop="bchkey">
<c-input v-model="model.bchkey" placeholder="请输入机构编码"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权货币" prop="relcur">
<c-select v-model="model.relcur" placeholder="请选择授权货币" :code="relcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input v-model="model.relamt" placeholder="请输入授权金额"> </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="trn">
<c-input v-model="model.trn" placeholder="请输入交易代码"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易属性" prop="relflg">
<c-input v-model="model.relflg" placeholder="请输入交易属性"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="trlAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="trlData"
:columns="trlColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="trlInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="trlEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="trlDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/trl.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
trlData: [],
trlColumns: [
{ label: "机构编码", prop: "bchkey", width: "auto" },
{ label: "交易代码", prop: "trn", width: "auto" },
{ label: "授权货币", prop: "relcur", width: "auto" },
{ label: "授权金额", prop: "relamt", width: "auto" },
{ label: "交易属性", prop: "relflg", width: "auto" },
],
relcur: [
{ label: "AUD 澳大利亚元", value: "AUD" },
{ label: "CAD 加拿大元", value: "CAD" },
{ label: "CHF 瑞士法郎", value: "CHF" },
{ label: "CNY 人民币", value: "CNY" },
{ label: "DKK 丹麦克朗", value: "DKK" },
{ label: "EUR 欧元", value: "EUR" },
{ label: "FIM 芬兰马克", value: "FIM" },
{ label: "FRF 法国法郎", value: "FRF" },
{ label: "GBP 英镑", value: "FRF" },
{ label: "HKD 港币", value: "FRF" },
{ label: "JPY 日元", value: "FRF" },
{ label: "KRW 韩圆", value: "FRF" },
{ label: "MOP 澳门元", value: "FRF" },
{ label: "NOK 挪威克朗", value: "FRF" },
{ label: "NZD 新西兰元", value: "FRF" },
{ label: "SEK 瑞典克朗", value: "FRF" },
{ label: "SGD 新加坡元", value: "FRF" },
{ label: "THB 泰国铢", value: "FRF" },
{ label: "TWD 新台湾元", value: "FRF" },
{ label: "USD 美元", value: "FRF" },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInftrlSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInftrlSearch();
},
onInftrlSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
this.trlData = list;
this.model.pageNum = res.pageNumber;
this.model.pageSize = res.pageSize;
this.model.total = res.total;
});
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber;
this.model.pageSize = pageSize;
this.onInftrlSearch();
},
trlAdd() {
this.$router.push(`/statics/dbatrl`);
},
trlInfo(index, row) {
this.$router.push(`/statics/dbitrl/${row.inr}`);
},
trlEdit(index, row) {
this.$router.push(`/statics/dbetrl/${row.inr}`);
},
trlDelete(index, row) {
this.$router.push(`/statics/dbdtrl/${row.inr}`);
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
<template>
<div class="eContainer">
<c-page title="复核级别查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="复核级别查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInftrl",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// trl
bchkey: "",
trn: "",
relcur: "",
relamt: "",
ver: "",
relflg: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
};
</script>
<style></style>
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