Commit 7489aa07 by 唐玉峰

.

parent 82988876
......@@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open ",
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build ",
"lint": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint"
"dev": "vue-cli-service serve --open ",
"build": "vue-cli-service build ",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vue/composition-api": "^1.6.2",
......
......@@ -298,17 +298,15 @@
<div class="outaddrecordEnrollment_centent_totalnum_left">
<div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>分组编码:{{ item.code }}</span>
<span>分组名称:{{ item.coreName }}</span>
<span class="one-txt-cut" :title="item.coreName">分组名称:{{ item.coreName }}</span>
<span>病种分值:{{ item.score }}</span>
<span>预计DIP支付费用:{{ decimal(item.actualfee) }}</span>
<span>分组类型:{{ item.disNature }}</span>
</div>
<!--
<div class="outaddrecordEnrollment_centent_totalnum_left_text3">
<span>预计DIP支付费用:{{ item.unitfee }}</span
><span>院内历年平均费用:{{ item.avgFee }}</span
><span>院内历年平均住院天数:{{ item.avgInHosDay }}</span>
</div> -->
<div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>手术操作编码:{{ item.opsCode }}</span
><span class="one-txt-cut" :title="item.opsName">手术操作名称:{{ item.opsName }}</span>
</div>
</div>
<!-- <div class="outaddrecordEnrollment_centent_totalnum_right">
<div :id="`indexChart11` + index" class="outaddrecordEnrollment_centent_totalnum_right_echar1"></div>
......@@ -458,14 +456,8 @@ export default {
gosear() {
this.addrecordEnrollmentShow = true;
this.outaddsearchForm = {
diagName: this.casehisObj.drgs.code,
diagName: this.casehisObj.c03C || "",
};
if (this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
}
this.addsearch();
},
//获取基本数据
......@@ -572,55 +564,16 @@ export default {
},
//查询
addsearch() {
//诊断
if (this.otdiagName.length > 0 && this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
this.otdiagName.forEach((i) => {
this.diagList.push({
diagCode: i,
diagOrder: "1",
});
});
} else if (this.outaddsearchForm.diagName) {
//主诊断
if (this.outaddsearchForm.diagName) {
this.diagList.push({
diagCode: this.outaddsearchForm.diagName,
diagOrder: "0",
});
} else if (this.otdiagName.length > 0) {
this.otdiagName.forEach((i) => {
this.diagList.push({
diagCode: i,
diagOrder: "1",
});
});
}
// 手术
if (this.otopsName.length > 0 && this.outaddsearchForm.opsName) {
this.opsList.push({
opsCode: this.outaddsearchForm.opsName,
diagOrder: "0",
});
this.otopsName.forEach((i) => {
this.opsList.push({
opsCode: i,
diagOrder: "1",
});
});
} else if (this.outaddsearchForm.opsName) {
this.opsList.push({
opsCode: this.outaddsearchForm.opsName,
diagOrder: "0",
});
} else if (this.otopsName.length > 0) {
this.otopsName.forEach((i) => {
this.opsList.push({
opsCode: i,
diagOrder: "1",
});
});
if (!this.outaddsearchForm.diagName) {
Message.warning("请输入主诊断");
return;
}
this.addgetlist();
},
......@@ -1776,7 +1729,7 @@ export default {
height: 70vh;
overflow-y: auto;
&_totalnum {
padding: 15px;
// padding: 15px;
background-color: #fff;
margin: 12px;
display: flex;
......@@ -1785,9 +1738,9 @@ export default {
&_left {
flex: 1;
width: 50%;
padding: 5px 0;
background-color: rgba(44, 171, 227, 0.08);
margin: 0 15px;
// margin: 0 15px;
display: flex;
flex-direction: column;
align-items: center;
......@@ -1796,20 +1749,17 @@ export default {
width: 100%;
height: 30%;
display: flex;
margin-top: 5px;
margin-bottom: 10px;
justify-content: space-between;
justify-content: start;
span {
width: 50%;
width: 17%;
padding: 10px;
margin: 5px 10px;
background-color: #fff;
display: flex;
justify-content: start;
align-items: center;
// display: flex;
// justify-content: start;
// align-items: center;
font-size: 14px;
padding-left: 10px;
font-family: PingFang SC;
font-weight: 300;
color: #6a707e;
}
......
......@@ -115,6 +115,28 @@
>
<el-form size="mini" :model="ruleForm" ref="ruleFormRef" label-width="100px" class="demo-ruleForm">
<el-form-item
label="路径名称"
:rules="[
{
required: true,
message: '请输入',
},
]"
>
<el-select
v-model="ruleForm.clinical_route_name"
style="width: 100%"
filterable
remote
reserve-keyword
placeholder="请输入关键词"
:remote-method="remoteMethod"
@change="cridChange"
>
<el-option v-for="item in options" :key="item.crid" :label="item.clinical_route_name" :value="item.crid"> </el-option>
</el-select>
</el-form-item>
<el-form-item
label="方案名称"
prop="advice_name"
:rules="[
......@@ -356,12 +378,14 @@ export default {
daysnum: 0,
describe: "",
crid: this.$route.query.cid ? parseInt(this.$route.query.cid) : 0,
clinical_route_name: this.$route.query.clinical_route_name,
},
formadd: {
leftaddtable: [],
},
currentRow: null,
type: 0,
options: [],
};
},
mounted() {
......@@ -369,6 +393,23 @@ export default {
this.GetMapCRAdviceType();
},
methods: {
remoteMethod(query) {
if (query !== "") {
setTimeout(() => {
this.GetCopyGetCRInfo(query);
}, 200);
} else {
this.options = [];
}
},
cridChange(e) {
this.ruleForm.crid = e;
},
GetCopyGetCRInfo(query) {
http.post(`/ClinicalRoute/ClinicalRoute/CopyGetCRInfo?searchQuery=${query}`, {}).then((data) => {
this.options = data;
});
},
querySearch(queryString, cb) {
const results = queryString ? this.typeList.filter(this.createFilter(queryString)) : this.typeList;
cb(results);
......@@ -427,6 +468,7 @@ export default {
daysnum: parseInt(row.daysnum), //项目名称
describe: row.describe, //项目名称
crid: this.$route.query.cid ? parseInt(this.$route.query.cid) : 0,
clinical_route_name: this.$route.query.clinical_route_name,
};
}
},
......
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