qj-common 4.1.9 → 4.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qj-common",
3
- "version": "4.1.9",
3
+ "version": "4.1.11",
4
4
  "description": "common files && template for qj-paas",
5
5
  "scripts": {
6
6
  "gulp": "gulp css"
@@ -38,7 +38,7 @@ export default {
38
38
  },
39
39
  methods: {
40
40
  toLogin() {
41
- location.href = '/paas/index/index.html#/loginPc'
41
+ location.href = '/paas/b2b-cli-pc-ayd/index.html#/loginPc'
42
42
  },
43
43
  outLogin() {
44
44
  loginOut().then((res) => {
@@ -47,7 +47,7 @@ export default {
47
47
  localStorage.clear()
48
48
  sessionStorage.clear()
49
49
  this.userInfo = {}
50
- location.href = '/paas/index/index.html#/loginPc'
50
+ location.href = '/paas/b2b-cli-pc-ayd/index.html#/loginPc'
51
51
  }
52
52
  })
53
53
  },
@@ -1090,6 +1090,7 @@ export default {
1090
1090
  }
1091
1091
  this.tableData = res.rows;
1092
1092
  this.$emit('getData', res.rows);
1093
+ this.$emit('getTotal',res.total);
1093
1094
  // 小计
1094
1095
  if (res.rows.length > 0) {
1095
1096
  if (this.subtotal && this.subtotal.length > 0) {
@@ -1121,6 +1122,7 @@ export default {
1121
1122
  }
1122
1123
  this.tableData = [];
1123
1124
  this.$emit('getData', []);
1125
+ this.$emit('getTotal',0);
1124
1126
  }
1125
1127
  } else {
1126
1128
  if (this.temPage !== false) {
@@ -1128,6 +1130,7 @@ export default {
1128
1130
  }
1129
1131
  this.tableData = [];
1130
1132
  this.$emit('getData', []);
1133
+ this.$emit('getTotal',0);
1131
1134
  }
1132
1135
  });
1133
1136
  }