|
|
@@ -125,7 +125,7 @@ |
|
|
|
<el-dialog |
|
|
|
title="编辑考核内容" |
|
|
|
:visible.sync="showEdit" |
|
|
|
width="650px" |
|
|
|
width="675px" |
|
|
|
custom-class="ele-dialog-form" |
|
|
|
:lock-scroll="false" |
|
|
|
:destroy-on-close="true" |
|
|
@@ -189,104 +189,112 @@ |
|
|
|
</el-row> |
|
|
|
<div class="leader"> |
|
|
|
<span class="el-icon-circle-plus-outline add"></span> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title"> 其他牵头部门: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderDept" |
|
|
|
:flat="true" |
|
|
|
:options="formatDep" |
|
|
|
placeholder="请选择其他牵头部门" |
|
|
|
:defaultExpandLevel="2" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.name, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="title"> 责任领导: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderPrincipal" |
|
|
|
:options="principalList" |
|
|
|
placeholder="请选择其他牵头部门责任领导" |
|
|
|
:defaultExpandLevel="1" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.realname, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div style="position:relative;"> |
|
|
|
<span class="el-icon-remove-outline delete"></span> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title"> 其他牵头部门: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderDept" |
|
|
|
:flat="true" |
|
|
|
:options="formatDep" |
|
|
|
placeholder="请选择其他牵头部门" |
|
|
|
:defaultExpandLevel="2" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.name, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="title"> 责任领导: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderPrincipal" |
|
|
|
:options="principalList" |
|
|
|
placeholder="请选择其他牵头部门责任领导" |
|
|
|
:defaultExpandLevel="1" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.realname, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="cooperate"> |
|
|
|
<span class="el-icon-circle-plus-outline add"></span> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title">配合部门: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderDept" |
|
|
|
:flat="true" |
|
|
|
:options="formatDep" |
|
|
|
placeholder="请选择配合部门" |
|
|
|
:defaultExpandLevel="2" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.name, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="title"> 责任领导: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderPrincipal" |
|
|
|
:options="principalList" |
|
|
|
placeholder="请选择牵头部门责任领导" |
|
|
|
:defaultExpandLevel="1" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.realname, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title">分值:</el-col> |
|
|
|
<el-col :span="7"><el-input placeholder="请输入分值" v-model="form.points"></el-input></el-col> |
|
|
|
</el-row> |
|
|
|
<div style="position:relative;"> |
|
|
|
<span class="el-icon-remove-outline delete"></span> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title">配合部门: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderDept" |
|
|
|
:flat="true" |
|
|
|
:options="formatDep" |
|
|
|
placeholder="请选择配合部门" |
|
|
|
:defaultExpandLevel="2" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.name, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="title"> 责任领导: </el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<treeselect |
|
|
|
v-model="form.leaderPrincipal" |
|
|
|
:options="principalList" |
|
|
|
placeholder="请选择牵头部门责任领导" |
|
|
|
:defaultExpandLevel="1" |
|
|
|
:normalizer=" |
|
|
|
(d) => { |
|
|
|
return { |
|
|
|
id: d.id, |
|
|
|
label: d.realname, |
|
|
|
children: |
|
|
|
d.children && d.children.length > 0 |
|
|
|
? d.children |
|
|
|
: undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
" |
|
|
|
/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="title">分值:</el-col> |
|
|
|
<el-col :span="7" |
|
|
|
><el-input placeholder="请输入分值" v-model="form.points"></el-input |
|
|
|
></el-col> |
|
|
|
</el-row> |
|
|
|
<div slot="footer"> |
|
|
|
<el-button type="primary" @click="save">确定</el-button> |
|
|
|
<el-button @click="showEdit = false">取消</el-button> |
|
|
@@ -446,8 +454,16 @@ export default { |
|
|
|
.add { |
|
|
|
font-size: 20px; |
|
|
|
position: absolute; |
|
|
|
right: 0px; |
|
|
|
left: -10px; |
|
|
|
transform: translateX(-50%); |
|
|
|
top: 8px; |
|
|
|
color: #4d9efc; |
|
|
|
} |
|
|
|
.delete { |
|
|
|
font-size: 20px; |
|
|
|
position: absolute; |
|
|
|
right: 0; |
|
|
|
top: 8px; |
|
|
|
color:#4d9efc; |
|
|
|
color: #fa4953; |
|
|
|
} |
|
|
|
</style> |