Jelajahi Sumber

:fire: 移除权限编辑功能

zhanghe 6 tahun lalu
induk
melakukan
7faa0cab23
1 mengubah file dengan 3 tambahan dan 11 penghapusan
  1. 3 11
      src/routes/Terminal/Auth/AuthList.js

+ 3 - 11
src/routes/Terminal/Auth/AuthList.js

@@ -2,7 +2,7 @@
 import React, { Component } from 'react';
 import moment from 'moment';
 import { connect } from 'dva';
-import { Modal, Form, Card, Badge, Button, DatePicker, message } from 'antd';
+import { Modal, Form, Card, Badge, DatePicker, message } from 'antd';
 import { StandardTableList } from '../../../components/AXList';
 import Ellipsis from '../../../components/Ellipsis';
 import { addRowKey } from '../../../utils/utils';
@@ -121,7 +121,7 @@ export default class TerminalAuthListPage extends Component {
       title: '产品编号',
       key: 2,
       dataIndex: 'pcode',
-      width: '12%',
+      width: '15%',
       render: text => (
         <Ellipsis tooltip lines={1}>{text}</Ellipsis>
       ),
@@ -129,7 +129,7 @@ export default class TerminalAuthListPage extends Component {
       title: '产品名称',
       key: 3,
       dataIndex: 'pname',
-      width: '13%',
+      width: '18%',
       render: text => (
         <Ellipsis tooltip lines={1}>{text}</Ellipsis>
       ),
@@ -167,14 +167,6 @@ export default class TerminalAuthListPage extends Component {
       render: text => timestamp2Str(text),
       width: '15%',
       align: 'center',
-    }, {
-      title: '操作',
-      key: 7,
-      render: (_, record) => (
-        <Button onClick={() => this.handleEditAuthModalShow(record)} size="small" className="editBtn">修改权限</Button>
-      ),
-      width: '8%',
-      align: 'right',
     }];
     return (
       <Card>