Commit c5de55b0 authored by jingnan's avatar jingnan 👀

行动项详情查看问题进展下增加创建人

parent 21bdec38
<template> <template>
<div class="problemProgressCom"> <div class="problemProgressCom">
<el-form ref="form" class="processForm" :inline="true" :model="formData" label-width="40px"> <el-form ref="form" class="processForm" :inline="true" :model="formData" label-width="50px">
<el-row v-for="(item, index) in resultFormData" :key="index"> <el-row v-for="(item, index) in resultFormData" :key="index">
<el-col :span="5"> <el-col :span="5">
<el-form-item <el-form-item
...@@ -20,11 +20,10 @@ ...@@ -20,11 +20,10 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="17"> <el-col :span="itemObj.readOnly?14:17">
<el-form-item <el-form-item
label="答复" label="答复"
:prop="'progresss.' + index + '.progressItem'" :prop="'progresss.' + index + '.progressItem'"
class="textareaItem"
> >
<!-- :rules="[ <!-- :rules="[
{required: true, message: '该项必填', trigger: 'blur'}, {required: true, message: '该项必填', trigger: 'blur'},
...@@ -32,6 +31,14 @@ ...@@ -32,6 +31,14 @@
<el-input v-model="item.progressItem" :disabled="itemObj.readOnly" autosize type="textarea" size="small" @change="changeVal" /> <el-input v-model="item.progressItem" :disabled="itemObj.readOnly" autosize type="textarea" size="small" @change="changeVal" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col v-if="itemObj.readOnly" :span="3">
<el-form-item
label="创建人:"
:prop="'progresss.' + index + '.progressItem'"
>
<el-input v-model="item.creator.userName" :disabled="true" autosize type="text" size="small" />
</el-form-item>
</el-col>
<el-col v-if="!itemObj.readOnly" :span="2"> <el-col v-if="!itemObj.readOnly" :span="2">
<el-form-item class="btn-box"> <el-form-item class="btn-box">
<span v-if="index+1 == resultFormData.length" class="btn-item" title="新增" @click="addItem" @change="changeVal"> <span v-if="index+1 == resultFormData.length" class="btn-item" title="新增" @click="addItem" @change="changeVal">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment