Lius
3 天以前 93dda3d2ed5d6f592f768b3fe58f4182ebb5746b
src/views/dashboard/modules/SyncProcessList.vue
@@ -10,6 +10,12 @@
        :scroll="{ y: 400 }"
      >
        <!--需要超出省略的字段-->
        <template slot="ellipsisText" slot-scope="text">
          <template v-if="(text&&text.length<=10)||!text">{{text}}</template>
          <j-ellipsis v-else :value="text" :length="10"/>
        </template>
        <span slot="action" slot-scope="text, record">
          <a-popconfirm title="确定领取吗?" @confirm="() => handleInspection(record.id)">
            <a>领取</a>
@@ -71,6 +77,7 @@
          title: '工艺规程编号',
          align: "center",
          dataIndex: 'planNumber',
          scopedSlots: { customRender: 'ellipsisText' },
        },
        {
          title: '工艺规程版本',
@@ -80,11 +87,13 @@
        {
          title: '发布时间',
          align: "center",
          dataIndex: 'createTime'
          dataIndex: 'createTime',
          scopedSlots: { customRender: 'ellipsisText' },
        },
        {
          title: '操作',
          align: "center",
          width:100,
          scopedSlots: { customRender: 'action' },
        }
      ]