|
|
|
|
@ -52,7 +52,15 @@ |
|
|
|
|
<el-input v-model="formData.priority" placeholder="请输入优先级"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="分类" prop="category"> |
|
|
|
|
<el-select v-model="formData.category"> |
|
|
|
|
<el-option v-for="item in typeData" :key="item.id" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
<div v-if="title == '新增'"> |
|
|
|
|
<el-button type="primary" @click="insertEvent()">插入一行</el-button> |
|
|
|
|
@ -561,6 +569,7 @@ export default { |
|
|
|
|
inspectionTemplateCode:this.formData.inspectionTemplateCode, |
|
|
|
|
name:this.formData.name, |
|
|
|
|
priority:this.formData.priority, |
|
|
|
|
category:this.formData.category, |
|
|
|
|
detailList:this.tidList.length > 0 ? this.tidList : [] |
|
|
|
|
} |
|
|
|
|
if(this.title == '新增'){ |
|
|
|
|
|