Commit c0d5f405 by wangren

将5个改为不可选中

parent 6cd7061e
...@@ -50,17 +50,16 @@ ...@@ -50,17 +50,16 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ================右=============== --> <!-- ================右=============== -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Started" prop="wfetsk.tsklist.jobstrdat"> <el-form-item label="Started" prop="wfetsk.tsklist.jobstrdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.wfetsk.tsklist.jobstrdat" v-model="model.wfetsk.tsklist.jobstrdat"
disabled
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
></c-date-picker> ></c-date-picker>
...@@ -74,6 +73,7 @@ ...@@ -74,6 +73,7 @@
> >
<c-input <c-input
v-model="model.wfetsk.tsklist.jobstrtimhh" v-model="model.wfetsk.tsklist.jobstrtimhh"
disabled
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
<c-input <c-input
v-model="model.wfetsk.tsklist.jobstrtimmm" v-model="model.wfetsk.tsklist.jobstrtimmm"
placeholder="请输入" placeholder="请输入"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -94,7 +95,7 @@ ...@@ -94,7 +95,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Automatic Termination Flag" placeholder="请选择Automatic Termination Flag"
> >
<el-option <el-option
v-for="item in codes.terflg" v-for="item in codes.terflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
...@@ -112,6 +113,7 @@ ...@@ -112,6 +113,7 @@
> >
<c-input <c-input
v-model="model.wfetsk.tsklist.downtimehh" v-model="model.wfetsk.tsklist.downtimehh"
disabled
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -121,11 +123,12 @@ ...@@ -121,11 +123,12 @@
<el-form-item label="min" prop="" label-width="20px"> <el-form-item label="min" prop="" label-width="20px">
<c-input <c-input
v-model="model.wfetsk.tsklist.downtimemm" v-model="model.wfetsk.tsklist.downtimemm"
disabled
placeholder="" placeholder=""
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="16"> <!-- <c-col :span="16">
<span <span
v-text="model.wfetsk.tsklist.ininam" v-text="model.wfetsk.tsklist.ininam"
...@@ -139,11 +142,11 @@ ...@@ -139,11 +142,11 @@
label="Initialization File" label="Initialization File"
prop="wfetsk.tsklist.ininam" prop="wfetsk.tsklist.ininam"
> >
<c-input <c-input
v-model="model.wfetsk.tsklist.ininam" v-model="model.wfetsk.tsklist.ininam"
placeholder="" placeholder=""
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
...@@ -278,8 +281,8 @@ export default { ...@@ -278,8 +281,8 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
data:[], data: [],
}; };
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--PD000054 --> ref="modelForm"
<el-tab-pane label="Task Manager" name="tskmgr"> label-width="200px"
<m-tskmgr :model="model" :codes="codes"/> size="small"
</el-tab-pane> :validate-on-rule-change="false"
>
<!--PD000069 --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Services" name="srvdsp"> <!--PD000054 -->
<m-srvdsp :model="model" :codes="codes"/> <el-tab-pane label="Task Manager" name="tskmgr">
</el-tab-pane> <m-tskmgr :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000069 -->
<el-tab-pane label="Predecessors" name="config1"> <!--PD000069 -->
<m-config :model="model" :codes="codes"/> <el-tab-pane label="Services" name="srvdsp">
</el-tab-pane> <m-srvdsp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="SWIFT发送" name="config2">
<m-config :model="model" :codes="codes"/> <!--PD000069 -->
</el-tab-pane> <el-tab-pane label="Predecessors" name="config1">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="TC发送" name="config3"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="SWIFT发送" name="config2">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="检查ACK" name="config4"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="TC发送" name="config3">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="Finalize Order" name="config5"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="检查ACK" name="config4">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="return to Zhongtai" name="config6"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="Finalize Order" name="config5">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="Pending CIPACK" name="config7"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="return to Zhongtai" name="config6">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="GPI" name="config8"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="Pending CIPACK" name="config7">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="衍生品额度释放" name="config9"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="GPI" name="config8">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="衍生品额度业务信息同步" name="config10"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="衍生品额度释放" name="config9">
<m-config :model="model" :codes="codes" />
<el-tab-pane label="ELCACK" name="config11"> </el-tab-pane>
<m-config :model="model" :codes="codes"/>
</el-tab-pane> <el-tab-pane label="衍生品额度业务信息同步" name="config10">
<m-config :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000060 -->
<!-- <el-tab-pane label="PD000060" name="prtswtp"> <el-tab-pane label="ELCACK" name="config11">
<m-config :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000060 -->
<!-- <el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/> <m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000062 --> <!--PD000062 -->
<!-- <el-tab-pane label="PD000062" name="prtswtrp"> <!-- <el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/> <m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000061 --> <!--PD000061 -->
<!-- <el-tab-pane label="PD000061" name="xmldoc"> <!-- <el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/> <m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<!-- <el-tab-pane label="PD000001" name="prttst"> <!-- <el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes"/> <m-prttst :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000049 -->
<!--PD000049 --> <!-- <el-tab-pane label="PD000049" name="prtswtr">
<!-- <el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/> <m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Mgrtsk from "~/model/Mgrtsk" import Mgrtsk from "~/model/Mgrtsk";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Mgrtsk/Check" import Check from "~/model/Mgrtsk/Check";
import Default from "~/model/Mgrtsk/Default" import Default from "~/model/Mgrtsk/Default";
import Pattern from "~/model/Mgrtsk/Pattern" import Pattern from "~/model/Mgrtsk/Pattern";
import Tskmgr from "./Tskmgr" import Tskmgr from "./Tskmgr";
import Srvdsp from "./Srvdsp" import Srvdsp from "./Srvdsp";
import Config from "./Config" import Config from "./Config";
import Prtswtp from "./Prtswtp" import Prtswtp from "./Prtswtp";
import Prtswtrp from "./Prtswtrp" import Prtswtrp from "./Prtswtrp";
import Xmldoc from "./Xmldoc" import Xmldoc from "./Xmldoc";
import Prttst from "./Prttst" import Prttst from "./Prttst";
import Prtswtr from "./Prtswtr" import Prtswtr from "./Prtswtr";
export default { export default {
name: 'Mgrtsk', name: "Mgrtsk",
components:{ components: {
"m-tskmgr" : Tskmgr, "m-tskmgr": Tskmgr,
"m-srvdsp" : Srvdsp, "m-srvdsp": Srvdsp,
"m-config" : Config, "m-config": Config,
"m-prtswtp" : Prtswtp, "m-prtswtp": Prtswtp,
"m-prtswtrp" : Prtswtrp, "m-prtswtrp": Prtswtrp,
"m-xmldoc" : Xmldoc, "m-xmldoc": Xmldoc,
"m-prttst" : Prttst, "m-prttst": Prttst,
"m-prtswtr" : Prtswtr, "m-prtswtr": Prtswtr,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "tskmgr", tabVal: "tskmgr",
trnName: "mgrtsk", trnName: "mgrtsk",
model: new Mgrtsk().data, model: new Mgrtsk().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: { ...CodeTable },
} };
}, },
methods:{ methods: {
tabClick(){ tabClick() {},
} },
}, created: async function () {
created:async function(){ console.log("进入mgrtsk交易");
console.log("进入mgrtsk交易"); let rtnmsg = await this.init({});
let rtnmsg = await this.init({}) if (rtnmsg.respCode == SUCCESS) {
if(rtnmsg.respCode == SUCCESS) //TODO 处理数据逻辑
{ } else {
//TODO 处理数据逻辑 this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</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