Commit 04a31f1a by zenghuan

公共管理

parent 4600aa31
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--abkp PD000086 账户行查询页面2 --> :rules="rules"
<el-tab-pane :label="$t('abkp.PD000086')" name="abkp10"> ref="modelForm"
<m-abkp10 :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-abkp10 :model="model" :codes="codes" ref="abkp10"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Dblabk from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Abkp10 from "./Abkp10" import Dblabk from "../model";
import event from "../event"
import Abkp10 from "./Abkp10.vue"
export default {
export default {
name: "Dblabk", name: "Dblabk",
components:{ components:{
"m-abkp10" : Abkp10, "m-abkp10" : Abkp10,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "abkp10", tabVal: "abkp10",
trnName: "dblabk", trnName: "dblabk",
trnType: "", model: new Dblabk().data,
model: new Dblabk().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入dblabk交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--pttp PD000127 账户行联系人查询主页 --> :rules="rules"
<el-tab-pane :label="$t('pttp.PD000127')" name="attlpn"> ref="modelForm"
<m-attlpn :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-attlpn :model="model" :codes="codes" ref="attlpn"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Dblatt from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Attlpn from "./Attlpn" import Dblatt from "../model";
import event from "../event"
import Attlpn from "./Attlpn.vue"
export default {
export default {
name: "Dblatt", name: "Dblatt",
components:{ components:{
"m-attlpn" : Attlpn, "m-attlpn" : Attlpn,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "attlpn", tabVal: "attlpn",
trnName: "dblatt", trnName: "dblatt",
trnType: "", model: new Dblatt().data,
model: new Dblatt().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入dblatt交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- LT000003 : 报表生成器 --> <c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<c-col :span="12"> <template v-slot="searchSlot">
<c-button size="small" type="primary" @click="onRptmodLnk"> <el-row>
{{$t('rptp.BT000002')}} <c-col :span="24">
</c-button> <c-col :span="8">
</c-col> <el-form-item label="报表种类" prop="" style="width: 100%">
<c-select v-model="model.rptmod.rpttyp" style="width: 100%" placeholder="请选择报表种类" :code="codes.rpttyp"/>
<c-col :span="12"> </el-form-item>
<el-form-item :label="$t('rptp.LT000001')" prop="rptmod.rpttyp"> </c-col>
<c-select v-model="model.rptmod.rpttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('rptp.LT000001')">
</c-select> </c-col>
</el-form-item> </el-row>
</c-col> <!-- 可控展示区 -->
<!-- LT000001 : 报表种类: --> <el-row v-show="searchSlot.searchToggle">
</el-row>
</template>
</c-list-search>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import event from "../event";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data(){ data() {
return { return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
methods: {
},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
} .eibs-tabs /deep/ {
}, .m-table-search {
methods:{...Event}, padding: 20px 0px 10px 0px;
created:function(){ }
}
} .header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.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;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
} }
</script>
<style>
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--rptp PD000000 报表选择界面 --> :rules="rules"
<el-tab-pane :label="$t('rptp.PD000000')" name="rptsel"> ref="modelForm"
<m-rptsel :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-rptsel :model="model" :codes="codes" ref="rptsel"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Rptgen from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Rptsel from "./Rptsel" import Rptgen from "../model";
import event from "../event"
import Rptsel from "./Rptsel.vue"
export default {
export default {
name: "Rptgen", name: "Rptgen",
components:{ components:{
"m-rptsel" : Rptsel, "m-rptsel" : Rptsel,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "rptsel", tabVal: "rptsel",
trnName: "rptgen", trnName: "rptgen",
trnType: "", model: new Rptgen().data,
model: new Rptgen().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
msgdrt:CodeTable.msgdrt,
blksta:CodeTable.blksta,
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
mgssta:CodeTable.mgssta,
ljschk:CodeTable.ljschk,
offtyp:CodeTable.offtyp,
msgrng:CodeTable.msgrng,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
cassta:CodeTable.cassta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
cipsstatus:CodeTable.cipsstatus,
curcod:CodeTable.curcod,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
cipsmsgtype:CodeTable.cipsmsgtype,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入rptgen交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</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