|
@@ -142,8 +142,8 @@
|
|
|
<el-switch
|
|
|
v-model="openTruevalue"
|
|
|
style="--el-switch-on-color: #ff4949; --el-switch-off-color: #13ce66"
|
|
|
- active-value="100"
|
|
|
- inactive-value="0"
|
|
|
+ active-value="0"
|
|
|
+ inactive-value="1"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -168,8 +168,8 @@
|
|
|
<el-switch
|
|
|
v-model="openFullvalue"
|
|
|
style="--el-switch-on-color: #ff4949; --el-switch-off-color: #13ce66"
|
|
|
- active-value="100"
|
|
|
- inactive-value="0"
|
|
|
+ active-value="0"
|
|
|
+ inactive-value="1"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -194,8 +194,8 @@
|
|
|
<el-switch
|
|
|
v-model="openUsevalue"
|
|
|
style="--el-switch-on-color: #ff4949; --el-switch-off-color: #13ce66"
|
|
|
- active-value="100"
|
|
|
- inactive-value="0"
|
|
|
+ active-value="0"
|
|
|
+ inactive-value="1"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -220,8 +220,8 @@
|
|
|
<el-switch
|
|
|
v-model="openSafevalue"
|
|
|
style="--el-switch-on-color: #ff4949; --el-switch-off-color: #13ce66"
|
|
|
- active-value="100"
|
|
|
- inactive-value="0"
|
|
|
+ active-value="0"
|
|
|
+ inactive-value="1"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -283,11 +283,11 @@ const useAppState = useAppStore()
|
|
|
const projectId = ref(useAppState.getProjectId);
|
|
|
const contractId = ref(useAppState.getContractId);
|
|
|
const projectInfo = ref(useAppState.getProjectInfo);
|
|
|
-const openTruevalue = ref(false);
|
|
|
-const openFullvalue = ref(true);
|
|
|
-const openUsevalue = ref(true);
|
|
|
-const openSafevalue = ref(true);
|
|
|
-const isStatus = ref(true);
|
|
|
+const openTruevalue = ref(1);
|
|
|
+const openFullvalue = ref(1);
|
|
|
+const openUsevalue = ref(1);
|
|
|
+const openSafevalue = ref(1);
|
|
|
+const isStatus = ref(1);
|
|
|
const activeIndex = ref(0);
|
|
|
|
|
|
//表头
|
|
@@ -309,7 +309,11 @@ const detection=async()=>{
|
|
|
detectionLoad.value=true
|
|
|
const { error, code, data } = await reportApi.getExamining({
|
|
|
projectId: projectId.value,
|
|
|
- reportId:reportId.value
|
|
|
+ reportId:reportId.value,
|
|
|
+ authenticity:openTruevalue.value,
|
|
|
+ integrality:openFullvalue.value,
|
|
|
+ usability:openUsevalue.value,
|
|
|
+ security:openSafevalue.value
|
|
|
})
|
|
|
detectionLoad.value=false
|
|
|
if (!error && code === 200) {
|