qushaowei
2023-09-21 6c7ca8b4290cd6afecb680c39be00fc2480a2dca
src/views/eam/modules/faultCause/FaultCause2List.vue
@@ -94,16 +94,30 @@
      @change="handleTableChange"
      :scroll="{ x: true}"
    >
      <template slot="num" slot-scope="text" >
        <a-tooltip placement="top" :title="text" trigger="hover">
      <template
        slot="num"
        slot-scope="text"
      >
        <a-tooltip
          placement="top"
          :title="text"
          trigger="hover"
        >
          <div>
            <template slot="title"> </template>
            <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p>
          </div>
        </a-tooltip>
      </template>
      <template slot="name" slot-scope="text" >
        <a-tooltip placement="top" :title="text" trigger="hover">
      <template
        slot="name"
        slot-scope="text"
      >
        <a-tooltip
          placement="top"
          :title="text"
          trigger="hover"
        >
          <div>
            <template slot="title"> </template>
            <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p>
@@ -240,27 +254,27 @@
          title: '故障原因编码',
          align: "center",
          dataIndex: 'num',
          width: 100,
          scopedSlots: {
            customRender: 'num'
          },
          ellipsis: true,
          // width: 100,
          // scopedSlots: {
          //   customRender: 'num'
          // },
          // ellipsis: true,
        },
        {
          title: '故障原因名称',
          width: 100,
          align: "center",
          dataIndex: 'name',
          scopedSlots: {
            customRender: 'name'
          },
          ellipsis: true,
          // width: 100,
          // scopedSlots: {
          //   customRender: 'name'
          // },
          // ellipsis: true,
        },
        {
          title: '故障原因分类',
          align: "center",
          dataIndex: 'parentName',
        },
        // {
        //   title: '故障原因分类',
        //   align: "center",
        //   dataIndex: 'parentName',
        // },
        {
          title: '创建人',
          align: "center",