<div class="search"> | <div class="search"> | ||||
<el-form :inline="true" :model="searchParams" size="mini"> | <el-form :inline="true" :model="searchParams" size="mini"> | ||||
<template v-if="type == 1 || type == 2"> | <template v-if="type == 1 || type == 2"> | ||||
<el-form-item label="一级指标:"> | |||||
<el-form-item label="一级指标:"> | |||||
<el-select | <el-select | ||||
filterable | filterable | ||||
clearable | clearable | ||||
></el-option> | ></el-option> | ||||
</el-select> | </el-select> | ||||
</el-form-item> | </el-form-item> | ||||
<el-form-item label="二级指标:"> | |||||
<el-form-item label="二级指标:"> | |||||
<el-select filterable clearable v-model="searchParams.quota2"> | <el-select filterable clearable v-model="searchParams.quota2"> | ||||
<el-option | <el-option | ||||
v-for="(item, index) of quota2" | v-for="(item, index) of quota2" | ||||
</el-form-item> | </el-form-item> | ||||
</template> | </template> | ||||
<template v-if="type == 3"> | <template v-if="type == 3"> | ||||
<el-form-item label="考核指标:"> | |||||
<el-form-item label="考核指标:"> | |||||
<el-select filterable clearable v-model="searchParams.quota"> | <el-select filterable clearable v-model="searchParams.quota"> | ||||
<el-option | <el-option | ||||
v-for="(item, index) of quota" | v-for="(item, index) of quota" | ||||
</el-select> | </el-select> | ||||
</el-form-item> | </el-form-item> | ||||
</template> | </template> | ||||
<el-form-item label="考核内容:"> | |||||
<el-form-item label="考核内容:"> | |||||
<el-input | <el-input | ||||
placeholder="请输入考核内容" | placeholder="请输入考核内容" | ||||
clearable | clearable | ||||
></el-input> | ></el-input> | ||||
</el-form-item> | </el-form-item> | ||||
<template v-if="type == 3"> | <template v-if="type == 3"> | ||||
<el-form-item label="牵头单位:"> | |||||
<el-form-item label="牵头单位:"> | |||||
<el-input | <el-input | ||||
placeholder="请输入" | placeholder="请输入" | ||||
v-model="searchParams.leaderUnit" | v-model="searchParams.leaderUnit" | ||||
></el-input> | ></el-input> | ||||
</el-form-item> | </el-form-item> | ||||
</template> | </template> | ||||
<el-form-item label="牵头部门:"> | |||||
<el-form-item label="牵头部门:"> | |||||
<treeselect | <treeselect | ||||
v-model="searchParams.leaderDept" | v-model="searchParams.leaderDept" | ||||
:options="formatDep" | :options="formatDep" |
<template> | <template> | ||||
<div class="basic-target ele-body"> | <div class="basic-target ele-body"> | ||||
<el-card> | <el-card> | ||||
<search></search> | |||||
<search @search:task="updateParams($event)"></search> | |||||
<el-table | <el-table | ||||
highlight-current-row | highlight-current-row | ||||
:data="dataList" | :data="dataList" | ||||
label="预计得分" | label="预计得分" | ||||
min-width="60" | min-width="60" | ||||
align="center" | align="center" | ||||
prop="expectedPoints" | |||||
prop="expectedScore" | |||||
></el-table-column> | ></el-table-column> | ||||
<el-table-column | <el-table-column | ||||
label="区牵头单位" | label="区牵头单位" |
<template> | <template> | ||||
<div class="constraint ele-body"> | <div class="constraint ele-body"> | ||||
<el-card> | <el-card> | ||||
<search :type="3" /></search> | |||||
<search :type="3" @search:task="updateParams($event)" /></search> | |||||
<el-table | <el-table | ||||
highlight-current-row | highlight-current-row | ||||
:data="dataList" | :data="dataList" |
<template> | <template> | ||||
<div class="reward ele-body"> | <div class="reward ele-body"> | ||||
<el-card> | <el-card> | ||||
<search></search> | |||||
<search :type="2" @search:task="updateParams($event)"></search> | |||||
<el-table | <el-table | ||||
highlight-current-row | highlight-current-row | ||||
:data="dataList" | :data="dataList" |
</el-select> | </el-select> | ||||
</el-form-item> | </el-form-item> | ||||
<el-form-item label="部门:" prop="deptId"> | <el-form-item label="部门:" prop="deptId"> | ||||
<el-select filterable clearable v-model="editForm.deptId" size="small" placeholder="-请选择部门-"> | |||||
<el-select multiple clearable v-model="editForm.deptId" size="small" placeholder="-请选择部门-"> | |||||
<el-option v-for="(item,index) in departmentsList" :key="index" :label="item.name" :value="item.id"/> | <el-option v-for="(item,index) in departmentsList" :key="index" :label="item.name" :value="item.id"/> | ||||
</el-select> | </el-select> | ||||
</el-form-item> | </el-form-item> | ||||
gender: [ | gender: [ | ||||
{required: true, message: '请选择性别', trigger: 'blur'} | {required: true, message: '请选择性别', trigger: 'blur'} | ||||
], | ], | ||||
deptId: [ | |||||
{required: true, message: '请选择部门', trigger: 'blur'} | |||||
], | |||||
roleIds: [ | roleIds: [ | ||||
{required: true, message: '请选择角色', trigger: 'blur'} | {required: true, message: '请选择角色', trigger: 'blur'} | ||||
], | ], |