Commit e3acde94 by 唐玉峰

parent 8f72a377
...@@ -159,18 +159,9 @@ ...@@ -159,18 +159,9 @@
<el-table-column show-overflow-tooltip width="100" property="specifications" label="规格说明"></el-table-column> <el-table-column show-overflow-tooltip width="100" property="specifications" label="规格说明"></el-table-column>
<el-table-column show-overflow-tooltip width="100" property="dosage" label="药品剂型"></el-table-column> <el-table-column show-overflow-tooltip width="100" property="dosage" label="药品剂型"></el-table-column>
<el-table-column show-overflow-tooltip width="100" property="isAntibiotic" label="抗生素"></el-table-column> <el-table-column show-overflow-tooltip width="100" property="isAntibiotic" label="抗生素"></el-table-column>
<!-- <el-table-column show-overflow-tooltip width="135" property="medicalPurpose" label="用药目的"></el-table-column> -->
<el-table-column show-overflow-tooltip width="80" property="medicUseQuantity" label="用量"></el-table-column> <el-table-column show-overflow-tooltip width="80" property="medicUseQuantity" label="用量"></el-table-column>
<el-table-column show-overflow-tooltip width="80" property="medicUseUnit" label="单位"></el-table-column> <el-table-column show-overflow-tooltip width="80" property="medicUseUnit" label="单位"></el-table-column>
<el-table-column show-overflow-tooltip width="110" property="inventoryNum" label="可用数量"></el-table-column> <el-table-column show-overflow-tooltip width="110" property="inventoryNum" label="可用数量"></el-table-column>
<!-- <el-table-column show-overflow-tooltip width="110" property="medicUsePlan" label="频率"></el-table-column>
<el-table-column show-overflow-tooltip width="60" property="dropNumber" label="滴数"></el-table-column>
<el-table-column show-overflow-tooltip width="80" property="medicQuantity" label="用药总量"></el-table-column>
<el-table-column show-overflow-tooltip width="60" property="medicUnit" label="单位"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="remark" label="嘱托"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="description" label="诊断描述"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="symptom" label="症状及体征"></el-table-column>
<el-table-column show-overflow-tooltip width="85" property="emergency" label="急诊"></el-table-column> -->
</el-table> </el-table>
<el-input <el-input
slot="reference" slot="reference"
...@@ -214,34 +205,12 @@ ...@@ -214,34 +205,12 @@
]" ]"
> >
<template #label> <span></span></template> <template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicalPurpose"> <el-select size="mini" v-model="scope.row.medicalPurpose" :disabled="!scope.row.isAdd" @change="tbChange(scope.row)">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe"> <el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <template v-if="scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicalPurpose" class="demo-ruleForm">
<el-form-item
prop="medicalPurpose"
:rules="[
{ required: scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗' ? true : false, message: '请选择' },
]"
>
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicalPurpose">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicalPurpose">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template> </template>
<span v-else>{{ scope.row.medicalPurpose }}</span> <span v-else>{{ scope.row.medicalPurpose }}</span>
</template> </template>
...@@ -255,23 +224,9 @@ ...@@ -255,23 +224,9 @@
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请填写' }]" :rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请填写' }]"
> >
<template #label> <span></span></template> <template #label> <span></span></template>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input> <el-input v-model="scope.row.medicUseQuantity" @input="tbChange(scope.row)" size="mini"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseQuantity" class="demo-ruleForm">
<el-form-item
prop="medicUseQuantity"
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin == '是' ? true : false, message: '请填写' }]"
>
<template #label> <span></span></template>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input>
</template> -->
</template> </template>
<span v-else>{{ scope.row.medicUseQuantity }}</span> <span v-else>{{ scope.row.medicUseQuantity }}</span>
</template> </template>
...@@ -286,29 +241,20 @@ ...@@ -286,29 +241,20 @@
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]" :rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]"
> >
<template #label> <span></span></template> <template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod"> <el-select
size="mini"
v-model="scope.row.medicUseMode"
filterable
remote
:filter-method="remoteMethod"
:disabled="!scope.row.isAdd"
@change="tbChange(scope.row)"
>
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe"> <el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseMode" class="demo-ruleForm">
<el-form-item prop="medicUseMode" :rules="[{ required: true, message: '请选择' }]">
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod">
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod">
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template> </template>
<span v-else>{{ scope.row.medicUseMode }}</span> <span v-else>{{ scope.row.medicUseMode }}</span>
</template> </template>
...@@ -322,29 +268,20 @@ ...@@ -322,29 +268,20 @@
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]" :rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]"
> >
<template #label> <span></span></template> <template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)"> <el-select
size="mini"
filterable
remote
:filter-method="remotemedicUsePlan"
v-model="scope.row.medicUsePlan"
@change="tbChange(scope.row)"
:disabled="!scope.row.isAdd"
>
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe"> <el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUsePlan" class="demo-ruleForm">
<el-form-item prop="medicUsePlan" :rules="[{ required: true, message: '请选择' }]">
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)">
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)">
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template> </template>
<span v-else>{{ scope.row.medicUsePlan }}</span> <span v-else>{{ scope.row.medicUsePlan }}</span>
</template> </template>
...@@ -354,8 +291,9 @@ ...@@ -354,8 +291,9 @@
<el-input <el-input
v-if="scope.row.ischeck == 1 && scope.row.orderType" v-if="scope.row.ischeck == 1 && scope.row.orderType"
v-model="scope.row.dropNumber" v-model="scope.row.dropNumber"
:disabled="!scope.row.isAdd"
size="mini" size="mini"
@input="setIput(scope.row, $event)" @input="tbChange(scope.row)"
></el-input> ></el-input>
<span v-else>{{ scope.row.dropNumber }}</span> <span v-else>{{ scope.row.dropNumber }}</span>
</template> </template>
...@@ -551,6 +489,7 @@ export default { ...@@ -551,6 +489,7 @@ export default {
medicUseModeoptions: [], //途径 medicUseModeoptions: [], //途径
medicUseModeoptionsLise: [], medicUseModeoptionsLise: [],
medicUsePlanoptions: [], //频率 medicUsePlanoptions: [], //频率
medicUsePlanoptionsList: [],
medicalPurposeoptions: [], //用药目的 medicalPurposeoptions: [], //用药目的
radio: 1, radio: 1,
newtable1: [], newtable1: [],
...@@ -566,6 +505,7 @@ export default { ...@@ -566,6 +505,7 @@ export default {
isPop: false, isPop: false,
gridData: [], gridData: [],
query: "", query: "",
query1: "",
}; };
}, },
mounted() { mounted() {
...@@ -578,7 +518,6 @@ export default { ...@@ -578,7 +518,6 @@ export default {
}, },
watch: { watch: {
query() { query() {
console.log(this.query);
if (this.query !== "") { if (this.query !== "") {
this.medicUseModeoptions = this.medicUseModeoptionsLise.filter((item) => { this.medicUseModeoptions = this.medicUseModeoptionsLise.filter((item) => {
return ( return (
...@@ -589,10 +528,31 @@ export default { ...@@ -589,10 +528,31 @@ export default {
this.medicUseModeoptions = this.medicUseModeoptionsLise; this.medicUseModeoptions = this.medicUseModeoptionsLise;
} }
}, },
query1() {
if (this.query1 !== "") {
this.medicUsePlanoptions = this.medicUsePlanoptionsList.filter((item) => {
return (
item.describe.toLowerCase().indexOf(this.query1.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(this.query1.toLowerCase()) > -1
);
});
} else {
this.medicUsePlanoptions = this.medicUsePlanoptionsList;
}
},
}, },
methods: { methods: {
// 总量计算 // 总量计算
setIput(row, e) { setIput(row) {
// console.log(row);
// if (row.children && row.children.length) {
// row.children.map((item) => {
// item.medicalPurpose = row.medicalPurpose;
// item.medicUseMode = row.medicUseMode;
// item.medicUsePlan = row.medicUsePlan;
// item.dropNumber = row.dropNumber;
// item.medicQuantity = row.medicQuantity;
// });
// }
if (!isNaN(parseFloat(row.medicUseQuantity)) && isFinite(row.medicUseQuantity) && row.medicUsePlan) { if (!isNaN(parseFloat(row.medicUseQuantity)) && isFinite(row.medicUseQuantity) && row.medicUsePlan) {
let num = this.medicUsePlanoptions.find((item) => item.describe == row.medicUsePlan).num; let num = this.medicUsePlanoptions.find((item) => item.describe == row.medicUsePlan).num;
// 使用量; // 使用量;
...@@ -656,14 +616,14 @@ export default { ...@@ -656,14 +616,14 @@ export default {
isAntibiotic: "", isAntibiotic: "",
medicUseQuantity: 0, medicUseQuantity: 0,
medicUseUnit: null, medicUseUnit: null,
medicUseMode: null, medicUseMode: r.medicUseMode,
medicUsePlan: null, medicUsePlan: r.medicUsePlan,
medicQuantity: 1, medicQuantity: 0,
medicUnit: null, medicUnit: null,
remark: "", remark: "",
inventoryNum: null, inventoryNum: null,
orderType: r.orderType, orderType: r.orderType,
medicalPurpose: null, medicalPurpose: r.medicalPurpose,
price: null, price: null,
type: r.type, type: r.type,
sort: cout + 1, sort: cout + 1,
...@@ -683,6 +643,7 @@ export default { ...@@ -683,6 +643,7 @@ export default {
retail_unit: "", retail_unit: "",
unit_dose: 1, unit_dose: 1,
useDay: 1, useDay: 1,
dropNumber: r.dropNumber,
packagingnum: 1, packagingnum: 1,
split_num: 1, split_num: 1,
isSkin: undefined, isSkin: undefined,
...@@ -723,12 +684,12 @@ export default { ...@@ -723,12 +684,12 @@ export default {
item.specifications = row.specifications; item.specifications = row.specifications;
item.dosage = row.dosage; item.dosage = row.dosage;
item.isAntibiotic = row.isAntibiotic; item.isAntibiotic = row.isAntibiotic;
item.medicalPurpose = row.medicalPurpose; // item.medicalPurpose = row.medicalPurpose;
item.medicUseQuantity = row.medicUseQuantity; item.medicUseQuantity = row.medicUseQuantity;
item.medicUseUnit = row.medicUseUnit; item.medicUseUnit = row.medicUseUnit;
item.medicUseMode = row.medicUseMode; // item.medicUseMode = row.medicUseMode;
item.medicUsePlan = row.medicUsePlan; // item.medicUsePlan = row.medicUsePlan;
item.dropNumber = row.dropNumber; // item.dropNumber = row.dropNumber;
item.medicUnit = row.medicUnit; item.medicUnit = row.medicUnit;
item.remark = row.remark; item.remark = row.remark;
item.symptom = row.symptom; item.symptom = row.symptom;
...@@ -745,8 +706,7 @@ export default { ...@@ -745,8 +706,7 @@ export default {
item.auxiliaryItems = row.auxiliaryItems; item.auxiliaryItems = row.auxiliaryItems;
item.inspectRemarks = row.inspectRemarks; item.inspectRemarks = row.inspectRemarks;
item.description = row.description; item.description = row.description;
// item.adviceType = row.adviceType;
// item.advice_name = row.advice_name;
item.order_round = row.order_round; item.order_round = row.order_round;
item.min_unit = row.min_unit; item.min_unit = row.min_unit;
item.package_unit = row.package_unit; item.package_unit = row.package_unit;
...@@ -756,6 +716,7 @@ export default { ...@@ -756,6 +716,7 @@ export default {
item.packagingnum = row.packagingnum; item.packagingnum = row.packagingnum;
item.split_num = row.split_num; item.split_num = row.split_num;
item.isSkin = row.isSkin; item.isSkin = row.isSkin;
this.setIput(item);
} }
if (item.children && item.children.length > 0) { if (item.children && item.children.length > 0) {
this.pushData(row, item.children); this.pushData(row, item.children);
...@@ -773,6 +734,22 @@ export default { ...@@ -773,6 +734,22 @@ export default {
} }
}); });
}, },
//
tbChange(row) {
console.log(row);
if (row.children && row.children.length) {
row.children.map((item) => {
item.medicalPurpose = row.medicalPurpose;
item.medicUseMode = row.medicUseMode;
item.medicUsePlan = row.medicUsePlan;
item.dropNumber = row.dropNumber;
item.medicQuantity = row.medicQuantity;
this.setIput(item);
});
}
this.setIput(row);
},
//表格禁用 //表格禁用
selectEnable(row, rowIndex) { selectEnable(row, rowIndex) {
if (row.isForbidden == false) { if (row.isForbidden == false) {
...@@ -820,9 +797,18 @@ export default { ...@@ -820,9 +797,18 @@ export default {
}) })
.catch((error) => {}); .catch((error) => {});
}, },
remotemedicUsePlan(query) {
this.query1 = query;
if (query !== "") {
this.medicUsePlanoptions = this.medicUsePlanoptions.filter((item) => {
return item.describe.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(query.toLowerCase()) > -1;
});
} else {
this.medicUsePlanoptions = this.medicUsePlanoptionsList;
}
},
remoteMethod(query) { remoteMethod(query) {
this.query = query; this.query = query;
console.log(this.query);
if (query !== "") { if (query !== "") {
this.medicUseModeoptions = this.medicUseModeoptions.filter((item) => { this.medicUseModeoptions = this.medicUseModeoptions.filter((item) => {
return item.describe.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(query.toLowerCase()) > -1; return item.describe.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(query.toLowerCase()) > -1;
...@@ -836,6 +822,7 @@ export default { ...@@ -836,6 +822,7 @@ export default {
http.post(`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`, {}) http.post(`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`, {})
.then((data) => { .then((data) => {
this.medicUsePlanoptions = data; this.medicUsePlanoptions = data;
this.medicUsePlanoptionsList = data;
}) })
.catch((error) => {}); .catch((error) => {});
}, },
...@@ -1255,6 +1242,8 @@ export default { ...@@ -1255,6 +1242,8 @@ export default {
Message({ Message({
message: m, message: m,
type: s, type: s,
duration: 0,
showClose: true,
}); });
}, 300); }, 300);
}, },
......
<!--
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-03-02 20:36:22
* @Description:
-->
<template> <template>
<!-- 临床路径外放页面 --> <div>
<div class="outClinicalpathway"> <el-input placeholder="请输入内容" class="input-with-select" style="width: 100px">
<!-- 患者信息 --> <el-input slot="prepend" placeholder="请选择"> </el-input>
<div class="outClinicalpathway_top"> <el-button slot="append" icon="el-icon-search"></el-button>
<div class="outClinicalpathway_top_bg"></div> </el-input>
<div class="outClinicalpathway_top_coent"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<!--患者信息 --> <el-form-item label="活动名称" prop="name">
<div class="outClinicalpathway_top_coent_left"> <el-input v-model="ruleForm.name"></el-input>
<div class="outClinicalpathway_top_coent_left_one"> </el-form-item>
<span><img src="../assets/img/peo.png" alt="" /></span> <el-form-item label="活动区域" prop="region">
<div class="outClinicalpathway_top_coent_left_one_t1"> <el-select v-model="ruleForm.region" placeholder="请选择活动区域">
患者姓名:<span>{{ topdata.patientName }}</span> <el-option label="区域一" value="shanghai"></el-option>
</div> <el-option label="区域二" value="beijing"></el-option>
<div class="outClinicalpathway_top_coent_left_one_t2"> </el-select>
住院号:<span>{{ topdata.regCode }}</span> </el-form-item>
</div> <el-form-item label="活动时间" required>
<div class="outClinicalpathway_top_coent_left_one_t3"> <el-col :span="11">
住院次数:<span>{{ topdata.inHosNum }}</span> <el-form-item prop="date1">
</div> <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.date1" style="width: 100%"></el-date-picker>
<div class="outClinicalpathway_top_coent_left_one_t4"> </el-form-item>
符合临床路径:<span>{{ topdata.clinical_route_name }}</span> </el-col>
</div> <el-col class="line" :span="2">-</el-col>
</div> <el-col :span="11">
</div> <el-form-item prop="date2">
<div class="outClinicalpathway_top_coent_right"> <el-time-picker placeholder="选择时间" v-model="ruleForm.date2" style="width: 100%"></el-time-picker>
<div class="outClinicalpathway_top_coent_right_btn"> </el-form-item>
<el-button icon="el-icon-user" style="background-color: #0283bb; color: #ffff" @click="joinorder()">保存医嘱</el-button> </el-col>
<el-button icon="el-icon-s-tools" style="background-color: #0283bb; color: #ffff" @click="variation()">病情变异</el-button> </el-form-item>
</div> <el-form-item label="即时配送" prop="delivery">
</div> <el-switch v-model="ruleForm.delivery"></el-switch>
</div> </el-form-item>
<div class="outClinicalpathway_top_time"> <el-form-item label="活动性质" prop="type">
<el-timeline style="display: flex; padding: 0 10px"> <el-checkbox-group v-model="ruleForm.type">
<el-timeline-item <el-checkbox label="美食/餐厅线上活动" name="type"></el-checkbox>
:class="timeindex == activity.inhosdays ? 'outClinicalpathway_top_time_timespan' : 'outClinicalpathway_top_time_timespan2'" <el-checkbox label="地推活动" name="type"></el-checkbox>
v-for="(activity, index) in activities" <el-checkbox label="线下主题活动" name="type"></el-checkbox>
:key="index" <el-checkbox label="单纯品牌曝光" name="type"></el-checkbox>
:type="activity.type" </el-checkbox-group>
:color="activity.color" </el-form-item>
:size="activity.size" <el-form-item label="特殊资源" prop="resource">
:hollow="activity.hollow" <el-radio-group v-model="ruleForm.resource">
:timestamp="activity.timestamp" <el-radio label="线上品牌商赞助"></el-radio>
> <el-radio label="线下场地免费"></el-radio>
<el-tooltip class="item" effect="dark" :content="activity.inhosdays" placement="top-start" v-if="activity.inhosdays.length > 7"> </el-radio-group>
<span @click="timeclick(activity)">{{ activity.inhosdays }}</span> </el-form-item>
</el-tooltip> <el-form-item label="活动形式" prop="desc">
<span v-else @click="timeclick(activity)">{{ activity.inhosdays }}</span> <el-autocomplete
</el-timeline-item> v-model="ruleForm.desc"
</el-timeline>
</div>
</div>
<!--病情变异弹框开始 -->
<el-dialog :visible.sync="editdialogFormVisible" width="30%" @close="close">
<el-form ref="fromRef" :model="form" :label-position="labelPosition" label-width="100px">
<el-form-item label="路径天数:">
<!-- <el-input v-model="form.inhosdays" /> -->
<el-select v-model="form.inhosdays" class="m-2" placeholder="请选择" size="mini">
<el-option v-for="item in options" :key="item.inhosdays" :label="item.inhosdays" :value="item.inhosdays" />
</el-select>
</el-form-item>
<el-form-item label="变异原因:">
<el-select v-model="form.reason" class="m-2" placeholder="请选择" size="mini" :title="getTitle(form.reason)">
<el-option v-for="item in reasonoptions" :key="item.id" :label="item.describe" :value="item.describe" :title="item.describe">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="备注:">
<el-input v-model="form.remarks" :autosize="{ minRows: 4, maxRows: 10 }" type="textarea" />
</el-form-item>
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button size="mini" @click="close()">取消</el-button>
<el-button size="mini" type="primary" @click="fromOKbtn()">确定 </el-button>
</span>
</template>
</el-dialog>
<!--病情变异弹框结束 -->
<!-- 表格 -->
<div class="outClinicalpathway_table">
<!-- 表格 -->
<div class="outClinicalpathway_table_right">
<div class="outClinicalpathway_table_right_radio">
<el-radio-group :value="radio" @input="radiochange">
<el-radio :label="1">长期医嘱</el-radio>
<el-radio :label="2">临时医嘱</el-radio>
</el-radio-group>
</div>
<el-table
ref="multipleTable"
row-key="id"
:data="tableData"
height="100%"
style="width: 100%" style="width: 100%"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }" @select="handleSelect"
:select-on-indeterminate="true" :fetch-suggestions="querySearch"
@selection-change="SelectionChange" placeholder="请输入人员姓名"
@select-all="selectAll"
@select="select"
default-expand-all
size="mini"
:row-class-name="rowClass"
> >
<el-table-column type="selection" :selectable="selectEnable" width="50" /> </el-autocomplete>
<el-table-column show-overflow-tooltip property="advice_name" label="路径名称" width="130" /> </el-form-item>
<el-table-column show-overflow-tooltip property="tickTime" label="当前时间" width="145"> <el-form-item>
<template #default="scope"> <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>
<span v-if="scope.row.ischeck == 1 && scope.row.orderType">{{ scope.row.tickTime }}</span> <el-button @click="resetForm('ruleForm')">重置</el-button>
</template> </el-form-item>
</el-table-column> </el-form>
<el-table-column show-overflow-tooltip property="isSkin" label="是否皮试" width="110">
<template #default="scope">
<template v-if="scope.row.orderType == '药疗' && scope.row.isnew">
<template v-if="scope.row.ischeck == 1 && scope.row.orderType && scope.row.isSkinCheck == 1">
<el-select size="mini" v-model="scope.row.isSkin">
<el-option v-for="item in isSkinoptions" :key="item.label" :label="item.label" :value="item.value"> </el-option>
</el-select>
</template>
<!-- <div v-else>{{ scope.row.isSkin == 1 ? "是" : "否" }}</div> -->
</template>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="orderType" label="类型" width="50">
<template #default="scope">
<div v-if="scope.row.orderType == '药疗'">
<i
@click.prevent="addRow(scope.row)"
v-if="scope.row.ischeck == 1 && !scope.row.isnew && scope.row.orderType && scope.row.isAdd"
class="el-icon-circle-plus-outline"
style="font-size: 14px; color: #0283bb; margin-right: 3px; cursor: pointer"
></i>
<i
@click.prevent="deleteRow(scope.row, tableData)"
v-if="scope.row.ischeck == 1 && scope.row.isnew && scope.row.orderType"
class="el-icon-remove-outline"
style="font-size: 14px; color: #ff0000; margin-right: 3px; cursor: pointer"
></i
>{{ scope.row.orderType }}
</div>
<div v-else>{{ scope.row.orderType }}</div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="project_name" label="医院项目名称" width="200">
<template #default="scope">
<template v-if="scope.row.ischeck == 1 && scope.row.isnew && scope.row.orderType">
<el-popover placement="bottom" width="1000" height="600" trigger="focus" v-model="scope.row.isPop">
<el-table :data="gridData" @row-dblclick="rowdblclick" max-height="400" size="mini" style="width: 100%" row-key="id">
<el-table-column width="80" property="orderType" label="类型"></el-table-column>
<el-table-column show-overflow-tooltip width="200" property="project_name" label="医嘱名称"></el-table-column>
<el-table-column show-overflow-tooltip width="100" property="specifications" label="规格说明"></el-table-column>
<el-table-column show-overflow-tooltip width="100" property="dosage" label="药品剂型"></el-table-column>
<el-table-column show-overflow-tooltip width="100" property="isAntibiotic" label="抗生素"></el-table-column>
<!-- <el-table-column show-overflow-tooltip width="135" property="medicalPurpose" label="用药目的"></el-table-column> -->
<el-table-column show-overflow-tooltip width="80" property="medicUseQuantity" label="用量"></el-table-column>
<el-table-column show-overflow-tooltip width="80" property="medicUseUnit" label="单位"></el-table-column>
<el-table-column show-overflow-tooltip width="110" property="inventoryNum" label="可用数量"></el-table-column>
<!-- <el-table-column show-overflow-tooltip width="110" property="medicUsePlan" label="频率"></el-table-column>
<el-table-column show-overflow-tooltip width="60" property="dropNumber" label="滴数"></el-table-column>
<el-table-column show-overflow-tooltip width="80" property="medicQuantity" label="用药总量"></el-table-column>
<el-table-column show-overflow-tooltip width="60" property="medicUnit" label="单位"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="remark" label="嘱托"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="description" label="诊断描述"></el-table-column>
<el-table-column show-overflow-tooltip width="150" property="symptom" label="症状及体征"></el-table-column>
<el-table-column show-overflow-tooltip width="85" property="emergency" label="急诊"></el-table-column> -->
</el-table>
<el-input
slot="reference"
placeholder="请输入"
v-model="scope.row.project_name"
@focus="onfocus(scope.row, $event)"
@input="onInput(scope.row, $event)"
></el-input>
</el-popover>
</template>
<span v-else>{{ scope.row.project_name }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="specifications" label="规格说明" width="80" />
<el-table-column show-overflow-tooltip property="dosage" label="药品剂型" width="70" />
<el-table-column show-overflow-tooltip property="isAntibiotic" label="抗生素" width="110">
<template #default="scope">
<el-select v-if="scope.row.ischeck == 1 && scope.row.orderType" size="mini" v-model="scope.row.isAntibiotic">
<el-option v-for="item in chargeTypeoptions" :key="item.label" :label="item.label" :value="item.label"> </el-option>
</el-select>
<span v-else>{{ scope.row.isAntibiotic }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="medicalPurpose" label="用药目的" width="135">
<template #default="scope">
<template v-if="scope.row.ischeck == 1 && scope.row.orderType">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicalPurpose" class="demo-ruleForm">
<el-form-item
prop="medicalPurpose"
:rules="[
{
required:
scope.row.isSkin == 1 && scope.row.orderType == '药疗'
? true
: scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗'
? true
: false,
message: '请选择',
},
]"
>
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicalPurpose">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
<!-- <template v-if="scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicalPurpose" class="demo-ruleForm">
<el-form-item
prop="medicalPurpose"
:rules="[
{ required: scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗' ? true : false, message: '请选择' },
]"
>
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicalPurpose">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicalPurpose">
<el-option v-for="item in medicalPurposeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template>
<span v-else>{{ scope.row.medicalPurpose }}</span>
</template>
</el-table-column>
<el-table-column prop="medicUseQuantity" label="用量" width="85">
<template #default="scope">
<template v-if="scope.row.ischeck == 1 && scope.row.orderType">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseQuantity" class="demo-ruleForm">
<el-form-item
prop="medicUseQuantity"
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请填写' }]"
>
<template #label> <span></span></template>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input>
</el-form-item>
</el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseQuantity" class="demo-ruleForm">
<el-form-item
prop="medicUseQuantity"
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin == '是' ? true : false, message: '请填写' }]"
>
<template #label> <span></span></template>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-input v-model="scope.row.medicUseQuantity" @input="setIput(scope.row, $event)" size="mini"></el-input>
</template> -->
</template>
<span v-else>{{ scope.row.medicUseQuantity }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="medicUseUnit" label="单位" width="50" />
<el-table-column show-overflow-tooltip property="medicUseMode" label="途径" width="120">
<template #default="scope">
<template v-if="scope.row.ischeck == 1 && scope.row.orderType">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseMode" class="demo-ruleForm">
<el-form-item
prop="medicUseMode"
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]"
>
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod">
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUseMode" class="demo-ruleForm">
<el-form-item prop="medicUseMode" :rules="[{ required: true, message: '请选择' }]">
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod">
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicUseMode" filterable remote :filter-method="remoteMethod">
<el-option v-for="item in medicUseModeoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template>
<span v-else>{{ scope.row.medicUseMode }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="medicUsePlan" label="频率" width="130">
<template #default="scope">
<template v-if="scope.row.ischeck == 1 && scope.row.orderType">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUsePlan" class="demo-ruleForm">
<el-form-item
prop="medicUsePlan"
:rules="[{ required: scope.row.orderType == '药疗' && scope.row.isSkin != 1 ? true : false, message: '请选择' }]"
>
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)">
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
<!-- <template v-if="scope.row.orderType == '药疗'">
<el-form :model="scope.row" label-width="15px" label-position="left" ref="medicUsePlan" class="demo-ruleForm">
<el-form-item prop="medicUsePlan" :rules="[{ required: true, message: '请选择' }]">
<template #label> <span></span></template>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)">
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template v-else>
<el-select size="mini" v-model="scope.row.medicUsePlan" @change="setIput(scope.row, $event)">
<el-option v-for="item in medicUsePlanoptions" :key="item.id" :label="item.describe" :value="item.describe">
</el-option>
</el-select>
</template> -->
</template>
<span v-else>{{ scope.row.medicUsePlan }}</span>
</template>
</el-table-column>
<el-table-column prop="dropNumber" label="滴数" width="85">
<template #default="scope">
<el-input
v-if="scope.row.ischeck == 1 && scope.row.orderType"
v-model="scope.row.dropNumber"
size="mini"
@input="setIput(scope.row, $event)"
></el-input>
<span v-else>{{ scope.row.dropNumber }}</span>
</template>
</el-table-column>
<el-table-column prop="medicQuantity" label="用药总量" width="85">
<template #default="scope">
<el-input v-if="scope.row.ischeck == 1 && scope.row.orderType" v-model="scope.row.medicQuantity" size="mini"></el-input>
<span v-else>{{ scope.row.medicQuantity }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="medicUnit" label="单位" width="60" />
<el-table-column show-overflow-tooltip property="remark" label="嘱托" width="150'">
<template #default="scope">
<el-input
v-if="scope.row.ischeck == 1 && scope.row.orderType"
v-model="scope.row.remark"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
<span v-else>{{ scope.row.remark }}</span>
</template>
</el-table-column>
<el-table-column prop="description" label="诊断描述" width="150">
<template #default="scope">
<el-form
:model="scope.row"
label-width="15px"
label-position="left"
ref="numberValidateForm"
class="demo-ruleForm"
v-if="scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit && scope.row.orderType"
>
<el-form-item prop="description" :rules="[{ required: true, message: '请输入内容' }]">
<template #label> <span></span></template>
<el-input
v-model="scope.row.description"
autocomplete="off"
placeholder="请输入内容"
type="textarea"
:autosize="{ minRows: 2 }"
></el-input>
</el-form-item>
</el-form>
</template>
</el-table-column>
<el-table-column prop="symptom" label="症状及体征" width="150">
<template #default="scope">
<el-form
:model="scope.row"
label-width="15px"
label-position="left"
ref="numberValidateForm1"
class="demo-ruleForm"
v-if="scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit && scope.row.orderType"
>
<el-form-item prop="symptom" :rules="[{ required: true, message: '请输入内容' }]">
<template #label> <span></span></template>
<el-input
v-model="scope.row.symptom"
autocomplete="off"
placeholder="请输入内容"
type="textarea"
:autosize="{ minRows: 2 }"
></el-input>
</el-form-item>
</el-form>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip property="emergency" label="急诊" width="85">
<template #default="scope">
<el-select v-if="scope.row.ischeck == 1 && scope.row.isedit && scope.row.orderType" size="mini" v-model="scope.row.emergency">
<el-option v-for="item in chargeTypeoptions" :key="item.label" :label="item.label" :value="item.value"> </el-option>
</el-select>
<!-- <span v-else>{{ isObj[scope.row.emergency] }}</span> -->
</template>
</el-table-column>
<el-table-column label="操作" width="80">
<template #default="scope">
<el-button
v-if="scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit && scope.row.orderType"
size="mini"
type="primary"
@click="goSeeScore(scope.row, scope.$index, scope)"
>更多</el-button
>
</template>
</el-table-column>
</el-table>
</div>
</div>
<!-- 更多弹框开始 -->
<el-dialog :visible.sync="goSeeScoredialogFormVisible" width="30%" @close="goSeecolse">
<el-form ref="goSeefromRef" :model="goSeeform" :label-position="labelPosition" label-width="100px">
<el-form-item label="主诉:">
<el-input v-model="goSeeform.chiefComplaint" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="检查目的:">
<el-input v-model="goSeeform.inspectionPurpose" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="既往史:">
<el-input v-model="goSeeform.pastHistory" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="其他辅助项目:">
<el-input v-model="goSeeform.auxiliaryItems" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="备注:">
<el-input v-model="goSeeform.inspectRemarks" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button size="mini" @click="goSeecolse">取消</el-button>
<el-button size="mini" @click="goSeeok">确定 </el-button>
</span>
</template>
</el-dialog>
<!-- 更多弹框结束 -->
</div> </div>
</template> </template>
<script> <script>
import http from "../utils/http";
import { Message } from "element-ui";
import _ from "lodash";
import { transformTimestampnow } from "../utils/formatTime";
export default { export default {
name: "outClinicalpathway",
data() { data() {
return { return {
//患者信息 ruleForm: {
topdata: { name: "",
patientName: "", //患者姓名 region: "",
regCode: "", // 住院号 date1: "",
inHosNum: "", // 住院次数 date2: "",
clinical_route_name: "", // 符合临床路径 delivery: false,
}, type: [],
resource: "",
multipleSelection: [], //被选择的数据 desc: "",
multipleSelection1: [], //被选择的数据
selectArr: [],
tableData: [], //表格数据
yztype: {
1: "长期医嘱",
2: "临时医嘱",
},
isObj: {
0: "否",
1: "是",
}, },
//被点击的index rules: {
timeindex: null, name: [
case_routeid: null, //点击左侧时间线的天数id { required: true, message: "请输入活动名称", trigger: "blur" },
inhosdays: null, //点击左侧时间线的天数 { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" },
//时间线 ],
activities: [], region: [{ required: true, message: "请选择活动区域", trigger: "change" }],
labelPosition: "right", date1: [{ type: "date", required: true, message: "请选择日期", trigger: "change" }],
editdialogFormVisible: false, //弹框是否显示 date2: [{ type: "date", required: true, message: "请选择时间", trigger: "change" }],
//表单 type: [{ type: "array", required: true, message: "请至少选择一个活动性质", trigger: "change" }],
form: { resource: [{ required: true, message: "请选择活动资源", trigger: "change" }],
inhosdays: "", desc: [{ required: true, message: "请填写活动形式", trigger: "blur" }],
reason: "", //变异原因
remarks: "", //备注
}, },
//路径天数下拉数据 restaurants: [],
options: [],
reasonoptions: [], //变异原因
crid: null,
chickid: [], //选中的id
isSkinoptions: [
{
label: "是",
value: 1,
},
{
label: "否",
value: 2,
},
],
chargeTypeoptions: [
{
label: "是",
value: 1,
},
{
label: "否",
value: 0,
},
],
tempRow: {}, //储存正在编辑的行
tempRowChildren: [],
medicUseModeoptions: [], //途径
medicUseModeoptionsLise: [],
medicUsePlanoptions: [], //频率
medicalPurposeoptions: [], //用药目的
radio: 1,
newtable1: [],
newtable2: [],
objtable: { route1: [], route2: [] },
goSeeScoredialogFormVisible: false, //更多弹框
goSeeform: {},
oldRowObj: {},
goSeeIndex: "",
goSeeIndexPid: "",
distype: 1,
cout: 0,
isPop: false,
gridData: [],
query: "",
}; };
}, },
mounted() { mounted() {
this.getIsRoute(); this.restaurants = this.loadAll();
this.gettopdata();
this.getlefttime();
this.gemedicUseModeoptions();
this.gemedicUsePlanoptions();
this.getmedicalPurposeoptions();
},
watch: {
query() {
console.log(this.query);
if (this.query !== "") {
this.medicUseModeoptions = this.medicUseModeoptionsLise.filter((item) => {
return (
item.describe.toLowerCase().indexOf(this.query.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(this.query.toLowerCase()) > -1
);
});
} else {
this.medicUseModeoptions = this.medicUseModeoptionsLise;
}
},
}, },
methods: { methods: {
// 总量计算 querySearch(queryString, cb) {
setIput(row, e) { var restaurants = this.restaurants;
if (!isNaN(parseFloat(row.medicUseQuantity)) && isFinite(row.medicUseQuantity) && row.medicUsePlan) { var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
let num = this.medicUsePlanoptions.find((item) => item.describe == row.medicUsePlan).num; // 调用 callback 返回建议列表的数据
// 使用量; cb(results);
if (Number(row.medicUseQuantity) > 0) { },
//医嘱取整 //单次取整 createFilter(queryString) {
if (row.order_round !== "单次取整") { return (restaurant) => {
//住院零售单位 //最小单位 return restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
if (row.retail_unit == row.min_unit) {
//使用量 //频率数量 //用药天数 //单位剂量
row.medicQuantity = Math.ceil((Number(row.medicUseQuantity) * num * row.useDay) / row.unit_dose);
console.log(num + "1");
//住院零售单位 //包装单位
} else if (row.retail_unit == row.package_unit) {
//使用量 //频率数量 //用药天数 //单位剂量 //包装数量
row.medicQuantity = Math.ceil((Number(row.medicUseQuantity) * num * row.useDay) / row.unit_dose / row.packagingnum);
console.log(num + "2");
} else {
//使用量 //频率数量 //用药天数 //单位剂量 //包装数量 拆分系数
row.medicQuantity = Math.ceil(
(Number(row.medicUseQuantity) * num * row.useDay) / row.unit_dose / (row.packagingnum / row.split_num)
);
console.log(num + "3");
}
} else {
if (row.order_round === "单次取整") {
row.medicQuantity = Math.round(Math.ceil(Number(row.medicUseQuantity) / row.unit_dose) * num * row.useDay);
console.log(num + "4");
} else if (retail_unit === package_unit) {
row.medicQuantity = Math.round(Math.ceil(Number(row.medicUseQuantity) / row.unit_dose / row.packagingnum) * num * row.useDay);
console.log(num + "5");
} else {
row.medicQuantity = Math.round(
Math.ceil(Number(row.medicUseQuantity) / row.unit_dose / (row.packagingnum / row.split_num)) * num * row.useDay
);
console.log(num + "6");
}
}
}
}
console.log(row);
},
//药疗新增
addRow(r) {
const { cout } = this;
const newData = {
emergency: 0,
adviceType: r.adviceType,
advice_name2: r.advice_name2,
id: this.$uuid(),
isClass: false,
parentid: r.id,
inhosdays: "",
isForbidden: true,
tickTime: transformTimestampnow(),
project_code: r.project_code,
project_name: null,
ischeck: 1,
specifications: null,
stockID: null,
dosage: null,
isAntibiotic: "",
medicUseQuantity: 0,
medicUseUnit: null,
medicUseMode: null,
medicUsePlan: null,
medicQuantity: 1,
medicUnit: null,
remark: "",
inventoryNum: null,
orderType: r.orderType,
medicalPurpose: null,
price: null,
type: r.type,
sort: cout + 1,
isedit: false,
isnew: true,
chiefComplaint: null,
inspectionPurpose: null,
symptom: null,
pastHistory: null,
auxiliaryItems: null,
inspectRemarks: null,
description: null,
isPop: false,
order_round: "",
min_unit: "",
package_unit: "",
retail_unit: "",
unit_dose: 1,
useDay: 1,
packagingnum: 1,
split_num: 1,
isSkin: undefined,
isSkinCheck: r.isSkinCheck,
}; };
this.toggleSelection(newData, true);
this.cout = cout + 1;
r.children.push(newData);
},
onfocus(row, value) {
this.tempRow = row;
}, },
onInput(row, value) { loadAll() {
value && this.etProjectByName(value); return [
}, { value: "三全鲜食(北新泾店)", address: "长宁区新渔路144号" },
etProjectByName(query) { { value: "Hot honey 首尔炸鸡(仙霞路)", address: "上海市长宁区淞虹路661号" },
http.post(`/ClinicalRoute/ClinicalRoute/GetProjectByName?searchQuery=${query}`, {}) { value: "新旺角茶餐厅", address: "上海市普陀区真北路988号创邑金沙谷6号楼113" },
.then((data) => { { value: "泷千家(天山西路店)", address: "天山西路438号" },
if (data && data.length) { { value: "胖仙女纸杯蛋糕(上海凌空店)", address: "上海市长宁区金钟路968号1幢18号楼一层商铺18-101" },
data.map((el, i) => { { value: "贡茶", address: "上海市长宁区金钟路633号" },
el.id = i++; { value: "豪大大香鸡排超级奶爸", address: "上海市嘉定区曹安公路曹安路1685号" },
}); { value: "茶芝兰(奶茶,手抓饼)", address: "上海市普陀区同普路1435号" },
} { value: "十二泷町", address: "上海市北翟路1444弄81号B幢-107" },
this.gridData = data; { value: "星移浓缩咖啡", address: "上海市嘉定区新郁路817号" },
}) { value: "阿姨奶茶/豪大大", address: "嘉定区曹安路1611号" },
.catch((error) => {}); { value: "新麦甜四季甜品炸鸡", address: "嘉定区曹安公路2383弄55号" },
}, { value: "Monica摩托主题咖啡店", address: "嘉定区江桥镇曹安公路2409号1F,2383弄62号1F" },
{ value: "浮生若茶(凌空soho店)", address: "上海长宁区金钟路968号9号楼地下一层" },
rowdblclick(row, column, event) { { value: "NONO JUICE 鲜榨果汁", address: "上海市长宁区天山西路119号" },
this.pushData(row, this.tableData); { value: "CoCo都可(北新泾店)", address: "上海市长宁区仙霞西路" },
console.log(row); { value: "快乐柠檬(神州智慧店)", address: "上海市长宁区天山西路567号1层R117号店铺" },
this.tempRow.isPop = false; { value: "Merci Paul cafe", address: "上海市普陀区光复西路丹巴路28弄6号楼819" },
}, { value: "猫山王(西郊百联店)", address: "上海市长宁区仙霞西路88号第一层G05-F01-1-306" },
pushData(row, arr) { { value: "枪会山", address: "上海市普陀区棕榈路" },
arr.map((item) => { { value: "纵食", address: "元丰天山花园(东门) 双流路267号" },
if (item.id == this.tempRow.id) { { value: "钱记", address: "上海市长宁区天山西路" },
item.project_name = row.project_name; { value: "壹杯加", address: "上海市长宁区通协路" },
item.specifications = row.specifications; { value: "唦哇嘀咖", address: "上海市长宁区新泾镇金钟路999号2幢(B幢)第01层第1-02A单元" },
item.dosage = row.dosage; { value: "爱茜茜里(西郊百联)", address: "长宁区仙霞西路88号1305室" },
item.isAntibiotic = row.isAntibiotic; { value: "爱茜茜里(近铁广场)", address: "上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺" },
item.medicalPurpose = row.medicalPurpose; { value: "鲜果榨汁(金沙江路和美广店)", address: "普陀区金沙江路2239号金沙和美广场B1-10-6" },
item.medicUseQuantity = row.medicUseQuantity; { value: "开心丽果(缤谷店)", address: "上海市长宁区威宁路天山路341号" },
item.medicUseUnit = row.medicUseUnit; { value: "超级鸡车(丰庄路店)", address: "上海市嘉定区丰庄路240号" },
item.medicUseMode = row.medicUseMode; { value: "妙生活果园(北新泾店)", address: "长宁区新渔路144号" },
item.medicUsePlan = row.medicUsePlan; { value: "香宜度麻辣香锅", address: "长宁区淞虹路148号" },
item.dropNumber = row.dropNumber; { value: "凡仔汉堡(老真北路店)", address: "上海市普陀区老真北路160号" },
item.medicUnit = row.medicUnit; { value: "港式小铺", address: "上海市长宁区金钟路968号15楼15-105室" },
item.remark = row.remark; { value: "蜀香源麻辣香锅(剑河路店)", address: "剑河路443-1" },
item.symptom = row.symptom; { value: "北京饺子馆", address: "长宁区北新泾街道天山西路490-1号" },
item.emergency = row.emergency; { value: "饭典*新简餐(凌空SOHO店)", address: "上海市长宁区金钟路968号9号楼地下一层9-83室" },
item.inhosdays = row.inhosdays; { value: "焦耳·川式快餐(金钟路店)", address: "上海市金钟路633号地下一层甲部" },
item.project_code = row.project_code; { value: "动力鸡车", address: "长宁区仙霞西路299弄3号101B" },
item.stockID = row.stockID; { value: "浏阳蒸菜", address: "天山西路430号" },
item.medicQuantity = row.medicQuantity; { value: "四海游龙(天山西路店)", address: "上海市长宁区天山西路" },
item.inventoryNum = row.inventoryNum; { value: "樱花食堂(凌空店)", address: "上海市长宁区金钟路968号15楼15-105室" },
item.price = row.price; { value: "壹分米客家传统调制米粉(天山店)", address: "天山西路428号" },
item.chiefComplaint = row.chiefComplaint; { value: "福荣祥烧腊(平溪路店)", address: "上海市长宁区协和路福泉路255弄57-73号" },
item.inspectionPurpose = row.inspectionPurpose; { value: "速记黄焖鸡米饭", address: "上海市长宁区北新泾街道金钟路180号1层01号摊位" },
item.pastHistory = row.pastHistory; { value: "红辣椒麻辣烫", address: "上海市长宁区天山西路492号" },
item.auxiliaryItems = row.auxiliaryItems; { value: "(小杨生煎)西郊百联餐厅", address: "长宁区仙霞西路88号百联2楼" },
item.inspectRemarks = row.inspectRemarks; { value: "阳阳麻辣烫", address: "天山西路389号" },
item.description = row.description; { value: "南拳妈妈龙虾盖浇饭", address: "普陀区金沙江路1699号鑫乐惠美食广场A13" },
// item.adviceType = row.adviceType; ];
// item.advice_name = row.advice_name; },
item.order_round = row.order_round; handleSelect(item) {
item.min_unit = row.min_unit; console.log(item);
item.package_unit = row.package_unit; this.ruleForm.desc = item.value;
item.retail_unit = row.retail_unit; },
item.unit_dose = row.unit_dose; handleIconClick(ev) {
item.useDay = row.useDay; console.log(ev);
item.packagingnum = row.packagingnum; },
item.split_num = row.split_num; submitForm(formName) {
item.isSkin = row.isSkin; this.$refs[formName].validate((valid) => {
} if (valid) {
if (item.children && item.children.length > 0) { alert("submit!");
this.pushData(row, item.children);
}
});
},
deleteRow(row, arr) {
arr.map((item, i) => {
if (item.id == row.id) {
arr.splice(i, 1);
this.toggleSelection(item, false);
}
if (item.children && item.children.length > 0) {
this.deleteRow(row, item.children);
}
});
},
//表格禁用
selectEnable(row, rowIndex) {
if (row.isForbidden == false) {
return false; // 不禁用
} else {
return true; //禁用
}
},
//表格当前行样式
rowClass({ row, rowIndex }) {
if (row.isClass) {
return "rowStyleclass";
} else {
return "";
}
},
//更多
goSeeScore(row) {
this.distype = row.type;
this.oldRowObj = { ...row };
this.goSeeform = row;
this.goSeeScoredialogFormVisible = true;
},
//更多-取消
goSeecolse() {
this.goSeeform = {};
this.goSeeScoredialogFormVisible = false;
},
//更多--确定
goSeeok() {
if (this.radio == 1) {
this.multipleSelection[0] = this.goSeeform;
} else {
this.multipleSelection1[0] = this.goSeeform;
}
this.goSeeScoredialogFormVisible = false;
},
//获取途径,频率的下拉数据
gemedicUseModeoptions() {
http.post(`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=1`, {})
.then((data) => {
this.medicUseModeoptions = data;
this.medicUseModeoptionsLise = data;
})
.catch((error) => {});
},
remoteMethod(query) {
this.query = query;
console.log(this.query);
if (query !== "") {
this.medicUseModeoptions = this.medicUseModeoptions.filter((item) => {
return item.describe.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.pinyin.toLowerCase().indexOf(query.toLowerCase()) > -1;
});
} else {
this.medicUseModeoptions = this.medicUseModeoptionsLise;
}
},
//获取频率,频率的下拉数据
gemedicUsePlanoptions() {
http.post(`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`, {})
.then((data) => {
this.medicUsePlanoptions = data;
})
.catch((error) => {});
},
//获取用要目的下拉数据
getmedicalPurposeoptions() {
http.post(`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=3`, {})
.then((data) => {
this.medicalPurposeoptions = data;
})
.catch((error) => {});
},
//获取患者信息
gettopdata() {
http.post(`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=${this.$route.query.pid}`, {})
.then((data) => {
this.topdata = data;
this.crid = data.crid;
this.getreasonoptions();
})
.catch((error) => {});
},
setChildren(children, type) {
// 编辑多个子层级
children.map((j) => {
j.tickTime = transformTimestampnow();
this.toggleSelection(j, type);
if (j.children && j.children.length) {
this.setChildren(j.children, type);
}
});
},
// 选中父节点时,子节点一起选中取消
select(selection, row) {
row.tickTime = transformTimestampnow();
// 选中
if (
selection.some((el) => {
return row.id === el.id;
})
) {
row.ischeck = 1;
if (row.children && row.children.length) {
row.children
.filter((item) => item.isForbidden)
.map((j) => {
if (j.children && j.children.length) {
j.children
.filter((r) => r.isForbidden)
.map((e) => {
e.tickTime = transformTimestampnow();
// e.edit = false;
this.toggleSelection(e, true);
});
}
j.tickTime = transformTimestampnow();
// j.edit = false;
this.toggleSelection(j, true);
});
console.log(1);
} else {
selection.map((v) => {
this.toggleSelection(v, true);
});
console.log(2);
}
//取消
} else {
this.toggleSelection(row, false);
if (row.children && row.children.length) {
console.log(3, row);
row.children.map((p) => {
if (p.children && p.children.length) {
p.children.map((i) => {
i.ischeck = 2;
this.toggleSelection(i, false);
});
}
p.ischeck = 2;
this.toggleSelection(p, false);
});
} else { } else {
console.log(4); console.log("error submit!!");
row.ischeck = 2; return false;
this.toggleSelection(row, false);
//取消的行数据
} }
}
},
// 控制选框是否被选中
toggleSelection(row, select) {
if (row) {
this.$nextTick(() => {
this.$refs.multipleTable && this.$refs.multipleTable.toggleRowSelection(row, select);
});
if (select == true) {
row.ischeck = 1;
} else {
row.ischeck = 2;
}
}
},
// 选择全部
selectAll(selection) {
// tabledata第一层只要有在selection里面就是全选
const isSelect = selection.some((el) => {
const tableDataIds = this.tableData.map((j) => j.id);
return tableDataIds.includes(el.id);
});
// tableDate第一层只要有不在selection里面就是全不选
const isCancel = !this.tableData.every((el) => {
const selectIds = selection.map((j) => j.id);
return selectIds.includes(el.id);
}); });
if (isSelect) {
selection.map((el) => {
if (el.children) {
el.children
.filter((item) => item.isForbidden)
.map((j) => {
if (j.children) {
j.children
.filter((r) => r.isForbidden)
.map((e) => {
this.toggleSelection(e, true);
});
}
this.toggleSelection(j, true);
});
}
});
}
if (isCancel) {
this.setfalse(this.tableData);
// this.tableData.map((el) => {
// if (el.children) {
// el.children.map((j) => {
// this.toggleSelection(j, false);
// });
// }
// });
}
},
// 编辑多个子层级
setfalse(arr) {
arr.map((item) => {
this.toggleSelection(item, false);
if (item.children && item.children.length) {
this.setfalse(item.children);
}
});
},
//当选择项发生变化时会触发该事件
SelectionChange(val) {
if (this.radio == 1) {
this.multipleSelection = val.sort((a, b) => a.sort - b.sort);
// this.multipleSelection = val.filter((item) => !item.children).sort((a, b) => a.sort - b.sort);
} else {
this.multipleSelection1 = val.sort((a, b) => a.sort - b.sort);
// this.multipleSelection1 = val.filter((item) => !item.children).sort((a, b) => a.sort - b.sort);
}
if (this.multipleSelection.length) {
this.multipleSelection
.filter((item) => item.adviceType)
.filter((item) => item.type != 1)
.map((item, index) => {
index == 0 ? (item.isedit = true) : (item.isedit = false);
});
}
if (this.multipleSelection1.length) {
this.multipleSelection1
.filter((item) => item.adviceType)
.filter((item) => item.type != 1)
.map((item, index) => {
index == 0 ? (item.isedit = true) : (item.isedit = false);
});
}
},
//获取左侧时间线数据
getlefttime() {
http.post(`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesLeft?pid=${this.$route.query.pid}`, {})
.then((data) => {
this.activities = data;
this.options = data;
if (this.activities.filter((item) => item.flag).length == this.activities.length) {
this.timeindex = this.activities[this.activities.length - 1].inhosdays;
this.timeclick(this.activities[this.activities.length - 1]);
}
if (this.activities.filter((item) => !item.flag).length == this.activities.length) {
this.timeindex = this.activities[0].inhosdays;
this.timeclick(this.activities[0]);
} else {
this.timeindex = this.activities.filter((item) => !item.flag)[0].inhosdays;
this.timeclick(this.activities.filter((item) => !item.flag)[0]);
}
})
.catch((error) => {
console.log(error);
});
},
//获取标识
getIsRoute() {
http.post(`/ClinicalRoute/ClinicalRoute/IsRoute?pid=${this.$route.query.pid}`, {})
.then((data) => {
console.log(data);
if (data) {
this.$router.push({
path: "Entrypath",
query: {
pid: this.$route.query.pid,
},
});
}
})
.catch((error) => {});
},
getTableData() {
http.post(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=${this.$route.query.pid}&case_routeid=${this.case_routeid}&searchQuery=${this.inhosdays}`,
{}
)
.then((data) => {
data.route1.forEach((element) => {
if (element.children) {
element.children.map((el, i) => {
el.sort = i++;
el.isedit = false;
});
}
});
data.route2.forEach((element) => {
if (element.children) {
element.children.map((el, i) => {
el.sort = i++;
el.isedit = false;
});
}
});
this.newtable1 = data.route1;
this.newtable2 = data.route2;
this.tableData = this.radio == 1 ? data.route1 : data.route2;
})
.catch((error) => {
console.log(error);
});
},
//单选
radiochange(e) {
if (this.$refs.numberValidateForm || this.$refs.numberValidateForm1) {
this.$refs.numberValidateForm.validate((valid) => {
if (valid) {
this.$refs.numberValidateForm1.validate((valid) => {
if (valid) {
this.radio = e;
this.tableData = this.radio == 1 ? this.newtable1 : this.newtable2;
if (this.radio == 1) {
this.multipleSelection.map((j) => {
this.toggleSelection(j, true);
});
} else {
this.multipleSelection1.map((p) => {
this.toggleSelection(p, true);
});
}
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else if (this.$refs.medicUseQuantity || this.$refs.medicUseMode || this.$refs.medicUsePlan) {
this.$refs.medicUseQuantity.validate((valid) => {
if (valid) {
this.$refs.medicUseMode.validate((valid) => {
if (valid) {
this.$refs.medicUsePlan.validate((valid) => {
if (valid) {
if (this.$refs.medicalPurpose) {
this.$refs.medicalPurpose.validate((valid) => {
if (valid) {
this.radio = e;
this.tableData = this.radio == 1 ? this.newtable1 : this.newtable2;
if (this.radio == 1) {
this.multipleSelection.map((j) => {
this.toggleSelection(j, true);
});
} else {
this.multipleSelection1.map((p) => {
this.toggleSelection(p, true);
});
}
} else {
console.log("error submit!!");
return false;
}
});
} else {
this.radio = e;
this.tableData = this.radio == 1 ? this.newtable1 : this.newtable2;
if (this.radio == 1) {
this.multipleSelection.map((j) => {
this.toggleSelection(j, true);
});
} else {
this.multipleSelection1.map((p) => {
this.toggleSelection(p, true);
});
}
}
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else {
this.radio = e;
this.tableData = this.radio == 1 ? this.newtable1 : this.newtable2;
if (this.radio == 1) {
this.multipleSelection.map((j) => {
this.toggleSelection(j, true);
});
} else {
this.multipleSelection1.map((p) => {
this.toggleSelection(p, true);
});
}
}
},
//点击左侧时间线 获取右侧表格数据
timeclick(val) {
this.timeindex = val.inhosdays;
this.case_routeid = val.case_routeid;
this.inhosdays = val.inhosdays;
this.getTableData();
},
//保存医嘱
joinorder() {
if (this.multipleSelection.length || this.multipleSelection1.length) {
if (this.$refs.numberValidateForm || this.$refs.numberValidateForm1) {
this.$refs.numberValidateForm.validate((valid) => {
if (valid) {
this.$refs.numberValidateForm1.validate((valid) => {
if (valid) {
this.saveSetPatientRoutes();
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else if (this.$refs.medicUseQuantity || this.$refs.medicUseMode || this.$refs.medicUsePlan) {
this.$refs.medicUseQuantity.validate((valid) => {
if (valid) {
this.$refs.medicUseMode.validate((valid) => {
if (valid) {
this.$refs.medicUsePlan.validate((valid) => {
if (valid) {
if (this.$refs.medicalPurpose) {
this.$refs.medicalPurpose.validate((valid) => {
if (valid) {
this.saveSetPatientRoutes();
} else {
console.log("error submit!!");
return false;
}
});
} else {
this.saveSetPatientRoutes();
}
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else {
console.log("error submit!!");
return false;
}
});
} else {
this.saveSetPatientRoutes();
}
}
},
msg(s, m) {
setTimeout(() => {
Message({
message: m,
type: s,
});
}, 300);
},
saveSetPatientRoutes() {
this.objtable.route1 = this.multipleSelection.filter((item) => item.adviceType);
this.objtable.route2 = this.multipleSelection1.filter((item) => item.adviceType);
http.post(`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=${this.$route.query.pid}`, this.objtable)
.then(async (data) => {
data.map((item) => {
if (item.code == "0") {
this.msg("success", item.msg);
} else {
this.msg("error", item.msg);
}
});
this.getlefttime();
})
.catch((error) => {});
},
//获取病情变异--变异原因下拉框
getreasonoptions() {
http.post(`/ClinicalRoute/ClinicalRoute/GetStandardByType?crid=${this.crid}`, {})
.then((data) => {
this.reasonoptions = data;
})
.catch((error) => {});
},
//病情变异
variation() {
this.editdialogFormVisible = true;
},
//确定
fromOKbtn(fromRef) {
let prome = {
pid: this.$route.query.pid,
reason: this.form.reason,
inhosdays: this.form.inhosdays,
remarks: this.form.remarks,
};
http.post(`/ClinicalRoute/ClinicalRoute/SetVariation`, prome)
.then((data) => {
Message({
message: data.message,
type: "success",
});
(this.form = {
inhosdays: "",
reason: "",
}),
(this.editdialogFormVisible = false);
this.$router.push({
path: "Entrypath",
query: {
pid: this.$route.query.pid,
},
});
})
.catch((error) => {});
}, },
//取消 resetForm(formName) {
close() { this.$refs[formName].resetFields();
(this.form = {
inhosdays: "",
reason: "",
}),
(this.editdialogFormVisible = false);
},
//下拉框鼠标移上显示提示文字
getTitle(val) {
if (val != "") {
let a = this.reasonoptions.filter((item) => item.describe == val);
return a[0].describe;
}
}, },
}, },
}; };
</script> </script>
<style lang="scss" scoped>
@import "../styles/mixin.scss";
@import "../styles/media/components/outClinicalpathway.scss";
//选中当前行样式
::v-deep .rowStyleclass {
font-weight: 700;
// background-color: #f5f7fa;
color: #0283bb;
}
//时间线样式
::v-deep .el-timeline-item__tail {
left: 0 !important;
height: 0 !important;
}
::v-deep .el-timeline-item {
padding-bottom: 5px !important;
display: flex !important;
align-items: end !important;
}
::v-deep .el-timeline-item__wrapper {
padding-left: 29px !important;
margin-right: 30px !important;
top: 3px !important;
display: flex !important;
align-items: end !important;
.el-timeline-item__content {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
text-overflow: ellipsis;
}
}
::v-deep .el-timeline-item__node--normal {
margin-left: 15px !important;
}
//单选框
::v-deep .el-radio__input.is-checked .el-radio__inner {
background-color: #0085ba !important;
border-color: #1097e0 !important;
}
::v-deep .el-radio__input.is-checked + .el-radio__label {
color: #0085ba !important;
}
//多选框选中状态背景颜色
::v-deep .el-checkbox__input.is-checked .el-checkbox__inner {
background-color: #0085ba !important;
border-color: #1097e0 !important;
}
::v-deep .el-table--scrollable-x .el-table__body-wrapper {
height: 688px !important ;
overflow-y: auto !important;
}
// 滚动条的宽度
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width: 10px;
/*高宽分别对应横竖滚动条的尺寸*/
height: 10px;
background-color: #ffff;
}
// 滚动条的滑块
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
background-color: #27aae2;
border: 3px solid transparent;
border-radius: 9px;
background-clip: content-box;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
border-radius: 20px;
background: #ffff;
width: 10px;
}
.outClinicalpathway {
// height: calc(100% - 50px);
// background-color: white;
// padding: 20px;
// position: relative;
// overflow: hidden;
height: 900px;
background-color: #f0f0f0;
// padding: 10px;
overflow: hidden;
position: relative;
&_top {
width: 100%;
height: 12%;
margin-bottom: 5px;
background-color: #f0f0f0;
display: flex;
flex-direction: column;
&_bg {
width: 100%;
height: 15%;
background-color: #0283bb;
}
&_coent {
width: 100%;
height: 50%;
background-color: #ffff;
display: flex;
margin-bottom: 5px;
&_left {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
&_one {
width: 98%;
height: 80%;
background-color: #f2fafd;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 10px;
span {
width: 3%;
height: 100%;
font-size: 14px;
display: flex;
justify-content: center;
align-items: center;
}
&_t1 {
width: 24%;
height: 80%;
margin-right: 5px;
background-color: #ffff;
display: flex;
align-items: center;
color: #acacac;
font-weight: 400;
padding-left: 20px;
margin-left: 10px;
span {
width: 80%;
height: 80%;
color: #181617;
display: flex;
justify-content: flex-start;
align-items: center;
}
}
&_t2 {
width: 24%;
height: 80%;
margin-right: 5px;
background-color: #ffff;
display: flex;
align-items: center;
color: #acacac;
font-weight: 400;
padding-left: 20px;
span {
width: 80%;
height: 80%;
color: #181617;
display: flex;
justify-content: flex-start;
align-items: center;
}
}
&_t3 {
width: 24%;
height: 80%;
margin-right: 5px;
background-color: #ffff;
margin-right: 10px;
display: flex;
align-items: center;
color: #acacac;
font-weight: 400;
padding-left: 20px;
span {
width: 80%;
height: 80%;
color: #181617;
display: flex;
justify-content: flex-start;
align-items: center;
}
}
&_t4 {
width: 24%;
height: 80%;
background-color: #ffff;
margin-right: 5px;
display: flex;
align-items: center;
color: #acacac;
font-weight: 400;
padding-left: 20px;
span {
width: 60%;
height: 80%;
color: #181617;
display: flex;
justify-content: flex-start;
align-items: center;
}
}
}
}
&_right {
height: 100%;
width: 20%;
display: flex;
align-items: center;
justify-content: center;
&_btn {
height: 50%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
}
}
&_time {
width: 100%;
height: 35%;
background: #ffff;
padding-left: 20px;
display: flex;
align-items: center;
&_timespan {
max-width: 200px;
/* height: 20px; */
display: flex;
background-color: #0283bb;
border-radius: 20px;
margin-right: 10px;
span {
color: #ffff;
}
}
&_timespan2 {
max-width: 200px;
/* height: 20px; */
display: flex;
}
}
}
&_table {
height: 84%;
width: 100%;
display: flex;
&_right {
width: 100%;
height: 100%;
&_radio {
width: 100%;
height: 8%;
background: #ffff;
display: flex;
align-items: center;
padding-left: 10px;
}
}
}
/* .el-form-item {
margin: 0;
} */
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment