| | |
| | | > |
| | | </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" |
| | |
| | | }" |
| | | :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 }) { |
| | | index === 1 ? "" : ""; |
| | | this.dialogCreate = flag; |
| | | }, |
| | | // 创建查看弹窗 |