Browse Source

fix:更改时间筛选组件

刘恒 1 year ago
parent
commit
b53b5da52b
2 changed files with 8 additions and 2 deletions
  1. 7 1
      src/components/datePicker/index.vue
  2. 1 1
      vue.config.js

+ 7 - 1
src/components/datePicker/index.vue

@@ -70,7 +70,13 @@ export default {
     };
     };
   },
   },
   created() {},
   created() {},
-  mounted() {},
+  mounted() {
+    this.$emit("getList", {
+      dateType: this.dateType,
+      signingTimeStart: this.signingTime[0],
+      signingTimeEnd: this.signingTime[1],
+    });
+  },
   methods: {
   methods: {
     clearTime() {
     clearTime() {
       this.signingTime = [];
       this.signingTime = [];

+ 1 - 1
vue.config.js

@@ -121,7 +121,7 @@ module.exports = {
     }
     }
   },
   },
 
 
-  publicPath: isProd ? 'https://sxzgkj.baoxianzhanggui.com/console-api' : '/',
+  publicPath: isProd ? 'https://sxzgkj.baoxianzhanggui.com/console-api' : 'https://test.baoxianzhanggui.com/console-api',
 
 
   // publicPath: '/',
   // publicPath: '/',
   outputDir: process.env.outputDir,
   outputDir: process.env.outputDir,