Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jisu_gongdan_phone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglongbao
jisu_gongdan_phone
Commits
66fd6b7e
Commit
66fd6b7e
authored
Sep 06, 2024
by
zhanglongbao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:历史工单列表无法进入
parent
3793e252
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
2 deletions
+45
-2
package.json
package.json
+1
-0
pnpm-lock.yaml
pnpm-lock.yaml
+37
-0
main.ts
src/main.ts
+2
-0
index.ts
src/router/index.ts
+4
-1
index.vue
src/view/code_product_detail/index.vue
+1
-1
No files found.
package.json
View file @
66fd6b7e
...
...
@@ -15,6 +15,7 @@
"
pinia
"
:
"
^2.2.2
"
,
"
smooth-signature
"
:
"
^1.0.15
"
,
"
vant
"
:
"
^4.9.4
"
,
"
vconsole
"
:
"
^3.15.1
"
,
"
vue
"
:
"
^3.4.37
"
,
"
vue-router
"
:
"
^4.4.3
"
},
...
...
pnpm-lock.yaml
View file @
66fd6b7e
...
...
@@ -23,6 +23,9 @@ dependencies:
vant
:
specifier
:
^4.9.4
version
:
4.9.4(vue@3.4.38)
vconsole
:
specifier
:
^3.15.1
version
:
3.15.1
vue
:
specifier
:
^3.4.37
version
:
3.4.38(typescript@5.5.4)
...
...
@@ -83,6 +86,13 @@ packages:
dependencies
:
'
@babel/types'
:
7.25.4
/@babel/runtime@7.25.6
:
resolution
:
{
integrity
:
sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==
}
engines
:
{
node
:
'
>=6.9.0'
}
dependencies
:
regenerator-runtime
:
0.14.1
dev
:
false
/@babel/types@7.25.4
:
resolution
:
{
integrity
:
sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==
}
engines
:
{
node
:
'
>=6.9.0'
}
...
...
@@ -713,6 +723,16 @@ packages:
is-what
:
3.14.1
dev
:
true
/copy-text-to-clipboard@3.2.0
:
resolution
:
{
integrity
:
sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q==
}
engines
:
{
node
:
'
>=12'
}
dev
:
false
/core-js@3.38.1
:
resolution
:
{
integrity
:
sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==
}
requiresBuild
:
true
dev
:
false
/csstype@3.1.3
:
resolution
:
{
integrity
:
sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
}
...
...
@@ -1021,6 +1041,10 @@ packages:
resolution
:
{
integrity
:
sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==
}
dev
:
true
/mutation-observer@1.0.3
:
resolution
:
{
integrity
:
sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==
}
dev
:
false
/nanoid@3.3.7
:
resolution
:
{
integrity
:
sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
}
engines
:
{
node
:
^10 || ^12 || ^13.7 || ^14 || >=15.0.1
}
...
...
@@ -1129,6 +1153,10 @@ packages:
picomatch
:
2.3.1
dev
:
true
/regenerator-runtime@0.14.1
:
resolution
:
{
integrity
:
sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==
}
dev
:
false
/reusify@1.0.4
:
resolution
:
{
integrity
:
sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
}
engines
:
{
iojs
:
'
>=1.0.0'
,
node
:
'
>=0.10.0'
}
...
...
@@ -1338,6 +1366,15 @@ packages:
vue
:
3.4.38(typescript@5.5.4)
dev
:
false
/vconsole@3.15.1
:
resolution
:
{
integrity
:
sha512-KH8XLdrq9T5YHJO/ixrjivHfmF2PC2CdVoK6RWZB4yftMykYIaXY1mxZYAic70vADM54kpMQF+dYmvl5NRNy1g==
}
dependencies
:
'
@babel/runtime'
:
7.25.6
copy-text-to-clipboard
:
3.2.0
core-js
:
3.38.1
mutation-observer
:
1.0.3
dev
:
false
/vite@5.4.2(@types/node@22.5.0)(less@4.2.0)
:
resolution
:
{
integrity
:
sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==
}
engines
:
{
node
:
^18.0.0 || >=20.0.0
}
...
...
src/main.ts
View file @
66fd6b7e
...
...
@@ -4,6 +4,7 @@ import { initApp } from "@/utils/init";
import
router
from
"@/router"
;
import
{
createPinia
}
from
"pinia"
;
import
mitt
from
"mitt"
;
import
VConsole
from
"vconsole"
;
// css
import
"./assets/css/reset.css"
;
...
...
@@ -12,6 +13,7 @@ import "./assets/icon/style.css";
import
"vant/lib/toast/index.css"
;
window
.
mitt
=
mitt
();
new
VConsole
();
const
app
=
createApp
(
App
);
app
.
use
(
createPinia
());
...
...
src/router/index.ts
View file @
66fd6b7e
...
...
@@ -30,7 +30,10 @@ const router = createRouter({
});
// 白名单列表
const
whitelist
:
string
[]
=
[
"/code_product_detail"
];
const
whitelist
:
string
[]
=
[
"/code_product_detail"
,
"/product_history_work_order"
,
];
let
first
=
true
;
// 首次进入
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
...
...
src/view/code_product_detail/index.vue
View file @
66fd6b7e
...
...
@@ -129,7 +129,7 @@ const product_detail = ref<{
const
getProductDetail
=
async
()
=>
{
const
msg
=
await
api
.
external
.
getInfoByQrCode
();
if
(
msg
.
code
==
0
)
{
product_detail
.
value
=
msg
.
data
;
product_detail
.
value
=
msg
.
data
||
({}
as
any
)
;
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment