|
@@ -65,14 +65,20 @@ export default {
|
|
|
//常规项目处理
|
|
//常规项目处理
|
|
|
let jiancLis = JSON.parse(JSON.stringify(jianCeList))
|
|
let jiancLis = JSON.parse(JSON.stringify(jianCeList))
|
|
|
let changGuijianCe = []
|
|
let changGuijianCe = []
|
|
|
- if (item.jian_ce_xiang_mu2_) {
|
|
|
|
|
|
|
+ if (item.jian_ce_xiang_mu_) {
|
|
|
changGuijianCe = item.jian_ce_xiang_mu_.split(",")
|
|
changGuijianCe = item.jian_ce_xiang_mu_.split(",")
|
|
|
|
|
+ //changGuijianCe.forEach(itg => {
|
|
|
jiancLis.forEach(it => {
|
|
jiancLis.forEach(it => {
|
|
|
|
|
+ //if (itg == it.id_) {
|
|
|
|
|
+ // it.checked = true
|
|
|
|
|
+ //}
|
|
|
let jianSin = changGuijianCe.findIndex(itg => itg == it.id_)
|
|
let jianSin = changGuijianCe.findIndex(itg => itg == it.id_)
|
|
|
if (jianSin >= 0) {
|
|
if (jianSin >= 0) {
|
|
|
it.checked = true
|
|
it.checked = true
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ //})
|
|
|
|
|
+
|
|
|
let showHen = this.getXiangMuList(changGuijianCe, jiancLis) //已经选择的检测项目是否存在常规项目
|
|
let showHen = this.getXiangMuList(changGuijianCe, jiancLis) //已经选择的检测项目是否存在常规项目
|
|
|
if (!showHen) {
|
|
if (!showHen) {
|
|
|
noList.push(index)
|
|
noList.push(index)
|