flx:优化
This commit is contained in:
parent
68ed7ec725
commit
e3be0dbc36
@ -707,6 +707,7 @@ const equipmentDetail = ref({});
|
||||
// 查看设备详情
|
||||
const onEquipmentClick = row => {
|
||||
equipmentDetail.value = row;
|
||||
getWorkTicketQueryById(equipmentDetail.value.workTicketId);
|
||||
equipmentDialog.value = true;
|
||||
};
|
||||
|
||||
@ -750,7 +751,7 @@ const timeInterval = ref(null);
|
||||
const onViewDetail = (row, flag) => {
|
||||
if (row.id == workTicketDetail.value.id && flag != true) return;
|
||||
workTicketDetail.value = row;
|
||||
getWorkTicketQueryById();
|
||||
getWorkTicketQueryById(workTicketDetail.value.id);
|
||||
getWorkTicketHistoryList();
|
||||
initPoliceCameraItemList();
|
||||
if (timeInterval.value) {
|
||||
@ -761,9 +762,9 @@ const onViewDetail = (row, flag) => {
|
||||
}, 1000 * 60 * 30);
|
||||
};
|
||||
// 通过id查询作业票详情
|
||||
const getWorkTicketQueryById = () => {
|
||||
const getWorkTicketQueryById = (id) => {
|
||||
getWorkTicketQueryByIdApi({
|
||||
id: workTicketDetail.value.id,
|
||||
id: id,
|
||||
projectSn: store.sn
|
||||
}).then(res => {
|
||||
if (res.code == 200) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user