1
Surpriseplus
2022-09-16 8d1a91c23df335b090e38b2edd15203aa3b03da9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
<template>
  <div class="box">
    <div class="content left">
      <left1_1 @getData="getData"
               :optionsData="options"></left1_1>
      <left1_2 @getData="getData"
               :optionsData="options"></left1_2>
    </div>
    <div class="content center">
      <center></center>
    </div>
    <div class="content right">
      <right1_1 @getData="getData"
                :optionsData="options"></right1_1>
      <right1_2 @getData="getData"
                :optionsData="options"></right1_2>
    </div>
    <div class="PCTENT">
      <right1_1 @getData="getData"
                :optionsData="options"></right1_1>
    </div>
    <!-- <div class="mask" v-show="isshow" @click.stop="showMaskBox">
      <iframe class="iframebox" v-bind:src="reportUrl"></iframe>
    </div> -->
    <!-- <el-dialog
      :visible.sync="isshow"
      width="50%"
      top="5vh"
      :append-to-body="true"
      :modal-append-to-body="false"
    >
      <div
        style="
          width: 100%;
          height: 2800%;
          position: absolute;
          background: white;
        "
      >
        <iframe v-bind:src="reportUrl" width="100%" height="100%"></iframe>
      </div>
    </el-dialog> -->
    <div v-if="isshow"
         class="showVideone"
         @click="showvidetwo()">
      <div class="ShowVideo1">
        <iframe v-bind:src="reportUrl"
                style="width: 100%; height: 100%"></iframe>
      </div>
    </div>
  </div>
</template>
 
<script>
import left1_1 from "./left/left1-1.vue";
import left1_2 from "./left/left1-2.vue";
import right1_1 from "./right/right1-1.vue";
import right1_2 from "./right/right1-2.vue";
import center from "./center/center.vue";
import { getScwghToken, getToken, sendGet } from "../../utils/api.js";
import axios from "axios";
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {
    left1_1,
    left1_2,
    center,
    right1_1,
    right1_2,
  },
  data () {
    //这里存放数据
    return {
      isshow: false,
      reportUrl: "",
      options: [
        {
          value:
            "https://172.19.0.28/cas/remoteLogin?username=oa&password=7f5303a2dcfebce8c04a193b3452749eb6a0475add637352455ea1eedd624e1d&service=https://172.19.0.28/cas/eportal/home.action",
          label: "全域化视频监控平台",
        },
 
        {
          value: "http://192.168.200.36:8077/ht/login.html",
          label: "智慧水利公共服务平台",
        },
        {
          value:
            "http://192.168.200.36:8077/sgzx/ssologin.aspx?uid=sgdsj&url=/index.aspx",
          label: "环境自动监测监控系统",
        },
        {
          value:
            "http://192.168.200.36:8077/zhjt/?KEYDATA=B03DE68DDED0CFA9B0A6EA6609B600E5",
          label: "智慧交通平台",
        },
        {
          value: "http://172.16.1.6/portalsys/",
          label: "智慧寿光时空大数据平台",
        },
        {
          value:
            "http://sgdsjzxjk.shouguang.gov.cn/zhsq/main/html/communitys.html",
          label: "智慧社区公共服务平台",
        },
        {
          value:
            "http://221.1.82.252:8142/jd/newLogin.html?txt1=yjj_yjj01&txt2=3E72BD8D93805FB04E74C9B32A623A71",
          label: "安全生产监管系统",
        },
        {
          value: "http://172.16.1.27/dsjzx/",
          label: "阳光三农监管系统",
        },
        {
          value:
            "http://221.1.82.252:8027/Pages/nlogin.html?u=sg_ajypt&p=ajypt@73!",
          label: "安监云平台",
        },
        {
          value: "1",
          label: "农产品质量安全网格化监管系统",
        },
        {
          value:
            "http://192.168.200.156:8090/tzsb/?KEYDATA=918a13ca7c2b4a21852708534830f492",
          label: "特种设备安全智慧监管平台",
        },
        {
          value: "http://192.168.200.36:8077/cattle/login.html",
          label: "危化品道路运输全过程监管平台",
        },
        {
          value:
            "http://192.168.200.98/SGSZHWEB/Screen/UBSC/Userlogin.aspx?logout=1",
          label: "数字化城市管理系统",
        },
        {
          value: "3",
          label: "寿光蔬菜智慧秤系统",
        },
        {
          value: "http://192.168.200.36:8077/gyqypj/",
          label: "工业企业综合绩效评价平台",
        },
        {
          value: "http://172.16.31.3:8314/UcsWeb#/loginPass",
          label: "智慧应急平台",
        },
        {
          value:
            "http://172.16.1.233/toLogin.action?txt1=FgjAdmin7894&txt2=079A4A0FFA92DFF6700A76794150DE67&flag=nosrand",
          label: "公共信用信息平台",
        },
        {
          value:
            "http://sgsczy.shouguang.gov.cn/admin.html?username=dsjj&password=dsjj@123",
          label: "种子种苗交易服务平台",
        },
        {
          value: "4",
          label: "全国蔬菜质量标准中心信息平台",
        },
        {
          value:
            "http://show-shouguang.yifuzhen.com/h8-admin/index/index/index?userName=shujuzhanshi&userPassword=1q23l,xc45j.",
          label: "互联网医院",
        },
        {
          value: "http://172.16.1.40/index2.jsp",
          label: "社会治理服务信息平台",
        },
 
        {
          value:
            "http://www.sgcttc.com/api_second/user_login.action?userNo=02&psw=02",
          label: "智慧停车服务系统",
        },
        {
          value: "http://115.28.129.66/#/hscjuo1dbdc5/hrw9um1ryy14",
          label: "农村改厕智能化监管平台",
        },
        {
          value:
            "http://172.17.3.4/standereva/Phi/PhiLogin/LoginTh?token=RuKwN8HA4ccFvSIzBCdKLA",
          label: "全民健康信息平台",
        },
        {
          value: "http://xgymjzdj.shouguang.gov.cn/cattle/login.html",
          label: "新冠疫苗接种登记平台",
        },
        {
          value: "http://xsdwmsj.shouguang.gov.cn/",
          label: "新时代文明实践寿光云平台",
        },
        {
          value: "http://221.1.82.252:8108/toSubSystem/",
          label: "智慧养老服务信息平台",
        },
      ],
    };
  },
  //方法集合
  methods: {
    showvidetwo () {
      this.isshow = false;
    },
    showMaskBox () {
      this.isshow = false;
    },
    getData (val) {
      this.isshow = true;
      this.reportUrl = val;
    },
    getUrl () {
      this.options.forEach(async (e) => {
        if (e.label === "农产品质量安全网格化监管系统") {
          await axios({
            method: "post",
            url: "http://172.16.1.19:8080/DataPortalSystem/appYyzx/getScwghToken",
            params: {
              KEY: "01309231ebcc4fd4a0063534e4da7c2c",
            },
          }).then((res) => {
            if (res.data.errorcode == "000") {
              var token = res.data.token;
              e.value = `http://ascs.ronganfarm.com/tokenLogin?token=${token}`;
            }
          });
        } else if (e.label === "寿光蔬菜智慧秤系统") {
          let sign = window.btoa(window.encodeURIComponent(13869665112));
          let applylink = `https://sgsc.shouguang.gov.cn/trade/login2.html?sign=${sign}`;
 
          e.value = applylink;
        } else if (e.label === "全国蔬菜质量标准中心信息平台") {
          await axios({
            method: "post",
            url: "http://172.16.1.19:8080/DataPortalSystem/appYyzx/getToken",
            params: {
              KEY: "01309231ebcc4fd4a0063534e4da7c2c",
            },
          }).then((res) => {
            if (res.data.errorcode == "000") {
              var token = res.data.token;
 
              var secret = res.data.secret;
              e.value = `http://221.1.82.252:8162/ssoln.zb?token=${token}&secret=${secret}`;
            }
          });
        }
      });
    },
  },
  created () {
    this.getUrl();
  },
};
</script>
<style lang="less" scoped>
//@import url(); 引入公共css类
.box {
  width: 100%;
  // height: 2624px;
  height: 100vh;
  overflow: hidden;
  background-color: rgb(19, 33, 69);
  display: flex;
  position: relative;
  .showVideone {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
  }
  .ShowVideo1 {
    background: rgba(0, 0, 0, 0.5);
    width: 45%;
    height: 93%;
    position: absolute;
    z-index: 100;
    left: 28%;
    top: 5vh;
  }
 
  .mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
 
    background: rgba(0, 0, 0, 0.4);
 
    .iframebox {
      width: 60%;
      height: 60%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .PCTENT {
    display: none;
  }
  .content {
    font-size: 80px;
    width: 4182px;
 
    // padding: 0 132px;
    box-sizing: border-box;
  }
  .left {
    padding-left: 60px;
  }
  .right {
    padding-right: 60px;
  }
  .content:nth-child(2) {
    width: 5438px;
  }
  .left {
    padding-top: 316px;
  }
  .right {
    padding-top: 316px;
  }
  .center {
    padding-top: 316px;
    background-image: none !important;
  }
}
@media only screen and (max-width: 1920px) {
  .box {
    // background-color: #fff;
    height: 100%;
    .content {
      width: 50%;
    }
    .center {
      display: none;
    }
    .PCTENT {
      //   display: block;
      width: 100%;
      height: 100%;
      .left_1 {
        height: 100%;
      }
    }
    .ShowVideo1 {
      background: rgba(0, 0, 0, 0.5);
      width: 92%;
      height: 92%;
      position: absolute;
      z-index: 100;
      left: 4%;
      top: 4%;
    }
  }
}
</style>