diff --git a/.env b/.env index 48ca302..257d260 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 标题 -VITE_APP_TITLE=随行管理系统 +VITE_APP_TITLE=智慧盘点系统 # 项目本地运行端口号 VITE_PORT=80 diff --git a/.env.dev b/.env.dev index 5343057..cade296 100644 --- a/.env.dev +++ b/.env.dev @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://127.0.0.1:48080' +VITE_BASE_URL='http://192.168.0.10:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/.env.prod b/.env.prod index 4657a53..a988f53 100644 --- a/.env.prod +++ b/.env.prod @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://127.0.0.1:48080' +VITE_BASE_URL='http://192.168.0.10:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/.env.stage b/.env.stage index cdaa871..3b8ba22 100644 --- a/.env.stage +++ b/.env.stage @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://127.0.0.1:48080' +VITE_BASE_URL='http://192.168.0.10:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/.env.test b/.env.test index bf70adf..a3969d0 100644 --- a/.env.test +++ b/.env.test @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://127.0.0.1:48080' +VITE_BASE_URL='http://192.168.0.10:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/package-lock.json b/package-lock.json index 31b9e0a..b6bc241 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,7 @@ "element-plus": "^2.6.1", "fast-xml-parser": "^4.3.2", "highlight.js": "^11.9.0", + "js-cookie": "^3.0.5", "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", "min-dash": "^4.1.1", @@ -10541,6 +10542,14 @@ "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", "dev": true }, + "node_modules/js-cookie": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", + "engines": { + "node": ">=14" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -24216,6 +24225,11 @@ "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", "dev": true }, + "js-cookie": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/package-lock.zip b/package-lock.zip new file mode 100644 index 0000000..ed2fbde Binary files /dev/null and b/package-lock.zip differ diff --git a/package.json b/package.json index 0687e5c..cce7c63 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "element-plus": "^2.6.1", "fast-xml-parser": "^4.3.2", "highlight.js": "^11.9.0", + "js-cookie": "^3.0.5", "jsencrypt": "^3.3.2", "lodash-es": "^4.17.21", "min-dash": "^4.1.1", diff --git a/src/api/logistics/camera/index.ts b/src/api/logistics/camera/index.ts index 676041f..08df25a 100644 --- a/src/api/logistics/camera/index.ts +++ b/src/api/logistics/camera/index.ts @@ -70,31 +70,31 @@ export const CameraApi = { export const CameraIoApi = { //查询相机io列表 - getCameraIoList:async () => { - return request.get({ url: `/camera/camera-io/list` }) + getCameraIoList: async (data): Promise => { + return request.post({ url: `/logistics/camera-io/list`,data }) }, // 新增相机io - createCameraIo: async (data: CameraVO) => { - return await request.post({ url: `/camera/camera-io/create`, data }) + createCameraIo: async (data: CameraIOVO) => { + return await request.post({ url: `/logistics/camera-io/create`, data }) }, // 修改相机io updateCameraIo: async (data: CameraVO) => { - return await request.put({ url: `/camera/camera-io/update`, data }) + return await request.put({ url: `/logistics/camera-io/update`, data }) }, // 删除相机io deleteCameraIo: async (id: number) => { - return await request.delete({ url: `/camera/camera-io/delete?id=` + id }) + return await request.delete({ url: `/logistics/camera-io/delete?id=` + id }) }, // 调用预置点位 callPtz: async (data: CameraIOVO) => { - return await request.post({ url: `/camera/camera-io/callPtz`, data }) + return await request.post({ url: `/logistics/camera-io/callPtz`, data }) }, // 覆盖预置点位 overwritePtz: async (data: CameraIOVO) => { - return await request.post({ url: `/camera/camera-io/overwritePtz`, data }) + return await request.post({ url: `/logistics/camera-io/overwritePtz`, data }) }, } \ No newline at end of file diff --git a/src/api/logistics/checklog/index.ts b/src/api/logistics/checklog/index.ts index ea6b337..0675703 100644 --- a/src/api/logistics/checklog/index.ts +++ b/src/api/logistics/checklog/index.ts @@ -10,6 +10,12 @@ export const CheckLogApi = { getCheckLogPage: async (params: any) => { return await request.get({ url: `/logistics/check-log/page`, params }) }, + + // 查询盘点分页 + getColumns: async () => { + return await request.post({ url: `/logistics/check-log/getColumns` }) + }, + // 查询盘点详情 getCheckLog: async (id: number) => { diff --git a/src/api/logistics/stock/index.ts b/src/api/logistics/stock/index.ts index 3ab9ac4..87d5956 100644 --- a/src/api/logistics/stock/index.ts +++ b/src/api/logistics/stock/index.ts @@ -50,10 +50,17 @@ export const StockApi = { return await request.post({ url: `/logistics/stock/create`, data }) }, + // 获得巷道所有盘点状态 + getStreetStatus: async (data) => { + return await request.post({ url: `/logistics/stock/getStreetStatus`, data }) + }, // 新增盘点状态 getStreetList: async (data) => { - return await request.get({ url: `/logistics/stock/getStreetList?streetId=`+ data.streetId+"&direction="+data.direction }) + return await request.get({ + url: + `/logistics/stock/getStreetList?streetId=` + data.streetId + '&direction=' + data.direction + }) }, // 修改盘点状态 updateStock: async (data: StockVO) => { @@ -69,4 +76,9 @@ export const StockApi = { exportStock: async (params) => { return await request.download({ url: `/logistics/stock/export-excel`, params }) }, + + //请求卡片信息接口 + getStockStatus: async (data: any) => { + return await request.post({ url: `/logistics/stock/getStockStatus`, data }) + } } diff --git a/src/components/camera/ZLMediaKit-Webrtc-Vue/index.html b/src/components/camera/ZLMediaKit-Webrtc-Vue/index.html deleted file mode 100644 index d0e3567..0000000 --- a/src/components/camera/ZLMediaKit-Webrtc-Vue/index.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - -
-
-
- - - -
- -
-
- - - \ No newline at end of file diff --git a/src/views/camera/index.html b/src/views/camera/index.html deleted file mode 100644 index 1eb977e..0000000 --- a/src/views/camera/index.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - - - - - -
-
-
- - - -
- -
-

- - -

- -

- - -

-

- - -

- -

- - -

- -

- - -

- -

- - echo - push - play -

-

- - - -

-

- - -

- - - -

- - -

-

- - -

- - -
-
-
- - - \ No newline at end of file diff --git a/src/views/logistics/camera/configuration.vue b/src/views/logistics/camera/configuration.vue index bfe7bb8..632c1ce 100644 --- a/src/views/logistics/camera/configuration.vue +++ b/src/views/logistics/camera/configuration.vue @@ -4,61 +4,47 @@ - + - + - + + + 指令编码: + + 指令名称: + + 提交 + @@ -67,44 +53,82 @@ \ No newline at end of file diff --git a/src/views/logistics/stock/stock.vue b/src/views/logistics/stock/stock.vue new file mode 100644 index 0000000..96af00a --- /dev/null +++ b/src/views/logistics/stock/stock.vue @@ -0,0 +1,298 @@ + + + + +