@@ -4,6 +4,10 @@ import { ElMessageBox } from 'element-plus'
import { getDeviceList, postDevice, putDevice, delDevice, getAllWaterFactoryList } from '@/api/client/manage'
import { ref } from 'vue';
+defineOptions({
+ name: 'Decive'
+})
+
const { proxy } = getCurrentInstance();
const queryParams = ref({
@@ -3,6 +3,10 @@ import { CirclePlus } from '@element-plus/icons-vue'
import { ElMessageBox } from 'element-plus'
import { getOrganizationList, postOrganization, putOrganization, delOrganization, getRegion } from '@/api/client/manage'
+ name: 'Manage'
const loading = ref(false);
@@ -2,6 +2,10 @@
import { CirclePlus } from '@element-plus/icons-vue'
import { getMedicineList, putMedicine, postMedicine, delMedicine } from '@/api/configuration'
+ name: 'Agentia'
import { getAssayList, postAssay, delAssay, putAssay, getMedicineList } from '@/api/configuration'
+ name: 'Assay'
import { CirclePlus, Edit, Search, Share, Upload } from '@element-plus/icons-vue'
import { ElMessage, ElMessageBox } from 'element-plus'
+ name: 'Design'
const queryParams = ref({});
const value = ref([])
const formInline = ref({});
@@ -4,6 +4,9 @@ import { ElMessageBox } from 'element-plus'
import { getWorkFlowList, getPositionList, getAssayList, putWorkFlow, postWorkFlow, delWorkFlow } from '@/api/configuration'
import { getAllDeviceList, getAllWaterFactoryList} from '@/api/client/manage'
+ name: 'Flow'
@@ -3,6 +3,9 @@ import { CirclePlus } from '@element-plus/icons-vue'
import { getPositionList, postPosition, putPosition, delPosition } from '@/api/configuration'
+ name: 'Point'
import { getSampleList, postSample, putSample, getAssayList, delSample } from '@/api/configuration'
import { getAllWaterFactoryList} from '@/api/client/manage'
+ name: 'Sample'
@@ -5,6 +5,10 @@ import { getContinuousAssayListNew, getDeviceList } from '@/api/report/lab';
+ name: 'DetectionMonth'
pageNum: 1,
pageSize: 10,
@@ -3,6 +3,10 @@ import { dayjs } from 'element-plus';
import { getMonthTable, getDeviceList } from '@/api/report/lab';
import { computed } from 'vue';
+ name: 'LaboratoryMonth'
@@ -1,3 +1,9 @@
+<!-- 用于动态设置 name -->
+<script>
+export default {
+ name: location.hash.includes('assay-record') ? "AssayRecord" : "DetectionRecord"
+}
+</script>
<script setup>
import { getDeviceList, getDrawerData } from '@/api/report/lab';
import { dayjs } from 'element-plus';
@@ -3,6 +3,10 @@ import { RecordDrawer } from '@/views/report/components';
import { getHomeCounts, getDailyTable, getDeviceList } from '@/api/report/lab';
+ name: 'LaboratoryDaily'
const drawerVisible = ref(false);
const tableLoading = ref(false);
const total = ref(0);