Commit f212466e by liaoxing

gtx 详情页面路由

parent 928f3714
......@@ -14,7 +14,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="gtx">
<c-content>
<!-- <m-pty-info :model="model" /> -->
<m-gtx-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -51,7 +51,7 @@
import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js";
// import PtyInfo from "./PtyInfo.vue";
import GtxInfo from "./GtxInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
......@@ -62,7 +62,7 @@ import { queryDetailById, add, edit, deleteById } from "~/service/test/pty.js";
export default {
name: "StaticsDbigtx",
components: {
// "m-pty-info": PtyInfo,
"m-gtx-info": GtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
......
......@@ -223,20 +223,20 @@
<c-button
style="margin-left: 0"
size="small"
@click="ptyInfo(scope.$index, scope.row)"
@click="gtxInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="ptyEdit(scope.$index, scope.row)"
@click="gtxEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="ptyDelete(scope.$index, scope.row)"
@click="gtxDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
......
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