Showing
4 changed files
with
21 additions
and
3 deletions
... | ... | @@ -9,6 +9,6 @@ VITE_APP_BASE_URL = '' |
9 | 9 | # 七星分拣管理系统/开发环境 |
10 | 10 | # VITE_APP_BASE_API = '/api' |
11 | 11 | # VITE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' |
12 | -# VITE_APP_BASE_API = 'http://qixing-dws.boosal.com' | |
13 | -VITE_APP_BASE_API = 'http://192.168.16.22:8082' | |
12 | +VITE_APP_BASE_API = 'http://qixing-dws.boosal.com' | |
13 | +# VITE_APP_BASE_API = 'http://192.168.16.22:8082' | |
14 | 14 | ... | ... |
... | ... | @@ -102,6 +102,23 @@ export const constantRoutes = [ |
102 | 102 | ], |
103 | 103 | }, |
104 | 104 | { |
105 | + path: "/monitor/job", | |
106 | + component: Layout, | |
107 | + redirect: "noredirect", | |
108 | + children: [ | |
109 | + { | |
110 | + path: "", | |
111 | + component: () => import("@/views/monitor/job/index"), | |
112 | + name: "job", | |
113 | + meta: { | |
114 | + title: "定时任务", | |
115 | + icon: "job", | |
116 | + affix: false, | |
117 | + }, | |
118 | + }, | |
119 | + ], | |
120 | + }, | |
121 | + { | |
105 | 122 | path: "/redirect", |
106 | 123 | component: Layout, |
107 | 124 | hidden: true, | ... | ... |
... | ... | @@ -390,7 +390,7 @@ const clickEdit = (row) => { |
390 | 390 | // form.value.deviceTypeIdList = row.deviceTypeList.map( |
391 | 391 | // (item) => item.deviceTypeId + "" |
392 | 392 | // ); |
393 | - form.value.scanResultTypeList = row.sortingScanResultTypeList.map( | |
393 | + form.value.scanResultTypeList = (row.sortingScanResultTypeList || []).map( | |
394 | 394 | (item) => item.scanResultType |
395 | 395 | ); |
396 | 396 | form.value.fullQuantity = row.fullQuantity; | ... | ... |
Please
register
or
login
to post a comment