|
|
|
@ -19,18 +19,19 @@ |
|
|
|
children: 'treeChildren', |
|
|
|
checkStrictly: true, |
|
|
|
expandTrigger: 'hover', |
|
|
|
}" size="small"> |
|
|
|
}" size="small" disabled style="width: 290px;"> |
|
|
|
</el-cascader> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="模板名称" prop="displayName"> |
|
|
|
<el-input v-model="form.displayName" ref="refinput" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<!-- |
|
|
|
<el-divider></el-divider> |
|
|
|
<el-row> |
|
|
|
<el-col :span="5"> |
|
|
|
@ -55,6 +56,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
--> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
<div style="display: flex;justify-content: space-between;padding: 10px 0;"> |
|
|
|
@ -80,7 +82,7 @@ export default { |
|
|
|
form: { |
|
|
|
id: "", |
|
|
|
displayName: "", |
|
|
|
bigtextResultTypeId: "", |
|
|
|
bigtextResultTypeId: "", |
|
|
|
}, |
|
|
|
|
|
|
|
bigtextResultTypeId: [], //项目类别 |
|
|
|
@ -153,7 +155,7 @@ export default { |
|
|
|
} |
|
|
|
if (this.refParams.id) { |
|
|
|
objCopy(this.refParams, this.form) |
|
|
|
postapi('/api/app/BigtextResultType/Get', { bigtextResultTemplateId: this.refParams.id }).then((res) => { |
|
|
|
postapi('/api/app/BigtextResultTemplate/Get', { bigtextResultTemplateId: this.refParams.id }).then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
objCopy(res.data, this.form); |
|
|
|
this.formFocus() |
|
|
|
|