mobilebroken/nflg-mobilebroken-admin/src/main/resources/templates/ticketpdf.html

108 lines
2.7 KiB
HTML
Raw Normal View History

2025-02-07 20:09:52 +08:00
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title th:text="${ticket.title}"></title>
<style>
2025-02-28 22:31:37 +08:00
2025-02-07 20:09:52 +08:00
body {
font-size: 12px;
2025-02-28 22:31:37 +08:00
font-family: SimSun, Arial, sans-serif;
font-weight: normal;
font-style: normal;
2025-02-07 20:09:52 +08:00
}
table, th, td {
border: black 1px solid;
border-collapse: collapse;
padding: 5px;
}
2025-02-28 22:31:37 +08:00
a{
margin: 5px;
}
.cimg{
margin-left: 5px;
margin-top: 5px;
float: left;
width: 215px;
height: auto;
}
2025-02-07 20:09:52 +08:00
</style>
</head>
<body>
2025-02-28 22:31:37 +08:00
<div>
<img style="width: 400px;height: auto;" alt="" src="https://cabinet-tool.oss-cn-hangzhou.aliyuncs.com/admin/20250207/1/mmwf/logo.png"/>
</div>
<h1>移动破售后问题反馈表</h1>
2025-02-07 20:09:52 +08:00
<table style="width: 100%;">
<tr>
<td class="style1">标题</td>
<td colspan="3" th:text="${ticket.title}"></td>
</tr>
<tr>
<td>问题详细描述</td>
<td colspan="3" th:text="${ticket.description}"></td>
</tr>
<tr>
<td>工单编号</td>
<td th:text="${ticket.no}"></td>
<td>设备编号</td>
<td th:text="${ticket.deviceNo}"></td>
</tr>
<tr>
<td>机型</td>
<td th:text="${ticket.modelNo}"></td>
<td>使用时长</td>
<td th:text="${ticket.useTime}"></td>
</tr>
<tr>
<td>问题部位</td>
<td colspan="3" th:text="${ticket.component}"></td>
</tr>
<tr>
<td>紧急程度</td>
<td th:text="${ticket.urgencyDesc}"></td>
<td>解决状态</td>
<td th:text="${ticket.stateDesc}"></td>
</tr>
<tr>
<td>处理人</td>
<td th:text="${ticket.handleUserName}"></td>
<td>解决时间</td>
<td th:text="${ticket.updateTime}"></td>
</tr>
<tr>
<td>解决方案</td>
<td colspan="3" th:text="${ticket.solution}"></td>
</tr>
<tr>
<td>提交人</td>
<td th:text="${ticket.createUserName}"></td>
<td>提交时间</td>
<td th:text="${ticket.createTime}"></td>
</tr>
<tr>
<td colspan="4">文件</td>
</tr>
<tr>
2025-02-28 22:31:37 +08:00
<td colspan="4">
2025-03-07 15:42:29 +08:00
<div>
<a th:each="file:${ticket.files}" th:href="${file.url}" th:text="${file.name}"></a>
2025-02-28 22:31:37 +08:00
</div>
</td>
2025-02-07 20:09:52 +08:00
</tr>
<tr>
<td colspan="4">图片</td>
</tr>
<tr>
2025-02-28 22:31:37 +08:00
<td colspan="4">
2025-03-07 15:42:29 +08:00
<div th:each="file:${ticket.images}">
2025-02-28 22:31:37 +08:00
<img class="cimg" alt="" th:src="${file.url}"/>
</div>
</td>
2025-02-07 20:09:52 +08:00
</tr>
</table>
</body>
</html>