|
|
@@ -104,7 +104,7 @@
|
|
|
style="color: #85ce61; cursor: pointer"
|
|
|
v-for="it in itemInfo"
|
|
|
:key="it.id_"
|
|
|
- @click="formEvent(it.jian_ce_xiang_mu_)"
|
|
|
+ @click="formEvent(it.id_,it.shujuid)"
|
|
|
>
|
|
|
{{ it.jian_ce_xiang_mu_ }}记录
|
|
|
</div>
|
|
|
@@ -118,7 +118,7 @@
|
|
|
>
|
|
|
<i class="el-icon-s-order"></i> 检测报告审批表
|
|
|
</div>
|
|
|
- <div v-if="false">
|
|
|
+ <!-- <div v-if="false">
|
|
|
<el-popover placement="left" width="200" trigger="triggerType">
|
|
|
<div
|
|
|
class="div_test item"
|
|
|
@@ -139,7 +139,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div
|
|
|
class="item"
|
|
|
style="color: #85ce61"
|
|
|
@@ -214,6 +214,7 @@ export default {
|
|
|
hetong: [],
|
|
|
triggerType: "click",
|
|
|
wTBH: [],
|
|
|
+ tongyonglujin:'',
|
|
|
};
|
|
|
},
|
|
|
filters: {
|
|
|
@@ -227,9 +228,7 @@ export default {
|
|
|
returnweituobianhao(value, arr) {
|
|
|
for (var i = 0; i < arr.length; i++) {
|
|
|
if (arr[i] != null && arr[i] != undefined) {
|
|
|
- console.log(arr[i].shen_qing_id_==value)
|
|
|
if (arr[i].shen_qing_id_ == value) {
|
|
|
- console.log(arr,arr[i].wei_tuo_bian_hao_ );
|
|
|
return arr[i].wei_tuo_bian_hao_;
|
|
|
}
|
|
|
}
|
|
|
@@ -259,6 +258,10 @@ export default {
|
|
|
curdPost("sql", sumsql).then((response) => {
|
|
|
this.total = response.variables.data[0].sum;
|
|
|
});
|
|
|
+ let sql2 ="select id_,yuan_shi_ji_lu_ba FROM t_mjjcnlfw WHERE id_ ='f5a95b425d444b549d5a217d4c031855'";
|
|
|
+ curdPost("sql", sql2).then((response) => {
|
|
|
+ this_.tongyonglujin = response.variables.data[0].yuan_shi_ji_lu_ba;
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
// 请求表格数据函数
|
|
|
@@ -301,164 +304,175 @@ export default {
|
|
|
juTiItem(info) {
|
|
|
let itemId;
|
|
|
let this_ = this;
|
|
|
- var sql =
|
|
|
- "select b.id_ ,c.jian_ce_xiang_mu2 FROM t_mjjcbg a JOIN t_jchzb b ON a.jian_ce_shen_qing = b.shen_qing_dan_id_ JOIN t_mjypb c ON a.jian_ce_shen_qing = c.wai_jian_ WHERE a.id_ = '" +
|
|
|
- info.id_ +
|
|
|
- "'";
|
|
|
- curdPost("sql", sql).then((res) => {
|
|
|
- itemId = res.variables.data;
|
|
|
- this_.runqianId = itemId[0].id_;
|
|
|
- var itemSql =
|
|
|
- "select * FROM t_mjjcnlfw WHERE id_ IN(" +
|
|
|
- itemId[0].jian_ce_xiang_mu2 +
|
|
|
- ")";
|
|
|
- curdPost("sql", itemSql).then((res) => {
|
|
|
- this_.itemInfo = res.variables.data;
|
|
|
- });
|
|
|
- });
|
|
|
- },
|
|
|
- YubaogaoItem(info) {
|
|
|
- let itemId;
|
|
|
- let this_ = this;
|
|
|
- var sql =
|
|
|
- "select b.id_ ,c.jian_ce_xiang_mu2 FROM t_mjjcbg a JOIN t_jchzb b ON a.jian_ce_shen_qing = b.shen_qing_dan_id_ JOIN t_mjypb c ON a.jian_ce_shen_qing = c.wai_jian_ WHERE a.id_ = '" +
|
|
|
- info.id_ +
|
|
|
- "'";
|
|
|
+ this.runqianId = "";
|
|
|
+ this_.itemInfo =[];
|
|
|
+ var sql =`select jian_ce_xiang_mu2,jian_ce_xiang_si_ ,jian_ce_xiang_me_ ,jian_ce_xiang_ms_ FROM t_mjypb WHERE wai_jian_= (SELECT jian_ce_shen_qing FROM t_mjjcbg WHERE id_= '${info.id_}') AND yang_pin_bian_hao = '${info.yang_pin_bian_hao}'`;
|
|
|
curdPost("sql", sql).then((res) => {
|
|
|
itemId = res.variables.data;
|
|
|
- this_.runqianId = itemId[0].id_;
|
|
|
- var itemSql =
|
|
|
- "select * FROM t_mjjcnlfw WHERE id_ IN(" +
|
|
|
- itemId[0].jian_ce_xiang_mu2 +
|
|
|
- ")";
|
|
|
+ console.log(itemId,"2323")
|
|
|
+ if(itemId.length <=0 ||itemId ==null){
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this_.runqianId = itemId[0].jian_ce_xiang_mu2+','+itemId[0].jian_ce_xiang_si_+','+itemId[0].jian_ce_xiang_me_+','+itemId[0].jian_ce_xiang_ms_;
|
|
|
+ var itemSql =`select a.id_,a.jian_ce_xiang_mu_ ,b.id_ as shujuid FROM t_mjjcnlfw AS a JOIN t_jchzb AS b ON a.id_ = b.jian_ce_xiang_mu_ WHERE b.yang_pin_bian_hao = '${info.yang_pin_bian_hao}'`;
|
|
|
curdPost("sql", itemSql).then((res) => {
|
|
|
this_.itemInfo = res.variables.data;
|
|
|
- for (var i = 0; i++; i < this_itemInfo) {
|
|
|
- if (this_itemInfo[i].shi_fou_yu_bao_ga == "是") {
|
|
|
- this_.yubaogaoitem.push(it);
|
|
|
- }
|
|
|
- }
|
|
|
- if (this_.yubaogaoitem.length == 0) {
|
|
|
- this_.triggerType = "";
|
|
|
- alert("此条报告没有预报告记录");
|
|
|
- return;
|
|
|
- }
|
|
|
});
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
+ // YubaogaoItem(info) { 保留
|
|
|
+ // let itemId;
|
|
|
+ // let this_ = this;
|
|
|
+ // var sql =
|
|
|
+ // "select b.id_ ,c.jian_ce_xiang_mu2 FROM t_mjjcbg a JOIN t_jchzb b ON a.jian_ce_shen_qing = b.shen_qing_dan_id_ JOIN t_mjypb c ON a.jian_ce_shen_qing = c.wai_jian_ WHERE a.id_ = '" +
|
|
|
+ // info.id_ +
|
|
|
+ // "'";
|
|
|
+ // curdPost("sql", sql).then((res) => {
|
|
|
+ // itemId = res.variables.data;
|
|
|
+ // this_.runqianId = itemId[0].id_;
|
|
|
+ // var itemSql =
|
|
|
+ // "select * FROM t_mjjcnlfw WHERE id_ IN(" +
|
|
|
+ // itemId[0].jian_ce_xiang_mu2 +
|
|
|
+ // ")";
|
|
|
+ // curdPost("sql", itemSql).then((res) => {
|
|
|
+ // this_.itemInfo = res.variables.data;
|
|
|
+ // for (var i = 0; i++; i < this_itemInfo) {
|
|
|
+ // if (this_itemInfo[i].shi_fou_yu_bao_ga == "是") {
|
|
|
+ // this_.yubaogaoitem.push(it);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // if (this_.yubaogaoitem.length == 0) {
|
|
|
+ // this_.triggerType = "";
|
|
|
+ // alert("此条报告没有预报告记录");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // },
|
|
|
yuReports(url, id) {
|
|
|
- console.log(url, id);
|
|
|
this.alertReport(url, id);
|
|
|
},
|
|
|
- formEvent(itemName) {
|
|
|
- if (itemName.includes("pH检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/郑/MJT-SJ-103-R01 A1 pH检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("渗透压摩尔浓度检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/郑/MJT-SJ-105-R01 A2 渗透压摩尔浓度检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("最低装量")) {
|
|
|
- this.alertReport("42明鉴/张/最低装载量.rpx", this.runqianId);
|
|
|
- } else if (itemName.includes("无菌检测(薄膜过滤法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/林/MJT-SJ-102-R01 A2 无菌检测薄膜过滤法记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("无菌检测(全自动微生物培养)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/柯/无菌检测(全自动微生物培养).rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("内毒素检测(凝胶法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/卢/MJT-SJ-117-R01 A1 细菌内毒素(凝胶法)检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("内毒素检测(动态显色法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/张/动态显色法检测内毒素记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("手动细胞计数")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/林/MJT-SJ-106-R01 A1 细胞计数检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("手动细胞活率")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/张/MJT-SJ-107-R01 A1 细胞活率检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("自动细胞计数和活率(台盼蓝染色法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/郑/MJT-SJ-118-R01 A0细胞计数和细胞活率(台盼蓝仪器法)检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("自动细胞计数和活率(双荧光染色法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/郑/MJT-SJ-119-R01 A0细胞计数和细胞活率(双荧光染色法)检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("牛血清白蛋白残留检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/张/MJT-SJ-111-R01 A1 牛血清白蛋白残留量检测.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("青霉素残留检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/张/青霉素残留量检测记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("支原体检测(培养法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/卢/MJT-SJ-104-R01 A1 支原体检测培养法记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("支原体检测(荧光PCR法)")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/卢/MJT-SJ-113-R01 A1支原体检测(荧光PCR法) 副本.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("间充质干细胞表型检测3项")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/柯/间充质干细胞表型检测3项.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("间充质干细胞表型检测5项")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/柯/间充质干细胞表型检测5项.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("间充质干细胞表型检测8项")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/柯/间充质干细胞表型检测8项.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("CIK细胞表型检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/林/MJT-SJ-123-R01 A0 CIK细胞表面标志物检测记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("NK细胞表型检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/恰/MJT-SJ-124-R01 A0 NK细胞表面标志物检测记录.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("淋巴细胞表型检测")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/张/MJT-SJ-125-R01 A0 淋巴细胞表面标志物检测记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- } else if (itemName.includes("支原体检测(化学发光法)记录表")) {
|
|
|
- this.alertReport(
|
|
|
- "42明鉴/林/MJT-SJ-114-R01 A1 支原体检测(化学发光法)记录表.rpx",
|
|
|
- this.runqianId
|
|
|
- );
|
|
|
- }
|
|
|
+ formEvent(itemId,shujuid) {
|
|
|
+ var itemSql =`select id_,jian_ce_xiang_mu_,yuan_shi_ji_lu_ba FROM t_mjjcnlfw`;
|
|
|
+ curdPost("sql", itemSql).then((res) => {
|
|
|
+ let data = res.variables.data;
|
|
|
+ data.forEach(item=>{
|
|
|
+ if(item.id_ ==itemId){
|
|
|
+ this.alertReport(item.yuan_shi_ji_lu_ba?item.yuan_shi_ji_lu_ba:this_.tongyonglujin,shujuid);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ // if (itemName.includes("pH检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/郑/MJT-SJ-103-R01 A1 pH检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("渗透压摩尔浓度检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/郑/MJT-SJ-105-R01 A2 渗透压摩尔浓度检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("最低装量")) {
|
|
|
+ // this.alertReport("42明鉴/张/最低装载量.rpx", this.runqianId);
|
|
|
+ // } else if (itemName.includes("无菌检测(薄膜过滤法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/林/MJT-SJ-102-R01 A2 无菌检测薄膜过滤法记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("无菌检测(全自动微生物培养)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/柯/无菌检测(全自动微生物培养).rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("内毒素检测(凝胶法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/卢/MJT-SJ-117-R01 A1 细菌内毒素(凝胶法)检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("内毒素检测(动态显色法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/张/动态显色法检测内毒素记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("手动细胞计数")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/林/MJT-SJ-106-R01 A1 细胞计数检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("手动细胞活率")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/张/MJT-SJ-107-R01 A1 细胞活率检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("自动细胞计数和活率(台盼蓝染色法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/郑/MJT-SJ-118-R01 A0细胞计数和细胞活率(台盼蓝仪器法)检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("自动细胞计数和活率(双荧光染色法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/郑/MJT-SJ-119-R01 A0细胞计数和细胞活率(双荧光染色法)检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("牛血清白蛋白残留检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/张/MJT-SJ-111-R01 A1 牛血清白蛋白残留量检测.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("青霉素残留检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/张/青霉素残留量检测记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("支原体检测(培养法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/卢/MJT-SJ-104-R01 A1 支原体检测培养法记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("支原体检测(荧光PCR法)")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/卢/MJT-SJ-113-R01 A1支原体检测(荧光PCR法) 副本.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("间充质干细胞表型检测3项")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/柯/间充质干细胞表型检测3项.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("间充质干细胞表型检测5项")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/柯/间充质干细胞表型检测5项.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("间充质干细胞表型检测8项")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/柯/间充质干细胞表型检测8项.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("CIK细胞表型检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/林/MJT-SJ-123-R01 A0 CIK细胞表面标志物检测记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("NK细胞表型检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/恰/MJT-SJ-124-R01 A0 NK细胞表面标志物检测记录.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("淋巴细胞表型检测")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/张/MJT-SJ-125-R01 A0 淋巴细胞表面标志物检测记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // } else if (itemName.includes("支原体检测(化学发光法)记录表")) {
|
|
|
+ // this.alertReport(
|
|
|
+ // "42明鉴/林/MJT-SJ-114-R01 A1 支原体检测(化学发光法)记录表.rpx",
|
|
|
+ // this.runqianId
|
|
|
+ // );
|
|
|
+ // }
|
|
|
},
|
|
|
isYubaogao(value, row) {},
|
|
|
// pin凑sql
|