@@ -199,14 +201,17 @@ onUnmounted(() => {
diff --git a/src/views/SmartScreen/ReportScreen/background/1.png b/src/views/SmartScreen/ReportScreen/background/1.png
new file mode 100644
index 0000000..1c57392
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/1.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/10.png b/src/views/SmartScreen/ReportScreen/background/10.png
new file mode 100644
index 0000000..ae10658
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/10.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/2.png b/src/views/SmartScreen/ReportScreen/background/2.png
new file mode 100644
index 0000000..56d851e
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/2.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/3.png b/src/views/SmartScreen/ReportScreen/background/3.png
new file mode 100644
index 0000000..8bc92cf
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/3.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/4.png b/src/views/SmartScreen/ReportScreen/background/4.png
new file mode 100644
index 0000000..ecf7639
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/4.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/5.png b/src/views/SmartScreen/ReportScreen/background/5.png
new file mode 100644
index 0000000..3199260
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/5.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/6.png b/src/views/SmartScreen/ReportScreen/background/6.png
new file mode 100644
index 0000000..ab1fcdb
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/6.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/7.png b/src/views/SmartScreen/ReportScreen/background/7.png
new file mode 100644
index 0000000..1bf7e8c
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/7.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/8.png b/src/views/SmartScreen/ReportScreen/background/8.png
new file mode 100644
index 0000000..951770b
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/8.png differ
diff --git a/src/views/SmartScreen/ReportScreen/background/9.png b/src/views/SmartScreen/ReportScreen/background/9.png
new file mode 100644
index 0000000..97f6a6e
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/background/9.png differ
diff --git a/src/views/SmartScreen/ReportScreen/charts/chart1.vue b/src/views/SmartScreen/ReportScreen/charts/chart1.vue
new file mode 100644
index 0000000..10f7d8a
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chart1.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/chart2.vue b/src/views/SmartScreen/ReportScreen/charts/chart2.vue
new file mode 100644
index 0000000..9bf025d
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chart2.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/chart3.vue b/src/views/SmartScreen/ReportScreen/charts/chart3.vue
new file mode 100644
index 0000000..1a3d0ed
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chart3.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/chart4.vue b/src/views/SmartScreen/ReportScreen/charts/chart4.vue
new file mode 100644
index 0000000..c7ad39f
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chart4.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/chart5.vue b/src/views/SmartScreen/ReportScreen/charts/chart5.vue
new file mode 100644
index 0000000..b8e2ed0
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chart5.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/chartdemo.vue b/src/views/SmartScreen/ReportScreen/charts/chartdemo.vue
new file mode 100644
index 0000000..b99482c
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/chartdemo.vue
@@ -0,0 +1,129 @@
+
+
+
+
{{ title }}
+
+
+
+
+ {{ ` ${scope.row.reportQuantity} / ${scope.row.planQuantity}` }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/charts/table.css b/src/views/SmartScreen/ReportScreen/charts/table.css
new file mode 100644
index 0000000..f4589fe
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/charts/table.css
@@ -0,0 +1,29 @@
+.el-table {
+ background-color: transparent !important; /* Set the background color for the table */
+ --el-table-text-color: #eee !important;
+
+ --el-table-border-color: transparent !important; /* Set the border color for the table */
+ --el-table-border: 1px solid #fff !important; /* Set the border for the table */
+ --el-table-border-style: none !important; /* Set the border style for the table */
+ --el-table-border-width: 0 !important; /* Set the border width for the table */
+ --el-table-header-bg-color: transparent !important; /* Set the background color for the table header */
+ --el-table-header-text-color: #eee !important; /* Set the text color for the table header */
+ --el-table-header-cell-padding: 0 0 0 0 !important; /* Set the padding for the table header cell */
+ --el-table-row-hover-bg-color: transparent !important; /* Set the background color for the table row on hover */
+ --el-table-row-hover-text-color: #fff !important; /* Set the text color for the table row on hover */
+ --el-table-row-text-color: #fff !important; /* Set the text color for the table row */
+ --el-table-row-bg-color: transparent !important; /* Set the background color for the table row */
+ --el-table-header-cell-height: 40px !important; /* Set the height for the table header cell */
+ --el-table-cell-height: 40px !important; /* Set the height for the table cell */
+--el-table-cell-padding: 0 0 0 0 !important; /* Set the padding for the table cell */
+ --el-table-tr-bg-color: transparent !important; /* Set the background color for the table row */
+}
+
+.title{
+ height: 20px;
+ font-size: 20px;
+ font-weight: 700;
+ display: flex;
+ align-items: center;
+ color: #fff;
+}
\ No newline at end of file
diff --git a/src/views/SmartScreen/ReportScreen/components/header.png b/src/views/SmartScreen/ReportScreen/components/header.png
new file mode 100644
index 0000000..e9c8411
Binary files /dev/null and b/src/views/SmartScreen/ReportScreen/components/header.png differ
diff --git a/src/views/SmartScreen/ReportScreen/components/kbHeader.vue b/src/views/SmartScreen/ReportScreen/components/kbHeader.vue
new file mode 100644
index 0000000..d8e8658
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/components/kbHeader.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/components/kbTime.vue b/src/views/SmartScreen/ReportScreen/components/kbTime.vue
new file mode 100644
index 0000000..558fa0a
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/components/kbTime.vue
@@ -0,0 +1,34 @@
+
+
+ {{ datetime }}
+
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/components/logo.vue b/src/views/SmartScreen/ReportScreen/components/logo.vue
new file mode 100644
index 0000000..0df57fe
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/components/logo.vue
@@ -0,0 +1,39 @@
+
+
+
+
![]()
+
北泽阀门(昆山)有限公司
+
+
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/index.css b/src/views/SmartScreen/ReportScreen/index.css
new file mode 100644
index 0000000..6f4ea55
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/index.css
@@ -0,0 +1,58 @@
+body{
+ margin: 0;
+ padding: 0;
+}
+.background {
+ padding: 0;
+ margin: 0;
+ position: fixed;
+ left: 0px;
+ top: 0px;
+ width: 100%;
+ height: 100%;
+ background-color: black;
+ /* background: url('./background/2.png') no-repeat; */
+ background-size: 100% 100%;
+ -webkit-filter: brightness(0.1);
+ filter: brightness(0.1);
+ z-index: -1;
+}
+.border {
+ border: 2px solid #a9aabc;
+}
+.screen {
+ padding: 0;
+ margin: 0;
+ width: 99%;
+ height: 100%;
+ color: #eeeeee;
+ background-color: rgba(32, 163, 250, 0.2);
+}
+.screen .header {
+ width: 100%;
+ height: 100px;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+}
+.screen .title {
+ font-size: 30px;
+ font-weight: 700;
+ color: #eeeeee;
+}
+.screen .back {
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ color: #eeeeee;
+}
+.body{
+ display: flex;
+ flex-direction: column;
+}
+.box{
+ min-height: 350px;
+ padding: 20px;
+}
+
diff --git a/src/views/SmartScreen/ReportScreen/index.vue b/src/views/SmartScreen/ReportScreen/index.vue
new file mode 100644
index 0000000..ccbe37a
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/index.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
工单数
+
{{ orderData.workorderQuantity }} 个
+
+
+
+
+
已完成工单数
+
{{ orderData.finishedWorkorderQuantity }} 个
+
+
+
+
+
未完成工单数
+
{{ orderData.unFinishedWorkorderQuantity }} 个
+
+
+
+
+
生产计划数
+
{{ orderData.productionPlanQuantity }} 个
+
+
+
+
+
生产完成数
+
{{ orderData.productionFinishQuantity }} 个
+
+
+
+
+
组数量
+
{{ orderData.groupQuantity }} 组
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/SmartScreen/ReportScreen/theme/chalk.json b/src/views/SmartScreen/ReportScreen/theme/chalk.json
new file mode 100644
index 0000000..68e2a62
--- /dev/null
+++ b/src/views/SmartScreen/ReportScreen/theme/chalk.json
@@ -0,0 +1,356 @@
+{
+ "color": ["#8BC34A", "#05f8d6", "#fdd845", "#22ed7c", "#09b0d3", "#1d27c9", "#f9e264", "#f47a75", "#72ccff", "#f0805a", "#26c0c0", "#d851cc", "#b91dd8", "#2418ea"],
+ "backgroundColor": "transparent",
+ "textStyle": {
+ "color": "#fff"
+ },
+ "title": {
+ "textStyle": {
+ "color": "#ffffff"
+ },
+ "subtextStyle": {
+ "color": "#dddddd"
+ }
+ },
+ "line": {
+ "itemStyle": {
+ "borderWidth": "4"
+ },
+ "lineStyle": {
+ "width": "3"
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true
+ },
+ "radar": {
+ "itemStyle": {
+ "borderWidth": "4"
+ },
+ "lineStyle": {
+ "width": "3"
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true
+ },
+ "bar": {
+ "itemStyle": {
+ "barBorderWidth": 0,
+ "barBorderColor": "#ccc"
+ }
+ },
+ "pie": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "scatter": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "boxplot": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "parallel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "sankey": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "funnel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "gauge": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "candlestick": {
+ "itemStyle": {
+ "color": "#fc97af",
+ "color0": "transparent",
+ "borderColor": "#fc97af",
+ "borderColor0": "#87f7cf",
+ "borderWidth": "2"
+ }
+ },
+ "graph": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "lineStyle": {
+ "width": "1",
+ "color": "#ffffff"
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true,
+ "color": ["#fc97af", "#87f7cf", "#f7f494", "#72ccff", "#f7c5a0", "#d4a4eb", "#d2f5a6", "#76f2f2"],
+ "label": {
+ "color": "#FFFFF"
+ }
+ },
+ "map": {
+ "itemStyle": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#893448"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "rgba(255,178,72,1)",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "rgb(137,52,72)"
+ }
+ }
+ },
+ "geo": {
+ "itemStyle": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#893448"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "rgba(255,178,72,1)",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "rgb(137,52,72)"
+ }
+ }
+ },
+ "categoryAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#aaaaaa"
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": ["#e6e6e6"]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": ["rgba(250,250,250,0.05)", "rgba(200,200,200,0.02)"]
+ }
+ }
+ },
+ "valueAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#aaaaaa"
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": ["#e6e6e6"]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": ["rgba(250,250,250,0.05)", "rgba(200,200,200,0.02)"]
+ }
+ }
+ },
+ "logAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#aaaaaa"
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": ["#e6e6e6"]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": ["rgba(250,250,250,0.05)", "rgba(200,200,200,0.02)"]
+ }
+ }
+ },
+ "timeAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#aaaaaa"
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": ["#e6e6e6"]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": ["rgba(250,250,250,0.05)", "rgba(200,200,200,0.02)"]
+ }
+ }
+ },
+ "toolbox": {
+ "iconStyle": {
+ "borderColor": "#999999"
+ },
+ "emphasis": {
+ "iconStyle": {
+ "borderColor": "#666666"
+ }
+ }
+ },
+ "legend": {
+ "textStyle": {
+ "color": "#999999"
+ }
+ },
+ "tooltip": {
+ "axisPointer": {
+ "lineStyle": {
+ "color": "#cccccc",
+ "width": 1
+ },
+ "crossStyle": {
+ "color": "#cccccc",
+ "width": 1
+ }
+ }
+ },
+ "timeline": {
+ "lineStyle": {
+ "color": "#87f7cf",
+ "width": 1
+ },
+ "itemStyle": {
+ "color": "#87f7cf",
+ "borderWidth": 1
+ },
+ "controlStyle": {
+ "color": "#87f7cf",
+ "borderColor": "#87f7cf",
+ "borderWidth": 0.5
+ },
+ "checkpointStyle": {
+ "color": "#fc97af",
+ "borderColor": "#fc97af"
+ },
+ "label": {
+ "color": "#87f7cf"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "color": "#f7f494"
+ },
+ "controlStyle": {
+ "color": "#87f7cf",
+ "borderColor": "#87f7cf",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#87f7cf"
+ }
+ }
+ },
+ "visualMap": {
+ "color": ["#fc97af", "#87f7cf"]
+ },
+ "dataZoom": {
+ "backgroundColor": "rgba(255,255,255,0)",
+ "dataBackgroundColor": "rgba(114,204,255,1)",
+ "fillerColor": "rgba(114,204,255,0.2)",
+ "handleColor": "#72ccff",
+ "handleSize": "100%",
+ "textStyle": {
+ "color": "#333333"
+ }
+ },
+ "markPoint": {
+ "label": {
+ "color": "#293441"
+ },
+ "emphasis": {
+ "label": {
+ "color": "#293441"
+ }
+ }
+ }
+}
diff --git a/src/views/productManagement/WorkReport/index.vue b/src/views/productManagement/WorkReport/index.vue
index 0f95241..18db1a2 100644
--- a/src/views/productManagement/WorkReport/index.vue
+++ b/src/views/productManagement/WorkReport/index.vue
@@ -7,10 +7,10 @@
-
+
-
+
-
-
+
@@ -54,8 +54,8 @@
-
+
-
-
+
@@ -155,7 +155,7 @@ const showSearch = ref(true)
const queryParams = reactive({
pageNum: 1,
pageSize: 10,
- jobDate: [proxy.dayjs(), proxy.dayjs()],
+ jobDateTime: [proxy.dayjs(), proxy.dayjs()],
sort: 'workorder',
sortType: 'asc',
})
@@ -168,7 +168,7 @@ const columns = ref([
{ visible: true, align: 'center', type: '', prop: 'finishNum', label: '完成数量' },
{ visible: true, align: 'center', type: '', prop: 'badNum', label: '不良数量' },
{ visible: true, align: 'center', type: '', prop: 'worker', label: '作业员', showOverflowTooltip: true },
- { visible: true, align: 'center', type: '', prop: 'jobDate', label: '作业日期', showOverflowTooltip: true },
+ { visible: true, align: 'center', type: '', prop: 'jobDateTime', label: '作业日期', showOverflowTooltip: true },
{ visible: true, align: 'center', type: '', prop: 'remark', label: '备注', showOverflowTooltip: true },
{ visible: false, align: 'center', type: '', prop: 'createdBy', label: '创建人', showOverflowTooltip: true },
{ visible: false, align: 'center', type: '', prop: 'createdTime', label: '创建时间', showOverflowTooltip: true },
@@ -260,7 +260,7 @@ function reset() {
finishNum: null,
badNum: null,
worker: null,
- jobDate: null,
+ jobDateTime: null,
remark: null,
createdBy: null,
createdTime: null,
diff --git a/src/views/touchScreen/main/index.vue b/src/views/touchScreen/main/index.vue
index dd837f4..a4b6d88 100644
--- a/src/views/touchScreen/main/index.vue
+++ b/src/views/touchScreen/main/index.vue
@@ -69,7 +69,7 @@ const checkIsFullScreen = () => {
// 进入全屏
const goFullScreen = () => {
- const appEl = document.getElementById('app');
+ const appEl = document.documentElement;
if (appEl) {
appEl.requestFullscreen();
checkIsFullScreen(); // 更新状态
@@ -130,11 +130,9 @@ const userInfo = ref({
})
function getUser() {
getUserProfile().then((response) => {
-
if (response.code === 200) {
userInfo.value.user = response.data.user
userInfo.value.roles = response.data.roles
- console.log(userInfo);
}
})
}
@@ -146,8 +144,8 @@ import { useDisplay } from "vuetify";
const { mobile, name } = useDisplay();
onMounted(() => {
- console.log(mobile.value); // false
- console.log(name.value); // false
+ console.log('是否是移动设备', mobile.value); // false
+ console.log('桌面大小', name.value); // false
});
diff --git a/src/views/touchScreen/report/index.vue b/src/views/touchScreen/report/index.vue
index 93c53a9..602aedc 100644
--- a/src/views/touchScreen/report/index.vue
+++ b/src/views/touchScreen/report/index.vue
@@ -4,13 +4,15 @@
- 报工
- 历史报工记录
+ 工序报工
+ 此工单工序记录
+ 此工序今日记录
+ 员工报工记录
-
+
@@ -29,21 +31,59 @@
-
+
-
-
-
-
- {{
- `完成数:${item.finishNum ?? 0} 不良数:${item.badNum ?? 0}`
- }}
-
- {{ `作业员:${item.worker} 提交时间:${item.jobDate}` }}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -202,7 +242,6 @@ const formData = ref({
// routeCode: '路线编码',
// groupCode: '组编码'
})
-
const reportWorkerOrderList = ref([])
function handleScanInput(val) {
@@ -300,6 +339,55 @@ function submit() {
})
}
+
+const queryParams1 = reactive({
+ name: '',
+ pageNum: 1,
+ pageSize: 10,
+ processId: null,
+})
+const queryParams2 = reactive({
+ name: '',
+ pageNum: 1,
+ pageSize: 10,
+ processId: null,
+})
+const loading = ref(false)
+const total1 = ref(0)
+const nowdayReportDataList = ref([])
+function nowdayReportOrderList() {
+ loading.value = true
+ queryParams1.processId = processId.value
+ ReportApi.GetReportByProcessId(queryParams1).then(res => {
+ const { code, data } = res
+ if (code == 200) {
+ nowdayReportDataList.value = data.result
+ total1.value = data.totalNum
+ loading.value = false
+ }
+ })
+}
+const total2 = ref(0)
+const userReportDataList = ref([])
+function queryUserReport() {
+ loading.value = true
+ if (queryParams2.name === '') {
+ dialog.show = true
+ dialog.class = 'bg-amber'
+ dialog.title = '异常提示'
+ dialog.text = '请输入姓名拼音'
+ return
+ }
+ ReportApi.GetReportInfoByName(queryParams2).then(res => {
+ const { code, data } = res
+ if (code == 200) {
+ userReportDataList.value = data.result
+ total2.value = data.totalNum
+ loading.value = false
+ }
+ })
+}
+