-
-
- {{ text || ' ' }}
-
-
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 批量删除
+
+
+
+
+
-
-
-
-
-
- {{ $util.toDateString(text,'yyyy-MM-dd') || ' ' }}
-
-
+
+ {{ text || " " }}
+
-
-
+
+
+
+
+
+
+ {{ $util.toDateString(text, "yyyy-MM-dd") || " " }}
+
+
+
+
+
+
+ 已审核
+ 未审核
+
+
+
+
+
+ 查看
+
- 已审核
- 未审核
-
-
-
-
-
- 查看
-
-
-
- 审核
-
-
- 撤回
-
-
-
- 删除
+
+ 审核
-
-
-
+
+ 撤回
+
+
+
+ 删除
+
+
+ 取水量导入
+
+
+
+
\ No newline at end of file
diff --git a/src/views/water/drinking-water/collect/water.vue b/src/views/water/drinking-water/collect/water.vue
index 286e163..d64a252 100644
--- a/src/views/water/drinking-water/collect/water.vue
+++ b/src/views/water/drinking-water/collect/water.vue
@@ -53,14 +53,14 @@
/>
-
+
moment(text).format("YYYY年MM月DD日HH:mm")
+ // },
...tableColumns,
{
title: "区域等级",
@@ -254,19 +260,22 @@ export default {
save() {
const hide = this.$message.loading("请求中..", 0);
const form = _.cloneDeep(this.form);
- const date = new Date();
- date.setFullYear(form.monitorDate.year());
- date.setMonth(form.monitorDate.month());
- date.setDate(form.monitorDate.date());
- date.setHours(form.monitorTime.hour());
- date.setMinutes(form.monitorTime.minutes());
- form.monitorTime = date.getTime();
- form.monitorYear = date.getFullYear();
- form.monitorMonth = date.getMonth() + 1;
- form.monitorDay = date.getDate();
- form.monitorHour = date.getHours();
- form.monitorMinute = date.getMinutes();
- delete form["monitorDate"];
+ // const date = new Date();
+ // date.setFullYear(form.monitorDate.year());
+ // date.setMonth(form.monitorDate.month());
+ // date.setDate(form.monitorDate.date());
+ // date.setHours(form.monitorTime.hour());
+ // date.setMinutes(form.monitorTime.minutes());
+ // form.monitorTime = date.getTime();
+ // form.monitorYear = date.getFullYear();
+ // form.monitorMonth = date.getMonth() + 1;
+ // form.monitorDay = date.getDate();
+ // form.monitorHour = date.getHours();
+ // form.monitorMinute = date.getMinutes();
+ // delete form["monitorDate"];
+ console.log(form,'form');
+ const { billId } = this.$route.params;
+ form.drinkingWaterBillId = billId;
if (form.drinkingWaterId) {
updateDrinkingWater(form)
.then((res) => {