Commit 7b9d15adc689c70f499e1dcff2d91424ba29c988
1 parent
1d32c017
m
Showing
9 changed files
with
100 additions
and
100 deletions
trash-admin/src/main/resources/application-dev.yml
| ... | ... | @@ -19,7 +19,7 @@ trash: |
| 19 | 19 | # 远程服务器地址 |
| 20 | 20 | #remotePath: https://175.6.47.84:8008 |
| 21 | 21 | #token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJkdXJhYmxlIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg1NDE2NjEzMzU1fQ.58-J0KKfsK2pQhDQAzaBaUj-oFWMbYF1YzMAcshmcfidIkW16TZWIVhAVKPvCJvWfG54x7xB-ETxKCDLFnSctQ |
| 22 | - remotePath: https://183.66.242.6:14601 | |
| 22 | + remotePath: http://183.66.242.6:14601 | |
| 23 | 23 | token: durable:auth:token:eyJhbGciOiJIUzUxMiJ9.eyJ5ZWEiOiJjc3poIiwiZXhwIjo0MTAyNDE1OTk5LCJjcmVhdGVkIjoxNjg0NDU5MjEzNzQ2fQ.85oIrOnU7cz7L_-IGt4Bt1LXDTkFtyrdqNt05K0v9-4nsrrzzpbjbemK-yMlbnUpe4Fx2FFES-Wbw8Yr8ML69w |
| 24 | 24 | |
| 25 | 25 | ... | ... |
trash-ui/dist.zip
No preview for this file type
trash-ui/src/api/taskhismethod.js
| ... | ... | @@ -216,13 +216,13 @@ export default { |
| 216 | 216 | this.contract = true; |
| 217 | 217 | }else if(res.data.type == 4){ |
| 218 | 218 | this.vehicle = true; |
| 219 | - }else if(type == 5){ | |
| 219 | + }else if(res.data.type == 5){ | |
| 220 | 220 | this.idInfo = row.businessKey.substring(row.businessKey.lastIndexOf(":") + 1); |
| 221 | 221 | this.logisticsInfoOpen = true; |
| 222 | - }else if(type == 6){ | |
| 222 | + }else if(res.data.type == 6){ | |
| 223 | 223 | this.caseOffline = true; |
| 224 | 224 | return; |
| 225 | - }else if(type == 7){ | |
| 225 | + }else if(res.data.type == 7){ | |
| 226 | 226 | this.violationCaseFile = true; |
| 227 | 227 | this.videoSrc1 = []; |
| 228 | 228 | this.slides1 = []; | ... | ... |
trash-ui/src/api/taskmethod.js
| ... | ... | @@ -289,13 +289,13 @@ export default { |
| 289 | 289 | this.contract = true; |
| 290 | 290 | }else if(res.data.type == 4){ |
| 291 | 291 | this.vehicle = true; |
| 292 | - }else if(type == 5){ | |
| 292 | + }else if(res.data.type == 5){ | |
| 293 | 293 | this.idInfo = row.businessKey.substring(row.businessKey.lastIndexOf(":") + 1); |
| 294 | 294 | this.logisticsInfoOpen = true; |
| 295 | - }else if(type == 6){ | |
| 295 | + }else if(res.data.type == 6){ | |
| 296 | 296 | this.caseOffline = true; |
| 297 | 297 | return; |
| 298 | - }else if(type == 7){ | |
| 298 | + }else if(res.data.type == 7){ | |
| 299 | 299 | this.violationCaseFile = true; |
| 300 | 300 | this.videoSrc1 = []; |
| 301 | 301 | this.slides1 = []; | ... | ... |
trash-ui/src/layout/index.vue
| 1 | 1 | <template> |
| 2 | - <div :class="classObj" class="app-wrapper"> | |
| 3 | - <sidebar class="sidebar-container" /> | |
| 4 | - <div :class="{ hasTagsView: false }" class="main-container"> | |
| 5 | - <tags-view v-if="needTagsView" /> | |
| 6 | 2 | <app-main /> |
| 7 | - | |
| 8 | - </div> | |
| 9 | - </div> | |
| 10 | 3 | </template> |
| 11 | 4 | |
| 12 | 5 | <script> |
| 13 | 6 | import RightPanel from '@/components/RightPanel' |
| 14 | -import { mapState } from 'vuex' | |
| 15 | 7 | import { AppMain, Navbar, Settings, Sidebar, TagsView } from './components' |
| 16 | 8 | import ResizeMixin from './mixin/ResizeHandler' |
| 9 | +import { mapState } from 'vuex' | |
| 17 | 10 | |
| 18 | 11 | export default { |
| 19 | 12 | name: 'Layout', |
| ... | ... | @@ -52,56 +45,45 @@ export default { |
| 52 | 45 | </script> |
| 53 | 46 | |
| 54 | 47 | <style lang="scss" scoped> |
| 55 | -@import "~@/assets/styles/mixin.scss"; | |
| 56 | -@import "~@/assets/styles/variables.scss"; | |
| 48 | + @import "~@/assets/styles/mixin.scss"; | |
| 49 | + @import "~@/assets/styles/variables.scss"; | |
| 57 | 50 | |
| 58 | -.app-wrapper { | |
| 59 | - @include clearfix; | |
| 60 | - position: relative; | |
| 61 | - height: 100%; | |
| 62 | - width: 100%; | |
| 51 | + .app-wrapper { | |
| 52 | + @include clearfix; | |
| 53 | + position: relative; | |
| 54 | + height: 100%; | |
| 55 | + width: 100%; | |
| 63 | 56 | |
| 64 | - &.mobile.openSidebar { | |
| 65 | - position: fixed; | |
| 66 | - top: 0; | |
| 57 | + &.mobile.openSidebar { | |
| 58 | + position: fixed; | |
| 59 | + top: 0; | |
| 60 | + } | |
| 67 | 61 | } |
| 68 | -} | |
| 69 | - | |
| 70 | -.drawer-bg { | |
| 71 | - background: #000; | |
| 72 | - opacity: 0.3; | |
| 73 | - width: 100%; | |
| 74 | - top: 0; | |
| 75 | - height: 100%; | |
| 76 | - position: absolute; | |
| 77 | - z-index: 999; | |
| 78 | -} | |
| 79 | - | |
| 80 | -.fixed-header { | |
| 81 | - position: fixed; | |
| 82 | - top: 0; | |
| 83 | - right: 0; | |
| 84 | - z-index: 9; | |
| 85 | - width: calc(100% - #{$sideBarWidth}); | |
| 86 | - transition: width 0.28s; | |
| 87 | -} | |
| 88 | 62 | |
| 89 | -.hideSidebar .fixed-header { | |
| 90 | - width: calc(100% - 54px) | |
| 91 | -} | |
| 63 | + .drawer-bg { | |
| 64 | + background: #000; | |
| 65 | + opacity: 0.3; | |
| 66 | + width: 100%; | |
| 67 | + top: 0; | |
| 68 | + height: 100%; | |
| 69 | + position: absolute; | |
| 70 | + z-index: 999; | |
| 71 | + } | |
| 92 | 72 | |
| 93 | -.mobile .fixed-header { | |
| 94 | - width: 100%; | |
| 95 | -} | |
| 73 | + .fixed-header { | |
| 74 | + position: fixed; | |
| 75 | + top: 0; | |
| 76 | + right: 0; | |
| 77 | + z-index: 9; | |
| 78 | + width: calc(100% - #{$sideBarWidth}); | |
| 79 | + transition: width 0.28s; | |
| 80 | + } | |
| 96 | 81 | |
| 97 | -.preview figure { | |
| 98 | - float: left; | |
| 99 | - width: 30%; | |
| 100 | - height: calc(30vw - 0px); | |
| 101 | - margin: 1.5%; | |
| 102 | -} | |
| 82 | + .hideSidebar .fixed-header { | |
| 83 | + width: calc(100% - 54px) | |
| 84 | + } | |
| 103 | 85 | |
| 104 | -.preview figure img { | |
| 105 | - width: 400px; | |
| 106 | -} | |
| 86 | + .mobile .fixed-header { | |
| 87 | + width: 100%; | |
| 88 | + } | |
| 107 | 89 | </style> | ... | ... |
trash-ui/src/layout/index4.vue renamed to trash-ui/src/layout/index3.vue
| 1 | 1 | <template> |
| 2 | + <div :class="classObj" class="app-wrapper"> | |
| 3 | + <sidebar class="sidebar-container" /> | |
| 4 | + <div :class="{ hasTagsView: false }" class="main-container"> | |
| 5 | + <tags-view v-if="needTagsView" /> | |
| 2 | 6 | <app-main /> |
| 7 | + | |
| 8 | + </div> | |
| 9 | + </div> | |
| 3 | 10 | </template> |
| 4 | 11 | |
| 5 | 12 | <script> |
| 6 | 13 | import RightPanel from '@/components/RightPanel' |
| 14 | +import { mapState } from 'vuex' | |
| 7 | 15 | import { AppMain, Navbar, Settings, Sidebar, TagsView } from './components' |
| 8 | 16 | import ResizeMixin from './mixin/ResizeHandler' |
| 9 | -import { mapState } from 'vuex' | |
| 10 | 17 | |
| 11 | 18 | export default { |
| 12 | 19 | name: 'Layout', |
| ... | ... | @@ -45,45 +52,56 @@ export default { |
| 45 | 52 | </script> |
| 46 | 53 | |
| 47 | 54 | <style lang="scss" scoped> |
| 48 | - @import "~@/assets/styles/mixin.scss"; | |
| 49 | - @import "~@/assets/styles/variables.scss"; | |
| 55 | +@import "~@/assets/styles/mixin.scss"; | |
| 56 | +@import "~@/assets/styles/variables.scss"; | |
| 50 | 57 | |
| 51 | - .app-wrapper { | |
| 52 | - @include clearfix; | |
| 53 | - position: relative; | |
| 54 | - height: 100%; | |
| 55 | - width: 100%; | |
| 56 | - | |
| 57 | - &.mobile.openSidebar { | |
| 58 | - position: fixed; | |
| 59 | - top: 0; | |
| 60 | - } | |
| 61 | - } | |
| 58 | +.app-wrapper { | |
| 59 | + @include clearfix; | |
| 60 | + position: relative; | |
| 61 | + height: 100%; | |
| 62 | + width: 100%; | |
| 62 | 63 | |
| 63 | - .drawer-bg { | |
| 64 | - background: #000; | |
| 65 | - opacity: 0.3; | |
| 66 | - width: 100%; | |
| 67 | - top: 0; | |
| 68 | - height: 100%; | |
| 69 | - position: absolute; | |
| 70 | - z-index: 999; | |
| 71 | - } | |
| 72 | - | |
| 73 | - .fixed-header { | |
| 64 | + &.mobile.openSidebar { | |
| 74 | 65 | position: fixed; |
| 75 | 66 | top: 0; |
| 76 | - right: 0; | |
| 77 | - z-index: 9; | |
| 78 | - width: calc(100% - #{$sideBarWidth}); | |
| 79 | - transition: width 0.28s; | |
| 80 | 67 | } |
| 68 | +} | |
| 81 | 69 | |
| 82 | - .hideSidebar .fixed-header { | |
| 83 | - width: calc(100% - 54px) | |
| 84 | - } | |
| 70 | +.drawer-bg { | |
| 71 | + background: #000; | |
| 72 | + opacity: 0.3; | |
| 73 | + width: 100%; | |
| 74 | + top: 0; | |
| 75 | + height: 100%; | |
| 76 | + position: absolute; | |
| 77 | + z-index: 999; | |
| 78 | +} | |
| 85 | 79 | |
| 86 | - .mobile .fixed-header { | |
| 87 | - width: 100%; | |
| 88 | - } | |
| 80 | +.fixed-header { | |
| 81 | + position: fixed; | |
| 82 | + top: 0; | |
| 83 | + right: 0; | |
| 84 | + z-index: 9; | |
| 85 | + width: calc(100% - #{$sideBarWidth}); | |
| 86 | + transition: width 0.28s; | |
| 87 | +} | |
| 88 | + | |
| 89 | +.hideSidebar .fixed-header { | |
| 90 | + width: calc(100% - 54px) | |
| 91 | +} | |
| 92 | + | |
| 93 | +.mobile .fixed-header { | |
| 94 | + width: 100%; | |
| 95 | +} | |
| 96 | + | |
| 97 | +.preview figure { | |
| 98 | + float: left; | |
| 99 | + width: 30%; | |
| 100 | + height: calc(30vw - 0px); | |
| 101 | + margin: 1.5%; | |
| 102 | +} | |
| 103 | + | |
| 104 | +.preview figure img { | |
| 105 | + width: 400px; | |
| 106 | +} | |
| 89 | 107 | </style> | ... | ... |
trash-ui/src/main.js
| ... | ... | @@ -42,8 +42,8 @@ Vue.use(plugins) |
| 42 | 42 | Vue.prototype.$aMapKey = "902732b0ff4758e4b39f0f34f0cb1cb0";// 高德地图key |
| 43 | 43 | |
| 44 | 44 | |
| 45 | -Vue.prototype.remoteFrame = "https://183.66.242.6:14601" | |
| 46 | -// Vue.prototype.remoteFrame = "https://175.6.47.84:8008" | |
| 45 | +Vue.prototype.remoteFrame = "http://183.66.242.6:14601" | |
| 46 | +// Vue.prototype.remoteFrame = "http://175.6.47.84:8008" | |
| 47 | 47 | |
| 48 | 48 | Vue.prototype.msgSuccess = function (msg) { |
| 49 | 49 | this.$message({ showClose: true, message: msg, type: "success" }); | ... | ... |
trash-ui/vue.config.js
| ... | ... | @@ -41,14 +41,14 @@ module.exports = { |
| 41 | 41 | } |
| 42 | 42 | }, |
| 43 | 43 | ['/api']: { |
| 44 | - target: `https://183.66.242.6:14601`, | |
| 44 | + target: `http://183.66.242.6:14601`, | |
| 45 | 45 | // target: `http://175.6.47.84:8008`, |
| 46 | 46 | changeOrigin: true, |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | }, |
| 50 | 50 | disableHostCheck: true, |
| 51 | - https: true, | |
| 51 | + // https: true, | |
| 52 | 52 | }, |
| 53 | 53 | configureWebpack: { |
| 54 | 54 | name: name, | ... | ... |
trash-workFlow/src/main/resources/mapper/TruckActivateMapper.xml
| ... | ... | @@ -244,7 +244,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| 244 | 244 | </select> |
| 245 | 245 | |
| 246 | 246 | <select id="getTruckHistoryListByObjects" parameterType="TruckActivate" resultMap="TruckActivateResult"> |
| 247 | - from truck_activate | |
| 247 | + select * from truck_activate | |
| 248 | 248 | <where> |
| 249 | 249 | <if test="startTime != null "> and activate_time BETWEEN #{startTime} and #{endTime}</if> |
| 250 | 250 | and object_id in | ... | ... |