| | |
| | | name: "index", |
| | | data() { |
| | | return { |
| | | queryTemplateNameList:[], |
| | | queryTemplateNameList: [], |
| | | templateIdList: [], |
| | | searchTargerChangeFlag: false, |
| | | showTypeChangeFlag: false, |
| | | linkTypeChangeFlag: false, |
| | | formBtnOid: '', |
| | | sourceBtnOid: '', |
| | | sourceOId: '', |
| | |
| | | this.queryTemplateNameList = res.data.data; |
| | | }) |
| | | } |
| | | if (this.showTypeChangeFlag) { |
| | | if (val.value) { |
| | | if (this.form.searchTarger === '1') { |
| | | this.form.templateId = ""; |
| | | this.form.queryTemplateName = ""; |
| | | } else { |
| | | this.form.linkType = ""; |
| | | this.form.templateId = ""; |
| | | this.form.queryTemplateName = ""; |
| | | } |
| | | } |
| | | } else { |
| | | this.showTypeChangeFlag = true; |
| | | } |
| | | }, |
| | | props: { |
| | | label: 'name', |
| | |
| | | desc: 'tag' |
| | | }, |
| | | dicUrl: '/api/uiManagerController/getLinkDatasByPage?page=1&limit=-1&conditionMap[selectBtmType]={{key}}', |
| | | change:(val) => { |
| | | change: (val) => { |
| | | if (val.value) { |
| | | let params = { |
| | | 'conditionMap[selectBtmType]': val.value |
| | |
| | | this.queryTemplateNameList = res.data.data; |
| | | }) |
| | | } |
| | | if (this.linkTypeChangeFlag) { |
| | | if (val.value) { |
| | | this.form.templateId = ""; |
| | | this.form.queryTemplateName = ""; |
| | | } |
| | | } else { |
| | | this.linkTypeChangeFlag = true; |
| | | } |
| | | } |
| | | }, |
| | | { |