Commit 82d239cf by zhengxiaokui
parents 1fa2aa7a ccb9a4c8
import Utils from "~/utils"
/**
* Infusr Check规则
*/
let checkObj = {
"recgrp.rec.relamt2nd" :null,
"recgrp.usrsec.nam" :null,
"recgrp.rec.relcur" :null,
"recgrp.rec.extkey" :null,
"recpan.recget.sdamod.dadsnd" :null,
"recgrp.usrsec.prf" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infusr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.rec.relgrp" :Utils.defaultFunction,
"recpan.prfmod.uil" :Utils.defaultFunction,
"recgrp.rec.etaextkey" :Utils.defaultFunction,
"recgrp.rec.relcur" :Utils.defaultFunction,
"recgrp.rec.lgiflg" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.usrsec.nam" :Utils.defaultFunction,
"recgrp.usrsec.secsta" :Utils.defaultFunction,
"recgrp.rec.resusrflg" :Utils.defaultFunction,
"recgrp.usrsec.dsgflg" :Utils.defaultFunction,
"recgrp.usrsec.td2usr" :Utils.defaultFunction,
"infbut.vermod.difsrm" :Utils.defaultFunction,
"recgrp.rec.ety" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVerprv(){
let rtnmsg = await this.executeRule("vermod.verprv")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVernxt(){
let rtnmsg = await this.executeRule("vermod.vernxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVerprt(){
let rtnmsg = await this.executeRule("vermod.verprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVerdet(){
let rtnmsg = await this.executeRule("vermod.verdet")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVerhis(){
let rtnmsg = await this.executeRule("vermod.verhis")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVerexi(){
let rtnmsg = await this.executeRule("vermod.verexi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanIsall(){
let rtnmsg = await this.executeRule("recpan.isall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanIsnul(){
let rtnmsg = await this.executeRule("recpan.isnul")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cod":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"seanam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infbut.dspstm":[
{type: "string", required: true, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.rec.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.usrsec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.usrsec.inipsw":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.usrsec.td2usr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.ssnbegdattim":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.rec.ssninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.ety.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.quepow":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.rec.oenr":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"recgrp.rec.relamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.ownrelcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.relamt2nd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recgrp.rec.tel":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"recgrp.rec.fax":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"recgrp.rec.eml":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"recgrp.rec.lstdiadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recpan.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"recpan.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"infbut.vermod.difsrm":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infbut.evtstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infusr {
constructor() {
this.data = {
cod: "", // USR .cod
seanam: "", // User Name .seanam
infbut: {
dspstm: "", // display stream .infbut.dspstm
vermod: {
difsrm: "", // displayable stream of differences .infbut.vermod.difsrm
},
evtstm: "", // Stream for Events of Object .infbut.evtstm
},
recpan: {
td2usrlab: "", // Label for Short-Userid .recpan.td2usrlab
recget: {
sdamod: {
seainf: "", // .recpan.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
ety: {
nam: "", // Entity Name .recpan.ety.nam
},
ownrelcur: "", // Own release currency .recpan.ownrelcur
prtmod: {
prtgrd: [], // .recpan.prtmod.prtgrd
prttstblk: "", // XMLPanel prttst的内置block .recpan.prtmod.prttstblk
},
prfmod: {
genfld: [], // .recpan.prfmod.genfld
uil: "", // Language .recpan.prfmod.uil
uilfld: [], // .recpan.prfmod.uilfld
},
prtpanblk: "", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
recgrp: {
rec: {
extkey: "", // User ID .recgrp.rec.extkey
lgiflg: "", // Login Disabled .recgrp.rec.lgiflg
ssnbegdattim: "", // Last Session / Login .recgrp.rec.ssnbegdattim
ssninr: "", // INR of Last Session .recgrp.rec.ssninr
ety: "", // Default/Initial ETY of User .recgrp.rec.ety
pri: "", // Priority Flag to Mark Initial Record .recgrp.rec.pri
usg: "", // Workgroup of User .recgrp.rec.usg
quepow: "", // Available Capacity .recgrp.rec.quepow
relgrp: "", // Release Group .recgrp.rec.relgrp
relcur: "", // Org. Unit .recgrp.rec.relcur
relamt: "", // Release up to .recgrp.rec.relamt
relamt2nd: "", // 2nd Release Amount .recgrp.rec.relamt2nd
etaextkey: "", // Entity Address .recgrp.rec.etaextkey
oenr: "", // Organisationseinheit .recgrp.rec.oenr
tel: "", // Phone .recgrp.rec.tel
fax: "", // Fax Number of User .recgrp.rec.fax
eml: "", // E-mail Address of User .recgrp.rec.eml
lstdiadat: "", // E-mail .recgrp.rec.lstdiadat
resusrflg: "", // Resp.usr .recgrp.rec.resusrflg
},
usrsec: {
nam: "", // Name .recgrp.usrsec.nam
secsta: "", // Security Status .recgrp.usrsec.secsta
inipsw: "", // Initial Password .recgrp.usrsec.inipsw
prf: "", // Profile .recgrp.usrsec.prf
uil: "", // User Interface Language .recgrp.usrsec.uil
dsgflg: "", // Designer .recgrp.usrsec.dsgflg
td2usr: "", // Short User-Id for ModCodes .recgrp.usrsec.td2usr
admflg: "", // Security Administrator .recgrp.usrsec.admflg
},
ubrgrd: {
ubr: [], // .recgrp.ubrgrd.ubr
},
usrucl: [], // .recgrp.usrucl
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -18,6 +18,7 @@ import Bddsel from "./Bddsel"
import Infbdd from "./Infbdd"
import Mgrtsk from "./Mgrtsk"
import Switsk from "./Switsk"
import Infusr from "./Infusr"
const BusRouter = [
......@@ -41,6 +42,7 @@ const BusRouter = [
{path:'infbdd',component:Infbdd},
{path:'mgrtsk',component:Mgrtsk},
{path:'switsk',component:Switsk},
{path:'infusr',component:Infusr},
]
export default BusRouter
\ No newline at end of file
<template>
<c-content>
<c-col :span="12">
<el-form-item label="displayable stream of differences" prop="infbut.vermod.difsrm">
<c-input type="textarea" v-model="model.infbut.vermod.difsrm" maxlength="16" show-word-limit
placeholder="请输入displayable stream of differences"></c-input>
</el-form-item>
</c-col>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-col :span="12">
<el-form-item label="Stream for Events of Object" prop="infbut.evtstm">
<c-input v-model="model.infbut.evtstm" placeholder="请输入Stream for Events of Object"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVerprv">
&<Version </c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVernxt">
&>Version
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVerprt">
&Print
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVerdet">
&Details
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVerhis">
&History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onVermodVerexi">
E&xit Log
</c-button>
</c-col> -->
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-row style="margin-top: 20px;">
<c-col :span="22" :offset="1">
<c-istream-table :list="model.recpan.prfmod.genfld" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
"1 1 \"Field\" 100 ",
"2 2 \"Content\" 150",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="User-ID" prop="cod">
<c-input v-model="model.cod" maxlength="8" placeholder="请输入User-ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="seanam">
<c-input v-model="model.seanam" maxlength="40" placeholder="请输入User Name"></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- <div :style="cssStyleGroup.infseaBtnClass">
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
<c-button size="small" type="primary" icon="el-icon-search" @click="onInfbutSearow">
Search
</c-button>
<c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button>
<c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>
<c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
</div> -->
<c-row>
<c-col :span="23" :offset="1">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
E&xit
</c-button>
</c-col> -->
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
// 模板样式对象集合
cssStyleGroup: {
infseaBtnClass: {
display: 'flex',
justifyContent: 'flex-end',
paddingRight: '70px',
margin: "20px 0px"
},
},
stmData: {
columns: [
"1 1 \"UserID\" 50 ",
"2 2 \"Name\" 150",
"3 3 \"Profile\" 110",
"4 4 \"Entity\" 100",
"5 5 \"UserGroup\" 50",
"6 6 \"Phone\" 100",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-col :span="12">
<el-form-item label="XMLPanel prtpan的内置block" prop="recpan.prtpanblk">
<c-input type="textarea" v-model="model.recpan.prtpanblk" maxlength="200" show-word-limit
placeholder="请输入XMLPanel prtpan的内置block"></c-input>
</el-form-item>
</c-col>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-col :span="12">
<el-form-item label="XMLPanel prttst的内置block" prop="recpan.prtmod.prttstblk">
<c-input type="textarea" v-model="model.recpan.prtmod.prttstblk" maxlength="200" show-word-limit
placeholder="请输入XMLPanel prttst的内置block"></c-input>
</el-form-item>
</c-col>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-row style="margin-top: 20px;">
<c-col :span="23" :offset="1">
Different Release Profile for Business Sector
</c-col>
</c-row>
<c-row>
<c-col :span="22" :offset="1">
<c-istream-table :list="model.recgrp.ubrgrd.ubr" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
"1 1 \"Business Sector\" 170 ",
"2 2 \"Release\" 140",
"3 3 \"Rel. Cur\" 70",
"4 4 \"Release Amout\" 140",
"5 5 \"Own Amount\" 140",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Language" prop="recpan.prfmod.uil">
<c-select v-model="model.recpan.prfmod.uil" style="width:100%" placeholder="请选择Language" :code="[]">
</c-select>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="22" :offset="1">
<c-istream-table :list="model.recpan.prfmod.uilfld" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.recpan.prfmod.uilfld" style="width: 100%">
<el-table-column prop="flddsc" label="Field" sortable width="200">
</el-table-column>
<el-table-column prop="fldcnt" label="Content" sortable width="400">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="pager.recpan_prfmod_uilfld.total">
</el-pagination>
</div>
</c-col> -->
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
"1 1 \"Field\" 200 ",
"2 2 \"Content\" 400",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-content>
<c-row>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="16">
<el-form-item label="User ID" prop="recgrp.rec.extkey">
<c-input v-model="model.recgrp.rec.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary;width:10%" @click="">i</c-button>
</c-col>
<c-col :span="3">
<el-form-item label="" prop="recgrp.rec.resusrflg" label-width="0">
<c-checkbox v-model="model.recgrp.rec.resusrflg">Resp.usr</c-checkbox>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="12">
<el-form-item label="Name" prop="recgrp.usrsec.nam">
<c-input v-model="model.recgrp.usrsec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.recget.sdamod.dadsnd" label-width="120px">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender">
</c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Login Profile" prop="recgrp.rec.lgiflg">
<c-select v-model="model.recgrp.rec.lgiflg" style="width:100%" placeholder="请选择Login Profile"
:code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Password" prop="recgrp.usrsec.inipsw">
<c-input type="password" v-model="model.recgrp.usrsec.inipsw" maxlength="32"
placeholder="请输入Password">
</c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="User Status" prop="recgrp.usrsec.secsta">
<c-select v-model="model.recgrp.usrsec.secsta" style="width:100%" placeholder="请选择User Status"
:code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="8">
<el-form-item label="" prop="recgrp.usrsec.dsgflg">
<c-checkbox v-model="model.recgrp.usrsec.dsgflg">Designer</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="recgrp.usrsec.admflg">
<c-checkbox v-model="model.recgrp.usrsec.admflg">Security Administrator</c-checkbox>
</el-form-item>
</c-col>
</c-row>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Profile" prop="recgrp.usrsec.prf">
<c-select v-model="model.recgrp.usrsec.prf" style="width:100%" placeholder="请选择Profile" :code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="TD2USRLAB" prop="recgrp.usrsec.td2usr">
<c-input v-model="model.recgrp.usrsec.td2usr" maxlength="3"
:disabled="(!!model.recgrp.usrsec.dsgflg && model.recgrp.rec.extkey.length > 3) ? false : true"
placeholder="请输入Short User-Id for ModCodes">
</c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Language" prop="recgrp.usrsec.uil">
<c-select v-model="model.recgrp.usrsec.uil" style="width:100%" placeholder="请选择Language" :code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Last Start" prop="recgrp.rec.ssnbegdattim">
<c-date-picker type="date" v-model="model.recgrp.rec.ssnbegdattim" placeholder="请选择日期">
</c-date-picker>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="15">
<el-form-item label="Entity" prop="recgrp.rec.ety">
<c-select v-model="model.recgrp.rec.ety" style="width:100%" :code="[]"
placeholder="请选择Default/Initial ETY of User"></c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="recgrp.rec.pri" label-width="0">
<c-checkbox v-model="model.recgrp.rec.pri">Default Entity of the User</c-checkbox>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Entity Name" prop="recpan.ety.nam">
<c-input v-model="model.recpan.ety.nam" maxlength="40" placeholder="请输入Entity Name"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Workgroup of User" prop="recgrp.rec.usg">
<c-select v-model="model.recgrp.rec.usg" style="width:100%" placeholder="请选择Workgroup of User"
:code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Available Capacity" prop="recgrp.rec.quepow">
<c-input-currency v-model="model.recgrp.rec.quepow" placeholder="请输入Available Capacity">
</c-input-currency>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Release Group" prop="recgrp.rec.relgrp">
<c-select v-model="model.recgrp.rec.relgrp" style="width:100%" placeholder="请选择Release Group"
:code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="12">
<el-form-item label="Release up to" prop="recgrp.rec.relcur">
<c-select v-model="model.recgrp.rec.relcur" style="width:100%" placeholder="请选择币种"
:code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="recgrp.rec.relamt">
<c-input-currency v-model="model.recgrp.rec.relamt" placeholder="请输入Release up to">
</c-input-currency>
</el-form-item>
</c-col>
</c-row>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<c-row>
<c-col :span="12">
<el-form-item label="Own Amount" prop="recpan.ownrelcur">
<c-select v-model="model.recpan.ownrelcur" style="width:100%" placeholder="请选择币种"
:code="codes.cur"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="recgrp.rec.relamt2nd">
<c-input-currency v-model="model.recgrp.rec.relamt2nd" placeholder="请输入2nd Release Amount">
</c-input-currency>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="11" :offset="1"></c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Entity Addr." prop="recgrp.rec.etaextkey">
<c-select v-model="model.recgrp.rec.etaextkey" style="width:100%" placeholder="请选择Entity Address"
:code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Phone" prop="recgrp.rec.tel">
<c-input v-model="model.recgrp.rec.tel" maxlength="30" placeholder="请输入Phone"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="Org. Unit" prop="recgrp.rec.oenr">
<c-input v-model="model.recgrp.rec.oenr" maxlength="4" placeholder="请输入Organisationseinheit">
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Fax" prop="recgrp.rec.fax">
<c-input v-model="model.recgrp.rec.fax" maxlength="30" placeholder="请输入Fax Number of User">
</c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="E-mail" prop="recgrp.rec.eml">
<c-input v-model="model.recgrp.rec.eml" maxlength="80" placeholder="请输入E-mail Address of User">
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Last Display of Diary" prop="recgrp.rec.lstdiadat">
<c-date-picker type="date" v-model="model.recgrp.rec.lstdiadat" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
</c-row>
<c-row style="margin-top: 20px;">
<c-col :span="23" :offset="1">
Printer
</c-col>
</c-row>
<c-row>
<c-col :span="22" :offset="1">
<c-istream-table :list="model.recpan.prtmod.prtgrd" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
"1 1 \"Technical Form\" 50 ",
"2 2 \"Get Printer from\" 150",
"3 3 \"Printer\" 110",
"4 4 \"Paperbin\" 100",
"5 5 \"Bin for 2nd Page\" 50",
"6 6 \"Phone\" 100",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
.eibs-tab {
overflow-y: scroll;
overflow-x: auto;
}
</style>
\ No newline at end of file
<template>
<c-content>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIsall">
全选
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIsnul">
全空
</c-button>
</c-col> -->
<c-row style="margin-top: 20px;">
<c-col :span="22" :offset="1">
<c-istream-table :list="model.recgrp.usrucl" :columns="stmData.columns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">处理事件</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infusr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
"1 1 \"Client name\" 180 ",
"2 2 \"Bchinr\" 80",
"3 3 \"机构号\" 80",
"4 4 \"Related Client\" 80",
"5 5 \"Default Client\" 80",
"6 6 \"是否参与任务分配\" 100",
"7 7 \"可处理业务品种\" 150",
]
}
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-page title="用户信息管理">
<!-- 顶部按钮区 -->
<div class="topBtnGroup">
<c-button size="small" type="primary" v-show="showflg == true" icon="el-icon-arrow-right"
@click="showflg=false">收起</c-button>
<c-button size="small" type="primary" v-show="showflg == false" icon="el-icon-arrow-left"
@click="showflg=true">展开</c-button>
<div class="btnGroup" v-show="showflg == true && tabVal == 'infsea'">
<c-button size="small" type="primary">导Excel</c-button>
<c-button size="small" type="primary" icon="el-icon-search">Search</c-button>
<c-button size="small" type="primary">Display</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Clear</c-button>
</div>
<div class="btnGroup"
v-show="showflg == true && (tabVal == 'usrp0' || tabVal == 'ubrp' || tabVal == 'evtinfp')">
<c-button size="small" type="primary" icon="el-icon-search">Search</c-button>
<el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<div class="btnGroup" v-show="showflg == true && tabVal == 'usrp3'">
<c-button size="small" type="primary">全选</c-button>
<c-button size="small" type="primary">清空</c-button>
</div>
<div class="btnGroup"
v-show="showflg == true && (tabVal == 'genpan' || tabVal == 'uilpan' || tabVal == 'prtpan' || tabVal == 'prttst' || tabVal == 'difstm')">
未见可操作按钮
</div>
</div>
<!-- 数据录入展示区 -->
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :model="tabVal" label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="User Profile" name="usrp0">
<m-usrp0 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="General Fields" name="genpan">
<m-genpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="User Authorization" name="ubrp">
<m-ubrp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Related clients" name="usrp3">
<m-usrp3 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="uilpan">
<m-uilpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="PD000057" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000043 -->
<el-tab-pane label="PD000043" name="difstm">
<m-difstm :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000022 -->
<el-tab-pane label="PD000022" name="evtinfp">
<m-evtinfp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infusr from "~/model/Infusr"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Infusr/Check"
import Default from "~/model/Infusr/Default"
import Pattern from "~/model/Infusr/Pattern"
import Infsea from "./Infsea"
import Usrp0 from "./Usrp0"
import Genpan from "./Genpan"
import Uilpan from "./Uilpan"
import Prtpan from "./Prtpan"
import Prttst from "./Prttst"
import Difstm from "./Difstm"
import Evtinfp from "./Evtinfp"
import Ubrp from "./Ubrp"
import Usrp3 from "./Usrp3"
export default {
components: {
"m-infsea": Infsea,
"m-usrp0": Usrp0,
"m-genpan": Genpan,
"m-uilpan": Uilpan,
"m-prtpan": Prtpan,
"m-prttst": Prttst,
"m-difstm": Difstm,
"m-evtinfp": Evtinfp,
"m-ubrp": Ubrp,
"m-usrp3": Usrp3,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infusr",
model: new Infusr().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
showflg: true,
}
},
methods: {
tabClick() {
}
},
created: async function () {
console.log("进入infusr交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
.topBtnGroup {
height: 32px;
margin-bottom: 5px;
text-align: right;
}
.btnGroup {
display: inline;
padding: 0 20px;
}
</style>
\ No newline at end of file
......@@ -62,6 +62,8 @@ export default {
{ inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
{ inifrm: "4", ininam: "静态参数管理", pntmiu: "" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "4" },
],
menusOrigin: [],
menus: [],
......
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