cqf
2022-05-21 9bfc581627fc8475fda5bac423a5b76ea4f00df5
src/views/careabout/index.vue
@@ -156,7 +156,11 @@
        </el-row>
       <el-table :data="tableData" style="width: 100%"  @selection-change="handleSelectionChange" v-loading="listLoading">
            <el-table-column type="selection" width="55" align="center"></el-table-column>
            <el-table-column prop="number" label="编号" align="center" width="120"></el-table-column>
            <el-table-column prop="number" label="编号" align="center" width="120">
                <template slot-scope="scope">
                    <div class="blue-font-color" @click="showDetails(scope.row)">{{ scope.row.number }}</div>
                </template>
            </el-table-column>
            <el-table-column prop="check_branch" label="检查部门" align="center" width="120"></el-table-column>
            <el-table-column prop="check_man" label="检查人" align="center" width="120"></el-table-column>
            <el-table-column prop="checktype" label="检查类别" align="center"></el-table-column>
@@ -426,6 +430,12 @@
                    }
                })
            },
            showDetails(row){
                this.$router.push({
                    path: "/dangerDetails",
                    query:{"id":row.id}
                })
            },
            typeChange(val){
                this.listQuery.type = val;
                if (val == 1){