<template> <div class="eContainer"> <c-page title="交易服务管理修改"> <el-form :model="model" ref="modelForm" label-width="120px" label-position="right" size="small"> <c-tabs v-model="tabVal" ref="elment" type="card"> <el-tab-pane label="交易服务管理工作流状态修改" name="infsea" center> <c-content> <m-infsea :model="model" ref="infsea" /> </c-content> </el-tab-pane> </c-tabs> </el-form> <div style="text-align: center"> <c-button type="primary" @click="goBack">返 回</c-button> </div> </c-page> </div> </template> <script> import Infsea from "./Infsea"; import { queryByTrnId} from "~/service/manage/wfe.js"; export default { name: "StaticsDbetrn", components: { "m-infsea": Infsea, }, provide(){ return{ root: this, }; }, props: { type: { type: String, default: "edit" }, title: { type: String, default: "dbetrn" } }, data() { return { tabVal: "infsea", model: { inr:"", srv:"", sta:"", wfsinr:"", wfssub:"", rtycnt:"", tardattim:"", dattim:"", ssninr:"", txt:"", descripe:"", pageNum: 1, pageSize:PageSize, total: 0, }, }; }, computed: { isDisabled() { return this.type === "info" || this.type === "delete"; }, }, created() { if (this.type !== "add") { this.model.inr = this.model.inr queryByTrnId(this.model).then((res) => { if (res.data) { this.model= res.data; this.model.pageNum = res.data.pageNumber this.model.pageSize = res.data.pageSize this.model.total = res.data.total } else { this.$notify.error("信息不存在") } }); } }, methods: { goBack(update) { this.$store.commit('delTagsArry', this.$route.path); this.$router.history.push('/business/dbltrn') // this.$store.dispatch("TagsView/delView", this.$route); // this.$router.push({ name: "StaticsDbltrn", params: { update } }); }, }, }; </script> <style> </style>