| | |
| | | <!-- 查看修改页面 --> |
| | | <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"> |
| | |
| | | userInfo: null, |
| | | dialogType: "", |
| | | storeInfo: null, |
| | | storeInfoScoreView: {}, |
| | | }; |
| | | }, |
| | | |
| | |
| | | this.dialogType = type; |
| | | }, |
| | | handleScoreView(row) { |
| | | this.storeInfoScoreView = row; |
| | | this.dialogScore = true; |
| | | this.storeInfo = row; |
| | | }, |
| | | |
| | | handleDelete(id) { |
| | |
| | | }) |
| | | .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(); |
| | | }, |
| | | |