1、设备数据调整
2、emit事件声明
This commit is contained in:
parent
d477c36d9b
commit
f9efa974c0
@ -611,7 +611,7 @@ class ArtSystem {
|
||||
}
|
||||
|
||||
//查询设备列表
|
||||
static queryEquipment(params) {
|
||||
static queryEquipment(params = {}) {
|
||||
let query = new Query();
|
||||
let { filter, pageInfo, order } = params;
|
||||
if (filter) {
|
||||
@ -648,6 +648,7 @@ class ArtSystem {
|
||||
});
|
||||
});
|
||||
}
|
||||
//查询设备数据
|
||||
static viewArtworkEquipmentData(params) {
|
||||
let query = new Query();
|
||||
let { filter, pageInfo, order } = params;
|
||||
|
@ -40,6 +40,7 @@ import { VueSignaturePad } from 'vue-signature-pad';
|
||||
export default {
|
||||
name: 'write',
|
||||
components: { VueSignaturePad },
|
||||
emits: ['save', 'close'],
|
||||
props: {
|
||||
role: String,
|
||||
id: Number,
|
||||
|
14
equipment.js
14
equipment.js
@ -98,5 +98,19 @@ class Equipment {
|
||||
});
|
||||
return ArtSystem.queryLaboratoryList({ filter, pageInfo });
|
||||
}
|
||||
|
||||
//查询设备数据
|
||||
queryEquipmentDatas(params = {}) {
|
||||
let { filter, pageInfo } = params;
|
||||
if (!filter) {
|
||||
filter = [];
|
||||
}
|
||||
filter.push({
|
||||
name: 'equipment_id',
|
||||
operator: '=',
|
||||
value: this.id,
|
||||
});
|
||||
return ArtSystem.viewArtworkEquipmentData({ filter, pageInfo });
|
||||
}
|
||||
}
|
||||
export default Equipment;
|
||||
|
Loading…
x
Reference in New Issue
Block a user