| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="可用状态" prop="isAvailable"> |
| | | <el-radio-group v-model="ruleForm.isAvailable"> |
| | | <el-radio |
| | | v-for="(item, index) in usable" |
| | | :label="item.value" |
| | | >{{ item.label }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="版本号" prop="name"> |
| | | <el-input |
| | | v-model="ruleForm.version" |
| | | placeholder="默认1.0" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="问卷标题" prop="svyname"> |
| | | <div style="width: 30%"> |
| | | <div style="width: 55vw"> |
| | | <el-input v-model="ruleForm.svyname"></el-input> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="问卷描述" prop="description"> |
| | | <el-input |
| | | style="width: 40vw" |
| | | style="width: 55vw" |
| | | type="textarea" |
| | | :rows="5" |
| | | autosize |
| | | placeholder="请输入内容" |
| | | v-model="ruleForm.description" |
| | |
| | | ></el-form-item> |
| | | |
| | | <el-row> |
| | | <el-form-item prop="dynamicTags" > |
| | | <el-form-item prop="dynamicTags"> |
| | | <template #label> |
| | | 标签 |
| | | <el-tooltip |
| | | class="item" |
| | | effect="light" |
| | | content="准确、扼要、多重的标签,可以让您在系统使用中方便的查找到该模版。" |
| | | placement="top-start" |
| | | > |
| | | <i class="el-icon-warning-outline"></i> |
| | | </el-tooltip> |
| | | <!-- 在标签后插入红色星号 --> |
| | | </template> |
| | | 标签 |
| | | <el-tooltip |
| | | class="item" |
| | | effect="light" |
| | | content="准确、扼要、多重的标签,可以让您在系统使用中方便的查找到该模版。" |
| | | placement="top-start" |
| | | > |
| | | <i class="el-icon-warning-outline"></i> |
| | | </el-tooltip> |
| | | <!-- 在标签后插入红色星号 --> |
| | | </template> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="tag.tagname" |
| | |
| | | </el-form-item> |
| | | </el-row> |
| | | <div class="xinz-infs"> |
| | | <el-form-item > |
| | | <el-form-item> |
| | | <template #label> |
| | | 适用疾病 |
| | | <el-tooltip |
| | |
| | | <i class="el-icon-warning-outline"></i> |
| | | </el-tooltip> |
| | | </template> |
| | | <div style="margin-bottom: 10px"> |
| | | <el-button |
| | | type="warning" |
| | | @click="$refs.child.handleAddpatient()" |
| | | >添加疾病诊断</el-button |
| | | > |
| | | </div> |
| | | <el-tag |
| | | v-for="tag in displayedTags" |
| | | :key="tag.icdid" |
| | |
| | | <el-tag v-if="hasMore" type="info">+{{ remaining }} more</el-tag> |
| | | </el-form-item> |
| | | </div> |
| | | <div style="margin-left: 120px; margin-bottom: 10px"> |
| | | <el-button type="warning" @click="$refs.child.handleAddpatient()" |
| | | >疾病详情</el-button |
| | | > |
| | | </div> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="版本号" prop="name"> |
| | | <el-input |
| | | v-model="ruleForm.version" |
| | | placeholder="默认1.0" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="9"> |
| | | <el-form-item label="可用状态" prop="isAvailable"> |
| | | <el-radio-group v-model="ruleForm.isAvailable"> |
| | | <el-radio |
| | | v-for="(item, index) in usable" |
| | | :label="item.value" |
| | | >{{ item.label }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </el-form-item></el-col |
| | | > |
| | | </el-row> |
| | | |
| | | <el-form-item label="问卷方式" prop="suitway"> |
| | | <el-select |
| | | v-model="ruleForm.suitway" |
| | | style="width: 55vw" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | |
| | | </el-form-item> |
| | | |
| | | <el-row> |
| | | <el-col :span="10" |
| | | ><el-form-item label="适用院区" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.campus" |
| | | size="medium" |
| | | filterable |
| | | placeholder="请选择分类" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in courtyardlist" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.label" |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12" |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-cascader |
| | | style="width: 400px;" |
| | | style="width: 55vw" |
| | | v-model="tempDetpRelevanceslist" |
| | | :options="deptList" |
| | | :props="props" |
| | |
| | | </el-row> |
| | | <el-form-item label="问卷结束语" prop="conclusion"> |
| | | <el-input |
| | | style="width: 40vw" |
| | | style="width: 55vw; line-height: 80px" |
| | | type="textarea" |
| | | :rows="5" |
| | | autosize |
| | | placeholder="请输入内容" |
| | | v-model="ruleForm.conclusion" |
| | |
| | | >{{ !Operateit ? "编辑题目" : "完整信息展示" }}</el-button |
| | | > |
| | | </div> |
| | | <div style="display: flex"> |
| | | <div style="display: flex" v-if="ruleForm.scoreType==1"> |
| | | <span |
| | | style=" |
| | | width: 180px; |
| | |
| | | svyTemplateLibScripts: [], |
| | | tempDetpRelevances: [], |
| | | svyLibTemplateTagList: [], |
| | | scoreType:'4', |
| | | isAvailable:'0' |
| | | scoreType: "4", |
| | | isAvailable: "0", |
| | | }, |
| | | indexform: { |
| | | svyLibTemplateTargetoptions: [], |
| | | }, |
| | | // 表单校验 |
| | | rules: { |
| | | // 表单校验 |
| | | rules: { |
| | | categoryid: [ |
| | | { required: true, message: "问卷分类不能为空", trigger: "blur" }, |
| | | ], |
| | |
| | | // 获取数据 |
| | | getissueinfo() { |
| | | this.id = this.$route.query.id; |
| | | this.ruleForm= { |
| | | (this.ruleForm = { |
| | | svyTemplateLibScripts: [], |
| | | tempDetpRelevances: [], |
| | | svyLibTemplateTagList: [], |
| | | scoreType:'4', |
| | | isAvailable:'0' |
| | | }, |
| | | this.topicobj = {}; |
| | | scoreType: "4", |
| | | isAvailable: "0", |
| | | }), |
| | | (this.topicobj = {}); |
| | | |
| | | if (this.id) { |
| | | getQtemplateobj({ svyid: this.id }).then((res) => { |