| | |
| | | </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 |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleQuery" |
| | | >新增</el-button |
| | | > |
| | | </div> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleQuery" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <!-- <el-col :span="1.5"> |
| | |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用病区" prop="region"> |
| | | <el-select |
| | |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="请选择科室" |
| | | placeholder="请选择病区" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | |
| | | <div class="xinz-infs"> |
| | | <el-form-item> |
| | |
| | | pageNum: 1, // |
| | | pageSize: 10, |
| | | topica: 1, //0全部1科室2病区 |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | }, |
| | | topicoptions: [{ children: [{ children: [] }] }], |
| | | showSearch: true, // |
| | |
| | | ], |
| | | // 科室/病区 |
| | | 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: "短信", |
| | | |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "微信公众号", |
| | | }, |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | |
| | | }, |
| | | { |
| | | value: "5", |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | |
| | | }, |
| | | { |
| | | value: "5", |
| | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | |
| | | }, |
| | | { |
| | | 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 = 5; |
| | | this.objyl.sendDay = 5; |
| | | } |
| | | this.queryParamsdept.type = 2; |
| | | this.queryParamsdept.tempid = row.id; |
| | |
| | | this.$modal |
| | | .confirm('是否确认删除患者"' + row.name + '"的服务项?') |
| | | .then(() => { |
| | | console.log(); |
| | | |
| | | let indexa = this.overallCase.indexOf(row); |
| | | let indexb = this.form.patTaskRelevances.indexOf(row); |
| | | this.overallCase.splice(indexa, 1); |
| | | this.form.patTaskRelevances[indexb].isoperation = 3; |
| | | if (!this.form.taskid) { |
| | | this.form.patTaskRelevances.splice(indexa, 1); |
| | | } else { |
| | | this.form.patTaskRelevances[indexb].isoperation = 3; |
| | | } |
| | | this.$modal.msgSuccess("删除成功"); |
| | | }); |
| | | }, |
| | |
| | | store.getters.leavehospitaldistrictcodes; |
| | | this.patientqueryParams.leaveldeptcodes = null; |
| | | } |
| | | if (!this.patientqueryParams.leavehospitaldistrictcodes||!this.patientqueryParams.leavehospitaldistrictcodes[0]) |
| | | this.patientqueryParams.leavehospitaldistrictcodes = null; |
| | | if (!this.patientqueryParams.leaveldeptcodes||!this.patientqueryParams.leaveldeptcodes[0]) |
| | | this.patientqueryParams.leaveldeptcodes = null; |
| | | this.handleAddpatient(); |
| | | }, |
| | | resetQuery() {}, |
| | |
| | | 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) { |