Commit 544dbefb by fukai

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 ee49135e 28acb514
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atp/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/test/atp/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atp/add", data)
}
export function edit(data) {
return Api.post("/test/atp/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atp/deleteById?inr=${inr}`)
}
\ No newline at end of file
......@@ -20,25 +20,25 @@ export function deleteById(inr) {
return Api.post(`/test/usr/deleteById?inr=${inr}`)
}
export function addUbrData(inr, data) {
return Api.post(`/test/usr/addUbrData?inr=${inr}`, data)
export function addUbrData(data) {
return Api.post(`/test/usr/addUbrData`, data)
}
export function updateUbrData(inr, data) {
return Api.post(`/test/usr/updateUbrData?inr=${inr}`, data)
export function updateUbrData(data) {
return Api.post(`/test/usr/updateUbrData`, data)
}
export function deleteUbrData(data) {
return Api.post(`/test/usr/deleteUbrData`, data)
export function deleteUbrData(inr) {
return Api.post(`/test/usr/deleteUbrData?inr=${inr}`, inr)
}
export function addUclData(inr, data) {
return Api.post(`/test/usr/addUclData?inr=${inr}`, data)
export function addUclData(data) {
return Api.post(`/test/usr/addUclData`, data)
}
export function updateUclData(inr, data) {
return Api.post(`/test/usr/updateUclData?inr=${inr}`, data)
export function updateUclData(data) {
return Api.post(`/test/usr/updateUclData`, data)
}
export function deleteUclData(data) {
return Api.post(`/test/usr/deleteUclData`, data)
export function deleteUclData(usr, branchinr) {
return Api.post(`/test/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
}
\ No newline at end of file
<template>
<m-atp ref="atp" title="dbaatp" type="add"></m-atp>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbaatp",
components: {
"m-atp": Dbiatp
},
data() {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
}
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -14,9 +14,9 @@ export default {
return {};
},
mounted() {
this.$refs.bch.rules['ptaList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
// this.$refs.bch.rules['ptaList'] = [
// { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
// ]
}
};
</script>
......
......@@ -14,9 +14,7 @@ export default {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
}
};
</script>
......
<template>
<m-pty title="dbdatp" type="delete"></m-pty>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbdatp",
components: {
"m-pty": Dbiatp
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-pty title="dbeatp" type="edit"></m-pty>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbeatp",
components: {
"m-pty": Dbiatp
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr: "",
cod: "",
rouflg: "",
bus: "",
concreflg: "",
dtaflg: "",
sepflg: "",
jobflg: "",
subflg: "",
lnkobj: "",
ccstyp: "",
ver: "",
bustrnflg: "",
relamt: "",
reltyp: "",
negflg: "",
dealtim: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"rouflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"bus": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"concreflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"dtaflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"sepflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"jobflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"subflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"lnkobj": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"ccstyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"bustrnflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"reltyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"negflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"dealtim": [
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="编号" 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="代码" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="控制标志" prop="rouflg">
<c-input
v-model="model.rouflg"
placeholder="请输入rouflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务品种" prop="bus">
<c-input
v-model="model.bus"
placeholder="请输入bus"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建新进程标志" prop="concreflg">
<c-input
v-model="model.concreflg"
placeholder="请输入concreflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="处理数据标志" prop="dtaflg">
<c-input
v-model="model.dtaflg"
placeholder="请输入dtaflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="处理临时结算标志" prop="sepflg">
<c-input
v-model="model.sepflg"
placeholder="请输入sepflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="后台进程标志" prop="jobflg">
<c-input
v-model="model.jobflg"
placeholder="请输入jobflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建子合同进程" prop="subflg">
<c-input
v-model="model.subflg"
placeholder="请输入subflg"
>
</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="lnkobj">
<c-input
v-model="model.lnkobj"
placeholder="请输入lnkobj"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="比较类型" prop="ccstyp">
<c-input
v-model="model.ccstyp"
placeholder="请输入ccstyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="版本号" 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="bustrnflg">
<c-input
v-model="model.bustrnflg"
placeholder="请输入bustrnflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用于release的金额" prop="relamt">
<c-input
v-model="model.relamt"
placeholder="请输入relamt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="release规则类型" prop="reltyp">
<c-input
v-model="model.reltyp"
placeholder="请输入reltyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="押汇中心处理标志" prop="negflg">
<c-input
v-model="model.negflg"
placeholder="请输入negflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易处理时间" prop="dealtim">
<c-input
v-model="model.dealtim"
placeholder="请输入dealtim"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="交易配置信息" name="atp">
<c-content>
<m-atp-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Atp, { Pattern } from "./Atp.js";
import AtpInfo from "./AtpInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/atp.js";
export default {
name: "StaticsDbiatp",
components: {
"m-atp-info": AtpInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiatp"
}
},
data() {
return {
model: new Atp().data,
tabVal: "atp",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("该信息不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("添加成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("添加失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("修改成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("修改失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infatp的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfatp", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-content>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="机构编码" prop="branch">
......@@ -349,7 +348,6 @@
</el-form-item>
</c-col>
</c-col>
</c-content>
</div>
</template>
<script>
......
......@@ -13,16 +13,22 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="BCH" name="bchp0">
<el-tab-pane label="BCH" 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>
......@@ -58,7 +64,8 @@
import Utils from "~/utils";
import Bch, { Pattern } from "./Bch.js";
import Bchp0 from "./Bchp0.vue";
// import Bchp0 from "./Bchp0.vue";
import BchInfo from "./BchInfo.vue";
import Bchp1 from "./Bchp1.vue";
import Bchp2 from "./Bchp2.vue";
......@@ -66,7 +73,7 @@ import { queryDetailById, add, edit, deleteById } from "~/service/test/bch.js";
export default {
name: "StaticsDbibch",
components: {
"m-bchp0": Bchp0,
"m-bchp0": BchInfo,
"m-bchp1": Bchp1,
"m-bchp2": Bchp2,
},
......
......@@ -2,100 +2,100 @@
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inrFee" prop="inrFee">
<el-form-item label="唯一索引ID" prop="inrFee">
<c-input
v-model="model.inrFee"
placeholder="请输入inrFee"
placeholder="请输入唯一索引ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="codFee" prop="codFee">
<el-form-item label="费用代码" prop="codFee">
<c-input
v-model="model.codFee"
placeholder="请输入codFee"
placeholder="请输入费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sftcodFee" prop="sftcodFee">
<el-form-item label="在SWIFT报文中的费用代码" prop="sftcodFee">
<c-input
v-model="model.sftcodFee"
placeholder="请输入sftcodFee"
placeholder="请输入在SWIFT报文中的费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rolFee" prop="rolFee">
<el-form-item label="付费角色" prop="rolFee">
<c-input
v-model="model.rolFee"
placeholder="请输入rolFee"
placeholder="请输入付费角色"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="incflgFee" prop="incflgFee">
<el-form-item label="是否收入" prop="incflgFee">
<c-input
v-model="model.incflgFee"
placeholder="请输入incflgFee"
placeholder="请输入是否收入"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="staflgFee" prop="staflgFee">
<el-form-item label="统计标志" prop="staflgFee">
<c-input
v-model="model.staflgFee"
placeholder="请输入staflgFee"
placeholder="请输入统计标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="vatflgFee" prop="vatflgFee">
<el-form-item label="增值税标志" prop="vatflgFee">
<c-input
v-model="model.vatflgFee"
placeholder="请输入vatflgFee"
placeholder="请输入增值税标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accFee" prop="accFee">
<el-form-item label="账号" prop="accFee">
<c-input
v-model="model.accFee"
placeholder="请输入accFee"
placeholder="请输入账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accacrFee" prop="accacrFee">
<el-form-item label="循环收费账号" prop="accacrFee">
<c-input
v-model="model.accacrFee"
placeholder="请输入accacrFee"
placeholder="请输入循环收费账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enoFee" prop="enoFee">
<el-form-item label="结算时的排序优先级" prop="enoFee">
<c-input
v-model="model.enoFee"
placeholder="请输入enoFee"
placeholder="请输入结算时的排序优先级"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltirFee" prop="reltirFee">
<el-form-item label="计算费用相关的金额类型" prop="reltirFee">
<c-input
v-model="model.reltirFee"
placeholder="请输入reltirFee"
placeholder="请输入计算费用相关的金额类型"
>
</c-input>
</el-form-item>
......@@ -103,82 +103,82 @@
</c-col>
<c-col :span="8" class="col-left col-right">
<c-col :span="24">
<el-form-item label="grpcodFee" prop="grpcodFee">
<el-form-item label="费用组代码" prop="grpcodFee">
<c-input
v-model="model.grpcodFee"
placeholder="请输入grpcodFee"
placeholder="请输入费用组代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="verFee" prop="verFee">
<el-form-item label="版本号" prop="verFee">
<c-input
v-model="model.verFee"
placeholder="请输入verFee"
placeholder="请输入版本号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dscmodflgFee" prop="dscmodflgFee">
<el-form-item label="费用描述是否允许修改" prop="dscmodflgFee">
<c-input
v-model="model.dscmodflgFee"
placeholder="请输入dscmodflgFee"
placeholder="请输入费用描述是否允许修改"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltrnFee" prop="reltrnFee">
<el-form-item label="相关的交易名称或者业务品种" prop="reltrnFee">
<c-input
v-model="model.reltrnFee"
placeholder="请输入reltrnFee"
placeholder="请输入相关的交易名称或者业务品种"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="begdatFee" prop="begdatFee">
<el-form-item label="有效期起始日" prop="begdatFee">
<c-date-picker
v-model="model.begdatFee"
placeholder="请输入begdatFee"
placeholder="请输入有效期起始日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enddatFee" prop="enddatFee">
<el-form-item label="有效期终止日" prop="enddatFee">
<c-date-picker
v-model="model.enddatFee"
placeholder="请输入enddatFee"
placeholder="请输入有效期终止日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dtacodFee" prop="dtacodFee">
<el-form-item label="DTA报文中的费用代码" prop="dtacodFee">
<c-input
v-model="model.dtacodFee"
placeholder="请输入dtacodFee"
placeholder="请输入DTA报文中的费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="etgextkeyFee" prop="etgextkeyFee">
<el-form-item label="实体组代码" prop="etgextkeyFee">
<c-input
v-model="model.etgextkeyFee"
placeholder="请输入etgextkeyFee"
placeholder="请输入实体组代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="taxaccFee" prop="taxaccFee">
<el-form-item label="业务代号名称" prop="taxaccFee">
<c-input
v-model="model.taxaccFee"
placeholder="请输入taxaccFee"
placeholder="请输入业务代号名称"
>
</c-input>
</el-form-item>
......
......@@ -12,12 +12,12 @@
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="changePosition">
<el-tab-pane label="费率信息" name="fec">
<el-tab-pane label="费用代码" name="fec">
<c-content>
<m-fec-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用代码信息" name="fee">
<el-tab-pane label="费信息" name="fee">
<c-content>
<m-fee-info :model="model" />
</c-content>
......@@ -102,7 +102,7 @@ export default {
if (res.inr) {
this.model = res;
} else {
this.$message.error("费不存在")
this.$message.error("费用代码不存在")
}
});
}
......@@ -130,19 +130,19 @@ export default {
if(this.tabPosition===`tab-fec`){
edit(this.model)
.then((res) => {
this.$message.success("费修改保存成功!");
this.$message.success("费用代码修改保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("费修改保存失败!");
this.$message.error("费用代码修改保存失败!");
});}else{
editFeeData(this.model.inr,this.model)
.then((res) => {
this.$message.success("费用代码修改保存成功!");
this.$message.success("费修改保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("费用代码修改保存失败!");
this.$message.error("费修改保存失败!");
});
}
} else {
......@@ -160,19 +160,19 @@ export default {
if(this.tabPosition===`tab-fec`){
deleteById(this.model.inr)
.then((res) => {
this.$message.success("费信息删除成功!");
this.$message.success("费用代码信息删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("费信息删除失败!");
this.$message.error("费用代码信息删除失败!");
})}else{
deleteFeeData(this.model)
.then((res) => {
this.$message.success("费用代码删除成功!");
this.$message.success("费率信息删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("费用代码删除失败!");
this.$message.error("费率信息删除失败!");
})
};
})
......
export default class Pty {
export default class Gtx {
constructor() {
this.data = {
inr: "",
......
......@@ -20,10 +20,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -38,37 +38,37 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="gidtxt" prop="gidtxt">
<el-form-item label="保函文本" prop="gidtxt">
<c-input
v-model="model.gidtxt"
placeholder="请输入gidtxt"
placeholder="请输入保函文本"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gartyp" prop="gartyp">
<el-form-item label="保函类型" prop="gartyp">
<c-input
v-model="model.gartyp"
placeholder="请输入gartyp"
placeholder="请输入保函类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="hndtyp" prop="hndtyp">
<el-form-item label="处理类型" prop="hndtyp">
<c-input
v-model="model.hndtyp"
placeholder="请输入hndtyp"
placeholder="请输入处理类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<el-form-item label="对象类型" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
placeholder="请输入对象类型"
>
</c-input>
</el-form-item>
......@@ -85,64 +85,64 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="gtxpri" prop="gtxpri">
<el-form-item label="优先级" prop="gtxpri">
<c-input
v-model="model.gtxpri"
placeholder="请输入gtxpri"
placeholder="请输入优先级"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expflg" prop="expflg">
<el-form-item label="无责任担保标志" prop="expflg">
<c-input
v-model="model.expflg"
placeholder="请输入expflg"
placeholder="请输入无责任担保标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="uil" prop="uil">
<el-form-item label="语言" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
placeholder="请输入语言"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="laborcdat" prop="laborcdat">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input
v-model="model.laborcdat"
placeholder="请输入laborcdat"
placeholder="请输入日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="labaddinf" prop="labaddinf">
<el-form-item label="保函文本中的附加信息" prop="labaddinf">
<c-input
v-model="model.labaddinf"
placeholder="请输入labaddinf"
placeholder="请输入附加信息"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="legfrm" prop="legfrm">
<el-form-item label="格式" prop="legfrm">
<c-input
v-model="model.legfrm"
placeholder="请输入legfrm"
placeholder="请输入格式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<el-form-item label="默认交易对象" prop="covgodsrvdft">
<c-input
v-model="model.covgodsrvdft"
placeholder="请输入covgodsrvdft"
placeholder="请输入默认交易对象"
>
</c-input>
</el-form-item>
......
......@@ -52,21 +52,14 @@ import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js";
import GtxInfo from "./GtxInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/pty.js";
import { queryDetailById, add, edit, deleteById } from "~/service/test/gtx.js";
export default {
name: "StaticsDbigtx",
components: {
"m-gtx-info": GtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
......
......@@ -104,7 +104,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="autamt" prop="autamt">
<el-form-item label="一次性释放授权" prop="autamt">
<c-input
v-model="ubr.autamt"
placeholder="请输入一次性释放授权"
......@@ -130,3 +130,6 @@ export default {
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div style="text-align: right">
<c-button size="small" type="primary" @click="ubrAdd()"> 新增 </c-button>
<c-button size="small" type="primary" @click="ubrAdd()" :disabled="false"> 新增 </c-button>
</div>
<el-form-item label="" label-width="0" prop="ubrList">
<c-table :columnsConfig="columns" :list="model.ubrList">
......@@ -149,7 +149,7 @@ export default {
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteUbrData(row).then((res) => {
deleteUbrData(row.inr).then((res) => {
if (res) {
this.model.ubrList.splice(index, 1);
this.$message.success("删除成功!");
......@@ -165,11 +165,11 @@ export default {
editUbr() {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
updateUbrData(this.model.inr, this.ubr)
updateUbrData(this.ubr)
.then((res) => {
if (res.ubr) {
if (res) {
this.$message.success("修改柜员权限信息成功!");
this.model.ubrList = res.ubrList;
// this.model.ubrList = res.ubrList;
this.handleClose();
}
})
......@@ -195,16 +195,17 @@ export default {
} else {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
addUbrData(this.model.inr, this.ubr)
// this.ubr.inr = this.model.inr
addUbrData(this.ubr)
.then((res) => {
if (res && res.inr) {
this.$message.success("保存地址信息成功!");
if (res) {
this.$message.success("保存柜员权限信息成功!");
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存地址信息失败!");
this.$message.error("保存柜员权限信息失败!");
});
}
});
......
......@@ -85,4 +85,7 @@ export default {
};
}
}
</script>
\ No newline at end of file
</script>
<style>
</style>
\ No newline at end of file
......@@ -83,7 +83,6 @@ import {
updateUclData,
deleteUclData,
} from "@/service/test/usr";
import {addAdrData, deleteAdrData, updateAdrData} from "@/service/test/pty";
export default {
name: "UclList",
......@@ -124,7 +123,6 @@ export default {
uclAdd() {
this.ucl = new Ucl().data;
this.operate = "add";
this.operateIdx = index;
this.uclDialog = true;
},
/**
......@@ -145,7 +143,8 @@ export default {
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteUclData(row).then((res) => {
console.log(row.branchinr)
deleteUclData(row.usr, row.branchinr).then((res) => {
if (res) {
this.model.uclList.splice(index, 1);
this.$message.success("删除成功!");
......@@ -161,11 +160,10 @@ export default {
editUcl() {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
updateAdrData(this.model.inr, this.ucl)
updateUclData(this.ucl)
.then((res) => {
if (res.inr) {
if (res.usr) {
this.$message.success("修改柜员组信息成功!");
this.model.uclList = res.uclList;
this.handleClose();
}
})
......@@ -191,16 +189,15 @@ export default {
} else {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
addUclData(this.model.inr, this.ucl)
addUclData(this.ucl)
.then((res) => {
if (res && res.inr) {
this.$message.success("保存地址信息成功!");
this.model.uclList = res.uclList;
if (res) {
this.$message.success("保存柜员组信息成功!");
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存地址信息失败!");
this.$message.error("保存柜员组信息失败!");
});
}
});
......
......@@ -55,15 +55,15 @@
</c-input>
</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="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
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="交易配置信息代码" prop="cod">
<c-input v-model="model.cod" placeholder="请输入交易配置信息代码" style="width: 100%">
</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="cod">
<c-input v-model="model.cod" placeholder="请输入代码描述" style="width: 100%">
</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="atpAdd">新增</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="onInfatpSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="atpData"
:columns="atpColumns"
: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="atpInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="atpEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="atpDelete(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/atp.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
atpData: [],
atpColumns: [
{ label: '交易配置信息代码', prop: 'cod', width: '240' },
{ label: '描述', prop: 'cod', width: '600' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfatpSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInfatpSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.atpData = 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.onInfatpSearch()
},
atptypeChange(val) {
this.model.fectyp = val;
},
atpCodesByKey(key) {
return codes[key] ?? [];
},
atpAdd() {
this.$router.push(`/statics/dbaatp`)
},
atpInfo(index, row) {
this.$router.push(`/statics/dbiatp/${row.inr}`)
},
atpEdit(index, row) {
this.$router.push(`/statics/dbeatp/${row.inr}`)
},
atpDelete(index, row) {
this.$router.push(`/statics/dbdatp/${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>
<!-- <el-tab-pane label="交易配置信息" name="curpo">
<c-content>
<m-curpo :model="model" ref="curpo" />
</c-content>
</el-tab-pane> -->
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfatp",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize:5,
pageNum:1,
total:0
},
};
},
};
</script>
<style>
</style>
......@@ -76,7 +76,7 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
async handleReset() {
async handleReset() {
this.model.cod = ""
this.model.seanam = ""
},
......
......@@ -18,11 +18,11 @@
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="condition" prop="feepri">
<el-form-item label="收费条件类型" prop="feepri">
<c-select
v-model="model.feepri"
style="width: 100%"
placeholder="feepri"
placeholder="请选择收费类型"
:code="getCodesByKey('feepri')"
></c-select>
</el-form-item>
......@@ -196,6 +196,7 @@ export default {
fecData: [],
fecColumns: [
{ label: '费用代码', prop: 'codFee', width: '120' },
{ label: 'Description', prop: '', width: '120' },
{ label: '收费条件类型', prop: 'feepri', width: '120' },
{ label: '最小金额币种', prop: 'maxcur', width: '120' },
{ label: '费用最小金额', prop: 'lowamt', width: '120' },
......
......@@ -23,10 +23,10 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -163,39 +163,6 @@
<!-- </c-col> -->
<c-col :span="24">
<!-- PTY.PTYTYP -->
<el-form-item label="Type" prop="ptytyp">
<c-col :span="2">
<c-checkbox v-model="seatyph" @change="ptytypeChange('H')"
>海关</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypo" @change="ptytypeChange('O')"
>Other</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypa" @change="ptytypeChange('A')"
>Own Address</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="seatypb"
:checked="model.ptytyp === 'B'"
@change="ptytypeChange('B')"
>Bank</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypc" @change="ptytypeChange('C')"
>Client</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="gtxAdd">新增</el-button>
</c-col>
......@@ -280,11 +247,11 @@ export default {
gtxColumns: [
// { label: 'inr', prop: 'inr', width: 'auto' },
// { label: 'extkey', prop: 'extkey', width: 'auto' },
{ label: 'nam', prop: 'nam', width: 'auto' },
{ label: '名字', prop: 'nam', width: 'auto' },
// { label: 'ver', prop: 'ver', width: 'auto' },
// { label: 'gidtxt', prop: 'gidtxt', width: 'auto' },
{ label: 'gartyp', prop: 'gartyp', width: 'auto' },
{ label: 'hndtyp', prop: 'hndtyp', width: 'auto' },
{ label: '保函类型', prop: 'gartyp', width: 'auto' },
{ label: '处理类型', prop: 'hndtyp', width: 'auto' },
// { label: 'objtyp', prop: 'objtyp', width: 'auto' },
// { label: 'objinr', prop: 'objinr', width: 'auto' },
// { label: 'gtxpri', prop: 'gtxpri', width: 'auto' },
......@@ -299,46 +266,6 @@ export default {
};
},
computed: {
seatypb: {
get: function () {
return this.model.ptytyp === "B";
},
set: function (val) {
this.model.ptytyp = val ? "B" : "";
},
},
seatypc: {
get: function () {
return this.model.ptytyp === "C";
},
set: function (val) {
this.model.ptytyp = val ? "C" : "";
},
},
seatypa: {
get: function () {
return this.model.ptytyp === "A";
},
set: function (val) {
this.model.ptytyp = val ? "A" : "";
},
},
seatypo: {
get: function () {
return this.model.ptytyp === "O";
},
set: function (val) {
this.model.ptytyp = val ? "O" : "";
},
},
seatyph: {
get: function () {
return this.model.ptytyp === "H";
},
set: function (val) {
this.model.ptytyp = val ? "H" : "";
},
},
},
activated() {
const { update } = this.$route.params
......
......@@ -38,14 +38,6 @@ export default {
return {
tabVal: "infsea",
model: {
// pty
nam: "",
extkey: "",
idtype: "",
trnman: "",
idcode: "",
ptytyp: "C",
// paging
pageNum: 1,
pageSize: 5,
total: 0
......
......@@ -44,6 +44,12 @@ import Dbabch from "./Dbabch";
import Dbebch from "./Dbebch";
import Dbdbch from "./Dbdbch";
import Infatp from "./Infatp";
import Dbiatp from "./Dbiatp";
import Dbaatp from "./Dbaatp";
import Dbeatp from "./Dbeatp";
import Dbdatp from "./Dbdatp";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -91,6 +97,13 @@ const StaticsRouter = [
{ path: 'dbibch/:inr', component: Dbibch, name: 'StaticsDbibch', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
{ path: 'dbebch/:inr', component: Dbebch, name: 'StaticsDbebch', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdbch/:inr', component: Dbdbch, name: 'StaticsDbdbch', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
{ path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } },
{ path: 'dbeatp/:inr', component: Dbeatp, name: 'StaticsDbeatp', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdatp/:inr', component: Dbdatp, name: 'StaticsDbdatp', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'dbiatp/:inr', component: Dbiatp, name: 'StaticsDbiatp', meta: { title: (tag) => { return '交易配置信息详情: ' + tag.params.inr } } },
]
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