注释错误修改
This commit is contained in:
parent
c08bebcaa8
commit
b6cc89d82e
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/lz_management': {
|
'/lz_management': {
|
||||||
target: 'http://localhost:8080',
|
target: 'https://tlzmanagement.ldxinyong.com',
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -54,6 +54,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import IconSvg from '@/components/icon-svg'
|
||||||
import UpdatePassword from './main-navbar-update-password'
|
import UpdatePassword from './main-navbar-update-password'
|
||||||
import { clearLoginInfo } from '@/utils'
|
import { clearLoginInfo } from '@/utils'
|
||||||
import { apiLogout } from '@/api/api_sys'
|
import { apiLogout } from '@/api/api_sys'
|
||||||
@ -65,7 +66,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
UpdatePassword
|
UpdatePassword, IconSvg
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
navbarLayoutType: {
|
navbarLayoutType: {
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import IconSvg from '@/components/icon-svg'
|
||||||
import SubMenu from './main-sidebar-sub-menu'
|
import SubMenu from './main-sidebar-sub-menu'
|
||||||
export default {
|
export default {
|
||||||
name: 'sub-menu',
|
name: 'sub-menu',
|
||||||
@ -35,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
SubMenu
|
SubMenu, IconSvg
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
sidebarLayoutSkin: {
|
sidebarLayoutSkin: {
|
||||||
|
|||||||
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import SubMenu from './main-sidebar-sub-menu'
|
import SubMenu from './main-sidebar-sub-menu'
|
||||||
|
import IconSvg from '@/components/icon-svg'
|
||||||
import { isURL } from '@/utils/validate'
|
import { isURL } from '@/utils/validate'
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
@ -31,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
SubMenu
|
SubMenu, IconSvg
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
sidebarLayoutSkin: {
|
sidebarLayoutSkin: {
|
||||||
|
|||||||
@ -84,7 +84,8 @@
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.userId = res.user.userId
|
this.userId = res.user.userId
|
||||||
this.userName = res.user.username
|
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.mobile = res.user.mobile
|
||||||
|
|
||||||
this.$watermark.set(res.user.realName + ' ' + this.mobile.substr(7, 4))
|
this.$watermark.set(res.user.realName + ' ' + this.mobile.substr(7, 4))
|
||||||
|
|||||||
@ -168,10 +168,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>>
|
</template>>
|
||||||
<script>
|
<script>
|
||||||
import {
|
import { apiFindEquipmentByCode, apiChangeEquipment } from "@/api/api_equipment";
|
||||||
apiFindEquipmentByCode,
|
|
||||||
apiChangeEquipment,
|
|
||||||
} from "@/api/api_equipment";
|
|
||||||
import * as dd from "dingtalk-jsapi";
|
import * as dd from "dingtalk-jsapi";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -30,36 +30,30 @@
|
|||||||
</template>>
|
</template>>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return{
|
return{
|
||||||
value: ''
|
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'})
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
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>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user