| | |
| | | > |
| | | </el-date-picker> |
| | | </div> |
| | | <!-- <div class="mydate"> |
| | | <el-input placeholder="请输入开始时间"></el-input> |
| | | <div class="line">——— ———</div> |
| | | <el-input placeholder="请输入结束时间"></el-input> |
| | | </div> --> |
| | | </div> |
| | | <div class="search"> |
| | | <el-input placeholder="请输入标题或者任务编号"></el-input> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="mainContent"> |
| | | <!-- @selection-change="handleSelectionChange" --> |
| | | <!-- 数据渲染 --> |
| | | <el-table |
| | | ref="multipleTable" |
| | |
| | | tooltip-effect="dark" |
| | | style="width: 100%" |
| | | :header-cell-style="{ |
| | | background: '#06122c', |
| | | 'font-size': '12px', |
| | | color: '#4b9bb7', |
| | | 'font-weight': '650', |
| | | 'line-height': '45px', |
| | | }" |
| | | :row-class-name="tableRowClassName" |
| | | > |
| | | <!-- <el-table-column type="selection" width="55"> |
| | | </el-table-column> --> |
| | | <el-table-column label="任务编号" prop="num" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="type" label="问题类型" min-width="10"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 分页 --> |
| | | <!-- <div class="pagination"> |
| | | <el-pagination background :current-page="currentPage" layout="prev, pager, next" :total="totalNum" |
| | | :page-size="pageSize" @current-change="changeCurrentPage" @prev-click="handlePrev" |
| | | @next-click="handleNext"> |
| | | </el-pagination> |
| | | </div> --> |
| | | </div> |
| | | </main> |
| | | <footer> |
| | |
| | | date: "", |
| | | beginTime: "", |
| | | endTime: "", |
| | | // totalNum: 200, |
| | | // pageSize: 10, |
| | | // currentPage: 1, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | // 获取接口列表 |
| | | getUserList() { |
| | | const that = this; |
| | | // const { currentPage, pageSize, search } = this; |
| | | this.dialogCreate = false; |
| | | this.$axios.get("sccg/system/portal/thirdApp/search").then((res) => { |
| | | const { code, data } = res; |
| | | if (code == 200) { |
| | | if (code === 200) { |
| | | this.tableData = data; |
| | | } |
| | | }); |
| | | }, |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if ((rowIndex + 1) % 2 == 0) { |
| | | if ((rowIndex + 1) % 2 === 0) { |
| | | return "warning-row"; |
| | | } else { |
| | | return "success-row"; |
| | | } |
| | | return ""; |
| | | }, |
| | | // 打开新增界面 |
| | | handleAdd() { |
| | |
| | | .catch((_) => {}); |
| | | }, |
| | | closeDialog({ flag, index }) { |
| | | console.log(flag); |
| | | index === 1 ? "" : ""; |
| | | this.dialogCreate = flag; |
| | | }, |
| | | // 创建查看弹窗 |
| | | handleView(rowData) { |
| | | console.log(rowData); |
| | | this.userInfo = rowData; |
| | | this.dialogUpdate = true; |
| | | }, |
| | | // 删除第三方接口 |
| | | handleDelete({ id }) { |
| | | console.log(id); |
| | | this.$axios |
| | | .delete("sccg/system/portal/thirdApp/delete", { |
| | | params: { |
| | |
| | | display: flex; |
| | | line-height: 60px; |
| | | color: #4b9bb7; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | display: flex; |
| | | .add, |
| | | .search, |
| | |
| | | height: 35px; |
| | | margin-left: 10px; |
| | | |
| | | &::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | font-size: 12px; |
| | | } |
| | | // &::v-deep .el-input__inner { |
| | | // background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // font-size: 12px; |
| | | // } |
| | | } |
| | | } |
| | | |
| | |
| | | margin-top: 20px; |
| | | |
| | | .el-table { |
| | | color: #4b9bb7; |
| | | // color: #4b9bb7; |
| | | |
| | | &::v-deep .el-table__empty-block { |
| | | background-color: #06122c; |