优化
This commit is contained in:
parent
bb87ee9ef0
commit
9e7bdc4d51
@ -1,8 +1,7 @@
|
||||
<!-- -->
|
||||
<template>
|
||||
<div>
|
||||
<div
|
||||
style="display:inline-block;margin:0 4px;"
|
||||
<div style="display:inline-block;margin:0 4px;"
|
||||
v-for="(i,index) in authList.filter(i=>i.info)"
|
||||
:key="index">
|
||||
<el-button size="mini"
|
||||
@ -20,23 +19,26 @@
|
||||
<el-button size="mini" v-if="info && formList.auth.tiaozhuang" :disabled='formList.auth.tiaozhuang===1' @click="handleJump" type="primary" plain>跳过</el-button>
|
||||
<el-button size="mini" @click="handleZhuanjiao" type="primary" plain>转 交</el-button> -->
|
||||
<!-- <el-button size="mini" v-if="info" @click="handleCuiban" type="warning" plain>催办</el-button> -->
|
||||
<getPersonnel @cb='cb' v-if="isShowPersonnel" :isShow.sync='isShowPersonnel' :len='1'/>
|
||||
<getPersonnel @cb='cb'
|
||||
v-if="isShowPersonnel"
|
||||
:isShow.sync='isShowPersonnel'
|
||||
:len='1' />
|
||||
<!-- 驳回 -->
|
||||
<popup-right
|
||||
v-if="bohui"
|
||||
<popup-right v-if="bohui"
|
||||
@cancel='handleCancel'
|
||||
@submit="handleSubmit"
|
||||
:footer='true'
|
||||
title="驳回"
|
||||
>
|
||||
<div
|
||||
slot="content"
|
||||
class="chooseManage"
|
||||
>
|
||||
<el-form style="width:400px;" :model="form" :rules="rules" ref="form" label-width="80px" class="demo-ruleForm">
|
||||
title="驳回">
|
||||
<div slot="content"
|
||||
class="chooseManage">
|
||||
<el-form style="width:400px;"
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
ref="form"
|
||||
label-width="80px"
|
||||
class="demo-ruleForm">
|
||||
<el-form-item label="驳回理由">
|
||||
<el-input
|
||||
:rows="5"
|
||||
<el-input :rows="5"
|
||||
type="textarea"
|
||||
v-model="form.comment"
|
||||
placeholder="请输入驳回理由"
|
||||
@ -47,11 +49,12 @@
|
||||
</div>
|
||||
</popup-right>
|
||||
<!-- 同意 -->
|
||||
<el-dialog title="意见说明" :visible.sync="dialogFormVisible">
|
||||
<el-form :model="form" ref="form">
|
||||
<el-dialog title="意见说明"
|
||||
:visible.sync="dialogFormVisible">
|
||||
<el-form :model="form"
|
||||
ref="form">
|
||||
<el-form-item label="">
|
||||
<el-input
|
||||
:rows="5"
|
||||
<el-input :rows="5"
|
||||
type="textarea"
|
||||
v-model="form.comment"
|
||||
placeholder="请输入意见说明"
|
||||
@ -59,9 +62,13 @@
|
||||
show-word-limit></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button size="small" @click="dialogFormVisible = false">取 消</el-button>
|
||||
<el-button size="small" type="primary" @click="handleAgree">确 定</el-button>
|
||||
<div slot="footer"
|
||||
class="dialog-footer">
|
||||
<el-button size="small"
|
||||
@click="dialogFormVisible = false">取 消</el-button>
|
||||
<el-button size="small"
|
||||
type="primary"
|
||||
@click="handleAgree">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@ -90,6 +97,12 @@ export default {
|
||||
info: !this.info,
|
||||
permis: 'resultInput',
|
||||
click: this.handleJieguo
|
||||
}, {
|
||||
name: '修改目标',
|
||||
type: 'primary',
|
||||
info: !this.info,
|
||||
permis: 'changeResult',
|
||||
click: this.handleJieguo
|
||||
},
|
||||
{
|
||||
name: '开始评分',
|
||||
|
||||
@ -59,10 +59,10 @@ export default {
|
||||
optType: -1
|
||||
}
|
||||
]
|
||||
this.listinfo = this.form.roleDtos.map(j => {
|
||||
this.listinfo = JSON.parse(JSON.stringify(this.form.roleDtos.map(j => {
|
||||
j.checked = this.form.chartDetails.recordSimpleDtos[0].roleIds ? this.form.chartDetails.recordSimpleDtos[0].roleIds.includes(String(j.roleId)) : false
|
||||
return j
|
||||
})
|
||||
})))
|
||||
console.log(this.form.roleDtos)
|
||||
},
|
||||
methods: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user