Browse Source

任务

master
DX 2 weeks ago
parent
commit
c0023afb5c
  1. 2
      src/views/airqualitycollection/index.vue
  2. 4
      src/views/task/create copy 2.vue
  3. 14
      src/views/task/index.vue

2
src/views/airqualitycollection/index.vue

@ -176,7 +176,7 @@ const getList = async () => {
}
const handleClick = (tab: TabsPaneContext, event: Event) => {
console.log(tab, event)
console.log(tab.props, event)
}
/** 搜索按钮操作 */

4
src/views/task/create copy 2.vue

@ -234,11 +234,11 @@
</div>
</div>
<div class="footer">
<el-button type="primary" @click="submitForm(false)" size="large">{{btnTitle}}</el-button>
<el-button type="primary" @click="submitForm(false)" size="large" v-if="!formData.status || formData.status == 0 || formData.status == 1" >{{btnTitle}}</el-button>
<el-button
type="primary"
v-if="showButton"
v-if="formData.status == 0"
@click="submitForm(true)"
size="large"
v-hasPermi="['system:enterprise-inspections:audit']"

14
src/views/task/index.vue

@ -86,6 +86,12 @@
<ContentWrap>
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" :cell-style="{'text-align': 'left'}">
<el-table-column label="任务名称" align="left" prop="title" width="200"/>
<el-table-column label="任务类型" align="left" prop="taskType">
<template #default="scope">
<el-tag>{{ scope.row.taskTypeName }}</el-tag>
</template>
</el-table-column>
<el-table-column label="发布部门" align="left" prop="deptName" />
<el-table-column label="任务状态" align="left" prop="status">
<template #default="scope">
<dict-tag :type="DICT_TYPE.TASK_STATE" :value="scope.row.status" />
@ -97,18 +103,14 @@
<dict-tag :type="DICT_TYPE.TASK_EXEC_TIME" :value="scope.row.execCycle" />
</template>
</el-table-column> -->
<el-table-column label="任务类型" align="left" prop="taskType">
<template #default="scope">
<el-tag>{{ scope.row.taskTypeName }}</el-tag>
</template>
</el-table-column>
<!-- <el-table-column label="任务优先级" align="center" prop="priority">
<template #default="scope">
<dict-tag :type="DICT_TYPE.TASK_PRIORITY" :value="scope.row.priority" />
</template>
</el-table-column> -->
<el-table-column label="发布部门" align="left" prop="deptName" />
<el-table-column
label="开始时间"
align="center"

Loading…
Cancel
Save