Explorar el Código

feat: 数据资产新增菜单

sunxiao hace 2 meses
padre
commit
4202b3fdf6

+ 44 - 0
src/api/business/calculate.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义计算数据列表
+export function listCalculate(query) {
+  return request({
+    url: '/business/calculate/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义计算数据详细
+export function getCalculate(id) {
+  return request({
+    url: '/business/calculate/' + id,
+    method: 'get'
+  })
+}
+
+// 新增信义计算数据
+export function addCalculate(data) {
+  return request({
+    url: '/business/calculate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义计算数据
+export function updateCalculate(data) {
+  return request({
+    url: '/business/calculate',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义计算数据
+export function delCalculate(id) {
+  return request({
+    url: '/business/calculate/' + id,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/daily.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义日报数据列表
+export function listDaily(query) {
+  return request({
+    url: '/business/daily/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义日报数据详细
+export function getDaily(ID) {
+  return request({
+    url: '/business/daily/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义日报数据
+export function addDaily(data) {
+  return request({
+    url: '/business/daily',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义日报数据
+export function updateDaily(data) {
+  return request({
+    url: '/business/daily',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义日报数据
+export function delDaily(ID) {
+  return request({
+    url: '/business/daily/' + ID,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/day.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义大天维度统计列表
+export function listDay(query) {
+  return request({
+    url: '/business/day/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义大天维度统计详细
+export function getDay(ID) {
+  return request({
+    url: '/business/day/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义大天维度统计
+export function addDay(data) {
+  return request({
+    url: '/business/day',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义大天维度统计
+export function updateDay(data) {
+  return request({
+    url: '/business/day',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义大天维度统计
+export function delDay(ID) {
+  return request({
+    url: '/business/day/' + ID,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/hour.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义大小时维度统计列表
+export function listHour(query) {
+  return request({
+    url: '/business/hour/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义大小时维度统计详细
+export function getHour(ID) {
+  return request({
+    url: '/business/hour/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义大小时维度统计
+export function addHour(data) {
+  return request({
+    url: '/business/hour',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义大小时维度统计
+export function updateHour(data) {
+  return request({
+    url: '/business/hour',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义大小时维度统计
+export function delHour(ID) {
+  return request({
+    url: '/business/hour/' + ID,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/industry.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义工业数据列表
+export function listIndustry(query) {
+  return request({
+    url: '/business/industry/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义工业数据详细
+export function getIndustry(ID) {
+  return request({
+    url: '/business/industry/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义工业数据
+export function addIndustry(data) {
+  return request({
+    url: '/business/industry',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义工业数据
+export function updateIndustry(data) {
+  return request({
+    url: '/business/industry',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义工业数据
+export function delIndustry(ID) {
+  return request({
+    url: '/business/industry/' + ID,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/month.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义大月维度统计列表
+export function listMonth(query) {
+  return request({
+    url: '/business/month/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义大月维度统计详细
+export function getMonth(ID) {
+  return request({
+    url: '/business/month/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义大月维度统计
+export function addMonth(data) {
+  return request({
+    url: '/business/month',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义大月维度统计
+export function updateMonth(data) {
+  return request({
+    url: '/business/month',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义大月维度统计
+export function delMonth(ID) {
+  return request({
+    url: '/business/month/' + ID,
+    method: 'delete'
+  })
+}

+ 44 - 0
src/api/business/robot.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询信义化验数据列表
+export function listRobot(query) {
+  return request({
+    url: '/business/robot/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询信义化验数据详细
+export function getRobot(ID) {
+  return request({
+    url: '/business/robot/' + ID,
+    method: 'get'
+  })
+}
+
+// 新增信义化验数据
+export function addRobot(data) {
+  return request({
+    url: '/business/robot',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改信义化验数据
+export function updateRobot(data) {
+  return request({
+    url: '/business/robot',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除信义化验数据
+export function delRobot(ID) {
+  return request({
+    url: '/business/robot/' + ID,
+    method: 'delete'
+  })
+}

+ 1 - 1
src/directive/permission/hasPermi.js

@@ -10,7 +10,7 @@ export default {
     const { value } = binding
     const all_permission = "*:*:*";
     const permissions = useUserStore().permissions
-
+    console.log(permissions);
     if (value && value instanceof Array && value.length > 0) {
       const permissionFlag = value
 

+ 2 - 2
src/layout/components/Navbar.vue

@@ -36,9 +36,9 @@
               <router-link to="/user/profile">
                 <el-dropdown-item>个人中心</el-dropdown-item>
               </router-link>
-              <el-dropdown-item command="setLayout" v-if="settingsStore.showSettings">
+              <!-- <el-dropdown-item command="setLayout" v-if="settingsStore.showSettings">
                 <span>布局设置</span>
-              </el-dropdown-item>
+              </el-dropdown-item> -->
               <el-dropdown-item divided command="logout">
                 <span>退出登录</span>
               </el-dropdown-item>

+ 253 - 0
src/views/business/calculate/index.vue

@@ -0,0 +1,253 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="日期" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="calculateList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验时间" align="center" prop="testTime" />
+      <el-table-column label="进水碳氮比" align="center" prop="jsTdb" />
+      <el-table-column label="进水碳磷比" align="center" prop="jsTlb" />
+      <el-table-column label="进水BOD与COD比值(生化性)" align="center" prop="jsBodBCod" />
+      <el-table-column label="厌氧区停留时间" align="center" prop="yyqHrt" />
+      <el-table-column label="缺氧区停留时间" align="center" prop="qyqHrt" />
+      <el-table-column label="好氧区停留时间" align="center" prop="hyqHrt" />
+      <el-table-column label="挥发性污泥浓度占比" align="center" prop="HFXWNNDZB" />
+      <el-table-column label="F/M" align="center" prop="fM" />
+      <el-table-column label="过栅流速" align="center" prop="GSLS" />
+      <el-table-column label="第1道粗格栅过栅流速" align="center" prop="gslsOne" />
+      <el-table-column label="第2道粗格栅过栅流速" align="center" prop="gslsTwo" />
+      <el-table-column label="细格栅过栅流速" align="center" prop="xgsGsls" />
+      <el-table-column label="旋流沉砂池表面负荷" align="center" prop="xlcscBmfh" />
+      <el-table-column label="旋流沉砂池停留时间" align="center" prop="xlcscHrt" />
+      <el-table-column label="初次沉淀池表面负荷" align="center" prop="cccdcBmfh" />
+      <el-table-column label="初次沉淀池停留时间" align="center" prop="cccdcHrt" />
+      <el-table-column label="二沉池表面负荷" align="center" prop="eccBmfh" />
+      <el-table-column label="二沉池停留时间" align="center" prop="eccHrt" />
+      <el-table-column label="二沉池固体负荷" align="center" prop="eccGtfh" />
+      <el-table-column label="次氯酸钠接触时间" align="center" prop="clsnJcsj" />
+      <el-table-column label="斜管沉淀池清水区上升流速" align="center" prop="xgcdcQsqSsls" />
+      <el-table-column label="外回流比" align="center" prop="WHLB" />
+      <el-table-column label="外回流比,新的计算方式" align="center" prop="whlRN" />
+      <el-table-column label="内回流比" align="center" prop="NHLB" />
+      <el-table-column label="万吨水产泥率" align="center" prop="WDSCNL" />
+      <el-table-column label="生化池气水比" align="center" prop="QSB" />
+      <el-table-column label="反冲洗水量" align="center" prop="FCXSL" />
+      <el-table-column label="反冲洗水量比例" align="center" prop="FCXSLBL" />
+      <el-table-column label="备注" align="center" prop="remark" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义计算数据对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="calculateRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Calculate">
+import { listCalculate, getCalculate, delCalculate, addCalculate, updateCalculate } from "@/api/business/calculate";
+
+const { proxy } = getCurrentInstance();
+
+const calculateList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义计算数据列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listCalculate(queryParams.value).then(response => {
+    calculateList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+    id: null,
+    testDate: null,
+    testHour: null,
+    testTime: null,
+    jsTdb: null,
+    jsTlb: null,
+    jsBodBCod: null,
+    yyqHrt: null,
+    qyqHrt: null,
+    hyqHrt: null,
+    HFXWNNDZB: null,
+    fM: null,
+    GSLS: null,
+    gslsOne: null,
+    gslsTwo: null,
+    xgsGsls: null,
+    xlcscBmfh: null,
+    xlcscHrt: null,
+    cccdcBmfh: null,
+    cccdcHrt: null,
+    eccBmfh: null,
+    eccHrt: null,
+    eccGtfh: null,
+    clsnJcsj: null,
+    xgcdcQsqSsls: null,
+    WHLB: null,
+    whlRN: null,
+    NHLB: null,
+    WDSCNL: null,
+    QSB: null,
+    FCXSL: null,
+    FCXSLBL: null,
+    delFlag: null,
+    revision: null,
+    createBy: null,
+    createTime: null,
+    updateBy: null,
+    updateTime: null,
+    remark: null
+  };
+  proxy.resetForm("calculateRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.id);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义计算数据";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _id = row.id || ids.value
+  getCalculate(_id).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义计算数据";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["calculateRef"].validate(valid => {
+    if (valid) {
+      if (form.value.id != null) {
+        updateCalculate(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addCalculate(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _ids = row.id || ids.value;
+  proxy.$modal.confirm('是否确认删除信义计算数据编号为"' + _ids + '"的数据项?').then(function() {
+    return delCalculate(_ids);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/calculate/export', {
+    ...queryParams.value
+  }, `calculate_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 336 - 0
src/views/business/daily/index.vue

@@ -0,0 +1,336 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="化验日期" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="dailyList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验日期" align="center" prop="testDate" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.testDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="进水化学需氧量 COD" align="center" prop="jsCod" />
+      <el-table-column label="进水酸碱度pH" align="center" prop="jsPh" />
+      <el-table-column label="进水生化需氧量BOD₅" align="center" prop="jsBod5" />
+      <el-table-column label="进水悬浮物 SS" align="center" prop="jsSs" />
+      <el-table-column label="进水氨氮 NH₃-N" align="center" prop="jsNh3" />
+      <el-table-column label="进水总氮TN" align="center" prop="jsTn" />
+      <el-table-column label="进水总磷TP" align="center" prop="jsTp" />
+      <el-table-column label="进水粪菌群" align="center" prop="jsDcgj" />
+      <el-table-column label="出水化学需氧量COD" align="center" prop="csCod" />
+      <el-table-column label="出水酸碱度pH" align="center" prop="csPh" />
+      <el-table-column label="出水生化需氧量BOD₅" align="center" prop="csBod5" />
+      <el-table-column label="出水悬浮物SS" align="center" prop="csSs" />
+      <el-table-column label="出水氨氮 NH₃-N" align="center" prop="csNh3" />
+      <el-table-column label="出水总氮TN" align="center" prop="csTn" />
+      <el-table-column label="出水总磷TP" align="center" prop="csTp" />
+      <el-table-column label="出水粪菌群" align="center" prop="csDcgj" />
+      <el-table-column label="进水水温" align="center" prop="jsSw" />
+      <el-table-column label="出水水温" align="center" prop="csSw" />
+      <el-table-column label="生化池好氧池#1 酸碱度pH" align="center" prop="shcOnePh" />
+      <el-table-column label="生化池好氧池#2 酸碱度pH" align="center" prop="shcTwoPh" />
+      <el-table-column label="生化池好氧池#1 污泥沉降比SV%" align="center" prop="shcHyOneSv" />
+      <el-table-column label="生化池好氧池#2 污泥沉降比SV%" align="center" prop="shcHyTwoSv" />
+      <el-table-column label="生化池好氧池#1 污泥体积指数SVI" align="center" prop="shcHyOneSvi" />
+      <el-table-column label="生化池好氧池#2 污泥体积指数SVI" align="center" prop="shcHyTwoSvi" />
+      <el-table-column label="生化池好氧池#1 污泥浓度MLSS" align="center" prop="shcHyOneMlss" />
+      <el-table-column label="生化池好氧池#2 污泥浓度MLSS" align="center" prop="shcHyTwoMlss" />
+      <el-table-column label="生化池好氧池#1 挥发性污泥浓度MLVSS" align="center" prop="shcHyOneMlvss" />
+      <el-table-column label="生化池好氧池#2 挥发性污泥浓度MLVSS" align="center" prop="shcHyTwoMlvss" />
+      <el-table-column label="生化池厌氧池#1 溶解氧DO" align="center" prop="shcYyOneDo" />
+      <el-table-column label="生化池厌氧池#2 溶解氧DO" align="center" prop="shcYyTwoDo" />
+      <el-table-column label="生化池缺氧池#1 溶解氧DO" align="center" prop="shcQyOneDo" />
+      <el-table-column label="生化池缺氧池#2 溶解氧DO" align="center" prop="shcQyTwoDo" />
+      <el-table-column label="生化池好氧池#1 溶解氧DO" align="center" prop="shcHyOneDo" />
+      <el-table-column label="生化池好氧池#2 溶解氧DO" align="center" prop="shcHyTwoDo" />
+      <el-table-column label="进水量" align="center" prop="JSL" />
+      <el-table-column label="出水量" align="center" prop="CSL" />
+      <el-table-column label="深度处理冲洗水量(m³)" align="center" prop="SDCLCXSL" />
+      <el-table-column label="气水比" align="center" prop="QSB" />
+      <el-table-column label="F/M" align="center" prop="fM" />
+      <el-table-column label="厌氧区停留时间 HRT" align="center" prop="yyHrt" />
+      <el-table-column label="好氧区停留时间HRT" align="center" prop="hyHrt" />
+      <el-table-column label="缺氧区停留时间 HRT" align="center" prop="qyHrt" />
+      <el-table-column label="内回流r" align="center" prop="nhlR" />
+      <el-table-column label="外回流R" align="center" prop="whlR" />
+      <el-table-column label="污泥龄SRT" align="center" prop="SRT" />
+      <el-table-column label="产泥率" align="center" prop="CNL" />
+      <el-table-column label="投药前 BOD₅/TN" align="center" prop="tyqBod5Tn" />
+      <el-table-column label="投药后 BOD₅/TN" align="center" prop="tyhBod5Tn" />
+      <el-table-column label="好氧池溶解氧集合" align="center" prop="hycRjyAll" />
+      <el-table-column label="好氧池污泥浓度集合" align="center" prop="hycWnndAll" />
+      <el-table-column label="厌氧池溶解氧集合" align="center" prop="yycRjyAll" />
+      <el-table-column label="缺氧池溶解氧集合" align="center" prop="qycRjyAll" />
+      <el-table-column label="污泥沉降比集合" align="center" prop="wncjbAll" />
+      <el-table-column label="污泥体积指数集合" align="center" prop="wntjzsAll" />
+      <el-table-column label="挥发性污泥浓度集合" align="center" prop="hfxwnndAll" />
+      <el-table-column label="创建时间" align="center" prop="createdTime" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="出泥量(m³)" align="center" prop="CHUNILIANG" />
+      <el-table-column label="出泥含水率(%)" align="center" prop="CNHSL" />
+      <el-table-column label="干污泥量(m³)" align="center" prop="GWNL" />
+      <el-table-column label="电费" align="center" prop="DF" />
+      <el-table-column label="絮凝剂费" align="center" prop="XNJF" />
+      <el-table-column label="除磷费" align="center" prop="CLF" />
+      <el-table-column label="碳源费" align="center" prop="TYF" />
+      <el-table-column label="消毒剂费" align="center" prop="XDJF" />
+      <el-table-column label="其他药剂费" align="center" prop="QTYJF" />
+      <el-table-column label="采暖费" align="center" prop="CNF" />
+      <el-table-column label="自来水费" align="center" prop="ZLSF" />
+      <el-table-column label="直接成本" align="center" prop="ZJCB" />
+      <el-table-column label="单位成本" align="center" prop="DWCB" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义日报数据对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="dailyRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Daily">
+import { listDaily, getDaily, delDaily, addDaily, updateDaily } from "@/api/business/daily";
+
+const { proxy } = getCurrentInstance();
+
+const dailyList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义日报数据列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listDaily(queryParams.value).then(response => {
+    dailyList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+    ID: null,
+    testDate: null,
+    testHour: null,
+    testTime: null,
+    SORT: null,
+    jsCod: null,
+    jsPh: null,
+    jsBod5: null,
+    jsSs: null,
+    jsNh3: null,
+    jsTn: null,
+    jsTp: null,
+    jsDcgj: null,
+    csCod: null,
+    csPh: null,
+    csBod5: null,
+    csSs: null,
+    csNh3: null,
+    csTn: null,
+    csTp: null,
+    csDcgj: null,
+    jsSw: null,
+    csSw: null,
+    shcOnePh: null,
+    shcTwoPh: null,
+    shcHyOneSv: null,
+    shcHyTwoSv: null,
+    shcHyOneSvi: null,
+    shcHyTwoSvi: null,
+    shcHyOneMlss: null,
+    shcHyTwoMlss: null,
+    shcHyOneMlvss: null,
+    shcHyTwoMlvss: null,
+    shcYyOneDo: null,
+    shcYyTwoDo: null,
+    shcQyOneDo: null,
+    shcQyTwoDo: null,
+    shcHyOneDo: null,
+    shcHyTwoDo: null,
+    JSL: null,
+    CSL: null,
+    SDCLCXSL: null,
+    QSB: null,
+    fM: null,
+    yyHrt: null,
+    hyHrt: null,
+    qyHrt: null,
+    nhlR: null,
+    whlR: null,
+    SRT: null,
+    CNL: null,
+    tyqBod5Tn: null,
+    tyhBod5Tn: null,
+    hycRjyAll: null,
+    hycWnndAll: null,
+    yycRjyAll: null,
+    qycRjyAll: null,
+    wncjbAll: null,
+    wntjzsAll: null,
+    hfxwnndAll: null,
+    createdTime: null,
+    CHUNILIANG: null,
+    CNHSL: null,
+    GWNL: null,
+    DF: null,
+    XNJF: null,
+    CLF: null,
+    TYF: null,
+    XDJF: null,
+    QTYJF: null,
+    CNF: null,
+    ZLSF: null,
+    ZJCB: null,
+    DWCB: null
+  };
+  proxy.resetForm("dailyRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义日报数据";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getDaily(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义日报数据";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["dailyRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateDaily(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addDaily(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义日报数据编号为"' + _IDs + '"的数据项?').then(function() {
+    return delDaily(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/daily/export', {
+    ...queryParams.value
+  }, `daily_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 366 - 0
src/views/business/day/index.vue

@@ -0,0 +1,366 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="化验日期" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="dayList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验日期" align="center" prop="testDate" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.testDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="工业表-进水化学需氧量COD" align="center" prop="gyJsCod" />
+      <el-table-column label="工业表-进水酸碱度pH" align="center" prop="gyJsPh" />
+      <el-table-column label="工业表-进水悬浮物SS" align="center" prop="gyJsSs" />
+      <el-table-column label="工业表-进水总磷TP" align="center" prop="gyJsTp" />
+      <el-table-column label="工业表-进水总氮TN" align="center" prop="gyJsTn" />
+      <el-table-column label="工业表-进水氨氮NH₃-N" align="center" prop="gyJsNh3" />
+      <el-table-column label="工业表-进水水温/进水PH - 2个值" align="center" prop="gyJsSwPh" />
+      <el-table-column label="工业表-进水泵房液位 " align="center" prop="gyJsBfyw" />
+      <el-table-column label="工业表-出水水量Q出" align="center" prop="gyCsSlqc" />
+      <el-table-column label="工业表-出水化学需氧量COD" align="center" prop="gyCsCod" />
+      <el-table-column label="工业表-出水酸碱度pH" align="center" prop="gyCsPh" />
+      <el-table-column label="工业表-出水悬浮物SS" align="center" prop="gyCsSs" />
+      <el-table-column label="工业表-出水总氮TN" align="center" prop="gyCsTn" />
+      <el-table-column label="工业表-出水总磷TP" align="center" prop="gyCsTp" />
+      <el-table-column label="工业表-出水氨氮NH₃-N" align="center" prop="gyCsNh3" />
+      <el-table-column label="工业表-1#池好氧中段溶解氧 DO" align="center" prop="gyOneHyzdDo" />
+      <el-table-column label="工业表-1#池好氧末段溶解氧 DO" align="center" prop="gyOneHymdDo" />
+      <el-table-column label="工业表-2#池好氧中段溶解氧 DO" align="center" prop="gyTwoHyzdDo" />
+      <el-table-column label="工业表-2#池好氧末段溶解氧 DO" align="center" prop="gyTwoHymdDo" />
+      <el-table-column label="工业表-1#池污泥浓度" align="center" prop="gyOneMlss" />
+      <el-table-column label="工业表-2#池污泥浓度" align="center" prop="gyTwoMlss" />
+      <el-table-column label="工业表-进水溶解性总固体TDS" align="center" prop="gyJsTds" />
+      <el-table-column label="工业表-进水水量Q进" align="center" prop="gyJsSlq" />
+      <el-table-column label="工业表-内回流泵1# 1号泵 工频" align="center" prop="gyNHlbOneGp" />
+      <el-table-column label="工业表-内回流泵1# 2号泵 工频" align="center" prop="gyNHlbTwoGp" />
+      <el-table-column label="工业表-内回流泵1# 3号泵 工频" align="center" prop="gyNHlbThreeGp" />
+      <el-table-column label="工业表-内回流泵2# 4号泵 工频" align="center" prop="gyNHlbFourGp" />
+      <el-table-column label="工业表-内回流泵2# 5号泵 工频" align="center" prop="gyNhlBFiveGp" />
+      <el-table-column label="工业表-内回流泵2# 6号泵 工频" align="center" prop="gyNHlbSixGp" />
+      <el-table-column label="工业表-外回流泵1 工频" align="center" prop="gyWHlbOneGp" />
+      <el-table-column label="工业表-外回流泵2 工频" align="center" prop="gyWHlbTwoGp" />
+      <el-table-column label="工业表-外回流泵3 工频" align="center" prop="gyWHlbThreeGp" />
+      <el-table-column label="工业表-外回流泵4 工频" align="center" prop="gyWHlbFourGp" />
+      <el-table-column label="工业表-外回流泵5 工频" align="center" prop="gyWHlbFiveGp" />
+      <el-table-column label="工业表-风机1" align="center" prop="gyFjOne" />
+      <el-table-column label="工业表-风机2" align="center" prop="gyFjTwo" />
+      <el-table-column label="工业表-风机3" align="center" prop="gyFjThree" />
+      <el-table-column label="工业表-风机4" align="center" prop="gyFjFour" />
+      <el-table-column label="工业表-风机5" align="center" prop="gyFjFive" />
+      <el-table-column label="工业表-风机6" align="center" prop="gyFjSix" />
+      <el-table-column label="工业表-空气流量1" align="center" prop="gyKqllOne" />
+      <el-table-column label="工业表-空气流量2" align="center" prop="gyKqllTwo" />
+      <el-table-column label="工业表-空气流量3" align="center" prop="gyKqllThree" />
+      <el-table-column label="工业表-空气流量4" align="center" prop="gyKqllFour" />
+      <el-table-column label="工业表-空气流量5" align="center" prop="gyKqllFive" />
+      <el-table-column label="工业表-空气流量6" align="center" prop="gyKqllSix" />
+      <el-table-column label="工业表-信义污水厂实际碳源加药量" align="center" prop="gySjtyjly" />
+      <el-table-column label="工业表-信义污水厂除磷加药瞬时流量" align="center" prop="gyCljyssll" />
+      <el-table-column label="工业表-好氧池溶解氧集合" align="center" prop="gyHycRjyAll" />
+      <el-table-column label="工业表-好氧池中断溶解氧" align="center" prop="gyHycRjyZdAll" />
+      <el-table-column label="工业表-好氧池污泥浓度集合" align="center" prop="gyHycWnndAll" />
+      <el-table-column label="工业表-信义污水厂_除磷P04预测值_" align="center" prop="gyClP04Ycz" />
+      <el-table-column label="日报表-进水化学需氧量 COD" align="center" prop="rbJsCod" />
+      <el-table-column label="日报表-进水酸碱度pH" align="center" prop="rbJsPh" />
+      <el-table-column label="日报表-进水生化需氧量BOD₅" align="center" prop="rbJsBod5" />
+      <el-table-column label="日报表-进水悬浮物 SS" align="center" prop="rbJsSs" />
+      <el-table-column label="日报表-进水氨氮 NH₃-N" align="center" prop="rbJsNh3" />
+      <el-table-column label="日报表-进水总氮TN" align="center" prop="rbJsTn" />
+      <el-table-column label="日报表-进水总磷TP" align="center" prop="rbJsTp" />
+      <el-table-column label="日报表-进水粪菌群" align="center" prop="rbJsDcgj" />
+      <el-table-column label="日报表-出水化学需氧量COD" align="center" prop="rbCsCod" />
+      <el-table-column label="日报表-出水酸碱度pH" align="center" prop="rbCsPh" />
+      <el-table-column label="日报表-出水生化需氧量BOD₅" align="center" prop="rbCsBod5" />
+      <el-table-column label="日报表-出水悬浮物SS" align="center" prop="rbCsSs" />
+      <el-table-column label="日报表-出水氨氮 NH₃-N" align="center" prop="rbCsNh3" />
+      <el-table-column label="日报表-出水总氮TN" align="center" prop="rbCsTn" />
+      <el-table-column label="日报表-出水总磷TP" align="center" prop="rbCsTp" />
+      <el-table-column label="日报表-出水粪菌群" align="center" prop="rbCsDcgj" />
+      <el-table-column label="日报表-进水水温" align="center" prop="rbJsSw" />
+      <el-table-column label="日报表-出水水温" align="center" prop="rbCsSw" />
+      <el-table-column label="日报表-生化池好氧池#1 酸碱度pH" align="center" prop="rbShcOnePh" />
+      <el-table-column label="日报表-生化池好氧池#2 酸碱度pH" align="center" prop="rbShcTwoPh" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥沉降比SV%" align="center" prop="rbShcHyOneSv" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥沉降比SV%" align="center" prop="rbShcHyTwoSv" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥体积指数SVI" align="center" prop="rbShcHyOneSvi" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥体积指数SVI" align="center" prop="rbShcHyTwoSvi" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥浓度MLSS" align="center" prop="rbShcHyOneMlss" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥浓度MLSS" align="center" prop="rbShcHyTwoMlss" />
+      <el-table-column label="日报表-生化池好氧池#1 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyOneMlvss" />
+      <el-table-column label="日报表-生化池好氧池#2 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyTwoMlvss" />
+      <el-table-column label="日报表-生化池厌氧池#1 溶解氧DO" align="center" prop="rbShcYyOneDo" />
+      <el-table-column label="日报表-生化池厌氧池#2 溶解氧DO" align="center" prop="rbShcYyTwoDo" />
+      <el-table-column label="日报表-生化池缺氧池#1 溶解氧DO" align="center" prop="rbShcQyOneDo" />
+      <el-table-column label="日报表-生化池缺氧池#2 溶解氧DO" align="center" prop="rbShcQyTwoDo" />
+      <el-table-column label="日报表-生化池好氧池#1 溶解氧DO" align="center" prop="rbShcHyOneDo" />
+      <el-table-column label="日报表-生化池好氧池#2 溶解氧DO" align="center" prop="rbShcHyTwoDo" />
+      <el-table-column label="日报表-进水量" align="center" prop="rbJsl" />
+      <el-table-column label="日报表-出水量" align="center" prop="rbCsl" />
+      <el-table-column label="日报表-深度处理冲洗水量(m³)" align="center" prop="rbSdclcxsl" />
+      <el-table-column label="日报表-气水比" align="center" prop="rbQsb" />
+      <el-table-column label="日报表-F/M" align="center" prop="rbFM" />
+      <el-table-column label="日报表-厌氧区停留时间 HRT" align="center" prop="rbYyHrt" />
+      <el-table-column label="日报表-好氧区停留时间HRT" align="center" prop="rbHyHrt" />
+      <el-table-column label="日报表-缺氧区停留时间 HRT" align="center" prop="rbQyHrt" />
+      <el-table-column label="日报表-内回流r" align="center" prop="rbNhlR" />
+      <el-table-column label="日报表-外回流R" align="center" prop="rbWhlR" />
+      <el-table-column label="日报表-污泥龄SRT" align="center" prop="rbSrt" />
+      <el-table-column label="日报表-产泥率" align="center" prop="rbCnl" />
+      <el-table-column label="日报表-投药前 BOD₅/TN" align="center" prop="rbTyqBod5Tn" />
+      <el-table-column label="日报表-投药后 BOD₅/TN" align="center" prop="rbTyhBod5Tn" />
+      <el-table-column label="日报表-好氧池溶解氧集合" align="center" prop="rbHycRjyAll" />
+      <el-table-column label="日报表-好氧池污泥浓度集合" align="center" prop="rbHycWnndAll" />
+      <el-table-column label="日报表-厌氧池溶解氧集合" align="center" prop="rbYycRjyAll" />
+      <el-table-column label="日报表-缺氧池溶解氧集合" align="center" prop="rbQycRjyAll" />
+      <el-table-column label="日报表-污泥沉降比集合" align="center" prop="rbWncjbAll" />
+      <el-table-column label="日报表-污泥体积指数集合" align="center" prop="rbWntjzsAll" />
+      <el-table-column label="日报表-挥发性污泥浓度集合" align="center" prop="rbHfxwnndAll" />
+      <el-table-column label="日报表-出泥量(m³)" align="center" prop="rbChuniliang" />
+      <el-table-column label="日报表-出泥含水率(%)" align="center" prop="rbCnhsl" />
+      <el-table-column label="日报表-干污泥量(m³)" align="center" prop="rbGwnl" />
+      <el-table-column label="日报表-电费" align="center" prop="rbDf" />
+      <el-table-column label="日报表-絮凝剂费" align="center" prop="rbXnjf" />
+      <el-table-column label="日报表-除磷费" align="center" prop="rbClf" />
+      <el-table-column label="日报表-碳源费" align="center" prop="rbTyf" />
+      <el-table-column label="日报表-消毒剂费" align="center" prop="rbXdjf" />
+      <el-table-column label="日报表-其他药剂费" align="center" prop="rbQtyjf" />
+      <el-table-column label="日报表-采暖费" align="center" prop="rbCnf" />
+      <el-table-column label="日报表-自来水费" align="center" prop="rbZlsf" />
+      <el-table-column label="日报表-直接成本" align="center" prop="rbZjcb" />
+      <el-table-column label="日报表-单位成本" align="center" prop="rbDwcb" />
+      <el-table-column label="化验表-仪表COD" align="center" prop="hyCodYb" />
+      <el-table-column label="化验表-化验机器人COD化验有效值" align="center" prop="hyCodJqr" />
+      <el-table-column label="化验表-化验机器人COD化验计算值" align="center" prop="hyCodYz" />
+      <el-table-column label="化验表-#1好氧池-正磷酸盐 +  化验机器人正磷化验有效值1" align="center" prop="hyTpHl1Jqr" />
+      <el-table-column label="化验表-#2好氧池-正磷酸盐 + 化验机器人正磷化验有效值2" align="center" prop="hyTpHl2Jqr" />
+      <el-table-column label="化验表-二沉池-正磷酸盐 + 化验机器人正磷化验有效值二沉池" align="center" prop="hyTpRccJqr" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值1" align="center" prop="hyTp1Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值2" align="center" prop="hyTp2Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值二沉池" align="center" prop="hyTpRccYz" />
+      <el-table-column label="化验表-1#缺氧氨氮 + 化验机器人氨氮化验有效值1" align="center" prop="hyNh31Jqr" />
+      <el-table-column label="化验表-2#缺氧氨氮 + 化验机器人氨氮化验有效值2" align="center" prop="hyNh32Jqr" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值1" align="center" prop="hyNh31Yz" />
+      <el-table-column label="化验表-回流出水计算值1" align="center" prop="hyNo3Hlc1Yz" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值2" align="center" prop="hyNh32Yz" />
+      <el-table-column label="化验表-回流出水计算值2" align="center" prop="hyNo3Hlc2Yz" />
+      <el-table-column label="化验表-1#好氧池硝酸盐" align="center" prop="hyNo3Hlj1Jqr" />
+      <el-table-column label="化验表-2#好氧池硝酸盐" align="center" prop="hyNo3Hlj2Jqr" />
+      <el-table-column label="化验表-碳源投加流量" align="center" prop="hyTyll" />
+      <el-table-column label="化验表-1#缺氧出口硝酸盐 + 缺氧出水化验机器人有效值1" align="center" prop="hyNo3Qyc1Jqr" />
+      <el-table-column label="化验表-2#缺氧出-硝酸盐 + 缺氧出水化验机器人有效值2" align="center" prop="hyNo3Qyc2Jqr" />
+      <el-table-column label="化验表-缺氧进水计算值1" align="center" prop="hyNo3Qyc1Yz" />
+      <el-table-column label="化验表-缺氧进水计算值2" align="center" prop="hyNo3Qyc2Yz" />
+      <el-table-column label="化验表-进水流量" align="center" prop="hyJsll" />
+      <el-table-column label="化验表-好氧池硝酸盐" align="center" prop="hyHycxsyAll" />
+      <el-table-column label="化验表-缺氧氨氮" align="center" prop="hyQyanAll" />
+      <el-table-column label="化验表-缺氧硝酸盐" align="center" prop="hyQyckxsyAll" />
+      <el-table-column label="化验表-好氧池正磷酸盐" align="center" prop="hyHyzlsyAll" />
+      <el-table-column label="计算表-进水碳氮比" align="center" prop="jsJsTdb" />
+      <el-table-column label="计算表-进水碳磷比" align="center" prop="jsJsTlb" />
+      <el-table-column label="计算表-进水BOD与COD比值(生化性)" align="center" prop="jsJsBodBCod" />
+      <el-table-column label="计算表-厌氧区停留时间" align="center" prop="jsYyqHrt" />
+      <el-table-column label="计算表-缺氧区停留时间" align="center" prop="jsQyqHrt" />
+      <el-table-column label="计算表-好氧区停留时间" align="center" prop="jsHyqHrt" />
+      <el-table-column label="计算表-挥发性污泥浓度占比" align="center" prop="jsHfxwnndzb" />
+      <el-table-column label="计算表-F/M" align="center" prop="jsFM" />
+      <el-table-column label="计算表-过栅流速" align="center" prop="jsGsls" />
+      <el-table-column label="计算表-第1道粗格栅过栅流速" align="center" prop="jsGslsOne" />
+      <el-table-column label="计算表-第2道粗格栅过栅流速" align="center" prop="jsGslsTwo" />
+      <el-table-column label="计算表-细格栅过栅流速" align="center" prop="jsXgsGsls" />
+      <el-table-column label="计算表-旋流沉砂池表面负荷" align="center" prop="jsXlcscBmfh" />
+      <el-table-column label="计算表-旋流沉砂池停留时间" align="center" prop="jsXlcscHrt" />
+      <el-table-column label="计算表-初次沉淀池表面负荷" align="center" prop="jsCccdcBmfh" />
+      <el-table-column label="计算表-初次沉淀池停留时间" align="center" prop="jsCccdcHrt" />
+      <el-table-column label="计算表-二沉池表面负荷" align="center" prop="jsEccBmfh" />
+      <el-table-column label="计算表-二沉池停留时间" align="center" prop="jsEccHrt" />
+      <el-table-column label="计算表-二沉池固体负荷" align="center" prop="jsEccGtfh" />
+      <el-table-column label="计算表-次氯酸钠接触时间" align="center" prop="jsClsnJcsj" />
+      <el-table-column label="计算表-斜管沉淀池清水区上升流速" align="center" prop="jsXgcdcQsqSsls" />
+      <el-table-column label="计算表-外回流比" align="center" prop="jsWhlb" />
+      <el-table-column label="计算表-外回流比-新的计算方式" align="center" prop="jsWhlbRN" />
+      <el-table-column label="计算表-内回流比" align="center" prop="jsNhlb" />
+      <el-table-column label="计算表-万吨水产泥率" align="center" prop="jsWdscnl" />
+      <el-table-column label="计算表-生化池气水比" align="center" prop="jsQsb" />
+      <el-table-column label="计算表-反冲洗水量" align="center" prop="jsFcxsl" />
+      <el-table-column label="计算表-反冲洗水量比例" align="center" prop="jsFcxslbl" />
+      <el-table-column label="乐观锁" align="center" prop="revision" />
+      <el-table-column label="备注" align="center" prop="remark" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义大天维度统计对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="dayRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Day">
+import { listDay, getDay, delDay, addDay, updateDay } from "@/api/business/day";
+
+const { proxy } = getCurrentInstance();
+
+const dayList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义大天维度统计列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listDay(queryParams.value).then(response => {
+    dayList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+  };
+  proxy.resetForm("dayRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义大天维度统计";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getDay(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义大天维度统计";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["dayRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateDay(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addDay(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义大天维度统计编号为"' + _IDs + '"的数据项?').then(function() {
+    return delDay(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/day/export', {
+    ...queryParams.value
+  }, `day_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 550 - 0
src/views/business/hour/index.vue

@@ -0,0 +1,550 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="化验日期" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="hourList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验日期" align="center" prop="testDate" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.testDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="工业表-进水化学需氧量COD" align="center" prop="gyJsCod" />
+      <el-table-column label="工业表-进水酸碱度pH" align="center" prop="gyJsPh" />
+      <el-table-column label="工业表-进水悬浮物SS" align="center" prop="gyJsSs" />
+      <el-table-column label="工业表-进水总磷TP" align="center" prop="gyJsTp" />
+      <el-table-column label="工业表-进水总氮TN" align="center" prop="gyJsTn" />
+      <el-table-column label="工业表-进水氨氮NH₃-N" align="center" prop="gyJsNh3" />
+      <el-table-column label="工业表-进水水温/进水PH - 2个值" align="center" prop="gyJsSwPh" />
+      <el-table-column label="工业表-进水泵房液位 " align="center" prop="gyJsBfyw" />
+      <el-table-column label="工业表-出水水量Q出" align="center" prop="gyCsSlqc" />
+      <el-table-column label="工业表-出水化学需氧量COD" align="center" prop="gyCsCod" />
+      <el-table-column label="工业表-出水酸碱度pH" align="center" prop="gyCsPh" />
+      <el-table-column label="工业表-出水悬浮物SS" align="center" prop="gyCsSs" />
+      <el-table-column label="工业表-出水总氮TN" align="center" prop="gyCsTn" />
+      <el-table-column label="工业表-出水总磷TP" align="center" prop="gyCsTp" />
+      <el-table-column label="工业表-出水氨氮NH₃-N" align="center" prop="gyCsNh3" />
+      <el-table-column label="工业表-1#池好氧中段溶解氧 DO" align="center" prop="gyOneHyzdDo" />
+      <el-table-column label="工业表-1#池好氧末段溶解氧 DO" align="center" prop="gyOneHymdDo" />
+      <el-table-column label="工业表-2#池好氧中段溶解氧 DO" align="center" prop="gyTwoHyzdDo" />
+      <el-table-column label="工业表-2#池好氧末段溶解氧 DO" align="center" prop="gyTwoHymdDo" />
+      <el-table-column label="工业表-1#池污泥浓度" align="center" prop="gyOneMlss" />
+      <el-table-column label="工业表-2#池污泥浓度" align="center" prop="gyTwoMlss" />
+      <el-table-column label="工业表-进水溶解性总固体TDS" align="center" prop="gyJsTds" />
+      <el-table-column label="工业表-进水水量Q进" align="center" prop="gyJsSlq" />
+      <el-table-column label="工业表-内回流泵1# 1号泵 工频" align="center" prop="gyNHlbOneGp" />
+      <el-table-column label="工业表-内回流泵1# 2号泵 工频" align="center" prop="gyNHlbTwoGp" />
+      <el-table-column label="工业表-内回流泵1# 3号泵 工频" align="center" prop="gyNHlbThreeGp" />
+      <el-table-column label="工业表-内回流泵2# 4号泵 工频" align="center" prop="gyNHlbFourGp" />
+      <el-table-column label="工业表-内回流泵2# 5号泵 工频" align="center" prop="gyNhlBFiveGp" />
+      <el-table-column label="工业表-内回流泵2# 6号泵 工频" align="center" prop="gyNHlbSixGp" />
+      <el-table-column label="工业表-外回流泵1 工频" align="center" prop="gyWHlbOneGp" />
+      <el-table-column label="工业表-外回流泵2 工频" align="center" prop="gyWHlbTwoGp" />
+      <el-table-column label="工业表-外回流泵3 工频" align="center" prop="gyWHlbThreeGp" />
+      <el-table-column label="工业表-外回流泵4 工频" align="center" prop="gyWHlbFourGp" />
+      <el-table-column label="工业表-外回流泵5 工频" align="center" prop="gyWHlbFiveGp" />
+      <el-table-column label="工业表-风机1" align="center" prop="gyFjOne" />
+      <el-table-column label="工业表-风机2" align="center" prop="gyFjTwo" />
+      <el-table-column label="工业表-风机3" align="center" prop="gyFjThree" />
+      <el-table-column label="工业表-风机4" align="center" prop="gyFjFour" />
+      <el-table-column label="工业表-风机5" align="center" prop="gyFjFive" />
+      <el-table-column label="工业表-风机6" align="center" prop="gyFjSix" />
+      <el-table-column label="工业表-空气流量1" align="center" prop="gyKqllOne" />
+      <el-table-column label="工业表-空气流量2" align="center" prop="gyKqllTwo" />
+      <el-table-column label="工业表-空气流量3" align="center" prop="gyKqllThree" />
+      <el-table-column label="工业表-空气流量4" align="center" prop="gyKqllFour" />
+      <el-table-column label="工业表-空气流量5" align="center" prop="gyKqllFive" />
+      <el-table-column label="工业表-空气流量6" align="center" prop="gyKqllSix" />
+      <el-table-column label="工业表-信义污水厂实际碳源加药量" align="center" prop="gySjtyjly" />
+      <el-table-column label="工业表-信义污水厂除磷加药瞬时流量" align="center" prop="gyCljyssll" />
+      <el-table-column label="工业表-好氧池溶解氧集合" align="center" prop="gyHycRjyAll" />
+      <el-table-column label="工业表-好氧池中断溶解氧" align="center" prop="gyHycRjyZdAll" />
+      <el-table-column label="工业表-好氧池污泥浓度集合" align="center" prop="gyHycWnndAll" />
+      <el-table-column label="工业表-信义污水厂_除磷P04预测值_" align="center" prop="gyClP04Ycz" />
+      <el-table-column label="日报表-进水化学需氧量 COD" align="center" prop="rbJsCod" />
+      <el-table-column label="日报表-进水酸碱度pH" align="center" prop="rbJsPh" />
+      <el-table-column label="日报表-进水生化需氧量BOD₅" align="center" prop="rbJsBod5" />
+      <el-table-column label="日报表-进水悬浮物 SS" align="center" prop="rbJsSs" />
+      <el-table-column label="日报表-进水氨氮 NH₃-N" align="center" prop="rbJsNh3" />
+      <el-table-column label="日报表-进水总氮TN" align="center" prop="rbJsTn" />
+      <el-table-column label="日报表-进水总磷TP" align="center" prop="rbJsTp" />
+      <el-table-column label="日报表-进水粪菌群" align="center" prop="rbJsDcgj" />
+      <el-table-column label="日报表-出水化学需氧量COD" align="center" prop="rbCsCod" />
+      <el-table-column label="日报表-出水酸碱度pH" align="center" prop="rbCsPh" />
+      <el-table-column label="日报表-出水生化需氧量BOD₅" align="center" prop="rbCsBod5" />
+      <el-table-column label="日报表-出水悬浮物SS" align="center" prop="rbCsSs" />
+      <el-table-column label="日报表-出水氨氮 NH₃-N" align="center" prop="rbCsNh3" />
+      <el-table-column label="日报表-出水总氮TN" align="center" prop="rbCsTn" />
+      <el-table-column label="日报表-出水总磷TP" align="center" prop="rbCsTp" />
+      <el-table-column label="日报表-出水粪菌群" align="center" prop="rbCsDcgj" />
+      <el-table-column label="日报表-进水水温" align="center" prop="rbJsSw" />
+      <el-table-column label="日报表-出水水温" align="center" prop="rbCsSw" />
+      <el-table-column label="日报表-生化池好氧池#1 酸碱度pH" align="center" prop="rbShcOnePh" />
+      <el-table-column label="日报表-生化池好氧池#2 酸碱度pH" align="center" prop="rbShcTwoPh" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥沉降比SV%" align="center" prop="rbShcHyOneSv" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥沉降比SV%" align="center" prop="rbShcHyTwoSv" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥体积指数SVI" align="center" prop="rbShcHyOneSvi" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥体积指数SVI" align="center" prop="rbShcHyTwoSvi" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥浓度MLSS" align="center" prop="rbShcHyOneMlss" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥浓度MLSS" align="center" prop="rbShcHyTwoMlss" />
+      <el-table-column label="日报表-生化池好氧池#1 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyOneMlvss" />
+      <el-table-column label="日报表-生化池好氧池#2 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyTwoMlvss" />
+      <el-table-column label="日报表-生化池厌氧池#1 溶解氧DO" align="center" prop="rbShcYyOneDo" />
+      <el-table-column label="日报表-生化池厌氧池#2 溶解氧DO" align="center" prop="rbShcYyTwoDo" />
+      <el-table-column label="日报表-生化池缺氧池#1 溶解氧DO" align="center" prop="rbShcQyOneDo" />
+      <el-table-column label="日报表-生化池缺氧池#2 溶解氧DO" align="center" prop="rbShcQyTwoDo" />
+      <el-table-column label="日报表-生化池好氧池#1 溶解氧DO" align="center" prop="rbShcHyOneDo" />
+      <el-table-column label="日报表-生化池好氧池#2 溶解氧DO" align="center" prop="rbShcHyTwoDo" />
+      <el-table-column label="日报表-进水量" align="center" prop="rbJsl" />
+      <el-table-column label="日报表-出水量" align="center" prop="rbCsl" />
+      <el-table-column label="日报表-深度处理冲洗水量(m³)" align="center" prop="rbSdclcxsl" />
+      <el-table-column label="日报表-气水比" align="center" prop="rbQsb" />
+      <el-table-column label="日报表-F/M" align="center" prop="rbFM" />
+      <el-table-column label="日报表-厌氧区停留时间 HRT" align="center" prop="rbYyHrt" />
+      <el-table-column label="日报表-好氧区停留时间HRT" align="center" prop="rbHyHrt" />
+      <el-table-column label="日报表-缺氧区停留时间 HRT" align="center" prop="rbQyHrt" />
+      <el-table-column label="日报表-内回流r" align="center" prop="rbNhlR" />
+      <el-table-column label="日报表-外回流R" align="center" prop="rbWhlR" />
+      <el-table-column label="日报表-污泥龄SRT" align="center" prop="rbSrt" />
+      <el-table-column label="日报表-产泥率" align="center" prop="rbCnl" />
+      <el-table-column label="日报表-投药前 BOD₅/TN" align="center" prop="rbTyqBod5Tn" />
+      <el-table-column label="日报表-投药后 BOD₅/TN" align="center" prop="rbTyhBod5Tn" />
+      <el-table-column label="日报表-好氧池溶解氧集合" align="center" prop="rbHycRjyAll" />
+      <el-table-column label="日报表-好氧池污泥浓度集合" align="center" prop="rbHycWnndAll" />
+      <el-table-column label="日报表-厌氧池溶解氧集合" align="center" prop="rbYycRjyAll" />
+      <el-table-column label="日报表-缺氧池溶解氧集合" align="center" prop="rbQycRjyAll" />
+      <el-table-column label="日报表-污泥沉降比集合" align="center" prop="rbWncjbAll" />
+      <el-table-column label="日报表-污泥体积指数集合" align="center" prop="rbWntjzsAll" />
+      <el-table-column label="日报表-挥发性污泥浓度集合" align="center" prop="rbHfxwnndAll" />
+      <el-table-column label="日报表-出泥量(m³)" align="center" prop="rbChuniliang" />
+      <el-table-column label="日报表-出泥含水率(%)" align="center" prop="rbCnhsl" />
+      <el-table-column label="日报表-干污泥量(m³)" align="center" prop="rbGwnl" />
+      <el-table-column label="日报表-电费" align="center" prop="rbDf" />
+      <el-table-column label="日报表-絮凝剂费" align="center" prop="rbXnjf" />
+      <el-table-column label="日报表-除磷费" align="center" prop="rbClf" />
+      <el-table-column label="日报表-碳源费" align="center" prop="rbTyf" />
+      <el-table-column label="日报表-消毒剂费" align="center" prop="rbXdjf" />
+      <el-table-column label="日报表-其他药剂费" align="center" prop="rbQtyjf" />
+      <el-table-column label="日报表-采暖费" align="center" prop="rbCnf" />
+      <el-table-column label="日报表-自来水费" align="center" prop="rbZlsf" />
+      <el-table-column label="日报表-直接成本" align="center" prop="rbZjcb" />
+      <el-table-column label="日报表-单位成本" align="center" prop="rbDwcb" />
+      <el-table-column label="化验表-仪表COD" align="center" prop="hyCodYb" />
+      <el-table-column label="化验表-化验机器人COD化验有效值" align="center" prop="hyCodJqr" />
+      <el-table-column label="化验表-化验机器人COD化验计算值" align="center" prop="hyCodYz" />
+      <el-table-column label="化验表-#1好氧池-正磷酸盐 +  化验机器人正磷化验有效值1" align="center" prop="hyTpHl1Jqr" />
+      <el-table-column label="化验表-#2好氧池-正磷酸盐 + 化验机器人正磷化验有效值2" align="center" prop="hyTpHl2Jqr" />
+      <el-table-column label="化验表-二沉池-正磷酸盐 + 化验机器人正磷化验有效值二沉池" align="center" prop="hyTpRccJqr" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值1" align="center" prop="hyTp1Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值2" align="center" prop="hyTp2Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值二沉池" align="center" prop="hyTpRccYz" />
+      <el-table-column label="化验表-1#缺氧氨氮 + 化验机器人氨氮化验有效值1" align="center" prop="hyNh31Jqr" />
+      <el-table-column label="化验表-2#缺氧氨氮 + 化验机器人氨氮化验有效值2" align="center" prop="hyNh32Jqr" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值1" align="center" prop="hyNh31Yz" />
+      <el-table-column label="化验表-回流出水计算值1" align="center" prop="hyNo3Hlc1Yz" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值2" align="center" prop="hyNh32Yz" />
+      <el-table-column label="化验表-回流出水计算值2" align="center" prop="hyNo3Hlc2Yz" />
+      <el-table-column label="化验表-1#好氧池硝酸盐" align="center" prop="hyNo3Hlj1Jqr" />
+      <el-table-column label="化验表-2#好氧池硝酸盐" align="center" prop="hyNo3Hlj2Jqr" />
+      <el-table-column label="化验表-碳源投加流量" align="center" prop="hyTyll" />
+      <el-table-column label="化验表-1#缺氧出口硝酸盐 + 缺氧出水化验机器人有效值1" align="center" prop="hyNo3Qyc1Jqr" />
+      <el-table-column label="化验表-2#缺氧出-硝酸盐 + 缺氧出水化验机器人有效值2" align="center" prop="hyNo3Qyc2Jqr" />
+      <el-table-column label="化验表-缺氧进水计算值1" align="center" prop="hyNo3Qyc1Yz" />
+      <el-table-column label="化验表-缺氧进水计算值2" align="center" prop="hyNo3Qyc2Yz" />
+      <el-table-column label="化验表-进水流量" align="center" prop="hyJsll" />
+      <el-table-column label="化验表-好氧池硝酸盐" align="center" prop="hyHycxsyAll" />
+      <el-table-column label="化验表-缺氧氨氮" align="center" prop="hyQyanAll" />
+      <el-table-column label="化验表-缺氧硝酸盐" align="center" prop="hyQyckxsyAll" />
+      <el-table-column label="化验表-好氧池正磷酸盐" align="center" prop="hyHyzlsyAll" />
+      <el-table-column label="计算表-进水碳氮比" align="center" prop="jsJsTdb" />
+      <el-table-column label="计算表-进水碳磷比" align="center" prop="jsJsTlb" />
+      <el-table-column label="计算表-进水BOD与COD比值(生化性)" align="center" prop="jsJsBodBCod" />
+      <el-table-column label="计算表-厌氧区停留时间" align="center" prop="jsYyqHrt" />
+      <el-table-column label="计算表-缺氧区停留时间" align="center" prop="jsQyqHrt" />
+      <el-table-column label="计算表-好氧区停留时间" align="center" prop="jsHyqHrt" />
+      <el-table-column label="计算表-挥发性污泥浓度占比" align="center" prop="jsHfxwnndzb" />
+      <el-table-column label="计算表-F/M" align="center" prop="jsFM" />
+      <el-table-column label="计算表-过栅流速" align="center" prop="jsGsls" />
+      <el-table-column label="计算表-第1道粗格栅过栅流速" align="center" prop="jsGslsOne" />
+      <el-table-column label="计算表-第2道粗格栅过栅流速" align="center" prop="jsGslsTwo" />
+      <el-table-column label="计算表-细格栅过栅流速" align="center" prop="jsXgsGsls" />
+      <el-table-column label="计算表-旋流沉砂池表面负荷" align="center" prop="jsXlcscBmfh" />
+      <el-table-column label="计算表-旋流沉砂池停留时间" align="center" prop="jsXlcscHrt" />
+      <el-table-column label="计算表-初次沉淀池表面负荷" align="center" prop="jsCccdcBmfh" />
+      <el-table-column label="计算表-初次沉淀池停留时间" align="center" prop="jsCccdcHrt" />
+      <el-table-column label="计算表-二沉池表面负荷" align="center" prop="jsEccBmfh" />
+      <el-table-column label="计算表-二沉池停留时间" align="center" prop="jsEccHrt" />
+      <el-table-column label="计算表-二沉池固体负荷" align="center" prop="jsEccGtfh" />
+      <el-table-column label="计算表-次氯酸钠接触时间" align="center" prop="jsClsnJcsj" />
+      <el-table-column label="计算表-斜管沉淀池清水区上升流速" align="center" prop="jsXgcdcQsqSsls" />
+      <el-table-column label="计算表-外回流比" align="center" prop="jsWhlb" />
+      <el-table-column label="计算表-外回流比-新的计算方式" align="center" prop="jsWhlbRN" />
+      <el-table-column label="计算表-内回流比" align="center" prop="jsNhlb" />
+      <el-table-column label="计算表-万吨水产泥率" align="center" prop="jsWdscnl" />
+      <el-table-column label="计算表-生化池气水比" align="center" prop="jsQsb" />
+      <el-table-column label="计算表-反冲洗水量" align="center" prop="jsFcxsl" />
+      <el-table-column label="计算表-反冲洗水量比例" align="center" prop="jsFcxslbl" />
+      <el-table-column label="备注" align="center" prop="remark" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义大小时维度统计对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="hourRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Hour">
+import { listHour, getHour, delHour, addHour, updateHour } from "@/api/business/hour";
+
+const { proxy } = getCurrentInstance();
+
+const hourList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义大小时维度统计列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listHour(queryParams.value).then(response => {
+    hourList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+    ID: null,
+    testDate: null,
+    testHour: null,
+    gyJsCod: null,
+    gyJsPh: null,
+    gyJsSs: null,
+    gyJsTp: null,
+    gyJsTn: null,
+    gyJsNh3: null,
+    gyJsSwPh: null,
+    gyJsBfyw: null,
+    gyCsSlqc: null,
+    gyCsCod: null,
+    gyCsPh: null,
+    gyCsSs: null,
+    gyCsTn: null,
+    gyCsTp: null,
+    gyCsNh3: null,
+    gyOneHyzdDo: null,
+    gyOneHymdDo: null,
+    gyTwoHyzdDo: null,
+    gyTwoHymdDo: null,
+    gyOneMlss: null,
+    gyTwoMlss: null,
+    gyJsTds: null,
+    gyJsSlq: null,
+    gyNHlbOneGp: null,
+    gyNHlbTwoGp: null,
+    gyNHlbThreeGp: null,
+    gyNHlbFourGp: null,
+    gyNhlBFiveGp: null,
+    gyNHlbSixGp: null,
+    gyWHlbOneGp: null,
+    gyWHlbTwoGp: null,
+    gyWHlbThreeGp: null,
+    gyWHlbFourGp: null,
+    gyWHlbFiveGp: null,
+    gyFjOne: null,
+    gyFjTwo: null,
+    gyFjThree: null,
+    gyFjFour: null,
+    gyFjFive: null,
+    gyFjSix: null,
+    gyKqllOne: null,
+    gyKqllTwo: null,
+    gyKqllThree: null,
+    gyKqllFour: null,
+    gyKqllFive: null,
+    gyKqllSix: null,
+    gySjtyjly: null,
+    gyCljyssll: null,
+    gyHycRjyAll: null,
+    gyHycRjyZdAll: null,
+    gyHycWnndAll: null,
+    gyClP04Ycz: null,
+    rbJsCod: null,
+    rbJsPh: null,
+    rbJsBod5: null,
+    rbJsSs: null,
+    rbJsNh3: null,
+    rbJsTn: null,
+    rbJsTp: null,
+    rbJsDcgj: null,
+    rbCsCod: null,
+    rbCsPh: null,
+    rbCsBod5: null,
+    rbCsSs: null,
+    rbCsNh3: null,
+    rbCsTn: null,
+    rbCsTp: null,
+    rbCsDcgj: null,
+    rbJsSw: null,
+    rbCsSw: null,
+    rbShcOnePh: null,
+    rbShcTwoPh: null,
+    rbShcHyOneSv: null,
+    rbShcHyTwoSv: null,
+    rbShcHyOneSvi: null,
+    rbShcHyTwoSvi: null,
+    rbShcHyOneMlss: null,
+    rbShcHyTwoMlss: null,
+    rbShcHyOneMlvss: null,
+    rbShcHyTwoMlvss: null,
+    rbShcYyOneDo: null,
+    rbShcYyTwoDo: null,
+    rbShcQyOneDo: null,
+    rbShcQyTwoDo: null,
+    rbShcHyOneDo: null,
+    rbShcHyTwoDo: null,
+    rbJsl: null,
+    rbCsl: null,
+    rbSdclcxsl: null,
+    rbQsb: null,
+    rbFM: null,
+    rbYyHrt: null,
+    rbHyHrt: null,
+    rbQyHrt: null,
+    rbNhlR: null,
+    rbWhlR: null,
+    rbSrt: null,
+    rbCnl: null,
+    rbTyqBod5Tn: null,
+    rbTyhBod5Tn: null,
+    rbHycRjyAll: null,
+    rbHycWnndAll: null,
+    rbYycRjyAll: null,
+    rbQycRjyAll: null,
+    rbWncjbAll: null,
+    rbWntjzsAll: null,
+    rbHfxwnndAll: null,
+    rbChuniliang: null,
+    rbCnhsl: null,
+    rbGwnl: null,
+    rbDf: null,
+    rbXnjf: null,
+    rbClf: null,
+    rbTyf: null,
+    rbXdjf: null,
+    rbQtyjf: null,
+    rbCnf: null,
+    rbZlsf: null,
+    rbZjcb: null,
+    rbDwcb: null,
+    hyCodYb: null,
+    hyCodJqr: null,
+    hyCodYz: null,
+    hyTpHl1Jqr: null,
+    hyTpHl2Jqr: null,
+    hyTpRccJqr: null,
+    hyTp1Yz: null,
+    hyTp2Yz: null,
+    hyTpRccYz: null,
+    hyNh31Jqr: null,
+    hyNh32Jqr: null,
+    hyNh31Yz: null,
+    hyNo3Hlc1Yz: null,
+    hyNh32Yz: null,
+    hyNo3Hlc2Yz: null,
+    hyNo3Hlj1Jqr: null,
+    hyNo3Hlj2Jqr: null,
+    hyTyll: null,
+    hyNo3Qyc1Jqr: null,
+    hyNo3Qyc2Jqr: null,
+    hyNo3Qyc1Yz: null,
+    hyNo3Qyc2Yz: null,
+    hyJsll: null,
+    hyHycxsyAll: null,
+    hyQyanAll: null,
+    hyQyckxsyAll: null,
+    hyHyzlsyAll: null,
+    jsJsTdb: null,
+    jsJsTlb: null,
+    jsJsBodBCod: null,
+    jsYyqHrt: null,
+    jsQyqHrt: null,
+    jsHyqHrt: null,
+    jsHfxwnndzb: null,
+    jsFM: null,
+    jsGsls: null,
+    jsGslsOne: null,
+    jsGslsTwo: null,
+    jsXgsGsls: null,
+    jsXlcscBmfh: null,
+    jsXlcscHrt: null,
+    jsCccdcBmfh: null,
+    jsCccdcHrt: null,
+    jsEccBmfh: null,
+    jsEccHrt: null,
+    jsEccGtfh: null,
+    jsClsnJcsj: null,
+    jsXgcdcQsqSsls: null,
+    jsWhlb: null,
+    jsWhlbRN: null,
+    jsNhlb: null,
+    jsWdscnl: null,
+    jsQsb: null,
+    jsFcxsl: null,
+    jsFcxslbl: null,
+    delFlag: null,
+    revision: null,
+    createBy: null,
+    createTime: null,
+    updateBy: null,
+    updateTime: null,
+    remark: null
+  };
+  proxy.resetForm("hourRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义大小时维度统计";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getHour(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义大小时维度统计";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["hourRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateHour(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addHour(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义大小时维度统计编号为"' + _IDs + '"的数据项?').then(function() {
+    return delHour(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/hour/export', {
+    ...queryParams.value
+  }, `hour_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 299 - 0
src/views/business/industry/index.vue

@@ -0,0 +1,299 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="时间" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="industryList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验时间" align="center" prop="testTime" />
+      <el-table-column label="进水化学需氧量COD" align="center" prop="jsCod" />
+      <el-table-column label="进水酸碱度pH" align="center" prop="jsPh" />
+      <el-table-column label="进水悬浮物SS" align="center" prop="jsSs" />
+      <el-table-column label="进水总磷TP" align="center" prop="jsTp" />
+      <el-table-column label="进水总氮TN" align="center" prop="jsTn" />
+      <el-table-column label="进水氨氮NH₃-N" align="center" prop="jsNh3" />
+      <el-table-column label="进水水温/进水PH - 2个值" align="center" prop="jsSwPh" />
+      <el-table-column label="进水泵房液位 " align="center" prop="jsBfyw" />
+      <el-table-column label="出水水量Q出" align="center" prop="csSlqc" />
+      <el-table-column label="出水化学需氧量COD" align="center" prop="csCod" />
+      <el-table-column label="出水酸碱度pH" align="center" prop="csPh" />
+      <el-table-column label="出水悬浮物SS" align="center" prop="csSs" />
+      <el-table-column label="出水总氮TN" align="center" prop="csTn" />
+      <el-table-column label="出水总磷TP" align="center" prop="csTp" />
+      <el-table-column label="出水氨氮NH₃-N" align="center" prop="csNh3" />
+      <el-table-column label="1#池好氧中段溶解氧 DO" align="center" prop="oneHyzdDo" />
+      <el-table-column label="1#池好氧末段溶解氧 DO" align="center" prop="oneHymdDo" />
+      <el-table-column label="2#池好氧中段溶解氧 DO" align="center" prop="twoHyzdDo" />
+      <el-table-column label="2#池好氧末段溶解氧 DO" align="center" prop="twoHymdDo" />
+      <el-table-column label="1#池污泥浓度" align="center" prop="oneMlss" />
+      <el-table-column label="2#池污泥浓度" align="center" prop="twoMlss" />
+      <el-table-column label="进水溶解性总固体TDS" align="center" prop="jsTds" />
+      <el-table-column label="进水水量Q进" align="center" prop="jsSlq" />
+      <el-table-column label="内回流泵1# 1号泵 工频" align="center" prop="nHlbOneGp" />
+      <el-table-column label="内回流泵1# 2号泵 工频" align="center" prop="nHlbTwoGp" />
+      <el-table-column label="内回流泵1# 3号泵 工频" align="center" prop="nHlbThreeGp" />
+      <el-table-column label="内回流泵2# 4号泵 工频" align="center" prop="nHlbFourGp" />
+      <el-table-column label="内回流泵2# 5号泵 工频" align="center" prop="nhlBFiveGp" />
+      <el-table-column label="内回流泵2# 6号泵 工频" align="center" prop="nHlbSixGp" />
+      <el-table-column label="外回流泵1 工频" align="center" prop="wHlbOneGp" />
+      <el-table-column label="外回流泵2 工频" align="center" prop="wHlbTwoGp" />
+      <el-table-column label="外回流泵3 工频" align="center" prop="wHlbThreeGp" />
+      <el-table-column label="外回流泵4 工频" align="center" prop="wHlbFourGp" />
+      <el-table-column label="外回流泵5 工频" align="center" prop="wHlbFiveGp" />
+      <el-table-column label="风机1" align="center" prop="fjOne" />
+      <el-table-column label="风机2" align="center" prop="fjTwo" />
+      <el-table-column label="风机3" align="center" prop="fjThree" />
+      <el-table-column label="风机4" align="center" prop="fjFour" />
+      <el-table-column label="风机5" align="center" prop="fjFive" />
+      <el-table-column label="风机6" align="center" prop="fjSix" />
+      <el-table-column label="空气流量1" align="center" prop="kqllOne" />
+      <el-table-column label="空气流量2" align="center" prop="kqllTwo" />
+      <el-table-column label="空气流量3" align="center" prop="kqllThree" />
+      <el-table-column label="空气流量4" align="center" prop="kqllFour" />
+      <el-table-column label="空气流量5" align="center" prop="kqllFive" />
+      <el-table-column label="空气流量6" align="center" prop="kqllSix" />
+      <el-table-column label="信义污水厂实际碳源加药量" align="center" prop="SJTYJLY" />
+      <el-table-column label="信义污水厂除磷加药瞬时流量" align="center" prop="CLJYSSLL" />
+      <el-table-column label="好氧池溶解氧集合" align="center" prop="hycRjyAll" />
+      <el-table-column label="好氧池中断溶解氧" align="center" prop="hycRjyZdAll" />
+      <el-table-column label="好氧池污泥浓度集合" align="center" prop="hycWnndAll" />
+      <el-table-column label="信义污水厂_除磷P04预测值_" align="center" prop="clP04Ycz" />
+      <el-table-column label="创建时间" align="center" prop="createdTime" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义工业数据对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="industryRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Industry">
+import { listIndustry, getIndustry, delIndustry, addIndustry, updateIndustry } from "@/api/business/industry";
+
+const { proxy } = getCurrentInstance();
+
+const industryList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义工业数据列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listIndustry(queryParams.value).then(response => {
+    industryList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+    ID: null,
+    testDate: null,
+    testHour: null,
+    testTime: null,
+    jsCod: null,
+    jsPh: null,
+    jsSs: null,
+    jsTp: null,
+    jsTn: null,
+    jsNh3: null,
+    jsSwPh: null,
+    jsBfyw: null,
+    csSlqc: null,
+    csCod: null,
+    csPh: null,
+    csSs: null,
+    csTn: null,
+    csTp: null,
+    csNh3: null,
+    oneHyzdDo: null,
+    oneHymdDo: null,
+    twoHyzdDo: null,
+    twoHymdDo: null,
+    oneMlss: null,
+    twoMlss: null,
+    jsTds: null,
+    jsSlq: null,
+    nHlbOneGp: null,
+    nHlbTwoGp: null,
+    nHlbThreeGp: null,
+    nHlbFourGp: null,
+    nhlBFiveGp: null,
+    nHlbSixGp: null,
+    wHlbOneGp: null,
+    wHlbTwoGp: null,
+    wHlbThreeGp: null,
+    wHlbFourGp: null,
+    wHlbFiveGp: null,
+    fjOne: null,
+    fjTwo: null,
+    fjThree: null,
+    fjFour: null,
+    fjFive: null,
+    fjSix: null,
+    kqllOne: null,
+    kqllTwo: null,
+    kqllThree: null,
+    kqllFour: null,
+    kqllFive: null,
+    kqllSix: null,
+    SJTYJLY: null,
+    CLJYSSLL: null,
+    hycRjyAll: null,
+    hycRjyZdAll: null,
+    hycWnndAll: null,
+    clP04Ycz: null,
+    createdTime: null
+  };
+  proxy.resetForm("industryRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义工业数据";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getIndustry(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义工业数据";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["industryRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateIndustry(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addIndustry(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义工业数据编号为"' + _IDs + '"的数据项?').then(function() {
+    return delIndustry(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/industry/export', {
+    ...queryParams.value
+  }, `industry_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 351 - 0
src/views/business/month/index.vue

@@ -0,0 +1,351 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="化验日期" prop="testDate">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM"
+          type="monthrange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="monthList" @selection-change="handleSelectionChange">
+      <el-table-column label="化验日期" align="center" prop="testDate" />
+      <el-table-column label="工业表-进水化学需氧量COD" align="center" prop="gyJsCod" />
+      <el-table-column label="工业表-进水酸碱度pH" align="center" prop="gyJsPh" />
+      <el-table-column label="工业表-进水悬浮物SS" align="center" prop="gyJsSs" />
+      <el-table-column label="工业表-进水总磷TP" align="center" prop="gyJsTp" />
+      <el-table-column label="工业表-进水总氮TN" align="center" prop="gyJsTn" />
+      <el-table-column label="工业表-进水氨氮NH₃-N" align="center" prop="gyJsNh3" />
+      <el-table-column label="工业表-进水水温/进水PH - 2个值" align="center" prop="gyJsSwPh" />
+      <el-table-column label="工业表-进水泵房液位 " align="center" prop="gyJsBfyw" />
+      <el-table-column label="工业表-出水水量Q出" align="center" prop="gyCsSlqc" />
+      <el-table-column label="工业表-出水化学需氧量COD" align="center" prop="gyCsCod" />
+      <el-table-column label="工业表-出水酸碱度pH" align="center" prop="gyCsPh" />
+      <el-table-column label="工业表-出水悬浮物SS" align="center" prop="gyCsSs" />
+      <el-table-column label="工业表-出水总氮TN" align="center" prop="gyCsTn" />
+      <el-table-column label="工业表-出水总磷TP" align="center" prop="gyCsTp" />
+      <el-table-column label="工业表-出水氨氮NH₃-N" align="center" prop="gyCsNh3" />
+      <el-table-column label="工业表-1#池好氧中段溶解氧 DO" align="center" prop="gyOneHyzdDo" />
+      <el-table-column label="工业表-1#池好氧末段溶解氧 DO" align="center" prop="gyOneHymdDo" />
+      <el-table-column label="工业表-2#池好氧中段溶解氧 DO" align="center" prop="gyTwoHyzdDo" />
+      <el-table-column label="工业表-2#池好氧末段溶解氧 DO" align="center" prop="gyTwoHymdDo" />
+      <el-table-column label="工业表-1#池污泥浓度" align="center" prop="gyOneMlss" />
+      <el-table-column label="工业表-2#池污泥浓度" align="center" prop="gyTwoMlss" />
+      <el-table-column label="工业表-进水溶解性总固体TDS" align="center" prop="gyJsTds" />
+      <el-table-column label="工业表-进水水量Q进" align="center" prop="gyJsSlq" />
+      <el-table-column label="工业表-内回流泵1# 1号泵 工频" align="center" prop="gyNHlbOneGp" />
+      <el-table-column label="工业表-内回流泵1# 2号泵 工频" align="center" prop="gyNHlbTwoGp" />
+      <el-table-column label="工业表-内回流泵1# 3号泵 工频" align="center" prop="gyNHlbThreeGp" />
+      <el-table-column label="工业表-内回流泵2# 4号泵 工频" align="center" prop="gyNHlbFourGp" />
+      <el-table-column label="工业表-内回流泵2# 5号泵 工频" align="center" prop="gyNhlBFiveGp" />
+      <el-table-column label="工业表-内回流泵2# 6号泵 工频" align="center" prop="gyNHlbSixGp" />
+      <el-table-column label="工业表-外回流泵1 工频" align="center" prop="gyWHlbOneGp" />
+      <el-table-column label="工业表-外回流泵2 工频" align="center" prop="gyWHlbTwoGp" />
+      <el-table-column label="工业表-外回流泵3 工频" align="center" prop="gyWHlbThreeGp" />
+      <el-table-column label="工业表-外回流泵4 工频" align="center" prop="gyWHlbFourGp" />
+      <el-table-column label="工业表-外回流泵5 工频" align="center" prop="gyWHlbFiveGp" />
+      <el-table-column label="工业表-风机1" align="center" prop="gyFjOne" />
+      <el-table-column label="工业表-风机2" align="center" prop="gyFjTwo" />
+      <el-table-column label="工业表-风机3" align="center" prop="gyFjThree" />
+      <el-table-column label="工业表-风机4" align="center" prop="gyFjFour" />
+      <el-table-column label="工业表-风机5" align="center" prop="gyFjFive" />
+      <el-table-column label="工业表-风机6" align="center" prop="gyFjSix" />
+      <el-table-column label="工业表-空气流量1" align="center" prop="gyKqllOne" />
+      <el-table-column label="工业表-空气流量2" align="center" prop="gyKqllTwo" />
+      <el-table-column label="工业表-空气流量3" align="center" prop="gyKqllThree" />
+      <el-table-column label="工业表-空气流量4" align="center" prop="gyKqllFour" />
+      <el-table-column label="工业表-空气流量5" align="center" prop="gyKqllFive" />
+      <el-table-column label="工业表-空气流量6" align="center" prop="gyKqllSix" />
+      <el-table-column label="工业表-信义污水厂实际碳源加药量" align="center" prop="gySjtyjly" />
+      <el-table-column label="工业表-信义污水厂除磷加药瞬时流量" align="center" prop="gyCljyssll" />
+      <el-table-column label="工业表-好氧池溶解氧集合" align="center" prop="gyHycRjyAll" />
+      <el-table-column label="工业表-好氧池中断溶解氧" align="center" prop="gyHycRjyZdAll" />
+      <el-table-column label="工业表-好氧池污泥浓度集合" align="center" prop="gyHycWnndAll" />
+      <el-table-column label="工业表-信义污水厂_除磷P04预测值_" align="center" prop="gyClP04Ycz" />
+      <el-table-column label="日报表-进水化学需氧量 COD" align="center" prop="rbJsCod" />
+      <el-table-column label="日报表-进水酸碱度pH" align="center" prop="rbJsPh" />
+      <el-table-column label="日报表-进水生化需氧量BOD₅" align="center" prop="rbJsBod5" />
+      <el-table-column label="日报表-进水悬浮物 SS" align="center" prop="rbJsSs" />
+      <el-table-column label="日报表-进水氨氮 NH₃-N" align="center" prop="rbJsNh3" />
+      <el-table-column label="日报表-进水总氮TN" align="center" prop="rbJsTn" />
+      <el-table-column label="日报表-进水总磷TP" align="center" prop="rbJsTp" />
+      <el-table-column label="日报表-进水粪菌群" align="center" prop="rbJsDcgj" />
+      <el-table-column label="日报表-出水化学需氧量COD" align="center" prop="rbCsCod" />
+      <el-table-column label="日报表-出水酸碱度pH" align="center" prop="rbCsPh" />
+      <el-table-column label="日报表-出水生化需氧量BOD₅" align="center" prop="rbCsBod5" />
+      <el-table-column label="日报表-出水悬浮物SS" align="center" prop="rbCsSs" />
+      <el-table-column label="日报表-出水氨氮 NH₃-N" align="center" prop="rbCsNh3" />
+      <el-table-column label="日报表-出水总氮TN" align="center" prop="rbCsTn" />
+      <el-table-column label="日报表-出水总磷TP" align="center" prop="rbCsTp" />
+      <el-table-column label="日报表-出水粪菌群" align="center" prop="rbCsDcgj" />
+      <el-table-column label="日报表-进水水温" align="center" prop="rbJsSw" />
+      <el-table-column label="日报表-出水水温" align="center" prop="rbCsSw" />
+      <el-table-column label="日报表-生化池好氧池#1 酸碱度pH" align="center" prop="rbShcOnePh" />
+      <el-table-column label="日报表-生化池好氧池#2 酸碱度pH" align="center" prop="rbShcTwoPh" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥沉降比SV%" align="center" prop="rbShcHyOneSv" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥沉降比SV%" align="center" prop="rbShcHyTwoSv" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥体积指数SVI" align="center" prop="rbShcHyOneSvi" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥体积指数SVI" align="center" prop="rbShcHyTwoSvi" />
+      <el-table-column label="日报表-生化池好氧池#1 污泥浓度MLSS" align="center" prop="rbShcHyOneMlss" />
+      <el-table-column label="日报表-生化池好氧池#2 污泥浓度MLSS" align="center" prop="rbShcHyTwoMlss" />
+      <el-table-column label="日报表-生化池好氧池#1 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyOneMlvss" />
+      <el-table-column label="日报表-生化池好氧池#2 挥发性污泥浓度MLVSS" align="center" prop="rbShcHyTwoMlvss" />
+      <el-table-column label="日报表-生化池厌氧池#1 溶解氧DO" align="center" prop="rbShcYyOneDo" />
+      <el-table-column label="日报表-生化池厌氧池#2 溶解氧DO" align="center" prop="rbShcYyTwoDo" />
+      <el-table-column label="日报表-生化池缺氧池#1 溶解氧DO" align="center" prop="rbShcQyOneDo" />
+      <el-table-column label="日报表-生化池缺氧池#2 溶解氧DO" align="center" prop="rbShcQyTwoDo" />
+      <el-table-column label="日报表-生化池好氧池#1 溶解氧DO" align="center" prop="rbShcHyOneDo" />
+      <el-table-column label="日报表-生化池好氧池#2 溶解氧DO" align="center" prop="rbShcHyTwoDo" />
+      <el-table-column label="日报表-进水量" align="center" prop="rbJsl" />
+      <el-table-column label="日报表-出水量" align="center" prop="rbCsl" />
+      <el-table-column label="日报表-深度处理冲洗水量(m³)" align="center" prop="rbSdclcxsl" />
+      <el-table-column label="日报表-气水比" align="center" prop="rbQsb" />
+      <el-table-column label="日报表-F/M" align="center" prop="rbFM" />
+      <el-table-column label="日报表-厌氧区停留时间 HRT" align="center" prop="rbYyHrt" />
+      <el-table-column label="日报表-好氧区停留时间HRT" align="center" prop="rbHyHrt" />
+      <el-table-column label="日报表-缺氧区停留时间 HRT" align="center" prop="rbQyHrt" />
+      <el-table-column label="日报表-内回流r" align="center" prop="rbNhlR" />
+      <el-table-column label="日报表-外回流R" align="center" prop="rbWhlR" />
+      <el-table-column label="日报表-污泥龄SRT" align="center" prop="rbSrt" />
+      <el-table-column label="日报表-产泥率" align="center" prop="rbCnl" />
+      <el-table-column label="日报表-投药前 BOD₅/TN" align="center" prop="rbTyqBod5Tn" />
+      <el-table-column label="日报表-投药后 BOD₅/TN" align="center" prop="rbTyhBod5Tn" />
+      <el-table-column label="日报表-好氧池溶解氧集合" align="center" prop="rbHycRjyAll" />
+      <el-table-column label="日报表-好氧池污泥浓度集合" align="center" prop="rbHycWnndAll" />
+      <el-table-column label="日报表-厌氧池溶解氧集合" align="center" prop="rbYycRjyAll" />
+      <el-table-column label="日报表-缺氧池溶解氧集合" align="center" prop="rbQycRjyAll" />
+      <el-table-column label="日报表-污泥沉降比集合" align="center" prop="rbWncjbAll" />
+      <el-table-column label="日报表-污泥体积指数集合" align="center" prop="rbWntjzsAll" />
+      <el-table-column label="日报表-挥发性污泥浓度集合" align="center" prop="rbHfxwnndAll" />
+      <el-table-column label="日报表-出泥量(m³)" align="center" prop="rbChuniliang" />
+      <el-table-column label="日报表-出泥含水率(%)" align="center" prop="rbCnhsl" />
+      <el-table-column label="日报表-干污泥量(m³)" align="center" prop="rbGwnl" />
+      <el-table-column label="日报表-电费" align="center" prop="rbDf" />
+      <el-table-column label="日报表-絮凝剂费" align="center" prop="rbXnjf" />
+      <el-table-column label="日报表-除磷费" align="center" prop="rbClf" />
+      <el-table-column label="日报表-碳源费" align="center" prop="rbTyf" />
+      <el-table-column label="日报表-消毒剂费" align="center" prop="rbXdjf" />
+      <el-table-column label="日报表-其他药剂费" align="center" prop="rbQtyjf" />
+      <el-table-column label="日报表-采暖费" align="center" prop="rbCnf" />
+      <el-table-column label="日报表-自来水费" align="center" prop="rbZlsf" />
+      <el-table-column label="日报表-直接成本" align="center" prop="rbZjcb" />
+      <el-table-column label="日报表-单位成本" align="center" prop="rbDwcb" />
+      <el-table-column label="化验表-仪表COD" align="center" prop="hyCodYb" />
+      <el-table-column label="化验表-化验机器人COD化验有效值" align="center" prop="hyCodJqr" />
+      <el-table-column label="化验表-化验机器人COD化验计算值" align="center" prop="hyCodYz" />
+      <el-table-column label="化验表-#1好氧池-正磷酸盐 +  化验机器人正磷化验有效值1" align="center" prop="hyTpHl1Jqr" />
+      <el-table-column label="化验表-#2好氧池-正磷酸盐 + 化验机器人正磷化验有效值2" align="center" prop="hyTpHl2Jqr" />
+      <el-table-column label="化验表-二沉池-正磷酸盐 + 化验机器人正磷化验有效值二沉池" align="center" prop="hyTpRccJqr" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值1" align="center" prop="hyTp1Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值2" align="center" prop="hyTp2Yz" />
+      <el-table-column label="化验表-化验机器人正磷化验计算值二沉池" align="center" prop="hyTpRccYz" />
+      <el-table-column label="化验表-1#缺氧氨氮 + 化验机器人氨氮化验有效值1" align="center" prop="hyNh31Jqr" />
+      <el-table-column label="化验表-2#缺氧氨氮 + 化验机器人氨氮化验有效值2" align="center" prop="hyNh32Jqr" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值1" align="center" prop="hyNh31Yz" />
+      <el-table-column label="化验表-回流出水计算值1" align="center" prop="hyNo3Hlc1Yz" />
+      <el-table-column label="化验表-化验机器人氨氮化验计算值2" align="center" prop="hyNh32Yz" />
+      <el-table-column label="化验表-回流出水计算值2" align="center" prop="hyNo3Hlc2Yz" />
+      <el-table-column label="化验表-1#好氧池硝酸盐" align="center" prop="hyNo3Hlj1Jqr" />
+      <el-table-column label="化验表-2#好氧池硝酸盐" align="center" prop="hyNo3Hlj2Jqr" />
+      <el-table-column label="化验表-碳源投加流量" align="center" prop="hyTyll" />
+      <el-table-column label="化验表-1#缺氧出口硝酸盐 + 缺氧出水化验机器人有效值1" align="center" prop="hyNo3Qyc1Jqr" />
+      <el-table-column label="化验表-2#缺氧出-硝酸盐 + 缺氧出水化验机器人有效值2" align="center" prop="hyNo3Qyc2Jqr" />
+      <el-table-column label="化验表-缺氧进水计算值1" align="center" prop="hyNo3Qyc1Yz" />
+      <el-table-column label="化验表-缺氧进水计算值2" align="center" prop="hyNo3Qyc2Yz" />
+      <el-table-column label="化验表-进水流量" align="center" prop="hyJsll" />
+      <el-table-column label="化验表-好氧池硝酸盐" align="center" prop="hyHycxsyAll" />
+      <el-table-column label="化验表-缺氧氨氮" align="center" prop="hyQyanAll" />
+      <el-table-column label="化验表-缺氧硝酸盐" align="center" prop="hyQyckxsyAll" />
+      <el-table-column label="化验表-好氧池正磷酸盐" align="center" prop="hyHyzlsyAll" />
+      <el-table-column label="计算表-进水碳氮比" align="center" prop="jsJsTdb" />
+      <el-table-column label="计算表-进水碳磷比" align="center" prop="jsJsTlb" />
+      <el-table-column label="计算表-进水BOD与COD比值(生化性)" align="center" prop="jsJsBodBCod" />
+      <el-table-column label="计算表-厌氧区停留时间" align="center" prop="jsYyqHrt" />
+      <el-table-column label="计算表-缺氧区停留时间" align="center" prop="jsQyqHrt" />
+      <el-table-column label="计算表-好氧区停留时间" align="center" prop="jsHyqHrt" />
+      <el-table-column label="计算表-挥发性污泥浓度占比" align="center" prop="jsHfxwnndzb" />
+      <el-table-column label="计算表-F/M" align="center" prop="jsFM" />
+      <el-table-column label="计算表-过栅流速" align="center" prop="jsGsls" />
+      <el-table-column label="计算表-第1道粗格栅过栅流速" align="center" prop="jsGslsOne" />
+      <el-table-column label="计算表-第2道粗格栅过栅流速" align="center" prop="jsGslsTwo" />
+      <el-table-column label="计算表-细格栅过栅流速" align="center" prop="jsXgsGsls" />
+      <el-table-column label="计算表-旋流沉砂池表面负荷" align="center" prop="jsXlcscBmfh" />
+      <el-table-column label="计算表-旋流沉砂池停留时间" align="center" prop="jsXlcscHrt" />
+      <el-table-column label="计算表-初次沉淀池表面负荷" align="center" prop="jsCccdcBmfh" />
+      <el-table-column label="计算表-初次沉淀池停留时间" align="center" prop="jsCccdcHrt" />
+      <el-table-column label="计算表-二沉池表面负荷" align="center" prop="jsEccBmfh" />
+      <el-table-column label="计算表-二沉池停留时间" align="center" prop="jsEccHrt" />
+      <el-table-column label="计算表-二沉池固体负荷" align="center" prop="jsEccGtfh" />
+      <el-table-column label="计算表-次氯酸钠接触时间" align="center" prop="jsClsnJcsj" />
+      <el-table-column label="计算表-斜管沉淀池清水区上升流速" align="center" prop="jsXgcdcQsqSsls" />
+      <el-table-column label="计算表-外回流比" align="center" prop="jsWhlb" />
+      <el-table-column label="计算表-外回流比-新的计算方式" align="center" prop="jsWhlbRN" />
+      <el-table-column label="计算表-内回流比" align="center" prop="jsNhlb" />
+      <el-table-column label="计算表-万吨水产泥率" align="center" prop="jsWdscnl" />
+      <el-table-column label="计算表-生化池气水比" align="center" prop="jsQsb" />
+      <el-table-column label="计算表-反冲洗水量" align="center" prop="jsFcxsl" />
+      <el-table-column label="计算表-反冲洗水量比例" align="center" prop="jsFcxslbl" />
+      <el-table-column label="乐观锁" align="center" prop="revision" />
+      <el-table-column label="备注" align="center" prop="remark" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+  </div>
+</template>
+
+<script setup name="Month">
+import { listMonth, getMonth, delMonth, addMonth, updateMonth } from "@/api/business/month";
+
+const { proxy } = getCurrentInstance();
+
+const monthList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义大月维度统计列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listMonth(queryParams.value).then(response => {
+    monthList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+  };
+  proxy.resetForm("monthRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义大月维度统计";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getMonth(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义大月维度统计";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["monthRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateMonth(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addMonth(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义大月维度统计编号为"' + _IDs + '"的数据项?').then(function() {
+    return delMonth(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/month/export', {
+    ...queryParams.value
+  }, `month_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>

+ 258 - 0
src/views/business/robot/index.vue

@@ -0,0 +1,258 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="化验时间" style="width: 308px">
+        <el-date-picker
+          v-model="daterangeTestDate"
+          value-format="YYYY/MM/DD"
+          type="daterange"
+          range-separator="-"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+        ></el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="robotList" @selection-change="handleSelectionChange">
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
+      <el-table-column label="化验时间-天" align="center" prop="testDate" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.testDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="化验时间-小时" align="center" prop="testHour" />
+      <el-table-column label="仪表COD" align="center" prop="codYb" />
+      <el-table-column label="化验机器人COD化验有效值" align="center" prop="codJqr" />
+      <el-table-column label="化验机器人COD化验计算值" align="center" prop="codYz" />
+      <el-table-column label="#1好氧池-正磷酸盐 +  化验机器人正磷化验有效值1" align="center" prop="tpHl1Jqr" />
+      <el-table-column label="#2好氧池-正磷酸盐 + 化验机器人正磷化验有效值2" align="center" prop="tpHl2Jqr" />
+      <el-table-column label="二沉池-正磷酸盐 + 化验机器人正磷化验有效值二沉池" align="center" prop="tpRccJqr" />
+      <el-table-column label="化验机器人正磷化验计算值1" align="center" prop="tp1Yz" />
+      <el-table-column label="化验机器人正磷化验计算值2" align="center" prop="tp2Yz" />
+      <el-table-column label="化验机器人正磷化验计算值二沉池" align="center" prop="tpRccYz" />
+      <el-table-column label="1#缺氧氨氮 + 化验机器人氨氮化验有效值1" align="center" prop="nh31Jqr" />
+      <el-table-column label="2#缺氧氨氮 + 化验机器人氨氮化验有效值2" align="center" prop="nh32Jqr" />
+      <el-table-column label="化验机器人氨氮化验计算值1" align="center" prop="nh31Yz" />
+      <el-table-column label="回流出水计算值1" align="center" prop="no3Hlc1Yz" />
+      <el-table-column label="化验机器人氨氮化验计算值2" align="center" prop="nh32Yz" />
+      <el-table-column label="回流出水计算值2" align="center" prop="no3Hlc2Yz" />
+      <el-table-column label="1#好氧池硝酸盐" align="center" prop="no3Hlj1Jqr" />
+      <el-table-column label="2#好氧池硝酸盐" align="center" prop="no3Hlj2Jqr" />
+      <el-table-column label="碳源投加流量" align="center" prop="TYLL" />
+      <el-table-column label="1#缺氧出口硝酸盐 + 缺氧出水化验机器人有效值1" align="center" prop="no3Qyc1Jqr" />
+      <el-table-column label="2#缺氧出-硝酸盐 + 缺氧出水化验机器人有效值2" align="center" prop="no3Qyc2Jqr" />
+      <el-table-column label="缺氧进水计算值1" align="center" prop="no3Qyc1Yz" />
+      <el-table-column label="缺氧进水计算值2" align="center" prop="no3Qyc2Yz" />
+      <el-table-column label="进水流量" align="center" prop="JSLL" />
+      <el-table-column label="创建时间" align="center" prop="createdTime" width="180">
+        <template #default="scope">
+          <span>{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="好氧池硝酸盐" align="center" prop="hycxsyAll" />
+      <el-table-column label="缺氧氨氮" align="center" prop="qyanAll" />
+      <el-table-column label="缺氧硝酸盐" align="center" prop="qyckxsyAll" />
+      <el-table-column label="好氧池正磷酸盐" align="center" prop="hyzlsyAll" />
+    </el-table>
+    
+    <pagination
+      v-show="total>0"
+      :total="total"
+      v-model:page="queryParams.pageNum"
+      v-model:limit="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改信义化验数据对话框 -->
+    <el-dialog :title="title" v-model="open" width="500px" append-to-body>
+      <el-form ref="robotRef" :model="form" :rules="rules" label-width="80px">
+      </el-form>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button @click="cancel">取 消</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup name="Robot">
+import { listRobot, getRobot, delRobot, addRobot, updateRobot } from "@/api/business/robot";
+
+const { proxy } = getCurrentInstance();
+
+const robotList = ref([]);
+const open = ref(false);
+const loading = ref(true);
+const showSearch = ref(true);
+const ids = ref([]);
+const single = ref(true);
+const multiple = ref(true);
+const total = ref(0);
+const title = ref("");
+const daterangeTestDate = ref([]);
+
+const data = reactive({
+  form: {},
+  queryParams: {
+    pageNum: 1,
+    pageSize: 10,
+    testDate: null,
+  },
+  rules: {
+  }
+});
+
+const { queryParams, form, rules } = toRefs(data);
+
+/** 查询信义化验数据列表 */
+function getList() {
+  loading.value = true;
+  queryParams.value.params = {};
+  if (null != daterangeTestDate && '' != daterangeTestDate) {
+    queryParams.value["timeBegin"] = daterangeTestDate.value[0];
+    queryParams.value["timeEnd"] = daterangeTestDate.value[1];
+  }
+  listRobot(queryParams.value).then(response => {
+    robotList.value = response.rows;
+    total.value = response.total;
+    loading.value = false;
+  });
+}
+
+// 取消按钮
+function cancel() {
+  open.value = false;
+  reset();
+}
+
+// 表单重置
+function reset() {
+  form.value = {
+    ID: null,
+    vDate: null,
+    vTime: null,
+    vDateTime: null,
+    testDate: null,
+    testHour: null,
+    testTime: null,
+    codYb: null,
+    codJqr: null,
+    codYz: null,
+    tpHl1Jqr: null,
+    tpHl2Jqr: null,
+    tpRccJqr: null,
+    tp1Yz: null,
+    tp2Yz: null,
+    tpRccYz: null,
+    nh31Jqr: null,
+    nh32Jqr: null,
+    nh31Yz: null,
+    no3Hlc1Yz: null,
+    nh32Yz: null,
+    no3Hlc2Yz: null,
+    no3Hlj1Jqr: null,
+    no3Hlj2Jqr: null,
+    TYLL: null,
+    no3Qyc1Jqr: null,
+    no3Qyc2Jqr: null,
+    no3Qyc1Yz: null,
+    no3Qyc2Yz: null,
+    JSLL: null,
+    createdTime: null,
+    hycxsyAll: null,
+    qyanAll: null,
+    qyckxsyAll: null,
+    hyzlsyAll: null
+  };
+  proxy.resetForm("robotRef");
+}
+
+/** 搜索按钮操作 */
+function handleQuery() {
+  queryParams.value.pageNum = 1;
+  getList();
+}
+
+/** 重置按钮操作 */
+function resetQuery() {
+  daterangeTestDate.value = [];
+  proxy.resetForm("queryRef");
+  handleQuery();
+}
+
+// 多选框选中数据
+function handleSelectionChange(selection) {
+  ids.value = selection.map(item => item.ID);
+  single.value = selection.length != 1;
+  multiple.value = !selection.length;
+}
+
+/** 新增按钮操作 */
+function handleAdd() {
+  reset();
+  open.value = true;
+  title.value = "添加信义化验数据";
+}
+
+/** 修改按钮操作 */
+function handleUpdate(row) {
+  reset();
+  const _ID = row.ID || ids.value
+  getRobot(_ID).then(response => {
+    form.value = response.data;
+    open.value = true;
+    title.value = "修改信义化验数据";
+  });
+}
+
+/** 提交按钮 */
+function submitForm() {
+  proxy.$refs["robotRef"].validate(valid => {
+    if (valid) {
+      if (form.value.ID != null) {
+        updateRobot(form.value).then(response => {
+          proxy.$modal.msgSuccess("修改成功");
+          open.value = false;
+          getList();
+        });
+      } else {
+        addRobot(form.value).then(response => {
+          proxy.$modal.msgSuccess("新增成功");
+          open.value = false;
+          getList();
+        });
+      }
+    }
+  });
+}
+
+/** 删除按钮操作 */
+function handleDelete(row) {
+  const _IDs = row.ID || ids.value;
+  proxy.$modal.confirm('是否确认删除信义化验数据编号为"' + _IDs + '"的数据项?').then(function() {
+    return delRobot(_IDs);
+  }).then(() => {
+    getList();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+
+/** 导出按钮操作 */
+function handleExport() {
+  proxy.download('business/robot/export', {
+    ...queryParams.value
+  }, `robot_${new Date().getTime()}.xlsx`)
+}
+
+getList();
+</script>