2023/2/17
肖辉
修改图片管理以及案卷查询,我的代办
| | |
| | | users.getMenu({ name: userName }) |
| | | .then(res => { |
| | | console.log(res) |
| | | debugger |
| | | this.menuList = res.menus; |
| | | sessionStorage.setItem('user', JSON.stringify(res)); |
| | | }) |
| | |
| | | <template> |
| | | <div class="userList"> |
| | | <div class="headerTitle">运营管理》基础设置》违建事项设置</div> |
| | | <!-- <div class="headerTitle">运营管理》基础设置》违建事项设置</div>--> |
| | | <header> |
| | | <div class="headerContent"> |
| | | <div class="search"> |
| | |
| | | <template> |
| | | <div class="userList"> |
| | | <div class="headerTitle">运营管理》基础设置》违规事项设置</div> |
| | | <!-- <div class="headerTitle">运营管理》基础设置》违规事项设置</div>--> |
| | | <header> |
| | | <div class="headerContent"> |
| | | <div class="search"> |
| | |
| | | // background-color: #09152f; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | |
| | | &::v-deep .el-dialog__body{ |
| | | overflow: auto; |
| | | } |
| | | .btn span:hover { |
| | | cursor: pointer; |
| | | } |
| | |
| | | <template> |
| | | <div class="userList"> |
| | | <div class="headerTitle">运营管理》我的待办</div> |
| | | <!-- <div class="headerTitle">运营管理》我的待办</div>--> |
| | | <header> |
| | | <div class="headerContent"> |
| | | <div class="search"> |
| | |
| | | } |
| | | |
| | | header { |
| | | background-color: white; |
| | | //background-color: white; |
| | | |
| | | .headerContent { |
| | | padding: 0; |
| | |
| | | } |
| | | |
| | | main { |
| | | background-color: #fff; |
| | | //background-color: #fff; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | |
| | |
| | | <template> |
| | | <div class="userList"> |
| | | <header> |
| | | <div class="headerTitle">运营管理 >> 案卷查询</div> |
| | | <!-- <div class="headerTitle">运营管理 >> 案卷查询</div>--> |
| | | <div class="headerContent"> |
| | | <div class="contentItem"> |
| | | <div style="width: 80px">按编号:</div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="btn"> |
| | | <el-button type="primary" @click="getList">搜索</el-button> |
| | | <el-button type="primary" @click="getList">查询</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="headerContent"> |
| | |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | :row-class-name="tableRowClassName" |
| | | @selection-change="tableChange" |
| | | > |
| | | <el-table-column type="selection" min-width="5"> </el-table-column> |
| | | <el-table-column prop="code" label="事件编号" min-width="18"> |
| | | <template slot-scope="scope"> |
| | | <el-link @click="handleView(scope.row)">{{ scope.row.code }}</el-link> |
| | |
| | | </el-dialog> |
| | | <!-- tools --> |
| | | <div class="tools"> |
| | | <div class="funs"> |
| | | <div class="funsItem"> |
| | | <el-checkbox v-model="all" @change="selectAll()" |
| | | >全选</el-checkbox |
| | | > |
| | | </div> |
| | | <div class="funsItem"> |
| | | <el-checkbox v-model="unsame" @change="disSame(tableData)" |
| | | >反选</el-checkbox |
| | | > |
| | | </div> |
| | | <div class="funsItem"> |
| | | <el-select |
| | | v-model="myIdx" |
| | | placeholder="批量操作" |
| | | @change="selectChange" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | :disabled="item.disabled" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | <div class="pagination"> |
| | | <el-pagination |
| | | background |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | all: false, |
| | | unsame: false, |
| | | myIdx: 0, |
| | | options: [ |
| | | { |
| | | value: 0, |
| | | label: "批量操作", |
| | | disabled: true, |
| | | }, |
| | | { |
| | | value: 1, |
| | | label: "批量启用", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "批量禁用", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "批量删除", |
| | | }, |
| | | ], |
| | | datepick: null, |
| | | tableData: [], |
| | | dialogExamine: false, |
| | |
| | | this.getCommunityOptions(); |
| | | }, |
| | | methods: { |
| | | // 批量删除 |
| | | mulDelete(idArr) {}, |
| | | // 执行下拉框操作 |
| | | selectChange(val) { |
| | | let ids = []; |
| | | this.tempList.forEach((item) => { |
| | | ids.push(item.number); |
| | | }); |
| | | if (ids.length !== 0) { |
| | | if (val === 3) { |
| | | this.mulDelete(ids); |
| | | } |
| | | } else { |
| | | this.$message({ |
| | | type: "warning", |
| | | message: "您还没选中任何数据", |
| | | }); |
| | | } |
| | | }, |
| | | // 监听表格选中状态 |
| | | tableChange(list) { |
| | | this.tempList = list; |
| | | this.all = list.length === this.tableData.length; |
| | | }, |
| | | // 全选 |
| | | selectAll() { |
| | | this.$refs.multipleTable.toggleAllSelection(); |
| | | }, |
| | | // 反选 |
| | | disSame(list) { |
| | | list.forEach((row) => { |
| | | this.$refs.multipleTable.toggleRowSelection(row); |
| | | }); |
| | | }, |
| | | // 获取列表 |
| | | getList() { |
| | | const searchData = Object.assign({}, this.searchData); |