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