lct
Your Name
2022-08-23 216d03fa53a38ffc6afe45756d2ae73b21bf00b5
src/views/intellectInspect/inspectTaskManage/inspectTask/index.vue
@@ -80,7 +80,22 @@
                        <el-table-column prop="gmtCreate" label="创建时间" show-overflow-tooltip></el-table-column>
                        <el-table-column prop="lastEditUserName" label="最后修改人" show-overflow-tooltip></el-table-column>
                        <el-table-column prop="gmtModitify" label="最后修改时间" show-overflow-tooltip></el-table-column>
                        <el-table-column property="status" label="状态" width="60" />
                        <el-table-column property="taskUnitStatus" label="状态" width="60">
                            <template #default="scope">
                                <div>
                                    <div v-if="scope.row.taskUnitStatus === 1">
                                        <el-tag :type="''">
                                            {{ '开启' }}
                                        </el-tag>
                                    </div>
                                    <div v-if="scope.row.taskUnitStatus === 2">
                                        <el-tag :type="'danger'">
                                            {{ '关闭' }}
                                        </el-tag>
                                    </div>
                                </div>
                            </template>
                        </el-table-column>
                        <el-table-column fixed="right" label="操作" align="center" width="300">
                            <template #default="scope">
                                <el-button link type="primary" size="small" :icon="View" @click="openInspectTaskDialog('查看', scope.row)">查看</el-button>
@@ -175,8 +190,8 @@
                }
            },
            workTypeList: [
                { id: 1, name: '单次任务' },
                { id: 2, name: '周期任务' }
                { id: 1, name: '周期任务' },
                { id: 2, name: '单次任务' }
            ],
            quotaList: [],
            departmentList: [],