| | |
| | | placeholder="请选择模板" |
| | | clearable |
| | | filterable |
| | | :disabled=" |
| | | !templateForm.templateType || templateOptionsLoading |
| | | " |
| | | @change="handleTemplateChange" |
| | | style="width: 100%" |
| | | > |
| | |
| | | filterable |
| | | clearable |
| | | multiple |
| | | collapse-tags |
| | | style="width: 100%" |
| | | @change="handleConfigChange(question)" |
| | | > |
| | |
| | | questionCount: 0, |
| | | }; |
| | | } |
| | | // 加载模板详情数据 |
| | | this.templateLoading = true; |
| | | this.loading = true; |
| | | this.questionList = []; |
| | | |
| | | if (this.templateForm.templateType === 1) { |
| | | this.loadQuestionnaireTemplateDetail(); |
| | | } else if (this.templateForm.templateType === 2) { |
| | | this.loadFollowupTemplateDetail(); |
| | | } |
| | | } else { |
| | | this.currentTemplateInfo = null; |
| | | this.questionList = []; |