haoxuan
2023-08-30 c35ccb51c02c8852e345b831ef5d2dd96c2cf500
src/components/makepager/TableCommonView.vue
@@ -33,7 +33,7 @@
              ? "--"
              : dateFormat("YYYY-mm-dd HH:MM:SS", scope.row[item.prop])
          }}</span>
          <span v-else-if="item.isClick && scope.row[item.prop]" class="sel-name" @click="selNameClick(scope.row)">{{
          <span v-else-if="item.isClick && scope.row[item.prop]" class="sel-name" @click="selCommonClick(scope.row)">{{
            scope.row[item.prop]
          }}</span>
          <span v-else-if="item.isFirst">{{ scope.row[item.prop] ? "是" : "否" }}</span>
@@ -119,7 +119,7 @@
          show: false,
          sumProp: [],
          mergeNumber: 1,
          totalName:'本页总计'
          totalName: "本页总计"
        }
      }
    }
@@ -128,7 +128,12 @@
    return {}
  },
  computed: {},
  mounted() {},
  methods: {
    tableRowClick(row) {
      console.log(row)
      this.$emit("tableRowClick", row)
    },
    handleReserve(row) {
      return row._id ? row._id : row.id
    },
@@ -306,9 +311,16 @@
  }
}
::v-deep {
  .el-table__footer-wrapper tbody td.el-table__cell {
    background-color: #fff;
    text-align: right;
  .el-table__footer-wrapper  {
    tbody td.el-table__cell{
      background-color: #fff;
      font-weight: bold;
    }
    // .cell{
    //     &:nth-last-child(3){
    //       text-align:right;
    //     }
    //   }
  }
}
</style>