|
|
|
@ -589,7 +589,7 @@ const $route = useRoute();
|
|
|
|
|
const Indexform = ref({ |
|
|
|
|
packList: [], |
|
|
|
|
decreaseImageEntityList: [], //处理好的图片数据 |
|
|
|
|
discoveryNode:'1' |
|
|
|
|
discoveryNode: '1', |
|
|
|
|
}); //首页新增表单 |
|
|
|
|
const ProcessingResults = ref([]); //处理结果列表选项 |
|
|
|
|
const IndexException = ref([]); //异常类型下拉选择 |
|
|
|
@ -754,10 +754,10 @@ const onLoad = () => {
|
|
|
|
|
Paymentmethod.value = res.data.data; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
Indexform.value.discoveryNode='1'//默认发现节点 |
|
|
|
|
groundlineType.value =Indexform.value.discoveryNode |
|
|
|
|
Indexform.value.workOrderType='1'//默认一个异常类型 |
|
|
|
|
SelectType.value=Indexform.value.workOrderType |
|
|
|
|
Indexform.value.discoveryNode = '1'; //默认发现节点 |
|
|
|
|
groundlineType.value = Indexform.value.discoveryNode; |
|
|
|
|
Indexform.value.workOrderType = '1'; //默认一个异常类型 |
|
|
|
|
SelectType.value = Indexform.value.workOrderType; |
|
|
|
|
}; |
|
|
|
|
onLoad(); //初始化程序 |
|
|
|
|
|
|
|
|
@ -966,11 +966,15 @@ const TopChange = val => {
|
|
|
|
|
}; |
|
|
|
|
// 公司占比计算 |
|
|
|
|
const CompanyProportion = () => { |
|
|
|
|
let proportion = 0; //责任比例之和 |
|
|
|
|
FangAddList.value.forEach(item => { |
|
|
|
|
proportion += Number(item.responsibilityRatio); |
|
|
|
|
}); |
|
|
|
|
companyProportion.value = 100 - proportion; |
|
|
|
|
setInterval(() => { |
|
|
|
|
console.log(FangAddList.value, ' FangAddList.value'); |
|
|
|
|
let proportion = 0; //责任比例之和 |
|
|
|
|
FangAddList.value.forEach(item => { |
|
|
|
|
console.log(item.responsibilityRatio); |
|
|
|
|
proportion += Number(item.responsibilityRatio); |
|
|
|
|
}); |
|
|
|
|
companyProportion.value = 100 - proportion; |
|
|
|
|
}, 0); |
|
|
|
|
}; |
|
|
|
|
// 公司占比事件 |
|
|
|
|
const CompanyProportionInput = () => { |
|
|
|
@ -1480,11 +1484,10 @@ const ViewPackageDetails = val => {
|
|
|
|
|
// 对调查经过输入框进行处理 |
|
|
|
|
const isShowFormItem1 = computed(() => { |
|
|
|
|
return !['1', '2', '5', '6', '7'].includes(groundlineType.value); |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
// 对调查经过输入框进行处理 |
|
|
|
|
const isShowFormItem2 = computed(() => { |
|
|
|
|
return !['2', '5', '6', '7', '8'].includes(groundlineType.value); |
|
|
|
|
return !['2', '5', '6', '7', '8'].includes(groundlineType.value); |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|