需求变更整改
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
v-if="dataSet.indexOf('_moduleData') != -1"
|
||||
v-if="dataSet.indexOf('_moduleData') != -1 && moduleFlag"
|
||||
:icon="Refresh"
|
||||
@click="refreshTheState"
|
||||
>
|
||||
@@ -582,6 +582,7 @@ const tableLoading = ref(false)
|
||||
const getGroupLoading = ref(false)
|
||||
const deviceData = ref<any>(null)
|
||||
const dataSet = ref('')
|
||||
const moduleFlag = ref(false)
|
||||
const testItemRecordsRef = ref()
|
||||
const moduleDataRef = ref()
|
||||
const nearRealTimeDataRef = ref()
|
||||
@@ -1284,6 +1285,7 @@ const handleClick = async (tab?: any) => {
|
||||
tableLoading.value = false
|
||||
setTimeout(() => {
|
||||
//targetType
|
||||
res.data.length > 0 ? (moduleFlag.value = true) : (moduleFlag.value = false)
|
||||
moduleDataRef.value?.setData(res.data)
|
||||
}, 500)
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user