Browse Source

item

master
pengjun 2 years ago
parent
commit
92e2f052a9
  1. 40
      src/views/fee-settings/Item.vue

40
src/views/fee-settings/Item.vue

@ -1823,15 +1823,28 @@ export default {
created() { created() {
// this.getlist(); // this.getlist();
this.getmedicalconclusionlist(); this.getmedicalconclusionlist();
this.dictInit() //
}, },
mounted() { mounted() {
this.rowDrop(); this.rowDrop();
this.typeid(); this.typeid();
}, },
computed: { computed: {
...mapState(["window","dict"]), ...mapState(["window","dict"]),
}, },
methods: { methods: {
dictInit(){
//
postapi("/api/app/Diagnosis/GetSimpleList").then((res) => {
if (res.code != -1) {
this.diagnosisId = res.data;
this.quickAsb = res.data;
}
});
},
// //
enablediagnostics(v) { enablediagnostics(v) {
if (v == "N") { if (v == "N") {
@ -2003,7 +2016,6 @@ export default {
if (this.$refs.editdigoisceditingform !== undefined) { if (this.$refs.editdigoisceditingform !== undefined) {
this.$refs.editdigoisceditingform.resetFields(); this.$refs.editdigoisceditingform.resetFields();
} }
this.diageoisaddId();
} }
}, },
deleteDiagnosis() { deleteDiagnosis() {
@ -2043,18 +2055,9 @@ export default {
} }
}); });
}, },
//Id
diageoisaddId() {
postapi("/api/app/Diagnosis/GetSimpleList").then((res) => {
if (res.code != -1) {
this.editdigoisceDiagnosisId = res.data;
this.quckeDitd = res.data;
}
});
},
// //
adddiagnosis() { adddiagnosis() {
this.diageoisaddId();
this.diagnostiele = 1; this.diagnostiele = 1;
this.diagnosticediting = true; this.diagnosticediting = true;
if (this.$refs.editdigoisceditingform !== undefined) { if (this.$refs.editdigoisceditingform !== undefined) {
@ -2072,7 +2075,6 @@ export default {
this.form = { ...this.curRow }; this.form = { ...this.curRow };
this.diagnosdialogVisible = true; this.diagnosdialogVisible = true;
this.putDiagnosis(); this.putDiagnosis();
this.diageoisaddId();
this.$nextTick(() => { this.$nextTick(() => {
this.rowDropes(); this.rowDropes();
}); });
@ -2278,12 +2280,7 @@ export default {
this.itemId = res.data; this.itemId = res.data;
} }
}); });
postapi("/api/app/diagnosis/getlistinsuggestion").then((res) => {
if (res.code != -1) {
this.diagnosisId = res.data;
this.quickAsb = res.data;
}
});
}, },
// //
increase() { increase() {
@ -2415,12 +2412,7 @@ export default {
this.resultStatusId = res.data; this.resultStatusId = res.data;
} }
}); });
postapi("/api/app/diagnosis/getlistinsuggestion").then((res) => {
if (res.code != -1) {
this.diagnosisId = res.data;
this.quickAsb = res.data;
}
});
// // // //
// getapi("/api/app/item-type/by-code-all").then((res) => { // getapi("/api/app/item-type/by-code-all").then((res) => {
// this.resultitemtype = res.data; // this.resultitemtype = res.data;

Loading…
Cancel
Save