|
@@ -223,9 +223,11 @@ export default {
|
|
|
this.changeCader()
|
|
|
if (this.mess.deviceId) {
|
|
|
let params = {
|
|
|
- PageNumber: 1,
|
|
|
- PageSize: 500,
|
|
|
- Filters: `type='Equipment' or type='${this.mess.deviceId}'`
|
|
|
+ data: {
|
|
|
+ PageNumber: 1,
|
|
|
+ PageSize: 500
|
|
|
+ },
|
|
|
+ type: this.mess.deviceId
|
|
|
};
|
|
|
getDataDictionary(params, res => {
|
|
|
this.tableHeader = res.Content;
|
|
@@ -241,7 +243,7 @@ export default {
|
|
|
if (!!this.mess.deviceId) {
|
|
|
let param = {
|
|
|
PageSize: this.page.size,
|
|
|
- Orders: "createTime desc",
|
|
|
+ Orders: "createTime desc, EquipID desc",
|
|
|
PageNumber: this.page.currentPage,
|
|
|
Filters: `category='${this.mess.deviceId}'`
|
|
|
}
|
|
@@ -615,8 +617,10 @@ export default {
|
|
|
break;
|
|
|
//关联系统
|
|
|
case 'linkSystem':
|
|
|
- this.systemList = this.tableData[row.row].LinkSystem || [];
|
|
|
- this.myDialog.systemType = true;
|
|
|
+ if (!this.onlyRead) {
|
|
|
+ this.systemList = this.tableData[row.row].LinkSystem || [];
|
|
|
+ this.myDialog.systemType = true;
|
|
|
+ }
|
|
|
break;
|
|
|
//关联资产
|
|
|
case 'LinkEquipLocalName':
|