-
+
@@ -81,9 +77,9 @@ import { CirclePlus, Delete, Download,View } from '@element-plus/icons-vue'
const currentScriptDsc = ref('电压准确度检测:频率:42.5Hz Ua=46.192V 0° Ub=46.192V -120° Uc=46.192V 120° Ia=1A 0° Ib=1A -120° Ic=1A 120°');
const reportData = ref([
- { id: '1', deviceName: '被检设备1', processValue: '100' , action:'查看' },
- { id: '2', deviceName: '被检设备2', processValue: '100' , action:'查看' },
- { id: '3', deviceName: '被检设备3', processValue: '10', action:'查看' },
+ { id: '1', deviceName: '240001', processValue: '100' , action:'查看' },
+ { id: '2', deviceName: '240002', processValue: '100' , action:'查看' },
+ { id: '3', deviceName: '240003', processValue: '10', action:'查看' },
])
const customColors = [
{ color: "red", percentage: 0 },
diff --git a/frontend/src/views/home/components/resultPopup.vue b/frontend/src/views/home/components/resultPopup.vue
index 557a289..f324608 100644
--- a/frontend/src/views/home/components/resultPopup.vue
+++ b/frontend/src/views/home/components/resultPopup.vue
@@ -3,13 +3,13 @@
-
+
-
+
diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue
index 0f9f915..baa426a 100644
--- a/frontend/src/views/home/components/table.vue
+++ b/frontend/src/views/home/components/table.vue
@@ -24,7 +24,7 @@
{
form.value.activeChildTabs= val2;
deviceData.value = tabledata;
tableHeaderInit(val)
- console.log(form,val,val2,666)
};
//根据当前功能,初始化表头下拉框中的默认值和禁用值
diff --git a/frontend/src/views/home/tabs/dashboard.vue b/frontend/src/views/home/tabs/dashboard.vue
index 470f4bd..56dc6ff 100644
--- a/frontend/src/views/home/tabs/dashboard.vue
+++ b/frontend/src/views/home/tabs/dashboard.vue
@@ -251,15 +251,15 @@ const chartsData1: any = ref([]),
const getPieData = () => {
chartsData1.value = [
- { value: Math.floor(Math.random() * 100) + 1, name: "未检测", itemStyle: { color: '#fac858' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "检测中", itemStyle: { color: '#ee6666' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "检测完成", itemStyle: { color: '#91cc75' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "归档", itemStyle: { color: '#5470c6' } },
+ { value: 12, name: "未检测", itemStyle: { color: '#fac858' } },
+ { value: 0, name: "检测中", itemStyle: { color: '#ee6666' } },
+ { value: 6, name: "检测完成", itemStyle: { color: '#91cc75' } },
+ { value: 2, name: "归档", itemStyle: { color: '#5470c6' } },
];
chartsData2.value = [
- { value: Math.floor(Math.random() * 100) + 1, name: "未检测" , itemStyle: { color: '#fac858' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "不合格" , itemStyle: { color: '#ee6666' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "合格", itemStyle: { color: '#91cc75' } },
+ { value: 12, name: "未检测" , itemStyle: { color: '#fac858' } },
+ { value: 3, name: "不合格" , itemStyle: { color: '#ee6666' } },
+ { value: 5, name: "合格", itemStyle: { color: '#91cc75' } },
// { value: Math.floor(Math.random() * 100) + 1, name: "有不合格项" , itemStyle: { color: '#ee6666' } },
// { value: Math.floor(Math.random() * 100) + 1, name: "全部合格", itemStyle: { color: '#91cc75' } },
];
@@ -268,9 +268,9 @@ const getPieData = () => {
// { value: Math.floor(Math.random() * 100) + 1, name: "已生成报告" },
// { value: Math.floor(Math.random() * 100) + 1, name: "未生成报告" },
- { value: Math.floor(Math.random() * 100) + 1, name: "未检测" , itemStyle: { color: '#fac858' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "未生成" , itemStyle: { color: '#ee6666' } },
- { value: Math.floor(Math.random() * 100) + 1, name: "已生成", itemStyle: { color: '#91cc75' } },
+ { value: 12, name: "未检测" , itemStyle: { color: '#fac858' } },
+ { value: 4, name: "未生成" , itemStyle: { color: '#ee6666' } },
+ { value: 4, name: "已生成", itemStyle: { color: '#91cc75' } },
// { value: Math.floor(Math.random() * 100) + 1, name: "未检测" , itemStyle: { color: '#fac858' } },
diff --git a/frontend/src/views/plan/planList/index.vue b/frontend/src/views/plan/planList/index.vue
index d6a6a83..a0ed3b6 100644
--- a/frontend/src/views/plan/planList/index.vue
+++ b/frontend/src/views/plan/planList/index.vue
@@ -248,27 +248,6 @@ const columns = reactive[]>([
search: { el: 'select', props: { filterable: true } },
fieldNames: { label: 'label', value: 'id' },
},
-// {
-// prop: 'father_Plan_Id',
-// label: '父节点',
-// width: 200,
-// enum: testFatherPlanList,
-// fieldNames: { label: 'label', value: 'id' },
-// },
- // {
- // prop: 'create_Time',
- // label: '记录时间',
- // minWidth: 180,
- // search: {
- // span: 2,
- // render: () => {
- // return (
- //
- //
- // )
- // },
- // },
- // },
{ prop: 'operation', label: '操作', fixed: 'right', width: 250 },
])