This commit is contained in:
lb
2023-10-31 17:49:39 +08:00
parent af868a7cd7
commit 57a4ca96e7
7 changed files with 1435 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ const btn = {
},
methods: {
handleClick() {
this.$emit('emitData', { type: this.injectData.label });
this.$emit('emitData', { action: this.injectData.label, value: null });
},
},
render: function (h) {
@@ -220,6 +220,17 @@ export default {
);
});
},
handleEmitFun({action, value}) {
switch (action) {
// 查看详情
case '设备保养':
alert('设备保养');
break;
case '保养记录':
alert('保养记录');
break;
}
},
/** 查询列表 */
getList() {
this.loading = true;