| | |
| | | v-if="isStorePage()" |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | | class="button-addition" |
| | | @click="handleView(null, 'create')" |
| | | >添加</el-button |
| | | > |
| | |
| | | <el-table |
| | | ref="multipleTable" |
| | | :header-cell-style="{ |
| | | background: '#06122c', |
| | | 'font-size': '12px', |
| | | color: '#4b9bb7', |
| | | 'font-weight': '650', |
| | | 'line-height': '45px', |
| | | }" |
| | |
| | | <el-table-column prop="videoPoint" label="关联摄像机" min-width="10"> |
| | | <template v-if="scope.row.videoId" slot-scope="scope"> |
| | | <span>{{ scope.row.videoPoint.name }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="status" label="状态" min-width="10"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.status==1?'经营':'倒闭' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" min-width="20"> |
| | |
| | | <!-- 查看修改页面 --> |
| | | <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: {}, |
| | | }; |
| | | }, |
| | | |
| | |
| | | getStoreInfoList({ keyword: this.storeCode, status }) |
| | | .then(({ list, pageSize, totalPage }) => { |
| | | this.tableData = list; |
| | | console.log(list); |
| | | this.pageSize = pageSize; |
| | | this.totalNum = totalPage; |
| | | }) |
| | |
| | | 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(); |
| | | }, |
| | | |
| | |
| | | } |
| | | |
| | | main { |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | |
| | |
| | | &::v-deep li, |
| | | &::v-deep .btn-prev, |
| | | &::v-deep .btn-next { |
| | | background-color: #071f39; |
| | | // background-color: #071f39; |
| | | color: #4b9bb7; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-table { |
| | | color: #4b9bb7; |
| | | font-size: 10px; |
| | | // color: #4b9bb7; |
| | | // font-size: 10px; |
| | | |
| | | &::v-deep .el-table__empty-block { |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | color: #4b9bb7; |
| | | } |
| | | |