|
|
@ -140,7 +140,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
// import {currentGET, currentPOST} from "@/api";
|
|
|
|
import {currentGET, currentPOST} from "@/api";
|
|
|
|
import RightTop from "./right-top.vue";
|
|
|
|
import RightTop from "./right-top.vue";
|
|
|
|
import RightTop1 from "./right-top1.vue";
|
|
|
|
import RightTop1 from "./right-top1.vue";
|
|
|
|
import RightTop2 from "./right-top2.vue";
|
|
|
|
import RightTop2 from "./right-top2.vue";
|
|
|
@ -386,6 +386,8 @@ export default {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
currentGET("traceList", {page: this.page, limit: this.limit, companyId: this.companyId,traceSource:2})
|
|
|
|
currentGET("traceList", {page: this.page, limit: this.limit, companyId: this.companyId,traceSource:2})
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
|
|
|
|
// 复制过来的返回有两个层级 用三元智能判断转换
|
|
|
|
|
|
|
|
res = typeof res.data === "undefined" ? res : res.data
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
if (res.code === 20000) {
|
|
|
|
if (res.code === 20000) {
|
|
|
|
this.list = res.data.list || [];
|
|
|
|
this.list = res.data.list || [];
|
|
|
@ -436,6 +438,8 @@ export default {
|
|
|
|
corpPage: this.corpPage,
|
|
|
|
corpPage: this.corpPage,
|
|
|
|
corpLimit: this.corpLimit
|
|
|
|
corpLimit: this.corpLimit
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
|
|
|
|
// 复制过来的返回有两个层级 用三元智能判断转换
|
|
|
|
|
|
|
|
res = typeof res.data === "undefined" ? res : res.data
|
|
|
|
if (res.code == 20000) {
|
|
|
|
if (res.code == 20000) {
|
|
|
|
this.corpList = res.data.list;
|
|
|
|
this.corpList = res.data.list;
|
|
|
|
this.corpTotal = res.data.total;
|
|
|
|
this.corpTotal = res.data.total;
|
|
|
@ -450,6 +454,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
getStatCompany() {
|
|
|
|
getStatCompany() {
|
|
|
|
currentGET('onlineCheckStat', null).then(res => {
|
|
|
|
currentGET('onlineCheckStat', null).then(res => {
|
|
|
|
|
|
|
|
// 复制过来的返回有两个层级 用三元智能判断转换
|
|
|
|
|
|
|
|
res = typeof res.data === "undefined" ? res : res.data
|
|
|
|
if (res.code == 20000) {
|
|
|
|
if (res.code == 20000) {
|
|
|
|
this.statBustype = res.data
|
|
|
|
this.statBustype = res.data
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|