liuxing 1 éve
szülő
commit
bce6c8ac71
1 módosított fájl, 2 hozzáadás és 8 törlés
  1. 2 8
      app/src/views/Detail/components/ZhxfModalContent.vue

+ 2 - 8
app/src/views/Detail/components/ZhxfModalContent.vue

@@ -32,6 +32,7 @@ export default {
   watch: {
     default: {
       handler() {
+        console.log(this.params);
         const params = JSON.parse(JSON.stringify(this.params));
         params.sblx = this.default.sblx;
         params.gcjzmc = this.default.gcjzmc;
@@ -44,13 +45,6 @@ export default {
   },
   methods: {
     funList() {
-      if (this.zqsj) {
-        const start = moment(this.zqsj[0]).format("yyyy-MM-DD HH:mm:ss");
-        const end = moment(this.zqsj[1]).format("yyyy-MM-DD HH:mm:ss");
-        this.params.zqsj = start + "|" + end;
-      } else {
-        this.params.zqsj = null;
-      }
       getLshz({
         ...this.params,
       }).then((res) => {
@@ -79,7 +73,7 @@ export default {
     },
   },
   created() {
-    // console.log(this.default);
+    console.log(this.params);
     const params = JSON.parse(JSON.stringify(this.params));
     params.sblx = this.default.sblx;
     params.gcjzmc = this.default.gcjzmc;