Commit 7489aa07 by 唐玉峰

.

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