ll
liukangdong
2024-12-26 8866718edafe8f312feb1e7e4c3f9be531c0f7b2
ll
已添加1个文件
已删除1个文件
已修改6个文件
70 ■■■■ 文件已修改
pda/manifest.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pda/pages/index/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/public/favicon.ico 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/assets/images/FireFighting/xiaofang_ic_lixian@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/assets/images/FireFighting/xiaofang_ic_zhengchang@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/views/FireFighting.vue 52 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/views/SecurityControl.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/vite.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pda/manifest.json
@@ -18,7 +18,8 @@
            "proxy" : {
                "/gateway_interface" : {
                    // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址
                    "target" : "http://10.50.250.253:8088/gateway_interface", // 代理服务器域名或IP地址
                    // "target" : "http://10.50.250.253:8088/gateway_interface", // 代理服务器域名或IP地址
                    "target" : "https://atwl.ahzyssl.com/zhyq_interface", // 代理服务器域名或IP地址
                    // "target" : "http://192.168.0.108:10010", // 代理服务器域名或IP地址
                    "changeOrigin" : true, // 允许跨域 
pda/pages/index/index.vue
@@ -46,7 +46,12 @@
    }
  },
  onLoad() {
        const token = uni.getStorageSync('token')
        if(!token){
            uni.redirectTo({
                url: '/pages/index/login'
            })
        }
  },
  methods: {
        loginout() {
screen/public/favicon.ico

screen/src/assets/images/FireFighting/xiaofang_ic_lixian@2x.png
Binary files differ
screen/src/assets/images/FireFighting/xiaofang_ic_zhengchang@2x.png
screen/src/views/FireFighting.vue
@@ -101,6 +101,13 @@
                </div>
              </div>
              <div class="item">
                <img src="@/assets/images/FireFighting/xiaofang_ic_pingbi@2x.png" alt="">
                <div class="content">
                  <div class="name">屏蔽</div>
                  <div class="num num5">{{ dataList4.shieldDeviceNum || 0 }}</div>
                </div>
              </div>
              <div class="item">
                <img src="@/assets/images/FireFighting/xiaofang_ic_guzhang@2x.png" alt="">
                <div class="content">
                  <div class="name">故障</div>
@@ -108,17 +115,10 @@
                </div>
              </div>
              <div class="item">
                <img src="@/assets/images/FireFighting/xiaofang_ic_lixian@2x.png" alt="">
                <img src="@/assets/images/FireFighting/xiaofang_ic_zhengchang@2x.png" alt="">
                <div class="content">
                  <div class="name">正常</div>
                  <div class="num num4">{{ dataList4.offlineDeviceNum }}</div>
                </div>
              </div>
              <div class="item">
                <img src="@/assets/images/FireFighting/xiaofang_ic_pingbi@2x.png" alt="">
                <div class="content">
                  <div class="name">屏蔽</div>
                  <div class="num num5">{{ dataList4.shieldDeviceNum || 0 }}</div>
                </div>
              </div>
            </div>
@@ -559,7 +559,7 @@
      {
        name: '最上层立体圆',
        type: 'pictorialBar',
        symbolSize: [260, 40],
        symbolSize: [170, 40],
        symbolOffset: [0, -20],
        z: 12,
        itemStyle: {
@@ -577,7 +577,7 @@
      {
        name: '中间立体圆',
        type: 'pictorialBar',
        symbolSize: [260, 40],
        symbolSize: [170, 40],
        symbolOffset: [0, -20],
        z: 12,
        itemStyle: {
@@ -610,7 +610,7 @@
      {
        name: '最底部立体圆',
        type: 'pictorialBar',
        symbolSize: [260, 40],
        symbolSize: [170, 40],
        symbolOffset: [0, 20],
        z: 12,
        itemStyle: {
@@ -659,9 +659,9 @@
        label: {
          distance: 15,
          show: true,
          position: data > 58 ? 'inside' : 'top',
          position: data > 52  ? 'inside' : 'top',
          formatter: '{c}' + '%',
          fontSize: 80,
          fontSize: 72,
          color: '#1AFCFF',
          textShadowColor: '#03C7F9',
          textShadowBlur: 30,
@@ -1225,16 +1225,16 @@
            .num3 {
              background-image: -webkit-linear-gradient(top,
                  #fff 0%,
                  #e9bf43 50%,
                  #eb8131 100%);
                  #eb8131 0%,
                  #d0a72c 50%,
                  #e9bf43 100%);
            }
            .num4 {
              background-image: -webkit-linear-gradient(top,
                  #fff 0%,
                  #9e9e9e 50%,
                  #9e9e9e 100%);
                  #78db91 50%,
                  #6de8b0 100%);
            }
            .num5 {
@@ -1436,11 +1436,11 @@
              /* border: 6px solid red; */
              .liquidle_te {
                font-weight: 500;
                font-size: 16px;
                font-size: 18px;
                position: absolute;
                top: 102px;
                top: 99px;
                left: 0;
                width: 214px;
                width: 192px;
                display: flex;
                flex-direction: column;
                align-items: center;
@@ -1448,7 +1448,7 @@
                .placeT {
                  font-size: 12px;
                  color: #869CC9;
                  margin-top: 4px;
                  margin-top: 6px;
                }
              }
@@ -1462,14 +1462,14 @@
              } */
              .liquidlevel {
                width: 300px;
                width: 206px;
                height: 400px;
                transform: scale(0.24);
                transform: scale(0.27);
                color: #fff;
                text-align: center;
                position: relative;
                left: -42px;
                top: -140px;
                left: -8px;
                top: -143px;
              }
            }
          }
screen/src/views/SecurityControl.vue
@@ -612,7 +612,7 @@
  })
}
const colors = ['#FEAF01', '#01ABFE', '#51F9E4']
const colors = [ '#01ABFE','#FEAF01', '#51F9E4']
const initEchart2 = () => {
  const myChart = echarts.init(document.getElementById('echart2'))
  const option = {
@@ -965,7 +965,7 @@
    initialSlide: 0,
    direction: 'vertical', //竖直方向
    slidesPerView: 3,
    autoplay: autoplayFlag(dataList2.value.filter(i => i.total > 0), 3, 4000),
    autoplay: autoplayFlag(dataList2.value.filter(i => i.totalNum > 0), 3, 4000),
    observer: true, //修改swiper自己或子元素时,自动初始化swiper
  })
}
screen/vite.config.js
@@ -25,9 +25,9 @@
  server: {
    proxy: {
      "/gateway_interface": {
        target: "http://192.168.0.104:10010",
        // target: "http://192.168.0.104:10010",
        // target: "http://10.50.250.253:8088/gateway_interface",
        // target: "http://192.168.0.173/gateway_interface",
        target: "https://atwl.ahzyssl.com/zhyq_interface",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/gateway_interface/, ""),
      },