|
@ -545,7 +545,6 @@ const changTabIndex = async (tIndexV) => { |
|
|
tabIndex.value = tIndexV |
|
|
tabIndex.value = tIndexV |
|
|
queryParams.ecTab = tIndexV |
|
|
queryParams.ecTab = tIndexV |
|
|
const dvDatas = await ZlnalysisAPI.getZcnlEcharts(queryParams) |
|
|
const dvDatas = await ZlnalysisAPI.getZcnlEcharts(queryParams) |
|
|
debugger |
|
|
|
|
|
if (dvDatas != null) { |
|
|
if (dvDatas != null) { |
|
|
if (tIndexV == 0) { |
|
|
if (tIndexV == 0) { |
|
|
setChart1(dvDatas.menMap) |
|
|
setChart1(dvDatas.menMap) |
|
@ -602,8 +601,10 @@ const initQuerys = async () => { |
|
|
itemList.value = _itemList |
|
|
itemList.value = _itemList |
|
|
queryParams.itemCode = _itemList[0].code |
|
|
queryParams.itemCode = _itemList[0].code |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const _detectionItemList = await TemplateItemDetailsApi.selectDetectionItems(queryParams.itemCode , queryParams.detectionType) |
|
|
const _detectionItemList = await TemplateItemDetailsApi.selectDetectionItems(queryParams.itemCode , queryParams.detectionType) |
|
|
if (_detectionItemList != null && _detectionItemList.lenght > 0) { |
|
|
if (_detectionItemList != null && _detectionItemList.length > 0) { |
|
|
|
|
|
|
|
|
detectionItemList.value = _detectionItemList |
|
|
detectionItemList.value = _detectionItemList |
|
|
queryParams.detectionItemContentId = _detectionItemList[0].value |
|
|
queryParams.detectionItemContentId = _detectionItemList[0].value |
|
|
} |
|
|
} |
|
|