| | |
| | | <el-step |
| | | icon="el-icon-edit" |
| | | title="基础信息" |
| | | description="选择模版、形式等基础信息" |
| | | description="选择模板、形式等基础信息" |
| | | ></el-step> |
| | | <el-step |
| | | icon="el-icon-user" |
| | |
| | | <div class="leftvlue" style="margin: 0 20px"> |
| | | <!-- 基本信息 --> |
| | | <div v-if="Editprogress == 1"> |
| | | <el-alert title="选择模版、形式等基础信息" type="success" effect="dark"> |
| | | <el-alert title="选择模板、形式等基础信息" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <!-- 基础信息 --> |
| | |
| | | /> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="8" |
| | | ><el-form-item label="模版名称"> |
| | | ><el-form-item label="模板名称"> |
| | | <el-input |
| | | style="width: 220px" |
| | | :disabled="true" |
| | |
| | | > |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="模版预览" :visible.sync="previewtf" width="60%"> |
| | | <el-dialog title="模板预览" :visible.sync="previewtf" width="60%"> |
| | | <div class="preview-left"> |
| | | <!-- 单选 --> |
| | | <div v-html="richText"></div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="previewGo">前往模版详情修改</el-button> |
| | | <el-button @click="previewGo">前往模板详情修改</el-button> |
| | | <el-button type="primary" @click="previewFn">确认使用</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-divider></el-divider> |
| | | <!-- 选择模版列表 --> |
| | | <!-- 选择模板列表 --> |
| | | <SFtable |
| | | @selectfn="selectfn" |
| | | :currentList="userList" |
| | |
| | | title: "宣教内容列表", |
| | | currenttype: 1, //1宣教2门诊3出院4复诊5体检6问卷 |
| | | id: "", // |
| | | previewid: "", //任务模版传递id |
| | | previewid: "", //任务模板传递id |
| | | libName: "", |
| | | overallCase: [], //选择患者总 |
| | | allpids: [], |
| | | libId: null, //模板库模版id |
| | | libId: null, //模板库模板id |
| | | Editprogress: 1, //编辑进度 |
| | | drawermb: false, //选择模版弹窗 |
| | | drawermb: false, //选择模板弹窗 |
| | | previewtf: false, //预览 |
| | | loading: false, // 遮罩层 |
| | | patientloading: false, // 遮罩层 |
| | |
| | | // 非多个禁用 |
| | | multiple: true, |
| | | // 用户表格数据 |
| | | userList: [], //模版列表 |
| | | userList: [], //模板列表 |
| | | patientuserList: [], //选择患者列表 |
| | | sonuserList: [], //选中患者列表 |
| | | delvariableList: [], //删除变量临时存储 |
| | |
| | | }); |
| | | }, |
| | | // ----------------------表格子组件事件 |
| | | // 确认选择模版放入任务模版 |
| | | // 确认选择模板放入任务模板 |
| | | selectfn(row, type) { |
| | | // 模版情况下获取模版信息 |
| | | // 模板情况下获取模板信息 |
| | | this.libName = row.preachname; |
| | | this.richText = null; |
| | | this.libId = row.id; |
| | |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | // 预览模版 |
| | | // 预览模板 |
| | | PreviewTemplate() {}, |
| | | Acknowledgereference() { |
| | | this.quote = true; |
| | |
| | | if (this.time3) this.form.showTimeNight = this.time3.join(","); |
| | | console.log(combinedData, "combinedData"); |
| | | }, |
| | | // 查看模版 |
| | | // 查看模板 |
| | | previewGo() { |
| | | this.$router.push({ |
| | | path: "/knowledge/tpuconfigurat/", |
| | |
| | | this.form.templateid = response.data; |
| | | this.form.libtemplateid = this.libId; |
| | | this.form.templatename = this.libName; |
| | | this.$modal.msgSuccess("选择模版成功"); |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | | }); |
| | | }, |
| | | // 处理服务形式 |