diff --git a/src/pages/order/packageDetail/index.js b/src/pages/order/packageDetail/index.js index 1367c58c..24db123b 100644 --- a/src/pages/order/packageDetail/index.js +++ b/src/pages/order/packageDetail/index.js @@ -4,8 +4,33 @@ import TabPage from "@/components/tabPage/main.js" import moment from "moment" import React from "react" import { Notify } from "zent" +import Grid from "@/components/gird/main.js" import "./more.less" +const Column = [ + { + title: "创建时间", + name: "time", + prop: "time", + type: "slot", + width: "20%" + }, + { + title: "操作描述", + name: "message", + prop: "message", + type: "normal", + width: "20%" + }, + { + title: "详情", + name: "opearo", + type: "slot", + prop: "opearo", + width: "50%" + } +] + export default class order extends React.Component { constructor(props) { super(props) @@ -75,31 +100,60 @@ export default class order extends React.Component { return (
- + {this.state.tabactive == 0 ? ( + + ) : ( +
+ { + this.countChange(e) + }} + countbarVisible={false} + isSwitch={false} + pageChange={(e) => { + this.pageChange(e) + }} + checkChange={this.selection.bind(this)} + ComponentHandler={(com, rowData) => { + if (com == "time") { + return
{moment.unix(rowData.time).format("YYYY-MM-DD HH:mm:ss")}
+ } + }} + /> +
+ )}
)