|
|
|
@ -5,17 +5,13 @@
|
|
|
|
|
<div class="search-title">查询条件</div>
|
|
|
|
|
<el-form :inline="true" :model="formInline" size="small" class="demo-form-inline">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="7">
|
|
|
|
|
<el-form-item label="任务名称:">
|
|
|
|
|
<el-input v-model="formInline.taskName" placeholder="请输入"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="任务编号:">
|
|
|
|
|
<el-input v-model="formInline.id" placeholder="请输入"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
|
|
<el-col :span="7">
|
|
|
|
|
<el-form-item label="任务状态:">
|
|
|
|
|
<el-select v-model="formInline.taskStatus" placeholder="请选择">
|
|
|
|
|
<el-option label="进行中" value="1">
|
|
|
|
@ -27,17 +23,25 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="5">
|
|
|
|
|
<!-- <el-form-item label="任务编号:">
|
|
|
|
|
<el-input v-model="formInline.id" placeholder="请输入"></el-input>
|
|
|
|
|
</el-form-item> -->
|
|
|
|
|
<el-form-item label="任务完成时间:">
|
|
|
|
|
<el-date-picker v-model="formInline.time" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
type="datetimerange" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="请选择">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item >
|
|
|
|
|
<!-- <el-date-picker v-model="formInline.time" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
type="datetimerange" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="请选择">
|
|
|
|
|
</el-date-picker> -->
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="16" style="text-align: right;padding-right: 20px;">
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button size="mini" @click="resetQuery('queryFrom')">重置</el-button>
|
|
|
|
@ -63,7 +67,7 @@
|
|
|
|
|
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :max-height="tabHeader"
|
|
|
|
|
:row-class-name="tableRowClassName">
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="任务编号" key="id" width="200px" prop="id" align="center" />
|
|
|
|
|
<!-- <el-table-column label="任务编号" key="id" width="200px" prop="id" align="center" /> -->
|
|
|
|
|
<el-table-column label="任务名称" key="taskName" prop="taskName" align="center" />
|
|
|
|
|
<el-table-column label="任务下发时间" key="taskTime" prop="taskTime" align="center">
|
|
|
|
|
<!-- <template slot-scope="scope">
|
|
|
|
@ -83,9 +87,9 @@
|
|
|
|
|
</span>
|
|
|
|
|
<span v-if="scope.row.taskStatus == 3" style="color: #16B771;">
|
|
|
|
|
超期完成
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-if="scope.row.taskStatus == 4" style="color: #1485EF;">
|
|
|
|
|
正常完成
|
|
|
|
|
审核不通过
|
|
|
|
|
</span>
|
|
|
|
|
<span v-if="scope.row.taskStatus == 5" style="color: #1485EF;">
|
|
|
|
|
审核驳回
|
|
|
|
@ -225,6 +229,9 @@ export default {
|
|
|
|
|
addassetTaskadd(this.ruleForm).then(res => {
|
|
|
|
|
this.resetForm()
|
|
|
|
|
this.getInfo();
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.ruleForm.dwmc = this.ruleForm.dwmc.split(",")
|
|
|
|
|