cuijian
19 小时以前 135b5b2e497514dc4456e33b0db0fe5e7fa4e62f
src/views/tms/ToolVerificationList.vue
@@ -33,9 +33,6 @@
    <!-- 查询区域-END -->
    <!-- 操作按钮区域 -->
    <div class="table-operator">
      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
    </div>
    <!-- table区域-begin -->
    <div>
@@ -53,25 +50,6 @@
        :rowSelection="null"
        class="j-table-force-nowrap"
        @change="handleTableChange">
        <span slot="action" slot-scope="text, record">
          <a @click="handleDetail(record)">详情</a>
          <a-divider type="vertical" />
          <a-dropdown>
            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
            <a-menu slot="overlay">
              <a-menu-item>
                <a @click="handleEdit(record)">编辑</a>
              </a-menu-item>
              <a-menu-item>
                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
                  <a>删除</a>
                </a-popconfirm>
              </a-menu-item>
            </a-menu>
          </a-dropdown>
        </span>
      </a-table>
    </div>
@@ -113,7 +91,7 @@
          {
            title:'唯一编码',
            align:"center",
            dataIndex: 'toolId',
            dataIndex: 'onlyCode',
          },
          {
            title:'量具名称',
@@ -123,7 +101,7 @@
          {
            title:'规格',
            align:"center",
            dataIndex: 'model'
            dataIndex: 'toolModel'
          },
          {
            title:'计量号',
@@ -140,17 +118,9 @@
            align:"center",
            dataIndex: 'nextVerificationDate'
          },
          {
            title: '操作',
            dataIndex: 'action',
            align:"center",
            fixed:"right",
            width:147,
            scopedSlots: { customRender: 'action' }
          }
        ],
        url: {
          list: "/tms/toolVerificationRecord/list",
          list: "/tms/toolVerificationRecord/queryPageList",
          delete: "/tms/toolVerificationRecord/delete",
          deleteBatch: "/tms/toolVerificationRecord/deleteBatch",
          exportXlsUrl: "/tms/toolVerificationRecord/exportXls",