|
|
|
@ -159,8 +159,7 @@
|
|
|
|
|
<el-form-item label="指标分类"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="lassificationform.parentClassifyName" |
|
|
|
|
:rows="2" |
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
|
|
placeholder="暂无" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
@ -174,7 +173,8 @@
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="整改结果"> |
|
|
|
|
<el-input v-model="lassificationform.objectionRemark" placeholder="暂无" /> |
|
|
|
|
<el-input :rows="2" |
|
|
|
|
type="textarea" v-model="lassificationform.objectionRemark" placeholder="暂无" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="考核人"> |
|
|
|
@ -184,30 +184,31 @@
|
|
|
|
|
<el-form-item label="考评时间"> |
|
|
|
|
<el-input v-model="lassificationform.createTime" placeholder="暂无" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="是否异议"> |
|
|
|
|
<!-- /1 表示提交 2 表示审核 通过 3 表示审核失败 --> |
|
|
|
|
<!-- <el-form-item label="是否异议"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="lassificationform.isObjection" |
|
|
|
|
placeholder=" |
|
|
|
|
暂无 |
|
|
|
|
" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item label="指标状态"> |
|
|
|
|
<!-- /1 表示提交 2 表示审核 通过 3 表示审核失败 --> |
|
|
|
|
<el-input |
|
|
|
|
v-model="lassificationform.isObjection" |
|
|
|
|
v-model="lassificationform.indicatorsStatus" |
|
|
|
|
placeholder=" |
|
|
|
|
暂无 |
|
|
|
|
" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="意见反馈"> |
|
|
|
|
<el-input |
|
|
|
|
:rows="2" |
|
|
|
|
type="textarea" |
|
|
|
|
v-model="lassificationform.appealReason" |
|
|
|
|
placeholder=" |
|
|
|
|
暂无 |
|
|
|
|
" |
|
|
|
|
placeholder="暂无" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<div class="el_photo_max"> |
|
|
|
@ -489,15 +490,15 @@ const onLoad = () => {
|
|
|
|
|
.then(res => { |
|
|
|
|
console.log(res); |
|
|
|
|
if (res.data.data.records) { |
|
|
|
|
// 指标状态1 表示提交 2 表示审核 通过 3 表示审核失败 |
|
|
|
|
// 指标状态1 表示提交 2 表示审核通过 3 表示审核失败 |
|
|
|
|
|
|
|
|
|
res.data.data.records.forEach(item => { |
|
|
|
|
if (item.indicatorsStatus == 1) { |
|
|
|
|
item.indicatorsStatus = '提交'; |
|
|
|
|
} else if (item.indicatorsStatus == 2) { |
|
|
|
|
item.indicatorsStatus = '审核通过'; |
|
|
|
|
item.indicatorsStatus = '已确认'; |
|
|
|
|
} else if (item.indicatorsStatus == 3) { |
|
|
|
|
item.indicatorsStatus = '审核失败'; |
|
|
|
|
item.indicatorsStatus = '未确认'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 是否存在异议 0 表示没有1表示存在 |
|
|
|
@ -879,16 +880,17 @@ const ClassificationIndicatorView = val => {
|
|
|
|
|
lassificationform.value = res.data.data; //赋值给弹窗表单 |
|
|
|
|
// 指标状态1 表示提交 2 表示审核 通过 3 表示审核失败 |
|
|
|
|
if (res.data.data.indicatorsStatus == 1) { |
|
|
|
|
lassificationform.value.isObjection = '提交'; |
|
|
|
|
} else if (res.data.data.isObjection == 2) { |
|
|
|
|
lassificationform.value.isObjection = '审核通过'; |
|
|
|
|
} else if (res.data.data.isObjection == 3) { |
|
|
|
|
lassificationform.value.isObjection = '审核失败'; |
|
|
|
|
lassificationform.value.indicatorsStatus = '提交'; |
|
|
|
|
} else if (res.data.data.indicatorsStatus == 2) { |
|
|
|
|
lassificationform.value.indicatorsStatus = '审核通过'; |
|
|
|
|
} else if (res.data.data.indicatorsStatus == 3) { |
|
|
|
|
lassificationform.value.indicatorsStatus = '审核失败'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 是否存在异议 0 表示没有1表示存在 |
|
|
|
|
if (res.data.data.isObjection) { |
|
|
|
|
if (res.data.data.isObjection=='0') { |
|
|
|
|
lassificationform.value.isObjection = '没有'; |
|
|
|
|
} else { |
|
|
|
|
} else if(res.data.data.isObjection=='1') { |
|
|
|
|
lassificationform.value.isObjection = '存在'; |
|
|
|
|
} |
|
|
|
|
console.log(res.data.data.pictures, '图片列表'); |
|
|
|
|