|
@@ -84,7 +84,7 @@
|
|
|
<uni-data-picker :ellipsis="false" :localdata="checkOptionList[0]" :map="{text:'name',value:'id'}"
|
|
|
popup-title="请选择所属目录" @change="(e)=>onchange(indexAll,e,index)" @nodeclick="onnodeclick()"
|
|
|
ref="uniDataPicker" :addType="true" :addIndex="index">
|
|
|
- <view class="special_project_n">{{item.code?item.code:''}}{{item.hazardCheckName?item.hazardCheckName:'请选择检查项'}}</view>
|
|
|
+ <view class="special_project_n">{{item.hazardCheckCode?item.hazardCheckCode:''}}{{item.hazardCheckName?item.hazardCheckName:'请选择检查项'}}</view>
|
|
|
</uni-data-picker>
|
|
|
</view>
|
|
|
<view class="dangerCount" v-if="item.hazardCheckCount>0 && item.checkFlag==0">此检查项在当前实验室累计出现<text>{{item.hazardCheckCount}}</text>次隐患</view>
|
|
@@ -247,7 +247,7 @@
|
|
|
dataList[i].switch=true;
|
|
|
for(let b=0;b<dataList[i].checkHazardDtoList.length;b++){
|
|
|
//把最外层的code填充到内层
|
|
|
- dataList[i].checkHazardDtoList[b].hazardCheckCode=dataList[i].code
|
|
|
+ //dataList[i].checkHazardDtoList[b].hazardCheckCode=dataList[i].code
|
|
|
//语音备注类型转换
|
|
|
if(dataList[i].checkHazardDtoList[b].voiceRemark){
|
|
|
dataList[i].checkHazardDtoList[b].voiceRemark=JSON.parse(dataList[i].checkHazardDtoList[b].voiceRemark)
|
|
@@ -563,7 +563,7 @@
|
|
|
|
|
|
if(this.getTreeName(this.checkOptionList[0],e.detail.value[e.detail.value.length-1].value).level==4){
|
|
|
let jcxSstkNum=this.getTreeName(this.checkOptionList[0],e.detail.value[e.detail.value.length-1].value).code
|
|
|
-
|
|
|
+ console.log(jcxSstkNum)
|
|
|
this.$set(this.form.checkHazardInfoVoList[indexAll].checkHazardDtoList[index],'hazardCheckCode',jcxSstkNum);
|
|
|
this.$set(this.form.checkHazardInfoVoList[indexAll].checkHazardDtoList[index],'hazardCheckName',e.detail.value[e.detail.value.length-1].text);
|
|
|
this.$set(this.form.checkHazardInfoVoList[indexAll].checkHazardDtoList[index],'hazardCheckPro',e.detail.value[e.detail.value.length-1].value);
|