mayf
2024-09-07 a98fde3130a0b5e480e4662827f25d16d79012d2
pages/marketing/point-mall/point-distribution.vue
@@ -4,7 +4,7 @@
    <el-dialog title="积分变动记录" :visible.sync="dialogVisible" width="80%">
      <el-bus-crud
        v-if="customerId"
        :key="customerId"
        :key="dialogId"
        :extra-query="{ customerId }"
        v-bind="recordTableConfig"
      />
@@ -13,11 +13,13 @@
</template>
<script>
import { v4 as uuidv4 } from 'uuid'
export default {
  data() {
    return {
      dialogVisible: false,
      customerId: null,
      dialogId: null,
      tableConfig: {
        url: 'flower/api/customer/point/page',
        hasNew: false,
@@ -59,6 +61,7 @@
                el: {
                  precision: 0,
                  min: 1,
                  max: 99999999,
                  controls: false,
                },
                rules: {
@@ -110,6 +113,7 @@
                el: {
                  precision: 0,
                  min: 1,
                  max: 99999999,
                  controls: false,
                },
                rules: {
@@ -151,6 +155,7 @@
          {
            text: '积分变动记录',
            atClick: (row) => {
              this.dialogId = uuidv4()
              this.customerId = row.customerId
              this.dialogVisible = true
            },