Commit dae1eb9e by WF1020

infgid修改,sptsel修改

parent 01337bf8
......@@ -20,11 +20,14 @@ export default {
fromflg: this.model.fromflg,
cmtflg: this.model.cmtflg,
fingua: this.model.fingua,
pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize
};
let rtnmsg = await Api.post('/service/infgid', params);
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
this.stmData.data = rtnmsg.data;
// this.pagination.total = this.stmData.data.total
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
......@@ -57,5 +60,18 @@ export default {
this.model.cmtflg = '';
this.model.fingua = '';
},
// pageSize改变
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pagination.pageIndex = 1
this.pagination.pageSize = val
this.handleSearch()
},
// 页码改变
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.pagination.pageIndex = val
this.handleSearch()
}
},
};
......@@ -15,7 +15,6 @@
<c-col :span="8">
<el-form-item
label="保函编号"
prop="infcon.ownref"
style="width: 100%"
>
<c-input
......@@ -29,7 +28,6 @@
<c-col :span="8">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
......@@ -70,7 +68,6 @@
<c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
......@@ -88,7 +85,6 @@
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.nam"
style="width: 100%"
>
<c-input
......@@ -102,7 +98,6 @@
<c-col :span="8">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
......@@ -123,7 +118,6 @@
<c-col :span="8">
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
......@@ -133,10 +127,9 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<c-col :span="8">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
......@@ -145,24 +138,22 @@
placeholder="请输入业务简略信息"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="8">
</c-col>
<c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.etyextkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.etyextkey"
v-model="model.infcon.seapty"
maxlength="16"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col> -->
</c-col>
<!-- <c-col :span="8">
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
......@@ -176,7 +167,6 @@
<c-col :span="8">
<el-form-item
label="版本状态"
prop="infcon.relflg"
style="width: 100%"
>
<c-select
......@@ -190,7 +180,6 @@
<c-col :span="8">
<el-form-item
label="处理类型"
prop="infcon.hndtyp"
style="width: 100%"
>
<c-select
......@@ -213,7 +202,6 @@
<!-- <c-col :span="8">
<el-form-item
label="客户经理"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
......@@ -227,7 +215,6 @@
<c-col :span="8">
<el-form-item
label="业务状态"
prop="infcon.statsus"
style="width: 100%"
>
<c-select
......@@ -249,7 +236,6 @@
<c-col :span="8">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
......@@ -270,7 +256,6 @@
<c-col :span="8">
<el-form-item
label="是否显示查询码"
prop="infcon.cxmflg"
style="width: 100%"
>
<c-select
......@@ -291,7 +276,6 @@
<c-col :span="8">
<el-form-item
label="金额区间"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11">
......@@ -317,7 +301,6 @@
<c-col :span="8">
<el-form-item
label="会议目的"
prop="seapurpos"
style="width: 100%"
>
<c-select
......@@ -335,14 +318,13 @@
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<c-col :span="8">
<el-form-item
label="处理类型"
prop="seahndtyp"
style="width: 100%"
>
<c-select
v-model="model.seahndtyp"
v-model="model.hndtyp"
style="width: 100%"
placeholder="请选择处理类型"
>
......@@ -354,11 +336,10 @@
></el-option>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="8">
<el-form-item
label="保函文本类型"
prop="seagtyp"
style="width: 100%"
>
<c-select
......@@ -374,7 +355,6 @@
<c-col :span="8">
<el-form-item
label="特殊保函类型"
prop="infcon.segtyp"
style="width: 100%"
>
<c-select
......@@ -389,7 +369,6 @@
<c-col :span="8">
<el-form-item
label="电子渠道类型"
prop="fromflg"
style="width: 100%"
>
<c-select
......@@ -410,7 +389,6 @@
<c-col :span="8">
<el-form-item
label="分离式保函"
prop="fenlishi"
style="width: 100%"
>
<c-select
......@@ -431,7 +409,6 @@
<el-form-item
label=""
style="margin-left: 218px"
prop="model.cmtflg"
>
<c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox>
</el-form-item>
......@@ -441,7 +418,6 @@
<el-form-item
label=""
style="margin-left: 218px"
prop="model.fingua"
>
<c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox>
</el-form-item>
......@@ -507,14 +483,7 @@
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
......@@ -561,6 +530,18 @@
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
</el-pagination>
</div>
</c-col>
</div>
</div>
......@@ -629,6 +610,11 @@ export default {
],
data: [],
},
pagination: {
pageIndex: 1,
pageSize: 10,
total: 0
}
};
},
methods: {
......@@ -675,7 +661,7 @@ export default {
},
};
</script>
<style>
<style scoped>
.el-dialog__body {
padding: 10px 5px 50px;
}
......@@ -683,4 +669,14 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
</style>
......@@ -44,30 +44,31 @@ export default {
}
},
async onDetails(idx, row) {
let id = row.id
this.$router.push({ path: 'business-new/sptpopup', query: {id}});
let id = row.id;
this.$router.push({ path: 'business-new/sptpopup', query: { id: id || 'text'} });
},
async continueEdit(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// this.model.selsptinr = row['INR'];
// const selIds = [];
// selIds.push(row['IDX']);
// let params = { selDst: "sptstm", selIds: selIds };
// let rtnmsg = await this.executeRule("tak", params)
// if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
let trnName = row.frm.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this.$router.push({
name: trnName.charAt(0).toUpperCase() + trnName.substring(1),
params: { prePageId: this.model.pageId },
});
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
},
},
async continueEdit(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// this.model.selsptinr = row['INR'];
// const selIds = [];
// selIds.push(row['IDX']);
// let params = { selDst: "sptstm", selIds: selIds };
// let rtnmsg = await this.executeRule("tak", params)
// if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
let trnName = row.frm.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
}
},
};
import Api from '~/service/Api';
export default class Sptsel {
constructor() {
this.data = {
selobj: '', // Reference .selobj
inidatfro: '', // Date of entry of Transaction .inidatfro
inidattil: new Date(), // Date of entry of Transaction until .inidattil
seltxt: '', // Selection Name .seltxt
dflg: '', // 国内国际标志 .dflg
constructor() {
this.data = {
selobj: '', // Reference .selobj
inidatfro: '', // Date of entry of Transaction .inidatfro
inidattil: new Date(), // Date of entry of Transaction until .inidattil
seltxt: '', // Selection Name .seltxt
dflg: '', // 国内国际标志 .dflg
sourceList: [],
usfmod:'',
}
}
}
\ No newline at end of file
usfmod: '',
};
}
}
import Api from '~/service/Api';
export default class Sptsel {
constructor() {
this.data = {
constructor() {
this.data = {
spt: {
frm: '',
sta: '',
......@@ -16,8 +15,8 @@ export default class Sptsel {
dattim: '',
usr: '',
hldflg: '',
cretrn: ''
}
}
}
}
\ No newline at end of file
cretrn: '',
},
};
}
}
......@@ -11,7 +11,6 @@
label-width="150px"
size="small"
>
<c-col :span="21" style="height:24px">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
......@@ -22,8 +21,6 @@
<c-col :span="24" style="height: 10px">
<el-divider></el-divider>
</c-col>
<c-col :span="11">
<el-form-item label="类型" prop="spt.sta" style="width: 100%">
<c-select
......@@ -35,7 +32,6 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="交易状态" prop="spt.hldflg" style="width: 100%">
<c-select
......@@ -48,7 +44,6 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="业务编号" prop="spt.objnam" style="width: 100%">
<c-input
......@@ -60,7 +55,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="SPT主键" prop="spt.inr" style="width: 100%">
<c-input
......@@ -72,7 +66,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="交易关键字名称" prop="spt.txt" style="width: 100%">
<c-input
......@@ -84,7 +77,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="13">
<el-form-item label="交易" prop="spt.frm">
......@@ -110,7 +102,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="客户经理代码" prop="spt.ownusr">
<c-input
......@@ -121,7 +112,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="责任小组" prop="spt.ownusg">
<c-select
......@@ -161,7 +151,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="10">
<el-form-item label="经办柜员" prop="spt.usr">
......@@ -173,7 +162,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="在" prop="spt.dattim" label-width="50px">
<c-input
......@@ -183,7 +171,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="创建交易" prop="spt.cretrn" label-width="70px">
<c-input
......@@ -206,7 +193,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:24px;margin-top:8px">
<el-form-item label="报文信息" class="messageLabel">
</el-form-item>
......@@ -214,7 +200,6 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true">
......@@ -311,7 +296,6 @@
</c-table>
<!-- </el-form-item> -->
</c-col>
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流信息" class="messageLabel">
</el-form-item>
......@@ -319,10 +303,19 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-istream-table :list="stmData2.data" :columns="stmData2.columns" :paginationShow="false" style="width:100%">
</c-istream-table>
<el-table
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
</el-table>
</c-col>
</el-form>
</div>
......@@ -331,33 +324,18 @@
</div>
</template>
<script>
import Sptsel from "~/model/Sptsel";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Sptsel from "../model/sptpopup.js";
import event from '../event';
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptsel/Event";
export default {
// inject: ['root'],
// props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
model: new Sptsel().data,
codes:{ hldflg: CodeTable.hldflg ,...CodeTable},
trnName:"sptsel",
stmData2:{
columns:[
// "7 1 \"Start\" 0",
{index:1,position:1,width:140,pattern:'time',label:'开始时间'},
// "2 2 \"类型\" 0",
{index:2,position:2,width:'auto',pattern:'code',label:'类型',code:CodeTable.sptDetSta},
"3 3 \"用户\" auto",
"4 4 \"交易代码\" auto",
// "7 5 \"End\" 0",
{index:5,position:5,width:140,pattern:'time',label:'结束时间'},
"8 6 \"文本\" auto",
],
stmData:{
columns:[],
data:[],
}
};
......@@ -366,15 +344,9 @@ export default {
this.loadData();
},
methods: {
...Event,
loadData() {
this.model = JSON.parse(sessionStorage.getItem("Sptpopup"));
let rtnmsg1 = this.executeRule("inc")
let rtnmsg2 = this.executeRule("sptp.butord")
this.executeRule("sptp.ordp0.butore").then((res) => {
this.stmData2.data=res.data.vals.rows;
});
let routeQuery = this.$route.query
console.log('111', routeQuery)
},
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
......
<template>
<div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="120px" size="small"
:validate-on-rule-change="false">
<!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> -->
<c-content>
<m-menu :model="model" :codes="codes" ref="菜单" />
</c-content>
<!-- </el-tab-pane>
</c-tabs> -->
<el-form
:model="model"
:rules="rules"
ref="modelForm"
tokenKey="modelForm"
label-width="120px"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-menu :model="model" :codes="codes" ref="菜单" />
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
import event from '../event'
import Menu from './Menu';
import Sptsel from '../model'
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Menu from "./Menu";
import Sptsel from "../model";
export default {
name: 'Sptsel',
name: "Sptsel",
components: {
'm-menu': Menu,
"m-menu": Menu,
},
provide() {
return {
root: this,
};
},
mixins: [event], // 里面包含了Default、Check等的公共处理
mixins: [event],
computed: {},
data() {
return {
tabVal: 'menu',
trnName: 'sptsel',
tabVal: "menu",
trnName: "sptsel",
model: new Sptsel().data,
rules: null,
codes: {
......@@ -46,5 +49,4 @@ export default {
};
</script>
<style>
</style>
const Business = [
{ path: 'infgid', component: () => import('~/business/infgid/views'), name: 'infgid', meta: { title: '保函入口交易' } },
{ path: 'gitopn', component: () => import('~/business/gitopn/views'), name: 'gitopn', meta: { title: '进口保函开立' } },
{ path: 'sptpopup', component: () => import('~/business/sptsel/views/Sptpopup.vue'), name: 'sptsel', meta: { title: '待经办详情' } },
]
export default Business
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