123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845 |
- <template>
- <div>
- <el-dialog
- class="newDialog"
- title="治疗小结"
- width="854px"
- :visible.sync="isVisibility"
- :modal-append-to-body="false"
- >
- <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
- <el-form :model="treatmentSummary" ref="treatmentSummary">
- <el-row :gutter="20">
- <el-col :span="24" v-if="isShow('宣教知识')">
- <el-form-item
- label="宣教知识:"
- :prop="isName('宣教知识')"
- :rules="isCheckmust('宣教知识')"
- >
- <el-select @change="dialysisAfterTeachSelectChange" v-model="value">
- <el-option
- v-for="(item, index) in education"
- :label="item.text"
- :value="item.value"
- :key="index"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col v-if="isShow('宣教知识')">
- <el-form-item
- :prop="isName('宣教知识')"
- :rules="isCheckmust('宣教知识')"
- >
- <el-input
- type="textarea"
- v-model="treatmentSummary.mission"
- :rows="4"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24" v-if="isShow('透析小结')">
- <el-form-item
- label="透析小结:"
- :prop="isName('透析小结')"
- :rules="isCheckmust('透析小结')"
- >
- <el-select @change="dialysisSummarySelectChange" v-model="value2">
- <el-option
- v-for="(item, index) in summary"
- :label="item.text"
- :value="item.value"
- :key="index"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- </el-row>
- <el-button type="primary" size="small" @click="autoClick" style="margin-top: 5px;margin-bottom: 5px;" v-if="org_id ==9671 || org_id==10440 || org_id == 10495">自动生成</el-button>
- <el-row :gutter="20">
-
- <el-col v-if="isShow('透析小结')">
- <el-form-item
- :prop="isName('透析小结')"
- :rules="isCheckmust('透析小结')"
- >
- <el-input
- type="textarea"
- v-model="treatmentSummary.dialysis_summary"
- :rows="4"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24" v-if="isShow('透析护理记录')">
- <el-form-item
- label="透析护理记录:"
- :prop="isName('透析护理记录')"
- :rules="isCheckmust('透析护理记录')"
- >
- <el-select
- @change="dialysisNusingRecordSelectChange"
- v-model="value3"
- >
- <el-option
- v-for="(item, index) in nursingRecord"
- :label="item.text"
- :value="item.value"
- :key="index"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col v-if="isShow('透析护理记录')">
- <el-form-item
- :prop="isName('透析护理记录')"
- :rules="isCheckmust('透析护理记录')"
- >
- <el-input
- type="textarea"
- v-model="treatmentSummary.nursing_record"
- :rows="4"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24" v-if="isShow('特殊记录')">
- <el-form-item
- label="特殊记录:"
- :prop="isName('特殊记录')"
- :rules="isCheckmust('特殊记录')"
- >
- <el-select
- @change="dialysisSpecialRecordSelectChange"
- v-model="value4"
- >
- <el-option
- v-for="(item, index) in specialRecord"
- :label="item.text"
- :value="item.value"
- :key="index"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col v-if="isShow('特殊记录')">
- <el-form-item
- :prop="isName('特殊记录')"
- :rules="isCheckmust('特殊记录')"
- >
- <el-input
- type="textarea"
- v-model="treatmentSummary.special_record"
- :rows="4"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button @click="handleCancle">取 消</el-button>
- <el-button
- type="primary"
- @click="handleComfirm('treatmentSummary')"
- v-if="hasPermission"
- >保 存</el-button> <!-- -->
- </div>
- </el-dialog>
-
- <el-dialog
- title="提示"
- :visible.sync="infoDialogVisible"
- width="30%">
- <span>
- <el-form>
- <el-row>
- <span>申请日期:</span>
- <span>
- <el-date-picker
- type="datetime"
- format="yyyy-MM-dd HH:mm"
- value-format="yyyy-MM-dd HH:mm"
- placeholder="选择时间"
- v-model="selected_date"
- ></el-date-picker>
- </span>
- </el-row>
- <el-row>
- <span>备注:</span>
- <span>
- <el-input v-model="remark" style="width:200px"></el-input>
- </span>
- </el-row>
- </el-form>
-
- </span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="infoDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="saveInformation">确 定</el-button>
- </span>
- </el-dialog>
- </div>
-
-
-
-
- </template>
-
- <script>
- import { getDataConfig } from "@/utils/data";
- import { postTreatmentsummary,saveInformation } from "@/api/dialysis";
- import { uParseTime } from "@/utils/tools";
- import store from "@/store";
- import request from "@/utils/request";
- import { parseTime } from "@/utils";
-
- export default {
- name: "treatmentSummaryDialog",
-
- props: {
- treatment_summary: {
- // 治疗小结
- type: Object,
- default: () => {
- return { id: 0 };
- },
- },
- patient: {
- // 患者信息
- type: Object,
- default: () => {
- return { id: 0 };
- },
- },
- prescription:{
- type:Object,
- default: () => {
- return { id: 0 };
- },
- },
- predialysis_evaluation:{
- type:Object,
- default: () => {
- return { id: 0 };
- },
- },
- doctor_advices:{
- type:Array,
- default: () => {
- return { id: 0 };
- },
- },
- dialysis_order:{
- type:Object,
- default: () => {
- return { id: 0 };
- },
- },
- monitors:{
- type:Array,
- default: () => {
- return { id: 0 };
- },
- },
- assessment_after_dislysis:{
- type:Object,
- default: () => {
- return { id: 0 };
- },
- }
- },
- data() {
- return {
- showTxt: "",
- hasPermission: true,
- value: "",
- value2: "",
- value3: "",
- value4: "",
- isVisibility: false,
- record_date: "",
- education: [],
- summary: [],
- nursingRecord: [],
- specialRecord: [],
- treatmentSummary: {
- mission: "",
- dialysis_summary: "",
- sj_nurse: "",
- zl_nurse: "",
- hd_nurse: "",
- xj_nurse: "",
- zl_doctor: "",
- nursing_record: "",
- special_record: "",
- },
- //
- date: "",
- infoDialogVisible:false,
- selected_date:"",
- pickerOptions: {
- disabledDate(time) {
- return time.getTime() > Date.now()
- }
- },
- remark:"",
- org_id:0,
- };
- },
- methods: {
- isName(name) {
- let filedList = store.getters.xt_user.fileds;
- for (let i = 0; i < filedList.length; i++) {
- if (filedList[i].module == 6 && filedList[i].filed_name_cn == name) {
- return filedList[i].filed_name;
- }
- }
- },
-
- isCheckmust(name) {
- let filedList = store.getters.xt_user.fileds;
- for (let i = 0; i < filedList.length; i++) {
- if (
- filedList[i].module == 6 &&
- filedList[i].filed_name_cn == name &&
- filedList[i].is_write == 1
- ) {
- return [{ required: true, message: `请输入${name}` }];
- }
- }
- },
- show(record, date) {
- this.isVisibility = true;
- this.record = record;
-
- if (date) {
- this.date = date;
- this.record_date = uParseTime(this.date, "{y}-{m}-{d}");
- }
-
- console.log("治疗小结", record);
- this.getPermission();
- },
- hide() {
- this.isVisibility = false;
- },
- dialysisAfterTeachSelectChange: function (values) {
- if (this.treatmentSummary.mission == "") {
- this.treatmentSummary.mission = values;
- } else {
- if (this.treatmentSummary.mission.indexOf(values) == -1) {
- if (
- this.treatmentSummary.mission
- .charAt(this.treatmentSummary.mission.length - 1)
- .indexOf("。") == -1
- ) {
- this.treatmentSummary.mission =
- this.treatmentSummary.mission + "," + values;
- } else {
- this.treatmentSummary.mission =
- this.treatmentSummary.mission + values;
- }
- }
- }
- },
- dialysisSummarySelectChange: function (values) {
- if (this.treatmentSummary.dialysis_summary == "") {
- this.treatmentSummary.dialysis_summary = values;
- } else {
-
- if (this.treatmentSummary.dialysis_summary.indexOf(values) == -1) {
- if (
- this.treatmentSummary.dialysis_summary
- .charAt(this.treatmentSummary.dialysis_summary.length - 1)
- .indexOf("。") == -1
- ) {
- this.treatmentSummary.dialysis_summary =
- this.treatmentSummary.dialysis_summary + "," + values;
- } else {
- this.treatmentSummary.dialysis_summary =
- this.treatmentSummary.dialysis_summary + "," + values;
- this.treatmentSummary.dialysis_summary =
- this.treatmentSummary.dialysis_summary + values;
- }
- }
- }
- },
- dialysisNusingRecordSelectChange: function (values) {
- if (this.treatmentSummary.nursing_record == "") {
- this.treatmentSummary.nursing_record = values;
- } else {
- if (this.treatmentSummary.nursing_record.indexOf(values) == -1) {
- if (
- this.treatmentSummary.nursing_record
- .charAt(this.treatmentSummary.nursing_record.length - 1)
- .indexOf("。") == -1
- ) {
- this.treatmentSummary.nursing_record =
- this.treatmentSummary.nursing_record + "," + values;
- } else {
- this.treatmentSummary.nursing_record =
- this.treatmentSummary.nursing_record + "," + values;
- this.treatmentSummary.nursing_record =
- this.treatmentSummary.nursing_record + values;
- }
- }
- }
- },
- dialysisSpecialRecordSelectChange(values) {
- if (this.treatmentSummary.special_record == "") {
- this.treatmentSummary.special_record = values;
- } else {
- if (this.treatmentSummary.special_record.indexOf(values) == -1) {
- if (
- this.treatmentSummary.special_record
- .charAt(this.treatmentSummary.special_record.length - 1)
- .indexOf("。") == -1
- ) {
- this.treatmentSummary.special_record =
- this.treatmentSummary.special_record + "," + values;
- } else {
- this.treatmentSummary.special_record =
- this.treatmentSummary.special_record + "," + values;
- this.treatmentSummary.special_record =
- this.treatmentSummary.special_record + values;
- }
- }
- }
- },
- handleCancle: function () {
- this.isVisibility = false;
- },
- handleComfirm(formName) {
- this.$refs[formName].validate((valid) => {
- if (valid) {
- const ParamsQuery = this.treatmentSummary;
- ParamsQuery["patient"] = this.patient.id;
- ParamsQuery["record_date"] = this.record_date;
- ParamsQuery["mode"] = "1";
- if (this.treatment_summary.id > 0) {
- ParamsQuery["mode"] = "2";
- if (
- this.treatment_summary.creater !=
- this.$store.getters.xt_user.user.id
- ) {
- ParamsQuery["mode"] = "3";
- }
- }
- postTreatmentsummary(ParamsQuery).then((response) => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- if(response.data.code == 600000008){
- this.infoDialogVisible = true
- }
- return false;
- } else {
- this.$notify({
- title: "成功",
- message: "提交成功",
- type: "success",
- duration: 2000,
- });
-
- const summary_resp = response.data.data.summary;
- // prop
- var treatment_summary = this.treatment_summary;
- for (var index in summary_resp) {
- // treatment_summary[index] = summary_resp[index];
- this.$set(treatment_summary, index, summary_resp[index]);
- }
-
- this.hide();
- }
- });
- } else {
- console.log("error submit!!");
- return false;
- }
- });
- },
- getPermission() {
- request
- .get("/api/func_per/get", {
- params: {
- create_url: "/api/dialysis/treatmentsummary?mode=1",
- modify_url: "/api/dialysis/treatmentsummary?mode=2",
- modify_other_url: "/api/dialysis/treatmentsummary?mode=3",
- module: 9,
- },
- })
- .then((res) => {
- if (res.data.state == 0) {
- this.hasPermission = false;
- } else if (res.data.state == 1) {
- if (this.record.id != "" && this.record.creater != 0) {
- // 有数据
- if (this.record.creater == this.$store.getters.user.admin.id) {
- // 创建人是自己
- if (res.data.data.is_has_modify == false) {
- this.hasPermission = false;
- this.showTxt = "你没有修改治疗小结权限";
- }
- } else {
- // 创建人不是自己
- if (res.data.data.is_has_modify_other == false) {
- this.hasPermission = false;
- this.showTxt = "你没有修改他人治疗小结权限";
- }
- }
- } else if (this.record.id == "" || this.record.creater == 0) {
- if (res.data.data.is_has_create == false) {
- this.hasPermission = false;
- this.showTxt = "你没有新增治疗小结权限";
- }
- }
- }
- });
- },
- isShow(name) {
- var filedList = store.getters.xt_user.fileds;
-
- for (let i = 0; i < filedList.length; i++) {
- if (
- filedList[i].module == 6 &&
- filedList[i].filed_name_cn == name &&
- filedList[i].is_show == 1
- ) {
- return true;
- }
- }
- return false;
- },
-
- saveInformation(){
- var params = {
- selected_date:this.selected_date,
- patient_id:this.$route.query.patient_id,
- record_date:this.$route.query.date,
- module:10,
- remark:this.remark,
- }
-
- saveInformation(params).then(response=>{
- if(response.data.state == 1){
- var information = response.data.data.information
- this.$message.success("审核成功!")
- this.infoDialogVisible = false
- }
- })
- },
- autoClick(){
- var str_one = ""
- if(this.dialysis_order!=null){
- if(this.dialysis_order.puncture_nurse_id >0){
- str_one = "护士穿刺成功!"
- }
- }
-
- var total =0
- if(this.predialysis_evaluation!=null){
- total = (this.predialysis_evaluation.weight_before - this.predialysis_evaluation.dry_weight).toFixed(1)
- }
-
-
- var monitor_one =[]
- var monitor_two = []
- var monitor_three = []
-
- if(this.monitors!=null && this.monitors.length > 0){
- var monitor_one = this.monitors.sort(function (a,b) {
- return b.systolic_bp - a.systolic_bp
- })
- var monitor_two = this.monitors.sort(function (a,b) {
- return b.diastolic_bp - a.diastolic_bp
- })
-
- var monitor_three = this.monitors.sort(function (a,b) {
- return b.pulse_frequency - a.pulse_frequency
- })
-
- }
-
-
-
-
-
- var doc_str = ""
- console.log("医嘱2333333333333",this.predialysis_evaluation)
- if(this.doctor_advices!=null && this.doctor_advices.length > 0){
-
-
- for(let i=0;i<this.doctor_advices.length;i++){
- doc_str +=this.doctor_advices[i].advice_name +" "+this.doctor_advices[i].prescribing_number+this.doctor_advices[i].prescribing_number_unit+" "+this.doctor_advices[i].delivery_way
- }
- }
-
- if(this.predialysis_evaluation.blood_access_part_id == -2){
- this.predialysis_evaluation.blood_access_part_id = ""
- }
-
- var str = " 患者今日来我科行血液透析治疗,血管通路选择:"+this.predialysis_evaluation.blood_access_part_id+ " "+this.QueryOperaById(this.predialysis_evaluation.blood_access_part_opera_id) +",透析模式:"+this.getModeId(this.prescription.mode_id)+
- ",透前检查:"+this.predialysis_evaluation.internal_fistula +this.predialysis_evaluation.catheter + str_one +" "+ ",透析器:"+this.prescription.dialyzer_perfusion_apparatus + ",抗凝剂:"+this.GetAnticoagulant(this.prescription.anticoagulant) +",总量:"+this.prescription.anticoagulant_zongliang+"iu"+
- ",透前体重:"+this.predialysis_evaluation.weight_before+"kg"+",间期体重增长:"+total +"kg"+",目标脱水量:"+this.prescription.target_ultrafiltration +"ml" +",血流量:"+this.prescription.blood_flow_volume+"ml/min" + ",透析开始时间:"+this.getTime(this.dialysis_order.start_time) +",透析过程中血压波动,"+"最大收缩压:"+monitor_one[0].systolic_blood_pressure+"mmHg"+",最小收缩压:"+monitor_one[monitor_one.length-1].systolic_blood_pressure
- +"mmHg" +",最小舒张压:" +monitor_two[0].diastolic_blood_pressure+"mmHg" + ",最大舒张压:" + monitor_two[monitor_two.length-1].diastolic_blood_pressure +"mmHg" + ",最大脉搏:"+monitor_three[0].pulse_frequency+"次/分"+",最小脉搏:"+monitor_three[monitor_three.length-1].pulse_frequency+"次/分"+",透析结束时间:"+this.getTime(this.dialysis_order.end_time) +
- ",实际治疗时长:"+ this.assessment_after_dislysis.actual_treatment_hour +"时"+this.assessment_after_dislysis.actual_treatment_minute+"分" +",实际超滤量:"+this.assessment_after_dislysis.actual_ultrafiltration+"ml"+",透后体重:"+this.assessment_after_dislysis.weight_after+"kg"+",透析过程顺利,安全下机" + " "
- +",今日使用药品:"+doc_str +",患者下机后测血压,"+"收缩压:"+this.assessment_after_dislysis.systolic_blood_pressure+"mmHg"+",舒张压:"+this.assessment_after_dislysis.diastolic_blood_pressure+"mmHg"+",脉搏:"+this.assessment_after_dislysis.pulse_frequency +"次/分"
-
- console.log("str000000000000000000222o2o2",str)
- this.treatmentSummary.dialysis_summary = ""
- this.treatmentSummary.dialysis_summary = str
- },
- QueryOperaById(val){
- var blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
- var name = ""
- for(let i=0;i<blood_access_part_opera.length;i++){
- if(val == blood_access_part_opera[i].id){
- name = blood_access_part_opera[i].name
- }
- }
- return name
- },
- getModeId(mode_id){
- var mode_name = ""
- if(mode_id == 1){
- mode_name ="HD"
- }
- if(mode_id == 2){
- mode_name ="HDF"
- }
- if(mode_id == 3){
- mode_name ="HD+HP"
- }
- if(mode_id == 4){
- mode_name ="HP"
- }
- if(mode_id == 5){
- mode_name ="HF"
- }
- if(mode_id == 6){
- mode_name ="SCUF"
- }
- if(mode_id == 7){
- mode_name ="IUF"
- }
- if(mode_id == 8){
- mode_name ="HFHD"
- }
- if(mode_id == 9){
- mode_name ="HFHD+HP"
- }
- if(mode_id == 10){
- mode_name ="PHF"
- }
- if(mode_id == 11){
- mode_name ="HFR"
- }
- if(mode_id == 12){
- mode_name ="HDF+HP"
- }
- if(mode_id == 13){
- mode_name ="CRRT"
- }
- if(mode_id == 14){
- mode_name ="腹水回输"
- }
- if(mode_id == 19){
- mode_name ="IUF+HD"
- }
- if(mode_id == 20){
- mode_name ="UF"
- }
- if(mode_id == 21){
- mode_name ="HD+"
- }
- if(mode_id == 22){
- mode_name ="血浆胆红素吸附+HDF"
- }
- if(mode_id == 23){
- mode_name ="血浆胆红素吸附"
- }
- if(mode_id == 24){
- mode_name ="I-HDF"
- }
- if(mode_id == 25){
- mode_name ="HD高通"
- }
- if(mode_id == 26){
- mode_name ="CVVH"
- }
- if(mode_id == 27){
- mode_name ="CVVHD"
- }
- if(mode_id == 28){
- mode_name ="CVVHDF"
- }
- if(mode_id == 29){
- mode_name ="PE"
- }
- if(mode_id == 30){
- mode_name ="血浆胆红素吸附+HP"
- }
- if(mode_id == 31){
- mode_name ="HPD"
- }
- if(mode_id == 32){
- mode_name ="HDP"
- }
- return mode_name
- },
- GetAnticoagulant(id){
- var anticoagulant_name = ""
- if(id == 1){
- anticoagulant_name = "无肝素"
- }
- if(id == 2){
- anticoagulant_name = "普通肝素"
- }
- if(id == 3){
- anticoagulant_name = "低分子肝素"
- }
- if(id == 4){
- anticoagulant_name = "阿加曲班"
- }
-
- if(id == 5){
- anticoagulant_name = "枸橼酸钠"
- }
- if(id == 6){
- anticoagulant_name = "低分子肝素钙"
- }
- if(id == 7){
- anticoagulant_name = "低分子肝素钠"
- }
- if(id == 8){
- anticoagulant_name = "依诺肝素"
- }
-
- if(id == 9){
- anticoagulant_name = "达肝素"
- }
- if(id == 10){
- anticoagulant_name = "体外抗凝"
- }
-
- if(id == 11){
- anticoagulant_name = "那屈肝素"
- }
- if(id == 12){
- anticoagulant_name = "无抗凝剂"
- }
-
- if(id == 13){
- anticoagulant_name = "那屈肝素钙"
- }
- if(id == 14){
- anticoagulant_name = "肝素钙注射液"
- }
- if(id == 15){
- anticoagulant_name = "甲磺酸萘莫司他"
- }
-
- return anticoagulant_name
- },
- getTime (time) {
- return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
- },
- },
- watch: {
- isVisibility(val) {},
- "treatment_summary.id": {
- immediate: true,
- deep: true,
- handler(oldVal, newVal) {
- if (oldVal == newVal) {
- for (var index in this.treatmentSummary) {
- this.treatmentSummary[index] = this.treatment_summary[index];
- }
- }
- if (this.treatment_summary.id > 0) {
- for (var index in this.treatmentSummary) {
- this.value = "";
- this.value2 = "";
- this.value3 = "";
- this.value4 = "";
- this.treatmentSummary[index] = this.treatment_summary[index];
- }
- } else if (this.treatment_summary.id == 0) {
- for (var index in this.treatmentSummary) {
- // this.treatmentSummary[index] = this.treatment_summary[index]
- this.value = "";
- this.value2 = "";
- this.value3 = "";
- this.value4 = "";
- this.treatmentSummary = {
- mission: "",
- dialysis_summary: "",
- sj_nurse: "",
- zl_nurse: "",
- hd_nurse: "",
- xj_nurse: "",
- zl_doctor: "",
- nursing_record: "",
- special_record: "",
- };
- }
-
- if(this.$store.getters.xt_user.org.id == 0 || this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 10340){
- this.treatmentSummary.dialysis_summary = "安全下机"
- }
-
- }
- },
- },
-
- },
- created() {
- this.education = getDataConfig("education", "education");
- this.summary = getDataConfig("summary", "summary");
-
- this.nursingRecord = getDataConfig("nursing_record", "nursing_record");
-
- this.specialRecord = getDataConfig("special_record", "special_record");
-
- // var date = this.$route.query && this.$route.query.date
- // this.record_date = uParseTime(date, '{y}-{m}-{d}')
-
- if (this.$route.query && this.$route.query.date) {
- var date = this.$route.query && this.$route.query.date;
- this.record_date = uParseTime(date, "{y}-{m}-{d}");
- }
-
- this.org_id = this.$store.getters.xt_user.template_info.org_id
- },
- };
- </script>
-
- <style scoped>
- .warnTxt {
- text-align: center;
- margin: 0 auto;
- background: #faa331;
- max-width: 240px;
- padding: 10px 20px;
- border-radius: 4px;
- margin-bottom: 10px;
- color: #fff;
- }
- </style>
- <style lang="scss">
- .newDialog {
- .el-dialog__body {
- padding: 10px 20px 30px;
- }
- }
- </style>
|