| | |
| | | value:'', |
| | | text:'' |
| | | }:{}, |
| | | change: () => { |
| | | this.changeFun(formItem.displayExtension, formItem.prop); |
| | | }, |
| | | span: formItem.type === "textarea" ? 24 : this.trendsSpan, |
| | | rules: [ |
| | | { |
| | |
| | | // 获取表单详情数据 |
| | | getFormDetail() { |
| | | if (this.type === 'add') return |
| | | if (this.type === "add") return; |
| | | getFormDetail({ templateOid: this.templateOid, oid: '213D13D5-76D3-6B42-0932-705693F6B6E4' }).then( |
| | | getFormDetail({ templateOid: this.templateOid, oid: this.rowOid }).then( |
| | | (res) => { |
| | | this.form = Object.assign(this.form, res.obj) |
| | | console.log(res, "res"); |
| | |
| | | openFormTemlpate(row) {
|
| | | this.resembleTemplateOid = row.codetemplateoid
|
| | | this.resembleCodeClassifyOid = row.codeClassifyOid
|
| | | this.rowOid = row.iod
|
| | | this.rowOid = row.oid
|
| | | this.formTemplateVisible = true;
|
| | | },
|
| | | getDefaultValueAndFormValues(form) {
|
| | |
| | | <template> |
| | | <el-dialog |
| | | :visible.sync="dialogVisible" |
| | | v-if="dialogVisible" |
| | | v-dialogDrag |
| | | top="0vh" |
| | | :title="title" |