diff --git a/src/api/polling.js b/src/api/polling.js index accc77c..ccc93bc 100644 --- a/src/api/polling.js +++ b/src/api/polling.js @@ -170,5 +170,12 @@ export function patrolBugAddLog(data) { data }) } -// -/**主动上报 end */ \ No newline at end of file +/**主动上报 end */ + +// 验证NFC扫描是否正确 +export function patroltaskValidateNfc(data) { + return request.post({ + url: '/patrol/patroltask/validateNfc', + data + }) +} \ No newline at end of file diff --git a/src/components/NFCTemplate.vue b/src/components/NFCTemplate.vue index c0e13ee..db1229c 100644 --- a/src/components/NFCTemplate.vue +++ b/src/components/NFCTemplate.vue @@ -4,7 +4,7 @@ NFC识别 - + @@ -40,16 +40,20 @@