YY 2 年之前
父節點
當前提交
eb9f8a22ad

+ 2 - 2
src/views/system/statistics/parts/card-2.vue

@@ -19,7 +19,7 @@
           </el-date-picker>
           <el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
         </el-col>
-        <div id="card_one" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
+        <div id="card_two" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
       </el-col>
     </el-row>
   </div>
@@ -51,7 +51,7 @@ export default {
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      let res = await this.query({ skip, limit,type: info.time, start: info.start, end: info.end });
+      let res = await this.query({ skip, limit, type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sMarkOrder;
         let xAxisList = [];

+ 3 - 3
src/views/system/statistics/parts/card-3.vue

@@ -19,7 +19,7 @@
           </el-date-picker>
           <el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
         </el-col>
-        <div id="card_one" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
+        <div id="card_thr" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
       </el-col>
     </el-row>
   </div>
@@ -50,8 +50,8 @@ export default {
   async created() {},
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
-    async search({ skip = 0, limit = 10 } = {}) {
-      let res = await this.query({ skip, limit, status: '1' });
+    async search({ skip = 0, limit = 10, ...info } = {}) {
+      let res = await this.query({ skip, limit, status: '1', type: info.time, start: info.start, end: info.end  });
       if (this.$checkRes(res)) {
         let list = res.data.sMarkOrder;
         let xAxisList = [];

+ 2 - 2
src/views/system/statistics/parts/card-4.vue

@@ -19,7 +19,7 @@
           </el-date-picker>
           <el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
         </el-col>
-        <div id="card_one" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
+        <div id="card_fou" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
       </el-col>
     </el-row>
   </div>
@@ -50,7 +50,7 @@ export default {
   async created() {},
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
-    async search({ skip = 0, limit = 10 } = {}) {
+    async search({ skip = 0, limit = 10, ...info } = {}) {
       let res = await this.query({ skip, limit, status: '2', type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sAfterSale;

+ 2 - 2
src/views/system/statistics/parts/card-5.vue

@@ -19,7 +19,7 @@
           </el-date-picker>
           <el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
         </el-col>
-        <div id="card_one" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
+        <div id="card_fiv" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
       </el-col>
     </el-row>
   </div>
@@ -50,7 +50,7 @@ export default {
   async created() {},
   methods: {
     ...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
-    async search({ skip = 0, limit = 10 } = {}) {
+    async search({ skip = 0, limit = 10, ...info } = {}) {
       let res = await this.query({ skip, limit, status: '1', type: info.time, start: info.start, end: info.end });
       if (this.$checkRes(res)) {
         let list = res.data.sAfterSale;