Admin
2022-09-21 999cab6fb3fc6d2a288d365da991351c5a396bf0
src/views/doublePrevent/riskLevel/riskCheckUnit/index.vue
@@ -12,6 +12,10 @@
                <!--                    <span>部门:</span>-->
                <!--                    <el-cascader :options="departmentList" :props="{ emitPath: false, checkStrictly: true, value: 'depId', label: 'depName' }" placeholder="请选择部门" clearable filterable class="input-box" v-model="checkUnitData.params.depId"> </el-cascader>-->
                <!--                </div>-->
                <div class="basic-line">
                    <span>任务单元名称:</span>
                    <el-input class="input-box" v-model="checkUnitData.params.taskUnitName" placeholder="任务单元名称" clearable> </el-input>
                </div>
                <el-button size="default" type="primary" class="ml10" v-throttle @click="handleSearch">
                    <el-icon>
                        <ele-Search />
@@ -22,7 +26,7 @@
                    <el-icon>
                        <ele-FolderAdd />
                    </el-icon>
                    新增排查任务
                    新增排查单元
                </el-button>
            </div>
            <el-table :data="checkUnitData.data" style="width: 100%">
@@ -74,7 +78,7 @@
        params: {
            pageIndex: number;
            pageSize: number;
            taskUnitId: number | null;
            taskUnitName: number | null;
        };
    };
}
@@ -112,7 +116,7 @@
        // 打开生产装置弹窗
        const onOpenDialogRef = (type: string, value: any) => {
            checkUnitDialogRef.value.openCheckUnitDialog(type, value, state.departmentList);
            checkUnitDialogRef.value.openCheckUnitDialog(type, value);
        };
        // 删除角色
        const onDelCheckUnit = (row: any) => {
@@ -176,4 +180,15 @@
});
</script>
<style scoped></style>
<style scoped>
:deep(.el-textarea.is-disabled .el-textarea__inner) {
    background-color: var(--el-card-bg-color);
    color: var(--el-input-text-color, var(--el-text-color-regular));
}
:deep(.el-input.is-disabled .el-input__inner) {
    color: var(--el-input-text-color, var(--el-text-color-regular));
}
:deep(.el-input.is-disabled .el-input__wrapper) {
    background-color: var(--el-card-bg-color);
}
</style>