zhanghua
2022-11-25 cccf898581b27258a9110930cd52f40cac36cf25
src/views/operate/disposal/casepool/learn/index.vue
@@ -91,10 +91,10 @@
                <!-- tools -->
                <div class="tools">
                    <div class="funs">
                        <div class="funsItem">
                        <div class="funsItem funs-sp">
                            <el-checkbox v-model="all" @change="selectAll()">全选</el-checkbox>
                        </div>
                        <div class="funsItem">
                        <div class="funsItem funs-sp">
                            <el-checkbox v-model="unsame" @change="disSame(tableData)">反选</el-checkbox>
                        </div>
                        <div class="funsItem">
@@ -259,7 +259,6 @@
                        url: `sccg/violations/delete?id=${number}`,
                    })
                        .then(res => {
                            console.log(res);
                            this.$message({
                                type: res.code === 200 ? 'success' : 'warning',
                                message: res.message
@@ -273,14 +272,12 @@
        // 获取用户列表
        getUserList() {
            const { currentPage, pageSize, context, statusArr } = this;
            console.log(statusArr);
            this.$axios({
                method: 'get',
                url: `sccg/base_case/query?state=${statusArr[0]}&current=${currentPage}&size=${pageSize}&resource=2&type=${statusArr[1]}`
            }).then(res => {
                this.totalNum = res.data.total;
                this.tableData = res.data.records;
                console.log(res);
            })
        },
        // 更改违规/违建
@@ -356,7 +353,6 @@
                url: 'sccg/base_case/case_status_update?caseId=' + id + '&state=0'
            })
                .then(res => {
                    console.log(res);
                    if (res.code === 200) {
                        this.$message({
                            type: 'success',
@@ -481,12 +477,13 @@
            .funs {
                display: flex;
                .funs-sp{
                    border: 1px solid #17324c;
                }
                .funsItem {
                    line-height: 28px;
                    display: flex;
                    align-items: center;
                    border: 1px solid #17324c;
                    border-radius: 4px;
                    font-size: 12px;
                    margin-left: 10px;