Commit 6fd20162 by 潘际乾
parents 74777364 effc4f4f
...@@ -254,18 +254,8 @@ ...@@ -254,18 +254,8 @@
</c-button> </c-button>
</c-col> --> </c-col> -->
<c-col :span="22" :offset="1"> <c-col :span="22" :offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column label="Entity" width="auto"></el-table-column> </c-istream-table>
<el-table-column
label="Object Identification"
width="auto"
></el-table-column>
<el-table-column label="Ident" width="auto"></el-table-column>
<el-table-column label="Service" width="auto"></el-table-column>
<el-table-column label="Status" width="auto"></el-table-column>
<el-table-column label="Retries" width="auto"></el-table-column>
<el-table-column label="Target" width="auto"></el-table-column>
</c-table>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -281,7 +271,19 @@ export default { ...@@ -281,7 +271,19 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
data: [], stmData: {
columns: [
"8 1 \"Entity\" 100 1 0",
"7 2 \"Object Identification\" 390 1 0",
"6 3 \"Ident\" 100 1 0",
"1 4 \"Service\" 100 1 0 3 SRVTXT",
"2 5 \"Status\" 100 1 0 2 WFE:STA",
"3 6 \"Retries\" 100 2 20:1 1 FormatRTR",
"4 7 \"Target\" auto 20 30 1"
],
data: [
]
},
}; };
}, },
methods: { ...Event }, methods: { ...Event },
......
...@@ -110,24 +110,24 @@ import Prttst from "./Prttst"; ...@@ -110,24 +110,24 @@ 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",
...@@ -136,19 +136,24 @@ export default { ...@@ -136,19 +136,24 @@ export default {
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 处理数据逻辑 //TODO 处理数据逻辑
} else { this.updateModel(rtnmsg.data)
this.$notify.error({ title: "错误", message: "服务请求失败!" }); }
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
}; };
......
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