feat(ticketing): 添加特种设备登记功能并优化样式

- 新增 getEquipmentt 函数用于获取特种设备登记信息
- 调整事件名称样式,使其宽度自适应
- 在事件历史页面添加获取特种设备登记详情的功能
master
Tuzki 6 months ago
parent 4a50e4d3a1
commit a5ad4fa8f4
  1. 7
      src/api/ticketing/ticketsort/index.js
  2. 1
      src/assets/styles/v-manage.scss
  3. 4
      src/views/report/eventHistory/index.vue

@ -86,4 +86,11 @@ export function getEquipmenttPage(params) {
method: 'get',
params
})
}
//获得特种设备登记
export function getEquipmentt(id) {
return request({
url: '/special/equipment-registry/get?id=' + id,
method: 'get'
})
}

@ -757,6 +757,7 @@
.enent-name {
font-size: 18px;
color: #1b1b1b;
width: fit-content;
}
}
}

@ -111,6 +111,10 @@
this.loading = false
}
},
async getDetail(val){
const res = await TicketSortApi.getEquipmentt(val.id)
console.log(res)
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNo = 1

Loading…
Cancel
Save