jbb 2 anos atrás
pai
commit
fdbfae1caa
1 arquivos alterados com 38 adições e 4 exclusões
  1. 38 4
      src/views/system/modules/AddressListRight.vue

+ 38 - 4
src/views/system/modules/AddressListRight.vue

@@ -27,6 +27,10 @@
       </a-form>
     </div>
 
+    <div class="table-operator" style="border-top: 5px">
+      <a-button @click="handleDelete" type="primary" icon="hdd">删除</a-button>
+    </div>
+
     <a-table
       ref="table"
       size="middle"
@@ -35,6 +39,7 @@
       :pagination="ipagination"
       :columns="columns"
       :dataSource="dataSource"
+       :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
       :loading="loading"
       @change="handleTableChange">
     </a-table>
@@ -67,7 +72,7 @@
           },
           {
             title: '姓名',
-            width: '15%',
+            width: '10%',
             align: 'center',
             dataIndex: 'realname'
           },
@@ -79,23 +84,47 @@
           },
           {
             title: '部门',
-            width: '20%',
+            width: '10%',
             align: 'center',
             dataIndex: 'departName'
           },
           {
             title: '职务',
-            width: '15%',
+            width: '10%',
             align: 'center',
             dataIndex: 'post',
             customRender: (text) => (text || '').split(',').map(t => this.positionInfo[t] ? this.positionInfo[t] : t).join(',')
           },
           {
             title: '手机',
-            width: '15%',
+            width: '10%',
             align: 'center',
             dataIndex: 'telephone'
           },
+          {
+            title: '虚拟网号',
+            width: '15%',
+            align: 'center',
+            dataIndex: 'virtualNetworkNumber'
+          },
+          {
+            title: '公司电话',
+            width: '10%',
+            align: 'center',
+            dataIndex: 'companyOfficeNumber'
+          },
+          {
+            title: '公司内线',
+            width: '15%',
+            align: 'center',
+            dataIndex: 'companyInsider'
+          },
+          {
+            title: '家电',
+            width: '15%',
+            align: 'center',
+            dataIndex: 'landline'
+          },
           // {
           //   title: '手机号',
           //   width: '12%',
@@ -182,6 +211,11 @@
         this.loadData(null, this.value)
       },
 
+      //删除
+      handleDelete(){
+
+      },
+
       // 查询职务信息
       queryPositionInfo() {
         getAction(this.url.listByPosition, { pageSize: 99999 }).then(res => {