|
@@ -0,0 +1,52 @@
|
|
|
|
+import React from 'react';
|
|
|
|
+import { BirdGrid } from 'components/Grid';
|
|
|
|
+import { routerRedux } from 'dva/router'
|
|
|
|
+import { config,request,util } from 'utils'
|
|
|
|
+import { connect } from 'dva';
|
|
|
|
+const { APIV4,APIV5 } = config
|
|
|
|
+class tag_setting extends React.Component {
|
|
|
|
+ constructor(props) {
|
|
|
|
+ super(props)
|
|
|
|
+ console.log(props)
|
|
|
|
+
|
|
|
|
+ this.state = {
|
|
|
|
+ formConfirmLoading:false,
|
|
|
|
+ formVisiable:false,
|
|
|
|
+ getdDisdatas:[]
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ onClose(){
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ //获取规则数据
|
|
|
|
+ componentDidMount(){
|
|
|
|
+ let self=this;
|
|
|
|
+ }
|
|
|
|
+ render() {
|
|
|
|
+ let self = this;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ let gridOption = {
|
|
|
|
+ title: "订单列表",
|
|
|
|
+ url: {
|
|
|
|
+ read:APIV5+"/api/excel/getExternalUserList"
|
|
|
|
+ },
|
|
|
|
+ columns: [
|
|
|
|
+ { title: "ID", data: "id", type: "text", editor: {},query:true },
|
|
|
|
+ { title: "姓名(昵称)", data: "name", type: "text",editor: {}, query: true},
|
|
|
|
+ { title: "性别", data: "gender", type: "text", editor: {},query:true },
|
|
|
|
+ { title: "年龄", data: "user_age", type: "text", editor: {},query:true },
|
|
|
|
+ { title: "手机", data: "remark_mobiles", type: "text", editor: {},query:true},
|
|
|
|
+ { title: "添加时间", data: "createtime", type: "text", editor: {},query:true},
|
|
|
|
+ { title: "到达", data: "termain_type", type: "text", editor: {},query:true},
|
|
|
|
+ { title: "企业好友", data: "company_name", type: "text", editor: {},query:true},
|
|
|
|
+ { title: "状态", data: "is_delete", type: "text", editor: {},query:true}
|
|
|
|
+ ]
|
|
|
|
+ };
|
|
|
|
+ return <div>
|
|
|
|
+ <BirdGrid gridOption={gridOption} ref="grid"></BirdGrid>
|
|
|
|
+ </div>
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+export default connect( ( { bindActionCreators } ) => ( { bindActionCreators } ) )( tag_setting );
|