注释错误修改
This commit is contained in:
parent
c08bebcaa8
commit
b6cc89d82e
@ -13,7 +13,7 @@ module.exports = {
|
||||
assetsPublicPath: '/',
|
||||
proxyTable: {
|
||||
'/lz_management': {
|
||||
target: 'http://localhost:8080',
|
||||
target: 'https://tlzmanagement.ldxinyong.com',
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
|
||||
@ -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: {
|
||||
|
||||
@ -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: {
|
||||
|
||||
@ -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: {
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user