@@ -105,6 +105,7 @@ import FuintDoc from '@/components/Fuint/Doc'
import ScreenData from '@/components/ScreenData'
import {getCountdownApi} from "@/api/store";
import {ljStoreInfo} from "@/api/staff/store";
+import screenfull from "screenfull";
export default {
data() {
@@ -112,6 +113,7 @@ export default {
// 遮罩层
day: -1,
storeName:"",
+ isFullscreen: false
}
},
components: {
@@ -153,6 +155,24 @@ export default {
this.getStore()
},
methods: {
+ prompt(){
+ this.$message({ message: '此功能暂未开放,敬请期待', type: 'warning' })
+ },
+ goToWebsite() {
+ window.open('https://cashier.youkerr.com/')
+ this.toggleFullscreen()
+ },
+ toggleFullscreen() {
+ if (document.documentElement.requestFullscreen) {
+ document.documentElement.requestFullscreen();
+ } else if (document.documentElement.mozRequestFullScreen) { // Firefox
+ document.documentElement.mozRequestFullScreen();
+ } else if (document.documentElement.webkitRequestFullscreen) { // Chrome, Safari and Opera
+ document.documentElement.webkitRequestFullscreen();
+ } else if (document.documentElement.msRequestFullscreen) { // IE/Edge
+ document.documentElement.msRequestFullscreen();
+ }
+ },
toggleSideBar() {
this.$store.dispatch('app/toggleSideBar')
console.log(this.sidebar.opened)
@@ -184,6 +204,26 @@ export default {
this.day = res.data
}
})
+ },
+ click() {
+ if (!screenfull.isEnabled) {
+ this.$message({ message: '你的浏览器不支持全屏', type: 'warning' })
+ return false
+ }
+ screenfull.toggle()
+ },
+ change() {
+ this.isFullscreen = screenfull.isFullscreen
+ },
+ init() {
+ if (screenfull.isEnabled) {
+ screenfull.on('change', this.change)
+ }
+ },
+ destroy() {
+ if (screenfull.isEnabled) {
+ screenfull.off('change', this.change)
+ }
}
}
}
diff --git a/fuintAdmin_zt/src/assets/images/loin-back.png b/fuintAdmin_zt/src/assets/images/loin-back.png
new file mode 100644
index 000000000..833c575d4
Binary files /dev/null and b/fuintAdmin_zt/src/assets/images/loin-back.png differ
diff --git a/fuintAdmin_zt/src/assets/images/ztlogin.png b/fuintAdmin_zt/src/assets/images/ztlogin.png
new file mode 100644
index 000000000..bfbbab091
Binary files /dev/null and b/fuintAdmin_zt/src/assets/images/ztlogin.png differ
diff --git a/fuintAdmin_zt/src/views/Site/add.vue b/fuintAdmin_zt/src/views/Site/add.vue
index 040eef8fb..987aceab7 100644
--- a/fuintAdmin_zt/src/views/Site/add.vue
+++ b/fuintAdmin_zt/src/views/Site/add.vue
@@ -28,7 +28,7 @@ export default {
tableData: [{
id: 1,
label: '系统首页',
-
+ list:[{show:true,name:'选中'},]
}, {
id: 2,
label: '机构管理',
@@ -38,21 +38,18 @@ export default {
label: '组织架构',
name: '王小虎',
address: '上海市普陀区金沙江路 1519 弄',
-
childrens: [{
id: 31,
label: '用户信息',
-
list:[{show:true,name:'新增'},{show:true,name:'修改'},{show:true,name:'重置密码'},]
}, {
id: 32,
label: '机构信息',
-
list:[{show:true,name:'保存'},]
}]
},
]
- // list:[{show:true,name:'选项一'},{show:true,name:'选项二'},{show:true,name:'选项三'},]
+
}, {
id: 4,
@@ -156,7 +153,6 @@ export default {