| | |
| | | v-for="(item, index) in checkboxlist" |
| | | :key="index" |
| | | :label="item.value" |
| | | :disabled="!item.disabled" |
| | | @change="checkboxChange($event, item.value)" |
| | | > |
| | | {{ item.label }}</el-checkbox |
| | |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <div v-if="form.longTask"> |
| | | <el-tooltip |
| | | class="item" |
| | | effect="dark" |
| | | content="长期任务不支持手动添加患者!" |
| | | placement="top-start" |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | disabled |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleQuery" |
| | | >新增</el-button |
| | | > |
| | | </el-tooltip> |
| | | </div> |
| | | <div v-else> |
| | | |
| | | |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | @click="handleQuery" |
| | | >新增</el-button |
| | | > |
| | | </div> |
| | | |
| | | </el-col> |
| | | |
| | | <!-- <el-col :span="1.5"> |
| | |
| | | ], |
| | | // 科室/病区 |
| | | belongWards: [], |
| | | belongWards: [], |
| | | deptlist: [], |
| | | hosplist: [], |
| | | tempDetpRelevanceslist: [], //科室数据 |
| | |
| | | sendType: [ |
| | | { required: true, message: "发送设置不能为空", trigger: "blur" }, |
| | | ], |
| | | deptcode: [ |
| | | { required: true, message: "适用科室不能为空", trigger: "blur" }, |
| | | ], |
| | | leavehospitaldistrictcode: [ |
| | | { required: true, message: "适用病区不能为空", trigger: "blur" }, |
| | | ], |
| | | }, |
| | | // 科室院区查询入参 |
| | | queryParamsdept: { |
| | | tempid: "", |
| | | type: 2, |
| | | }, |
| | | belongDepts:[], |
| | | quote: false, |
| | | serviceType: null, |
| | | }; |
| | |
| | | label: "纸质", |
| | | }, |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | disabled:true, |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "微信公众号", |
| | | }, |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | disabled:true, |
| | | }, |
| | | { |
| | | value: "5", |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | disabled:true, |
| | | }, |
| | | { |
| | | value: "5", |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | disabled:true, |
| | | }, |
| | | { |
| | | value: "5", |
| | |
| | | this.objyl = res.data; |
| | | this.objyl.isoperation = 2; |
| | | this.objyl.taskid = data.taskId; |
| | | if (!this.objyl.sendDa) { |
| | | this.objyl.sendDay='5'; |
| | | } |
| | | console.log(this.objyl.sendDay,'this.objyl.sendDay'); |
| | | |
| | | Taskparticty(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.id; |
| | |
| | | if (res.code == 200) { |
| | | this.objyl = res.data; |
| | | if (this.form.longTask) { |
| | | this.objyl.longTemp = 1; |
| | | this.objyl.sendDay = 5; |
| | | } |
| | | this.queryParamsdept.type = 2; |
| | | this.queryParamsdept.tempid = row.id; |
| | |
| | | neWaddfn() { |
| | | this.id = null; |
| | | this.form.taskName = ""; |
| | | this.form.sendState = null; |
| | | this.form.taskid = null; |
| | | this.overallCase = []; |
| | | this.form.patTaskRelevances = []; |
| | |
| | | if (this.form.id) { |
| | | this.objyl.taskid = this.form.id; |
| | | } |
| | | if (!this.objyl.sendDay) { |
| | | this.objyl.sendDay='5'; |
| | | } |
| | | if (this.form.templateid) { |
| | | deleteTaskparticty(this.form.templateid).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | this.putbelongDepts(response.data); |
| | | this.form.templatename = this.objyl.templateName; |
| | | this.$modal.msgSuccess("替换模板成功"); |
| | | this.drawermb = false;//选择模板弹窗 |
| | | this.previewtf = false;//预览 |
| | | this.drawermb = false; //选择模板弹窗 |
| | | this.previewtf = false; //预览 |
| | | if (this.skip) { |
| | | // 跳转前往修改 |
| | | this.$router.push({ |
| | |
| | | this.putbelongDepts(response.data); |
| | | this.form.templatename = this.objyl.templateName; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | | this.drawermb = false;//选择模板弹窗 |
| | | this.previewtf = false;//预览 |
| | | this.drawermb = false; //选择模板弹窗 |
| | | this.previewtf = false; //预览 |
| | | if (this.skip) { |
| | | // 跳转前往修改 |
| | | this.$router.push({ |
| | |
| | | Modifytemplate() { |
| | | if (this.form.templateid && this.previewtftype) { |
| | | this.$modal.confirm("是否前往修改任务模板详细内容?").then(() => { |
| | | this.drawermb = false;//选择模板弹窗 |
| | | this.previewtf = false;//预览 |
| | | this.drawermb = false; //选择模板弹窗 |
| | | this.previewtf = false; //预览 |
| | | this.$router.push({ |
| | | path: "/knowledge/taskub/", |
| | | query: { id: this.form.templateid }, |