微调
This commit is contained in:
@@ -187,9 +187,11 @@
|
||||
v-if="showDialog"
|
||||
/>
|
||||
<!-- 查看 -->
|
||||
<viewRow ref="viewRowRef"
|
||||
<ViewRow ref="viewRowRef"
|
||||
:activeName="activeName"
|
||||
:formContent="props.formContent"
|
||||
@close="viewDialog = false"
|
||||
v-if="viewDialog"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -208,7 +210,7 @@ import { dlsDetails, deleteDtls, updateDtls, addScriptDtls, checkDataList } from
|
||||
import { useDictStore } from '@/stores/modules/dict'
|
||||
import { useHandleData } from '@/hooks/useHandleData'
|
||||
import { scriptDtlsCheckDataList } from '@/api/device/testScript/index'
|
||||
import viewRow from './viewRow.vue'
|
||||
import ViewRow from '@/views/machine/testScript/components/viewRow.vue'
|
||||
interface TabOption {
|
||||
label?: string
|
||||
name?: string
|
||||
@@ -230,6 +232,7 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
const showDialog = ref(false)
|
||||
const viewDialog = ref(false)
|
||||
const dictStore = useDictStore()
|
||||
const activeName = ref('')
|
||||
const childActiveName = ref('')
|
||||
@@ -397,8 +400,11 @@ const view = (row: Partial<TestScript.ResTestScript> = {}) => {
|
||||
})
|
||||
}
|
||||
})
|
||||
console.log(tabData.value)
|
||||
viewRowRef.value?.open(row,communicationList.value,parentTabName,childrenTabName.value)
|
||||
viewDialog.value = true
|
||||
setTimeout(() => {
|
||||
viewRowRef.value?.open(row, communicationList.value, parentTabName, childrenTabName.value)
|
||||
}, 0)
|
||||
|
||||
}
|
||||
// 删除
|
||||
const deleteRow = async (row: any) => {
|
||||
|
||||
Reference in New Issue
Block a user