|
@@ -176,6 +176,7 @@ import { log } from "util";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ plazaId: 1000423, // 广场id
|
|
|
systemId: "", // 当前系统Id
|
|
|
systemList: [], // 系统
|
|
|
systemContentData: [
|
|
@@ -233,6 +234,10 @@ export default {
|
|
|
|
|
|
computed: {},
|
|
|
|
|
|
+ beforeMount() {
|
|
|
+ let PLAZAID = localStorage.getItem('PLAZAID');
|
|
|
+ this.plazaId = Number(PLAZAID) || 1000423;
|
|
|
+ },
|
|
|
mounted() {
|
|
|
document.addEventListener('click', () => {
|
|
|
setTimeout(() => {
|
|
@@ -284,7 +289,7 @@ export default {
|
|
|
*/
|
|
|
getEquipmentOfSystem() {
|
|
|
let param = {
|
|
|
- plazaId: 1000423,
|
|
|
+ plazaId: this.plazaId,
|
|
|
ccode: 1002347
|
|
|
};
|
|
|
if (this.systemId !== "") {
|
|
@@ -347,7 +352,7 @@ export default {
|
|
|
return o.isActive;
|
|
|
}).category_code
|
|
|
};
|
|
|
- let url = `/data/sms_asset/query?plazaId=1000423&page=${this.curPage}&size=${this.pageSize}&orderBy=is_exception,0`;
|
|
|
+ let url = `/data/sms_asset/query?plazaId=${this.plazaId}3&page=${this.curPage}&size=${this.pageSize}&orderBy=is_exception,0`;
|
|
|
if (_.trim(this.searchKey) !== "") {
|
|
|
url = `${url}&keyword=${this.searchKey}:sbjc,sbjbm`;
|
|
|
}
|
|
@@ -397,7 +402,7 @@ export default {
|
|
|
let param = {
|
|
|
page: this.hisCurPage,
|
|
|
size: this.hisPageSize,
|
|
|
- plazaId: 1000423,
|
|
|
+ plazaId: this.plazaId,
|
|
|
assetnum: this.assetnum,
|
|
|
// assetnum: 24071,
|
|
|
startDate: this.startTime,
|