|
|
@ -272,7 +272,10 @@ export default { |
|
|
uuid: this.uuid, |
|
|
uuid: this.uuid, |
|
|
sourceFrom: this.sourceFrom, |
|
|
sourceFrom: this.sourceFrom, |
|
|
} |
|
|
} |
|
|
if (type !== "yq") { |
|
|
|
|
|
|
|
|
let eventName = "showSelectMixReagentDialog"; |
|
|
|
|
|
if (type === "yq") { |
|
|
|
|
|
eventName = "showSelectInstrumentDialog"; |
|
|
|
|
|
}else { |
|
|
const sjType = { |
|
|
const sjType = { |
|
|
sj: "1",//试剂 |
|
|
sj: "1",//试剂 |
|
|
gsp: "7",//供试品 |
|
|
gsp: "7",//供试品 |
|
|
@ -287,7 +290,7 @@ export default { |
|
|
type: sjType[type] |
|
|
type: sjType[type] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
EventBus.$emit("showSelectMixReagentDialog", params) |
|
|
|
|
|
|
|
|
EventBus.$emit(eventName, params) |
|
|
// this.$emit('regent', item,type); |
|
|
// this.$emit('regent', item,type); |
|
|
}, |
|
|
}, |
|
|
// 点击按钮 |
|
|
// 点击按钮 |
|
|
|