luobisheng
2022-11-29 4641a877cd6a94e4d35dca7f7f14bc1443e2d2ad
src/views/operate/fivepack/threepack/components/content.vue
@@ -37,6 +37,7 @@
          v-if="isStorePage()"
          type="primary"
          icon="el-icon-plus"
          class="button-addition"
          @click="handleView(null, 'create')"
          >添加</el-button
        >
@@ -143,12 +144,12 @@
      <!-- 查看修改页面 -->
      <el-dialog
        :visible.sync="dialogScore"
        width="45%"
        width="60%"
        :destroy-on-close="true"
        title="查看积分"
        :before-close="handleClose"
        :before-close="handleCloseScoreView"
      >
        <scoreView :storeInfo="storeInfo" @closeDialog="closeDialog" />
        <scoreView v-if="dialogScore" :storeInfo="storeInfoScoreView" />
      </el-dialog>
      <!-- 分页 -->
      <div class="pagination">
@@ -200,6 +201,7 @@
      userInfo: null,
      dialogType: "",
      storeInfo: null,
      storeInfoScoreView: {},
    };
  },
@@ -227,8 +229,8 @@
      this.dialogType = type;
    },
    handleScoreView(row) {
      this.storeInfoScoreView = row;
      this.dialogScore = true;
      this.storeInfo = row;
    },
    handleDelete(id) {
@@ -239,15 +241,15 @@
        })
        .catch((err) => this.$message({ type: "error", message: err }));
    },
    handleCloseScoreView() {
      this.dialogScore = false;
    },
    handleClose() {
      this.dialogUpdate = false;
      this.dialogScore = false;
    },
    closeDialog() {
      this.dialogUpdate = false;
      this.dialogScore = false;
      this.search();
    },