|
@@ -735,7 +735,7 @@
|
|
<el-input class="tableReach" v-model="item.HOCUS_MAN_NAME" placeholder="请输入"></el-input>
|
|
<el-input class="tableReach" v-model="item.HOCUS_MAN_NAME" placeholder="请输入"></el-input>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data.operation.length == 0">
|
|
|
|
|
|
+ <tr v-if="!data.operation || data.operation.length == 0">
|
|
<td class="table-value"></td>
|
|
<td class="table-value"></td>
|
|
<td class="table-value"></td>
|
|
<td class="table-value"></td>
|
|
<td class="table-value"></td>
|
|
<td class="table-value"></td>
|
|
@@ -1363,9 +1363,7 @@ export default {
|
|
// 生命周期钩子:模板编译/挂载之前
|
|
// 生命周期钩子:模板编译/挂载之前
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- // this.valData = this.storageGet('getData');
|
|
|
|
this.valData = this.storageGet('getData');
|
|
this.valData = this.storageGet('getData');
|
|
- console.log(this.storageGet('getData'));
|
|
|
|
if(this.valData){
|
|
if(this.valData){
|
|
if(this.type_name == 'lc'){
|
|
if(this.type_name == 'lc'){
|
|
this.funQuery_lc();
|
|
this.funQuery_lc();
|
|
@@ -1457,8 +1455,8 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 加载数据后渲染颜色
|
|
// 加载数据后渲染颜色
|
|
- setColor(e){
|
|
|
|
- let errorList = e;
|
|
|
|
|
|
+ setColor(){
|
|
|
|
+ let errorList = this.errorList;
|
|
for(var i = 0;i<errorList.length;i++){
|
|
for(var i = 0;i<errorList.length;i++){
|
|
this.$refs[errorList[i].error_field].style.color = ( errorList[i].category<=1 ? 'red':'#e26e01' );
|
|
this.$refs[errorList[i].error_field].style.color = ( errorList[i].category<=1 ? 'red':'#e26e01' );
|
|
}
|
|
}
|
|
@@ -1476,7 +1474,7 @@ export default {
|
|
this.score = res.data.score;
|
|
this.score = res.data.score;
|
|
this.errorList = res.data.error;
|
|
this.errorList = res.data.error;
|
|
|
|
|
|
- if (this.data.diagnosis.length < 22) {
|
|
|
|
|
|
+ if (this.data.diagnosis && this.data.diagnosis.length < 22) {
|
|
for (let i = 0; i < 22 - this.data.diagnosis.length; i++) {
|
|
for (let i = 0; i < 22 - this.data.diagnosis.length; i++) {
|
|
this.data.diagnosis.push({
|
|
this.data.diagnosis.push({
|
|
ICD10_ID1: '',
|
|
ICD10_ID1: '',
|
|
@@ -1487,7 +1485,7 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (this.data.operation.length < 8) {
|
|
|
|
|
|
+ if (this.data.operation && this.data.operation.length < 8) {
|
|
for (let i = 0; i < 22 - this.data.operation.length; i++) {
|
|
for (let i = 0; i < 22 - this.data.operation.length; i++) {
|
|
this.data.operation.push({
|
|
this.data.operation.push({
|
|
FRIST_ASSISTANT_NAME: '',
|
|
FRIST_ASSISTANT_NAME: '',
|
|
@@ -1518,7 +1516,7 @@ export default {
|
|
// 临床数据
|
|
// 临床数据
|
|
funQuery_lc() {
|
|
funQuery_lc() {
|
|
let pramse = {
|
|
let pramse = {
|
|
- id: this.valData,
|
|
|
|
|
|
+ ZYH: this.valData,
|
|
};
|
|
};
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
pramse.is_tm = 1
|
|
pramse.is_tm = 1
|
|
@@ -1526,7 +1524,7 @@ export default {
|
|
this.$axios.post('/home_sz_quality/blInfo', pramse).then(res => {
|
|
this.$axios.post('/home_sz_quality/blInfo', pramse).then(res => {
|
|
this.data = res.data;
|
|
this.data = res.data;
|
|
|
|
|
|
- if (this.data.diagnosis.length < 22) {
|
|
|
|
|
|
+ if (this.data.diagnosis && this.data.diagnosis.length < 22) {
|
|
for (let i = 0; i < 22 - this.data.diagnosis.length; i++) {
|
|
for (let i = 0; i < 22 - this.data.diagnosis.length; i++) {
|
|
this.data.diagnosis.push({
|
|
this.data.diagnosis.push({
|
|
ICD10_ID1: '',
|
|
ICD10_ID1: '',
|
|
@@ -1537,7 +1535,7 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (this.data.operation.length < 8) {
|
|
|
|
|
|
+ if (this.data.operation && this.data.operation.length < 8) {
|
|
for (let i = 0; i < 22 - this.data.operation.length; i++) {
|
|
for (let i = 0; i < 22 - this.data.operation.length; i++) {
|
|
this.data.operation.push({
|
|
this.data.operation.push({
|
|
FRIST_ASSISTANT_NAME: '',
|
|
FRIST_ASSISTANT_NAME: '',
|
|
@@ -1565,7 +1563,7 @@ export default {
|
|
//临床质控结果
|
|
//临床质控结果
|
|
getQualityResult(f){
|
|
getQualityResult(f){
|
|
let pramse = {
|
|
let pramse = {
|
|
- id: this.valData,
|
|
|
|
|
|
+ ZYH: this.valData,
|
|
};
|
|
};
|
|
this.$axios.post('/home_sz_quality/blInfo', pramse).then(res => {
|
|
this.$axios.post('/home_sz_quality/blInfo', pramse).then(res => {
|
|
this.score = res.data.score;
|
|
this.score = res.data.score;
|