Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3343f60a
authored
Feb 03, 2026
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
dc5e5949
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
42 deletions
haMgr/web-admin/src/utils/request.ts
huaian/css/demo.css
huaian/demo.html
huaian/js/demo.js
haMgr/web-admin/src/utils/request.ts
View file @
3343f60
import
axios
from
'axios'
import
{
ElMessage
}
from
'element-plus'
const
loginUrl
=
window
.
location
.
href
.
split
(
'#/'
)[
0
]
+
'#/login'
const
service
=
axios
.
create
({
baseURL
:
import
.
meta
.
env
.
VITE_API_URL
||
''
,
// Use proxy
timeout
:
10000
...
...
@@ -41,7 +43,7 @@ service.interceptors.response.use(
// 延迟跳转到登录页
setTimeout
(()
=>
{
window
.
location
.
href
=
'/login'
window
.
location
.
href
=
loginUrl
},
1000
)
return
Promise
.
reject
(
new
Error
(
errorData
.
msg
||
errorData
.
message
||
'登录已失效'
))
...
...
@@ -70,7 +72,7 @@ service.interceptors.response.use(
//延迟跳转到登录页,让用户看到提示信息
setTimeout
(()
=>
{
window
.
location
.
href
=
'/login'
window
.
location
.
href
=
loginUrl
},
1500
)
return
Promise
.
reject
(
new
Error
(
res
.
msg
||
res
.
message
||
'登录已失效'
))
...
...
@@ -94,7 +96,7 @@ service.interceptors.response.use(
// 延迟跳转到登录页
setTimeout
(()
=>
{
window
.
location
.
href
=
'/login'
window
.
location
.
href
=
loginUrl
},
1500
)
}
else
{
ElMessage
.
error
(
error
.
message
||
'请求失败'
)
...
...
huaian/css/demo.css
View file @
3343f60
This diff is collapsed.
Click to expand it.
huaian/demo.html
View file @
3343f60
...
...
@@ -2,12 +2,12 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
江苏移动
</title>
<link
rel=
"stylesheet"
href=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/css/vant.css"
/>
<link
rel=
"stylesheet"
href=
"css/demo.css?6763332736999
"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
江苏移动
</title>
<link
rel=
"stylesheet"
href=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/css/vant.css"
/>
<link
rel=
"stylesheet"
href=
"css/demo.css?1111
"
>
</head>
<body>
...
...
@@ -40,10 +40,12 @@
<div
class=
"right"
id=
"toolDiv"
>
<div
class=
"rli"
id=
"lightOutDiv"
>
<div
class=
"rlii"
id=
"lightDiv"
>
<img
id=
"lightImg"
class=
"img"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/light.png"
>
<img
id=
"lightImg"
class=
"img"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/light.png"
>
<div>
手电筒
</div>
</div>
<img
id=
"lightShowTs"
class=
"ts"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/lightTs.png"
>
<img
id=
"lightShowTs"
class=
"ts"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/lightTs.png"
>
</div>
<div
class=
"rli"
id=
"cameraDiv"
>
<img
class=
"img"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/camera.png?123"
>
...
...
@@ -71,7 +73,7 @@
<div
class=
"bclick"
id=
"accountAlertShow"
>
手动输入
</div>
</div>
</div>
<div
class=
"swDown"
id=
"tipDiv"
>
<div
class=
"buttDiv"
style=
"flex-grow: 1;"
>
<div
class=
"one none clickButt"
id=
"readButt"
key=
"ok"
>
准备好了
</div>
...
...
@@ -131,6 +133,7 @@
<div
class=
"alertDiv"
id=
"snAlertDiv"
>
<div
class=
"inner"
>
<div
class=
"til"
id=
"snAlertTile"
>
请确认设备串号
</div>
<div
class=
"snAlertTs"
id=
"snAlertTsShow"
>
为确保服务流程的完整与真实性,修改后的数据会记录在管理平台, 后续会进行重点稽核。
</div>
<textarea
id=
"snValue"
class=
"input snInput"
rows=
"1"
type=
"text"
placeholder=
"请输入设备串号"
></textarea>
<div
class=
"errorTs"
id=
"snErrorTs"
>
如识别错误你可重新进行拍摄或直接修改
</div>
<div
class=
"bot"
>
...
...
@@ -144,7 +147,8 @@
<div
class=
"inner"
>
<div
class=
"imgDiv"
>
<img
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/back.png"
alt=
""
style=
"display: block;"
>
<img
class=
"loadImg"
id=
"loadImg1"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/1.png"
alt=
""
>
<img
class=
"loadImg"
id=
"loadImg1"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/1.png"
alt=
""
>
</div>
<div
style=
"line-height: 1;"
id=
"waitText"
>
记录中,请稍后...
</div>
</div>
...
...
@@ -252,29 +256,27 @@
<div
id=
"pageDiv"
>
<div
class=
"outAlert pickAlert"
v-if=
"reasonPickData.isShow"
>
<van-picker
show-toolbar
:title=
"reasonPickData.title"
:columns=
"reasonPickData.arr"
:default-index=
"reasonPickData.index"
@
cancel=
"reasonCancel"
@
confirm=
"reasonConfirm"
/>
<van-picker
show-toolbar
:title=
"reasonPickData.title"
:columns=
"reasonPickData.arr"
:default-index=
"reasonPickData.index"
@
cancel=
"reasonCancel"
@
confirm=
"reasonConfirm"
/>
</div>
</div>
<div
class=
"outAlert"
id=
"snErrorAlert"
>
<div
class=
"outAlert"
id=
"snErrorAlert"
>
<div
class=
"mpCon"
>
<img
class=
"topBg"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/bBg.png"
alt=
""
>
<div
style=
"display: flex;"
>
<div
class=
"til"
>
串号无法识别? 请进行以下尝试
</div>
</div>
<div
class=
"bts small"
id=
"snErrorText"
>
1、请将摄像头近距离正面聚焦在 STBID/SN 码上,确保整串字符完整清晰。
</div>
<img
class=
"twoImg pImg"
id=
"snErrorImg"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/jdhSnSbError.png"
alt=
""
>
<img
class=
"twoImg pImg"
id=
"snErrorImg"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/jdhSnSbError.png"
alt=
""
>
<div
class=
"bts small"
>
2、使用页面右上方镜头包功能尝试切换摄像头再进行识别。
</div>
<img
class=
"twoImg pImg"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/cameraSwitchGuide.png"
alt=
""
>
<div
class=
"butt"
id=
"hideSnErrorAlert"
>
我知道了
</div>
<div
class=
"botBut"
>
<div
class=
"left graySn"
id=
"snTimeOut"
>
手动输入(3s)
</div>
<div
class=
"right"
id=
"hideSnErrorAlert"
>
重新拍摄
</div>
</div>
</div>
</div>
...
...
@@ -294,8 +296,8 @@
<div
class=
"dtil"
>
方法3:点击【无法拍摄】跳过此环节。
</div>
<div
class=
"botBut"
>
<div
class=
"clickButt left
"
key=
"bunengpai
"
>
无法拍摄
</div>
<div
class=
"right"
id=
"hideNoShootAlert"
>
我知道了
</div>
<div
class=
"clickButt left
grayNoShoot"
key=
"bunengpai"
id=
"noShootTime
"
>
无法拍摄
</div>
<div
class=
"right"
id=
"hideNoShootAlert"
>
重新拍摄
</div>
</div>
</div>
</div>
...
...
@@ -316,7 +318,7 @@
<div
class=
"alertCon noTestCon"
>
<div
class=
"til"
>
我要反馈
</div>
<div
class=
"topTs"
>
如
你出现无法拍摄的情况,比如反复拍摄无法识别,安装环境无法正常拍摄,你可填写原因和情况说明跳过此环节
。
</div>
<div
class=
"topTs"
>
如
遇反复识别失败、现场环境不允许拍摄等特殊情况,您可在此处填写具体原因和说明
。
</div>
<div
class=
"cli"
>
<div
class=
"ctil"
>
...
...
@@ -325,10 +327,10 @@
</div>
<textarea
id=
"noShootReason"
placeholder=
"请填写具体情况"
></textarea>
</div>
<div
class=
"know"
id=
"noShootSave"
>
保存
</div>
<div
class=
"botTs"
>
提交后管理员会重点检查,并且您无法再次对该环节进行质检
</div>
<div
class=
"know"
id=
"noShootSave"
>
提交
</div>
<div
class=
"botTs"
>
为确保服务流程的完整与真实性,修改后的数据会记录在管理平台, 后续会进行重点稽核
</div>
<img
class=
"close"
id=
"noShootClose"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/close.png"
>
</div>
...
...
@@ -346,16 +348,13 @@
<div
class=
"outAlert"
id=
"warningTsAlert"
>
<div
class=
"alertCon warningCon"
>
<img
class=
"icon"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/cheatWarn.png"
alt=
""
>
<img
class=
"icon"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/cheatWarn
2
.png"
alt=
""
>
<div
class=
"detail"
>
<img
class=
"bg"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/cheatBg.png"
alt=
""
>
<img
class=
"close"
id=
"cheatClose"
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/cheatClose.png"
alt=
""
>
<div
class=
"til"
>
环境异常警告
</div>
<div
class=
"des"
>
为保障服务质量与数据真实性,质检过程需在标准装维场景下进行。系统识别到当前环境不符合规范,已
<span>
记
<em
id=
"cheatNum"
>
1
</em>
次“疑似作弊”
</span>
。
</div>
<div
class=
"des dess"
id=
"allowProcess"
>
若再出现类似违规操作,该工单将自动标记为
<span>
“作弊工单”
</span>
,同时暂停
<span>
暂停质检并通报考核
</span>
。
</div>
<div
class=
"des dess"
id=
"forbidProcess"
>
该工单已自动标记为
<span>
“作弊工单”
</span>
,
<span>
无法继续质检
</span>
,如存在误判情况可及时
<span>
联系管理员或平台运营人员
</span>
解除异常。
</div>
<div
class=
"quit pageClose"
id=
"cheatQuitBut"
>
退出质检
</div>
<div
class=
"til"
>
检测环境异常
</div>
<div
class=
"des"
>
系统识别到当前检测环境
<span>
不符合标准规范,
</span>
请您移步至标准场景完成质检工单。
</div>
<div
class=
"des"
>
系统会
<span>
自动记录本次异常操作并通知管理员核实
</span>
。
</div>
<div
class=
"quit gray"
id=
"cheatClose"
>
重新拍摄(10s)
</div>
</div>
</div>
</div>
...
...
@@ -370,12 +369,12 @@
<script
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/jquery-3.4.1.min.js"
></script>
<script
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/axios.min.js"
></script>
<script
src=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/js/AgoraRTC_N.js"
></script>
<script
src=
"js/util.js?1212"
></script>
<script
src=
"js/vue.min.js"
></script>
<script
src=
"js/vant.min.js"
></script>
<script
src=
"js/demo.js?
909111109
"
></script>
<script
src=
"js/demo.js?
sdd333
"
></script>
</body>
</html>
\ No newline at end of file
huaian/js/demo.js
View file @
3343f60
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment