大屏移植解决显示和接口报错问题 和样式问题(目前是表格样式小了、菜单未居中未解决)

20245024-wz
qyt 9 months ago
parent 6df86a9b32
commit c38e9d3169

@ -32,21 +32,21 @@
<!-- </div>-->
<Echart id="CenterMap" :options="options" ref="CenterMap"/>
<!-- <div class="mapFun" style="margin-top: 250px;">-->
<!-- <div class="nav text_right">-->
<!-- <ul>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_7"></i>-->
<!-- <a href="#" v-on:click="categoryClick();">产品品种</a>-->
<!-- </li>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_8"></i>-->
<!-- <a href="#" v-on:click="companyClick();">报备企业</a>-->
<!-- </li>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_4"></i>-->
<!-- <a href="#" v-on:click="warnClick();">预警信息</a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="mapFun" style="margin-top: 250px;">-->
<!-- <div class="nav text_right">-->
<!-- <ul>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_7"></i>-->
<!-- <a href="#" v-on:click="categoryClick();">产品品种</a>-->
<!-- </li>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_8"></i>-->
<!-- <a href="#" v-on:click="companyClick();">报备企业</a>-->
<!-- </li>-->
<!-- <li class="map_nav" style="width: 120px"><i class="nav_4"></i>-->
<!-- <a href="#" v-on:click="warnClick();">预警信息</a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
</dv-border-box-13>
</div>
@ -148,7 +148,6 @@ export default {
},
methods: {
getData(code) {
console.log("地图中间部分请求")
if (code == "350000")
this.curLoaction = "福建省"
currentGET("big8", {regionCode: code}).then((res) => {
@ -169,21 +168,22 @@ export default {
* @return {*}
*/
async getGeojson(name, mydata) {
// console.log("{}",mydata)
console.log("开始搜索地图楼{}",name)
this.regionCode = name;
//
let geoname = name
if (this.isSouthChinaSea && name == "china") {
geoname = "chinaNanhai";
}
console.log('11', echarts.getMap(name))
//
let mapjson = echarts.getMap(name);
if (mapjson) {
console.log('1111')
mapjson = mapjson.geoJSON;
} else {
mapjson = await GETNOBASE(`./map-geojson/${geoname}.json`).then((res) => {
res = res.data
console.log("获取地图的信息{}",res)
return res;
});
@ -191,11 +191,13 @@ export default {
}
let cityCenter = {};
let arr = mapjson.features;
console.log('mapjson===',mapjson)
//geojson
// arr.map((item) => {
// cityCenter[item.properties.name] =
// item.properties.centroid || item.properties.center;
// });
arr.map((item) => {
cityCenter[item.properties.name] =
item.properties.centroid || item.properties.center;
});
let newData = [];
mydata.map((item) => {
if (cityCenter[item.cityName]) {
@ -452,10 +454,10 @@ export default {
font-weight: 900;
letter-spacing: 6px;
background: linear-gradient(
92deg,
#0072ff 0%,
#00eaff 48.8525390625%,
#01aaff 100%
92deg,
#0072ff 0%,
#00eaff 48.8525390625%,
#01aaff 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

@ -55,7 +55,7 @@
</template>
<script>
// import {currentGET, currentPOST} from 'api/modules'
import {currentGET, currentPOST} from '../../../api/modules';
import dialogCorpProduct from "./dialogCorpProduct.vue";
export default {
@ -130,6 +130,8 @@ export default {
this.pageflag = true
// this.pageflag =false
currentPOST('regCorpList', {regionCode: this.regionCode, bussinessStatus: "3"}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.dataList = res.data.list
} else {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('big1').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
}

@ -56,7 +56,7 @@
</template>
<script>
// import {currentGET, currentPOST} from "@/api";
import {currentGET, currentPOST} from "@/api";
export default {
name: "dialogCorpProduct",
@ -95,6 +95,8 @@ export default {
this.filterQuery.companyIdFk = this.editQuery.ucId;
currentGET('corpProductList', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
@ -125,7 +127,7 @@ export default {
::v-deep .el-table tr,
::v-deep .el-table td {
background-color: transparent !important;
color: white;
color: #000000;
}
::v-deep .el-table th {
background-color: #cfd3d7 !important;

@ -9,7 +9,7 @@
</template>
<script>
// import {currentGET} from "api";
import {currentGET} from "@/api";
import {graphic} from "echarts";
export default {
@ -36,6 +36,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.success) {
this.init(res.data);
} else {

@ -110,7 +110,7 @@ import yiBaoItem from "./yiBaoItem.vue";
import jinKouItem from "./jinKouItem.vue";
import qiXieItem from "./qiXieItem.vue";
import corpTypeItem from "./corpTypeItem.vue";
// import {currentGET} from "@/api";
import {currentGET} from '../../../api';
export default {
components: {
@ -327,6 +327,8 @@ export default {
getStatCompany() {
currentGET('companyBusTypeStat', {bussinessStatus: 3}
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.statBustype = res.data
} else {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -63,6 +63,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -63,6 +63,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -61,6 +61,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -63,6 +63,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -39,7 +39,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
let style = {
fontSize: 24
@ -119,6 +119,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big2").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("报备企业总览", res);
}

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -62,6 +62,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -12,7 +12,7 @@
</template>
<script>
// import {currentGET} from '@/api/modules'
import {currentGET} from '@/api/modules'
export default {
data() {
@ -57,6 +57,8 @@ export default {
this.pageflag = true
// this.pageflag =false
currentGET('productCategory', {gatewayno: this.gatewayno}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log('企业维护产品数量', res);

@ -29,7 +29,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
name: "center-stat",
@ -51,6 +51,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("nmapCount").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.data = res.data;
} else {

@ -20,7 +20,7 @@
<el-table v-loading="loading" :data="list"
style="width: 100%;margin-top: 15px"
:cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#FFFFFF'}"
highlight-current-row
:row-class-name="tableRowClassName">
<el-table-column label="序号" type="index" width="55"></el-table-column>
@ -72,7 +72,7 @@
</template>
<script>
// import {currentGET} from "@/api";
import {currentGET} from "@/api";
export default {
name: "dialogCorpInfo",
@ -104,6 +104,8 @@ export default {
// this.filterQuery.companyIdFk = this.editQuery.ucId;
currentGET('monthStatList', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;

@ -163,7 +163,7 @@ import RightTop1 from "./right-top1.vue";
import RightTop2 from "./right-top2.vue";
import RightTop3 from "./right-top3.vue";
import RightTop4 from "./right-top4.vue";
// import {currentGET} from "@/api";
import {currentGET} from "@/api";
import dialogCorpInfo from "./dialogInoutInfo.vue";
import {formatDate} from "@/utils/date";
@ -538,6 +538,8 @@ export default {
},
getCorpInvData() {
currentGET('corpInvList', {page: this.page, limit: this.limit, uploadFlag: 1}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list
this.total = res.data.total
@ -551,6 +553,8 @@ export default {
},
getUnCorpInvData() {
currentGET('corpInvList', {page: this.page, limit: this.limit, uploadFlag: 0}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.unList = res.data.list
this.unTotal = res.data.total

@ -9,7 +9,7 @@
</template>
<script>
// import {currentGET} from "api";
import {currentGET} from "@/api";
import {graphic} from "echarts";
export default {
@ -26,6 +26,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
console.log("安装计划", res);
if (res.success) {
this.init(res.data);

@ -9,7 +9,7 @@
</template>
<script>
// import {currentGET} from "api";
import {currentGET} from "@/api";
import {graphic} from "echarts";
export default {
@ -26,6 +26,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
console.log("安装计划", res);
if (res.success) {
this.init(res.data);

@ -10,7 +10,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -46,6 +46,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -9,7 +9,7 @@
</template>
<script>
// import {currentGET} from "api";
import {currentGET} from "@/api";
import {graphic} from "echarts";
export default {
@ -26,6 +26,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
console.log("安装计划", res);
if (res.success) {
this.init(res.data);

@ -13,7 +13,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,9 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
console.log('111',res )
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import { currentGET } from 'api/modules'
import { currentGET } from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -19,8 +19,8 @@
</template>
<script>
// import {currentGET} from "api/modules";
// import {graphic} from "echarts"
import {currentGET} from '../../../api/modules';
import {graphic} from "echarts"
export default {
data() {
@ -51,6 +51,8 @@ export default {
this.pageflag = true;
// this.pageflag =false
currentGET("big4").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("报警次数", res);
}

@ -12,7 +12,7 @@
</template>
<script>
// import {currentGET} from '@/api/modules'
import {currentGET} from '@/api/modules'
export default {
data() {

@ -55,7 +55,7 @@
</template>
<script>
// import {currentGET, currentPOST} from "@/api";
import {currentGET, currentPOST} from "@/api";
export default {
name: "dialogCorpProduct",
@ -94,6 +94,8 @@ export default {
this.filterQuery.companyIdFk = this.editQuery.ucId;
currentGET('corpProductList', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
@ -130,6 +132,6 @@ export default {
::v-deep .el-table tr,
::v-deep .el-table td {
background-color: transparent !important;
color: white;
color: #000000;
}
</style>

@ -23,7 +23,7 @@
</template>
<script>
// import {currentGET} from "@/api";
import {currentGET} from "@/api";
export default {
name: "dialogCorpInfo",

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {

@ -39,7 +39,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
let style = {
fontSize: 24

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {

@ -27,7 +27,7 @@
</div>
</div>
<div class="timers">
{{ dateYear }} {{ dateWeek }} {{ dateDay }}
{{ dateYear }} {{ dateWeek }}
<!-- <i-->
<!-- class="blq-icon-shezhi02"-->
<!-- style="margin-left: 10px"-->
@ -36,7 +36,11 @@
</div>
</div>
<div style="margin-bottom: 20px">
<el-radio-group v-model="radio1" @change="routerClick">
<el-radio-group v-model="radio1" @change="routerClick" style=".el-radio-button--mini .el-radio-button__inner {
/* padding: 7px 15px; */
/* font-size: 12px; */
/* border-radius: 0; */
}">
<el-radio-button label="" style="width: 20px">
</el-radio-button>
@ -184,4 +188,12 @@ export default {
}
}
</style>
<style lang="scss" scoped>
.el-radio-button--mini .el-radio-button__inner {
/* padding: 7px 15px; */
/* font-size: 12px; */
/* border-radius: 0; */
}
</style>

@ -12,7 +12,7 @@
</template>
<script>
// import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -57,6 +57,8 @@ export default {
this.pageflag = true
// this.pageflag =false
currentGET('productCategory', {gatewayno: this.gatewayno}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log('企业维护产品数量', res);

@ -12,7 +12,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -57,6 +57,8 @@ export default {
this.pageflag = true
// this.pageflag =false
currentGET('corpNmapProduct', {gatewayno: this.gatewayno}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log('企业维护产品数量', res);

@ -33,7 +33,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
let style = {
fontSize: 24
@ -113,6 +113,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("nmapCount").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("国家库产品标识统计", res);
}
@ -192,7 +194,7 @@ export default {
.allnum {
// background-image: url("../../assets/img/left_top_lan.png");
// background-image: url("../../../assets/img/left_top_lan.png");
&::before {
background-image: url("../../../assets/img/left_top_lan.png");

@ -39,7 +39,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
let style = {
fontSize: 24
@ -134,6 +134,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big2", {regionCode: this.regionCode}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("报备企业总览", res);
}
@ -213,7 +215,7 @@ export default {
.allnum {
// background-image: url("../../assets/img/left_top_lan.png");
// background-image: url("../../../assets/img/left_top_lan.png");
&::before {
background-image: url("../../../assets/img/left_top_lan.png");

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -65,6 +65,8 @@ export default {
// this.pageflag =false
currentGET('big1').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("设备总览", res);

@ -19,8 +19,8 @@
</template>
<script>
// import {currentGET} from "api/modules";
// import {graphic} from "echarts"
import {currentGET} from '../../../api/modules';
import {graphic} from "echarts"
export default {
data() {
@ -51,6 +51,8 @@ export default {
this.pageflag = true;
// this.pageflag =false
currentGET("big4").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("报警次数", res);
}

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -63,6 +63,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -63,6 +63,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -62,6 +62,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -62,6 +62,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -62,6 +62,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -14,7 +14,7 @@
</template>
<script>
// import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {

@ -140,7 +140,7 @@
<script>
// import {currentGET, currentPOST} from "@/api";
import {currentGET, currentPOST} from "@/api";
import RightTop from "./right-top.vue";
import RightTop1 from "./right-top1.vue";
import RightTop2 from "./right-top2.vue";
@ -386,6 +386,8 @@ export default {
this.loading = true;
currentGET("traceList", {page: this.page, limit: this.limit, companyId: this.companyId,traceSource:2})
.then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
this.loading = false;
if (res.code === 20000) {
this.list = res.data.list || [];
@ -436,6 +438,8 @@ export default {
corpPage: this.corpPage,
corpLimit: this.corpLimit
}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.corpList = res.data.list;
this.corpTotal = res.data.total;
@ -450,6 +454,8 @@ export default {
getStatCompany() {
currentGET('onlineCheckStat', null).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.statBustype = res.data
} else {

@ -53,6 +53,7 @@
</template>
<script>
import {currentGET, currentPOST} from "../../../api/modules";
import dialogCorpProduct from "./dialogCorpProduct.vue";
export default {
@ -127,6 +128,9 @@ export default {
this.pageflag = true
// this.pageflag =false
currentPOST('regCorpList', {regionCode: this.regionCode, bussinessStatus: "2"}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.dataList = res.data.list
} else {

@ -63,7 +63,7 @@
</template>
<script>
// import {currentGET, currentPOST} from "@/api";
import {currentGET, currentPOST} from "@/api";
export default {
name: "dialogCorpProduct",
@ -102,6 +102,9 @@ export default {
this.filterQuery.companyIdFk = this.editQuery.ucId;
currentGET('corpProductList', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
@ -138,6 +141,6 @@ export default {
::v-deep .el-table tr,
::v-deep .el-table td {
background-color: transparent !important;
color: white;
color: #000000;
}
</style>

@ -9,7 +9,7 @@
</template>
<script>
// import {currentGET} from "api";
import {currentGET} from "@/api";
import {graphic} from "echarts";
export default {
@ -37,6 +37,11 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
//
res = typeof res.data === "undefined" ? res : res.data;
if (res.success) {
this.init(res.data);
} else {

@ -97,12 +97,12 @@ import jiCaiItem from "./jiCaiItem.vue";
import yiBaoItem from "./yiBaoItem.vue";
import jinKouItem from "./jinKouItem.vue";
import qiXieItem from "./qiXieItem.vue";
// import {currentGET} from "@/api";
import {currentGET} from "@/api";
export default {
components: {
pinZhongItem,
corpItem, fuMaItem, jiCaiItem, yiBaoItem, jinKouItem, qiXieItem
corpItem, fuMaItem, jiCaiItem, yiBaoItem, jinKouItem, qiXieItem,currentGET
},
data() {
@ -321,6 +321,9 @@ export default {
getStatCompany() {
currentGET('companyBusTypeStat', {bussinessStatus: 2}
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.statBustype = res.data
} else {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
export default {
data() {
@ -63,6 +63,9 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
export default {
data() {

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
export default {
data() {
@ -62,6 +62,9 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
export default {
data() {
@ -62,6 +62,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -39,7 +39,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
let style = {
fontSize: 24
@ -119,6 +119,11 @@ export default {
getData() {
this.pageflag = true;
currentGET("big2").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
//
res = typeof res.data === "undefined" ? res : res.data;
if (!this.timer) {
console.log("报备企业总览", res);
}

@ -13,7 +13,7 @@
</template>
<script>
// import {currentGET} from 'api/modules'
import {currentGET} from "../../../api/modules"
export default {
data() {
@ -63,6 +63,9 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -79,6 +79,8 @@ export default {
getList() {
currentGET('adverseMsg', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
@ -117,6 +119,6 @@ export default {
::v-deep .el-table tr,
::v-deep .el-table td {
background-color: transparent !important;
color: white;
color: #000000;
}
</style>

@ -221,6 +221,8 @@ export default {
this.loading = true;
currentGET("product", this.filterQuery)
.then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
this.loading = false;
if (res.code === 20000) {
let data = [];
@ -251,6 +253,8 @@ export default {
}
currentGET("recordResult", query)
.then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
this.loading = false;
if (res.code === 20000) {
this.listOrder = res.data.traceManuOrderEntities || [];

@ -224,6 +224,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("amapFlow").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
this.pageflag = false;
if (res.code == 20000) {
this.initMap(res.data);

@ -12,7 +12,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -57,6 +57,8 @@ export default {
this.pageflag = true
// this.pageflag =false
currentGET('productCategory', {gatewayno: this.gatewayno}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log('企业维护产品数量', res);

@ -70,7 +70,7 @@
</template>
<script>
import {currentGET, currentPOST} from '@/api/modules'
import {currentGET, currentPOST} from '../../../api/modules';
import dialogWarnInfo from "../../../../../udi-cpt-bigvis/src/views/manu/dialogWarnInfo.vue";
export default {
@ -150,6 +150,8 @@ export default {
},
getData() {
currentGET('warnMsg', {page: this.page, limit: this.limit}).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list
} else {

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('big1').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("设备总览", res);

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('big1').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("设备总览", res);

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('big1').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("设备总览", res);

@ -94,6 +94,8 @@ export default {
this.filterQuery.companyIdFk = this.editQuery.ucId;
currentGET('corpProductList', this.filterQuery
).then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.list = res.data.list || [];
this.total = res.data.total || 0;
@ -130,6 +132,6 @@ export default {
::v-deep .el-table tr,
::v-deep .el-table td {
background-color: transparent !important;
color: white;
color: #000000;
}
</style>

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -66,7 +66,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
name: "center-stat",
@ -88,6 +88,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("nmapCount").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.code == 20000) {
this.data = res.data;
} else {

@ -9,7 +9,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
import {graphic} from "echarts";
export default {
@ -26,6 +26,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big6", {companyName: this.companyName}).then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (res.success) {
this.init(res.data);
} else {

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
return {
@ -49,6 +49,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

@ -39,7 +39,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
let style = {
fontSize: 24
@ -119,6 +119,8 @@ export default {
getData() {
this.pageflag = true;
currentGET("big2").then((res) => {
//
res = typeof res.data === "undefined" ? res : res.data
if (!this.timer) {
console.log("报备企业总览", res);
}

@ -13,7 +13,7 @@
</template>
<script>
import {currentGET} from '@/api/modules'
import {currentGET} from '../../../api/modules';
export default {
data() {
@ -50,6 +50,8 @@ export default {
// this.pageflag =false
currentGET('nmapCount').then(res => {
//
res = typeof res.data === "undefined" ? res : res.data
//
if (!this.timer) {
console.log("国家库产品标识分类", res);

Loading…
Cancel
Save