注释错误修改

This commit is contained in:
zhangcheng 2020-09-23 15:23:59 +08:00
parent c08bebcaa8
commit b6cc89d82e
7 changed files with 32 additions and 37 deletions

View File

@ -13,7 +13,7 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/lz_management': {
target: 'http://localhost:8080',
target: 'https://tlzmanagement.ldxinyong.com',
changeOrigin: true
}
},

View File

@ -54,6 +54,7 @@
</template>
<script>
import IconSvg from '@/components/icon-svg'
import UpdatePassword from './main-navbar-update-password'
import { clearLoginInfo } from '@/utils'
import { apiLogout } from '@/api/api_sys'
@ -65,7 +66,7 @@
}
},
components: {
UpdatePassword
UpdatePassword, IconSvg
},
computed: {
navbarLayoutType: {

View File

@ -21,6 +21,7 @@
</template>
<script>
import IconSvg from '@/components/icon-svg'
import SubMenu from './main-sidebar-sub-menu'
export default {
name: 'sub-menu',
@ -35,7 +36,7 @@
}
},
components: {
SubMenu
SubMenu, IconSvg
},
computed: {
sidebarLayoutSkin: {

View File

@ -23,6 +23,7 @@
<script>
import SubMenu from './main-sidebar-sub-menu'
import IconSvg from '@/components/icon-svg'
import { isURL } from '@/utils/validate'
export default {
data () {
@ -31,7 +32,7 @@
}
},
components: {
SubMenu
SubMenu, IconSvg
},
computed: {
sidebarLayoutSkin: {

View File

@ -84,7 +84,8 @@
this.loading = false
this.userId = res.user.userId
this.userName = res.user.username
this.$store.state.user = res.user
this.userId = res.user && res.user.id
this.userName = res.user && res.user.userName
this.mobile = res.user.mobile
this.$watermark.set(res.user.realName + ' ' + this.mobile.substr(7, 4))

View File

@ -168,10 +168,7 @@
</div>
</template>>
<script>
import {
apiFindEquipmentByCode,
apiChangeEquipment,
} from "@/api/api_equipment";
import { apiFindEquipmentByCode, apiChangeEquipment } from "@/api/api_equipment";
import * as dd from "dingtalk-jsapi";
export default {
data() {

View File

@ -30,36 +30,30 @@
</template>>
<script>
export default {
data () {
return{
value: ''
}
},
mounted () {
},
methods: {
batchOperate(command) {
switch (command) {
case 'staff':
//
this.$router.push({name: 'devicestaffdepat', query: {type: 3}})
break;
case "depat":
//
this.$router.push({name: 'devicestaffdepat', query: {type: 4}})
break;
}
},
goto (type) {
this.$router.push({name: 'devicedetail'})
}
data () {
return{
value: ''
}
},
mounted () {},
methods: {
batchOperate(command) {
switch (command) {
case 'staff':
//
this.$router.push({name: 'devicestaffdepat', query: {type: 3}})
break;
case "depat":
//
this.$router.push({name: 'devicestaffdepat', query: {type: 4}})
break;
}
},
goto (type) {
this.$router.push({name: 'devicedetail'})
}
}
}
</script>
<style>