Commit 1c317379 by zhujiazhan

新增ordrel交易

parent e6e640e0
......@@ -7290,7 +7290,27 @@ const CodeTable = {
{ label: "User Group", value: "USG" },
{ label: "Entity", value: "ETY" },
{ label: "<not specified>", value: "" },
],
flt_ordrel: [
{ label: "All Users", value: "<ALL>" },
{ label: "Selected User", value: "<SELU>" },
],
sta_ordrel: [
{ label: "All", value: "" },
{ label: "Break", value: "BRK" },
{ label: "Correction", value: "COR" },
{ label: "Delete", value: "DEL" },
{ label: "ORD Break", value: "CMB" },
{ label: "ORD Correction", value: "CMR" },
{ label: "ORD Delete", value: "DES" },
{ label: "ORD Waiting", value: "CRE" },
{ label: "Released", value: "REL" },
{ label: "总行退回", value: "CTR" },
],
dflg_ordrel:[
{ label: "All", value: "" },
{ label: "国内业务", value: "1" },
{ label: "国际业务", value: "2" }
]
}
export default CodeTable;
export default {
"PD000042": "Menu",
"filter":"Selection of Users",
"SF000050":"Reference",
"SG000138":"Status",
"S0000073":"Transaction Type",
"S0000074":"Transaction Text",
"S0000075":"Between",
"S0000076":"and",
"SG000156":"flag",
"extkey":"Selected User",
"CG000158":"His.img",
"CF000069":"订单确认",
"CF000070":"Repair",
"CF000071":"Delete",
"CF000077":"ReDo",
"CG000140":"Events",
"CG000152":"His image",
"CG000160":"额度查询",
}
\ No newline at end of file
......@@ -14,7 +14,7 @@ export default {
"CT000034": "额度回退成功!",
"S0000003": "Object Name",
"S0000004": "Object",
"PD000001": "Workflow",
"PD000001": "工作流程",
"CT000026": "Contrary Text",
"CT000025": "Text",
"CT000028": "Error: $1",
......
export default {
"PD000042": "菜单",
"filter":"选择用户",
"SF000050":"Reference",
"SG000138":"状态",
"S0000073":"交易类型",
"S0000074":"交易文本",
"S0000075":"开始时间",
"S0000076":"结束时间",
"SG000156":"信用证标志",
"extkey":"选定用户",
"CG000158":"His.img",
"CF000069":"订单确认",
"CF000070":"退回",
"CF000071":"删除",
"CF000077":"重做",
"CG000140":"事件",
"CG000152":"His image",
"CG000160":"额度查询",
}
\ No newline at end of file
export default {
"CT000018": "User Group",
"CF000033": "Sho&w Set",
"CF000033": "Show & Set",
"CF000041": "",
"CT000009": "Default set",
"CF000042": "&Close",
......
import Utils from "~/utils"
/**
* Ordrel Check规则
*/
let checkObj = {
"inidatfro" :null,
"inidattil" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ordrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ordstm" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"inidatfro" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButshw(){
let rtnmsg = await this.executeRule("syswrn.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onClmmodDet(){
let rtnmsg = await this.executeRule("clmmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset(formName) {
this.$refs[formName].resetFields();
this.model.infcon.opndatto=""
},
async handleSearch() {
this.stmData.data = [];
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
let rows = rtnmsg.data.ordstm.rows;
let rows_new = [];
rows.forEach(function (row) {
row = row.replace('{\'=','').replace('}','');
rows_new.push(row);
});
this.stmData.data = rows_new;
this.model.ordstm = rtnmsg.data.ordstm;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"ordstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"clmmod.wfs.objtyp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"clmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"clmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"clmmod.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"syswrn.dsp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"hmdgfx.rskinf":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ordrel{
constructor () {
this.data = {
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
seltxt:"", // Reference .seltxt
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
ordstm:"", // List of ORD records .ordstm
sta:"", // Status .sta
dflg:"", // flag .dflg
clmmod:{
wfs:{
objtyp:"", // Table Used to Store Associated Object .clmmod.wfs.objtyp
objinr:"", // Object .clmmod.wfs.objinr
objnam:"", // External Readable Object Identification .clmmod.wfs.objnam
},
wfestm:"", // WFEs for transaction for display .clmmod.wfestm
},
syswrn:{
dsp:"", // Display .syswrn.dsp
},
hmdgfx:{
rskinf:"", // 监控国家信息 .hmdgfx.rskinf
rskexp:"", // 监控说明信息 .hmdgfx.rskexp
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -122,21 +122,21 @@ export default {
],
"sptp.ord.inidattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
{max: 25,message:"长度不能超过25"}
],
"sptp.ord.stadattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
{max: 25,message:"长度不能超过25"}
],
"sptp.ord.tardattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
{max: 25,message:"长度不能超过25"}
],
"sptp.ord.cpldattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
{max: 25,message:"长度不能超过25"}
],
......
......@@ -63,6 +63,8 @@ import Bctame from "./Bctame"
import Infcur from "./Infcur"
import Infbed from "./Infbed"
import Letcan from "./Letcan"
import Ordrel from "./Ordrel"
//光大添加
import Brtlat from "./Brtlat"
import Litopn from "./Litopn"
......@@ -435,6 +437,7 @@ const BusRouter = [
{ path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } },
{ path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } },
{ path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } },
{ path: 'Ordrel', component: Ordrel, name: 'Ordrel', meta: { title: 'Ordrel' } },
]
......
<template>
<div class="eibs-tab">
<!-- SG000162 : 监控国家信息 -->
<c-col :span="12">
<c-form-item :label="$t('ordrel.SG000162')" prop="hmdgfx.rskinf">
<c-input type="textarea" v-model="model.hmdgfx.rskinf" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ordrel.SG000162')" ></c-input>
</c-form-item>
</c-col>
<!-- SG000163 : 监控说明信息 -->
<c-col :span="12">
<el-form-item :label="$t('ordrel.SG000163')" prop="hmdgfx.rskexp">
<c-select v-model="model.hmdgfx.rskexp" style="width:100%" :placeholder="$t('other.please_enter')+$t('ordrel.SG000163')">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ordrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<!-- S0000004 : Object -->
<c-col :span="12">
<c-form-item :label="$t('clmmod.S0000004')" prop="clmmod.wfs.objtyp">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'" disabled></c-input>
</c-form-item>
</c-col>
<c-col :span="12" >
<c-form-item label="" prop="clmmod.wfs.objinr" label-width="5px">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('clmmod.S0000004')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="21">
<!-- S0000003 : Object Name -->
<c-form-item :label="$t('clmmod.S0000003')" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" :placeholder="$t('other.please_enter')+$t('clmmod.S0000003')" disabled></c-input>
</c-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onClmmodDet">
{{$t('clmmod.CG000002')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></c-input>
</c-form-item>
</c-col>
-->
</c-col>
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg=true
>
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ordrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
stmData: {
columns: [
"1 1 \"ID\" 200",
"2 2 \"Service\" 200",
{index:3,position:3,width:160,pattern:'code',label:'Status',code:'sptDetSta'},
"4 4 \"Last Update\" 200",
"5 5 \"Retries\" 200",
"6 6 \"Text\" 200",
"7 7 \"Contrary Text\" 200",
"8 8 \"Target Time\" 200",
],
data: []
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Display" prop="syswrn.dsp">
<c-input v-model="model.syswrn.dsp" :placeholder="$t('other.please_enter')+'Display'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButok">
{{$t('syswrn.CF000003')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButcan">
{{$t('syswrn.CF000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ordrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--ordrel PD000042 Menu -->
<el-tab-pane :label="$t('ordrel.PD000042')" name="menu">
<c-content>
<m-menu :model="model" :codes="codes" @changeTab="changeTab"/>
</c-content>
</el-tab-pane>
<!--clmmod PD000001 Workflow -->
<el-tab-pane :label="$t('clmmod.PD000001')" name="ordpwfm">
<m-ordpwfm :model="model" :codes="codes"/>
</el-tab-pane>
<!--syswrn PD000005 Warnings -->
<el-tab-pane :label="$t('syswrn.PD000005')" name="syswrndisplay" v-if="false">
<m-syswrndisplay :model="model" :codes="codes"/>
</el-tab-pane>
<!--ordrel PD000161 监控国家信息 -->
<el-tab-pane :label="$t('ordrel.PD000161')" name="highriskinfo" v-if="false">
<m-highriskinfo :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ordrel from "~/model/Ordrel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ordrel/Check"
import Default from "~/model/Ordrel/Default"
import Pattern from "~/model/Ordrel/Pattern"
import Menu from "./Menu"
import Ordpwfm from "./Ordpwfm"
import Syswrndisplay from "./Syswrndisplay"
import Highriskinfo from "./Highriskinfo"
export default {
name: "Ordrel",
components:{
"m-menu" : Menu,
"m-ordpwfm" : Ordpwfm,
"m-syswrndisplay" : Syswrndisplay,
"m-highriskinfo" : Highriskinfo,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "menu",
trnName: "ordrel",
trnType: "",
model: new Ordrel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
},
changeTab(){
this.tabVal="ordpwfm";
}
},
created:async function(){
console.log("进入ordrel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -156,7 +156,7 @@
size="medium"
type="primary"
class="medium_bcs"
@click.native="onOperate2('rettocus')"
@click.native="onButpan('rettocus')"
:disabled=this.flag
title="butpan">
退回
......@@ -178,7 +178,7 @@
class="medium_bcs"
@click.native="onOperate('Connect11111')"
title="Connect"
:disabled=this.flag >
disabled=false >
Connect
</c-button>
<c-button
......@@ -188,7 +188,7 @@
class="medium_bcs"
@click.native="onOperate('Infotext11111')"
title="Infotext"
:disabled=this.flag >
disabled=false >
Infotext
</c-button>
<c-button
......@@ -198,15 +198,25 @@
class="medium_bcs"
@click.native="onOperate('inc11111')"
title="Inc"
:disabled=this.flag >
disabled=false >
Show Inc.
</c-button>
<!-- <c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onShow()"
title="Remove"
:disabled=this.flag >
Remove
</c-button> -->
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onShow('Show211111')"
@click.native="onShow()"
title="Show2"
:disabled=this.flag >
Show
......@@ -218,7 +228,7 @@
class="medium_bcs"
@click.native="onOperate('Reject111111')"
title="Reject"
:disabled=this.flag >
disabled=false >
Reject
</c-button>
</div>
......@@ -226,8 +236,8 @@
</div>
</el-dialog>
<m-sptp0 ref="childs" :model="model" :codes="codes"></m-sptp0>
<m-sptp0 ref="childs" :model="model" :codes="codes" @onSptp="onSptpButord"></m-sptp0>
<m-ordp0 ref="childs2" :model="model" :codes="codes"></m-ordp0>
</div>
</template>
<script>
......@@ -236,6 +246,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
import Sptp0 from "./Sptp0"
import Ordp0 from "./Ordp0"
export default {
inject: ['root'],
......@@ -243,6 +255,7 @@ export default {
mixins: [commonProcess],
components:{
"m-sptp0" : Sptp0,
"m-ordp0" : Ordp0,
},
data(){
return {
......@@ -313,7 +326,7 @@ export default {
this.initdialog = false
}
},
onOperate2(vul){
onButpan(){
this.$confirm('Are you sure that you want to return selected items?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
......@@ -324,7 +337,7 @@ export default {
const selIds = [index]; //rowno选中行
const selDst = "sptstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule(vul,params);
let rtnmsg = await this.executeRule('rettocus',params);
if (rtnmsg.respCode == SUCCESS) {
this.initdialog = false
this.stmData.data = rtnmsg.data.sptstm.rows;
......@@ -341,7 +354,10 @@ export default {
async onShow(row){
this.initdialog = false
this.$refs.childs.initdialog2 = true
},
},
async onSptpButord(){
this.$refs.childs2.initdialog3 = true
}
},
created:function(){
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Table Used to Store Associated Object" prop="clmmod.wfs.objtyp">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" placeholder="请输入Table Used to Store Associated Object"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object" prop="clmmod.wfs.objinr">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Readable Object Identification" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onClmmodDet">
&Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" placeholder="请输入WFEs for transaction for display"></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Object" prop="clmmod.wfs.objtyp" label-width="40px">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" placeholder="请输入Table Used to Store Associated Object" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="clmmod.wfs.objinr" label-width="5px">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" placeholder="请输入Object" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Object Name" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onClmmodDet" label-width="5px">
&Details
</c-button>
</c-col>
</c-col>
</c-col>
<c-istream-table
:list="stmData.data"
:columns="stmData.columns">
</c-istream-table>
<!--
<c-col :span="12">
<el-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" placeholder="请输入WFEs for transaction for display"></c-input>
</el-form-item>
</c-col> -->
</c-col>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api"
......@@ -44,10 +63,21 @@ export default {
mixins: [commonProcess],
data(){
return {
stmData: {
columns: [
'4 1 "ID" 150',
'5 2 "Service" 200',
'6 3 "Status" 150',
'8 4 "Last Update" 200',
'14 5 "Retries" 200',
'3 6 "Text" 300',
],
data: [],
},
}
},
methods:{...Event},
methods:{...Event,
},
created:function(){
}
......
......@@ -2,10 +2,9 @@
<el-dialog
:visible.sync="initdialog2"
:title="'操作列表'"
:title="'Details of Pending Item'"
append-to-body
id="dialog2"
style="height:80%,width:80%"
@opened="opened"
>
<div class="eibs-tab">
......@@ -149,7 +148,6 @@
</c-col>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api"
......@@ -158,9 +156,10 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
import Sptneg from "~/model/Sptneg"
export default {
inject: ['root'],
props:["model","codes","row"],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
......@@ -184,6 +183,9 @@ export default {
opened() {
this.$emit("childmethods");
},
async onSptpButord(){
this.$emit("onSptp");
}
},
created:function(){
......
......@@ -10,62 +10,10 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="PD000001" name="ordpwfm">
<el-tab-pane label="Workflow" name="ordpwfm">
<m-ordpwfm :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049
<el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 -->
<el-tab-pane label="PD000029" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="prtp">
<m-prtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000212 -->
<el-tab-pane label="PD000212" name="cmt100pyl">
<m-cmt100pyl :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000250 -->
<el-tab-pane label="PD000250" name="fmtpyl">
<m-fmtpyl :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000314 -->
<el-tab-pane label="PD000314" name="cipspan">
<m-cipspan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -89,16 +37,6 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptneg/Check"
import Default from "~/model/Sptneg/Default"
import Pattern from "~/model/Sptneg/Pattern"
import Prtswtr from "./Prtswtr"
import Prtswtrp from "./Prtswtrp"
import Prtswtp from "./Prtswtp"
import Xmldoc from "./Xmldoc"
import Ordp0 from "./Ordp0"
import Prtpan from "./Prtpan"
import Prtp from "./Prtp"
import Cmt100pyl from "./Cmt100pyl"
import Fmtpyl from "./Fmtpyl"
import Cipspan from "./Cipspan"
import Menu from "./Menu"
import Ordpwfm from "./Ordpwfm"
......@@ -106,16 +44,6 @@ import Ordpwfm from "./Ordpwfm"
export default {
name: "Sptneg",
components:{
"m-prtswtr" : Prtswtr,
"m-prtswtrp" : Prtswtrp,
"m-prtswtp" : Prtswtp,
"m-xmldoc" : Xmldoc,
"m-ordp0" : Ordp0,
"m-prtpan" : Prtpan,
"m-prtp" : Prtp,
"m-cmt100pyl" : Cmt100pyl,
"m-fmtpyl" : Fmtpyl,
"m-cipspan" : Cipspan,
"m-menu" : Menu,
"m-ordpwfm" : Ordpwfm,
},
......
<template>
<el-dialog
:visible.sync="initdialog"
:title="'交易列表'"
:title="'操作列表'"
append-to-body
:before-close="beforeClose"
@opened="opened"
......@@ -53,6 +53,15 @@ export default {
ownref: {
required: true,
},
row: {
required: true,
},
trnCode: {
required: true,
},
model:{
required: true,
},
},
components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
......@@ -64,9 +73,19 @@ export default {
methods: {
//各入口按钮请求
async onRelease(){
console.log("onRelease:"+this.ownref)
this.model.sptstm = this.row;
this.trnName = this.trnCode;
const selIds = [1]; //rowno选中行
const selDst = "sptstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule('relrow',params);
if (rtnmsg.respCode == SUCCESS) {
this.$emit("onChoose");
} else {
//this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.$emit("onChoose");
}
let rtnmsg = await this.executeRule(`sptrel.relrow`);
},
async onRepair(){
......
......@@ -450,7 +450,7 @@
style="margin-left: 0"
size="small"
type="primary"
@click="alert(scope.row['Reference'])"
@click="display('00002140')"
>
详情
</c-button>
......
......@@ -188,6 +188,7 @@ export default {
{ inifrm: "mgrtsk", ininam: "Mgrtsk", pntmiu: "14" },
{ inifrm: "sptrel", ininam: "sptrel", pntmiu: "14" },
{ inifrm: "sptneg", ininam: "sptneg", pntmiu: "14" },
{ inifrm: "ordrel", ininam: "ordrel", pntmiu: "14" },
......
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