This commit is contained in:
jiangrui 2021-04-30 09:49:09 +08:00
parent ef2d5f5c1f
commit fcc5bbf14f
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,5 +1,6 @@
.DS_Store .DS_Store
node_modules/ node_modules/
convenience-prod/
dist/ dist/
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
@ -11,6 +12,7 @@ tests/e2e/reports
selenium-debug.log selenium-debug.log
# Editor directories and files # Editor directories and files
*.rar
.idea .idea
.vscode .vscode
*.suo *.suo

View File

@ -19,8 +19,8 @@
const data = JSON.parse(localStorage.getItem("print")); const data = JSON.parse(localStorage.getItem("print"));
$("#serialNumber").text(data.serialNumber); $("#serialNumber").text(data.serialNumber);
$("#type").text(data.type); $("#type").text(data.type);
$("#idCard").text(data.applicant.idCard); $("#idCard").text(data.applicant&&data.applicant.idCard||'');
$("#applicant").text(data.applicant.name||''); $("#applicant").text(data.applicant&&data.applicant.name||'');
$("#createDate").text(data.createDate||''); $("#createDate").text(data.createDate||'');
$("#handler").text(data.handler.name); $("#handler").text(data.handler.name);
$("#content").append(data.content) $("#content").append(data.content)