Commit b002ec54 by zhengxiaokui
parents a96d893f e679c6c2
...@@ -6,19 +6,17 @@ import Api from "~/service/Api"; ...@@ -6,19 +6,17 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { 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, "infbut.dspstm" :Utils.defaultFunction,
"recgrp.rec.ety" :Utils.defaultFunction,
"recgrp.usrsec.dsgflg" :Utils.defaultFunction,
"recgrp.usrsec.td2usr" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction, "recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.usrsec.nam" :Utils.defaultFunction, "recgrp.rec.relgrp" :Utils.defaultFunction,
"recgrp.rec.lgiflg" :Utils.defaultFunction,
"recgrp.usrsec.secsta" :Utils.defaultFunction, "recgrp.usrsec.secsta" :Utils.defaultFunction,
"recgrp.rec.relcur" :Utils.defaultFunction,
"recgrp.rec.resusrflg" :Utils.defaultFunction, "recgrp.rec.resusrflg" :Utils.defaultFunction,
"recgrp.usrsec.dsgflg" :Utils.defaultFunction, "recgrp.usrsec.nam" :Utils.defaultFunction,
"recgrp.usrsec.td2usr" :Utils.defaultFunction, "recgrp.rec.etaextkey" :Utils.defaultFunction,
"infbut.vermod.difsrm" :Utils.defaultFunction,
"recgrp.rec.ety" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -74,78 +74,6 @@ export default { ...@@ -74,78 +74,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); 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(){ async onRecpanIsall(){
let rtnmsg = await this.executeRule("recpan.isall") let rtnmsg = await this.executeRule("recpan.isall")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -9,14 +9,14 @@ export default { ...@@ -9,14 +9,14 @@ export default {
], ],
"infbut.dspstm":[ "infbut.dspstm":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"recpan.recget.sdamod.dadsnd":[ "recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -108,30 +108,6 @@ export default { ...@@ -108,30 +108,6 @@ export default {
"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 Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
export default class Infusr { export default class Infusr{
constructor() { constructor () {
this.data = { this.data = {
cod: "", // USR .cod cod:"", // USR .cod
seanam: "", // User Name .seanam infbut:{
infbut: { dspstm:"", // display stream .infbut.dspstm
dspstm: "", // display stream .infbut.dspstm
vermod: {
difsrm: "", // displayable stream of differences .infbut.vermod.difsrm
}, },
evtstm: "", // Stream for Events of Object .infbut.evtstm seanam:"", // User Name .seanam
recpan:{
td2usrlab:"", // Label for Short-Userid .recpan.td2usrlab
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
}, },
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
}, },
ety: { ownrelcur:"", // Own release currency .recpan.ownrelcur
nam: "", // Entity Name .recpan.ety.nam prtmod:{
prtgrd:[], // .recpan.prtmod.prtgrd
}, },
ownrelcur: "", // Own release currency .recpan.ownrelcur prfmod:{
prtmod: { genfld:[], // .recpan.prfmod.genfld
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
}, },
recgrp: { usrsec:{
rec: { nam:"", // Name .recgrp.usrsec.nam
extkey: "", // User ID .recgrp.rec.extkey secsta:"", // Security Status .recgrp.usrsec.secsta
lgiflg: "", // Login Disabled .recgrp.rec.lgiflg inipsw:"", // Initial Password .recgrp.usrsec.inipsw
ssnbegdattim: "", // Last Session / Login .recgrp.rec.ssnbegdattim prf:"", // Profile .recgrp.usrsec.prf
ssninr: "", // INR of Last Session .recgrp.rec.ssninr uil:"", // User Interface Language .recgrp.usrsec.uil
ety: "", // Default/Initial ETY of User .recgrp.rec.ety dsgflg:"", // Designer .recgrp.usrsec.dsgflg
pri: "", // Priority Flag to Mark Initial Record .recgrp.rec.pri td2usr:"", // Short User-Id for ModCodes .recgrp.usrsec.td2usr
usg: "", // Workgroup of User .recgrp.rec.usg admflg:"", // Security Administrator .recgrp.usrsec.admflg
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: { ubrgrd:{
nam: "", // Name .recgrp.usrsec.nam ubr:[], // .recgrp.ubrgrd.ubr
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: { usrucl:[], // .recgrp.usrucl
ubr: [], // .recgrp.ubrgrd.ubr
},
usrucl: [], // .recgrp.usrucl
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<el-tabs ref="elment" type="card" @tab-click="tabClick"> <el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1"> <el-tab-pane label="Overview" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<m-opnp1 :model="model" :codes="codes" /> <m-opnp1 :model="model" :codes="codes" />
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal:"opnp1",
trnName:"cptopn", trnName:"cptopn",
model: new Cptopn().data, model: new Cptopn().data,
checkRules: Check, checkRules: Check,
......
<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-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>
<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
...@@ -14,10 +14,11 @@ ...@@ -14,10 +14,11 @@
<c-button size="small" type="primary">Display</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">Use</c-button>
<c-button size="small" type="primary">Clear</c-button> <c-button size="small" type="primary">Clear</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div> </div>
<div class="btnGroup" <div class="btnGroup"
v-show="showflg == true && (tabVal == 'usrp0' || tabVal == 'ubrp' || tabVal == 'evtinfp')"> v-show="showflg == true && (tabVal == 'usrp0' || tabVal == 'ubrp' || tabVal == 'genpan')">
<c-button size="small" type="primary" icon="el-icon-search">Search</c-button> <c-button size="small" type="primary" icon="el-icon-search">Search</c-button>
<el-button-group> <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-left"></c-button>
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div> </div>
<div class="btnGroup" v-show="showflg == true && tabVal == 'usrp3'"> <div class="btnGroup" v-show="showflg == true && tabVal == 'usrp3'">
...@@ -33,10 +35,6 @@ ...@@ -33,10 +35,6 @@
<c-button size="small" type="primary">清空</c-button> <c-button size="small" type="primary">清空</c-button>
</div> </div>
<div class="btnGroup"
v-show="showflg == true && (tabVal == 'genpan' || tabVal == 'uilpan' || tabVal == 'prtpan' || tabVal == 'prttst' || tabVal == 'difstm')">
未见可操作按钮
</div>
</div> </div>
<!-- 数据录入展示区 --> <!-- 数据录入展示区 -->
...@@ -45,7 +43,7 @@ ...@@ -45,7 +43,7 @@
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :model="tabVal" label="Search Panel" name="infsea"> <el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes" /> <m-infsea :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -65,31 +63,6 @@ ...@@ -65,31 +63,6 @@
<m-usrp3 :model="model" :codes="codes" /> <m-usrp3 :model="model" :codes="codes" />
</el-tab-pane> </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> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -106,11 +79,6 @@ ...@@ -106,11 +79,6 @@
import Infsea from "./Infsea" import Infsea from "./Infsea"
import Usrp0 from "./Usrp0" import Usrp0 from "./Usrp0"
import Genpan from "./Genpan" 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 Ubrp from "./Ubrp"
import Usrp3 from "./Usrp3" import Usrp3 from "./Usrp3"
...@@ -120,11 +88,6 @@ ...@@ -120,11 +88,6 @@
"m-infsea": Infsea, "m-infsea": Infsea,
"m-usrp0": Usrp0, "m-usrp0": Usrp0,
"m-genpan": Genpan, "m-genpan": Genpan,
"m-uilpan": Uilpan,
"m-prtpan": Prtpan,
"m-prttst": Prttst,
"m-difstm": Difstm,
"m-evtinfp": Evtinfp,
"m-ubrp": Ubrp, "m-ubrp": Ubrp,
"m-usrp3": Usrp3, "m-usrp3": Usrp3,
}, },
......
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