|
@@ -28,9 +28,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="title" v-if="infos.list.length > 0">
|
|
|
- 欢迎 {{
|
|
|
- infos.list[0].xm == "未识别" ? "XXX" : infos.list[0].xm
|
|
|
- }} 进入办税厅
|
|
|
+ 欢迎
|
|
|
+ {{ infos.list[0].xm == "未识别" ? "XXX" : infos.list[0].xm }} 进入办税厅
|
|
|
</div>
|
|
|
<div class="tip">{{ infos.fwby }}</div>
|
|
|
</div>
|
|
@@ -56,7 +55,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import axios from "axios";
|
|
|
+import { forQuery } from "@/api/wgsmxt";
|
|
|
export default {
|
|
|
name: "BigScreenVueIndex",
|
|
|
|
|
@@ -78,25 +77,18 @@ export default {
|
|
|
methods: {
|
|
|
getData(e) {
|
|
|
var that = this;
|
|
|
- axios({
|
|
|
- url: `https://zht.shizhi.tv/dphd/jeecg-boot/face_recognition/forQuery?swjgdm=${e}`,
|
|
|
- method: "get",
|
|
|
- data: {
|
|
|
- swjgdm: e,
|
|
|
- },
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- this.infos = res.data.result;
|
|
|
- clearTimeout(this.timer);
|
|
|
- this.timer = setTimeout(() => {
|
|
|
- that.getData(e);
|
|
|
- }, 3 * 1000);
|
|
|
- })
|
|
|
- .catch((err) => {
|
|
|
- this.timer = setTimeout(() => {
|
|
|
- that.getData(e);
|
|
|
- }, 3 * 1000);
|
|
|
- });
|
|
|
+ let form = {
|
|
|
+ swjgdm: e,
|
|
|
+ };
|
|
|
+ forQuery(form).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.infos = res.result;
|
|
|
+ }
|
|
|
+ clearTimeout(this.timer);
|
|
|
+ this.timer = setTimeout(() => {
|
|
|
+ that.getData(e);
|
|
|
+ }, 3 * 1000);
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
count(e) {
|
|
@@ -112,17 +104,17 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.wgsmxt {
|
|
|
- width: 1920px;
|
|
|
+ width: 100%;
|
|
|
height: 1080px;
|
|
|
overflow: hidden;
|
|
|
font-family: "苹方简R";
|
|
|
|
|
|
.bg {
|
|
|
- position: fixed;
|
|
|
+ position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
z-index: -1;
|
|
|
- width: 1920px;
|
|
|
+ width: 100%;
|
|
|
height: 1080px;
|
|
|
}
|
|
|
|
|
@@ -221,8 +213,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.bottom {
|
|
|
- position: fixed;
|
|
|
- bottom: 0;
|
|
|
+ position: relative;
|
|
|
padding: 0 80px;
|
|
|
padding-bottom: 15px;
|
|
|
width: 100%;
|