“dzb”
2022-10-08 ccedc2e714c01d51f8eb986c6549ea701811f4bb
src/views/operate/management/myIndex/index.vue
@@ -3,14 +3,14 @@
        <header>
            <div class="problem">
                <div class="problem-title">问题类型</div>
                <el-radio-group v-model="myproblem">
                <el-radio-group v-model="myproblem" @change="changeMyProblem">
                    <el-radio :label="1">违规</el-radio>
                    <el-radio :label="2">违建</el-radio>
                </el-radio-group>
            </div>
            <div class="status">
                <div class="status-title">审核状态</div>
                <el-radio-group v-model="instatus">
                <el-radio-group v-model="instatus"  @change="changeInStatus">
                    <el-radio :label="7">待审核</el-radio>
                    <el-radio :label="8">已审核</el-radio>
                    <el-radio :label="9">已结案</el-radio>
@@ -30,9 +30,9 @@
                    @selection-change="tableChange">
                    <el-table-column type="selection" min-width="5">
                    </el-table-column>
                    <el-table-column prop="id" label="事件编号" min-width="10">
                    <el-table-column prop="code" label="事件编号" min-width="10">
                        <template slot-scope="scope">
                            <el-link @click="JumpView(scope.row)">{{scope.row.id}}</el-link>
                            <el-link @click="JumpView(scope.row)">{{scope.row.code}}</el-link>
                        </template>
                    </el-table-column>
                    <el-table-column prop="eventSource" label="问题来源" min-width="10">
@@ -54,8 +54,8 @@
                    <el-table-column prop="operation" label="操作" min-width="20">
                        <template slot-scope="scope">
                            <div class="btn">
                                <span @click="handleExamine(scope.row)">审核</span>
                                <span class="line">|</span>
                                <span @click="handleExamine(scope.row)" v-if="instatus===7 ? true : false">审核</span>
                                <span class="line" v-if="instatus===7 ? true : false">|</span>
                                <span @click="handleClosure(scope.row)">结案</span>
                            </div>
                        </template>
@@ -253,7 +253,8 @@
                } else {
                    item.checked = false;
                }
            })
            });
            this.myproblem = idx+1;
            this.getUserList();
        },
        // 设置表格斑马纹
@@ -328,6 +329,15 @@
        closeDialog({flag}){
            this.dialogExamine = flag;
            this.dialogClosure = flag;
            this.getUserList();
        },
        // 问题类型
        changeMyProblem(val){
            this.getUserList();
        },
        // 审核状态
        changeInStatus(val){
            this.getUserList();
        }
    }
}