MrShi
2025-09-24 0e555ff7887e46c5bdd9d8ca237f7ed1e1634c0f
优化
已修改9个文件
45 ■■■■■ 文件已修改
admin/public/template/member.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/components/business/OperaCarsWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/business/dangerStatic.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/vehicle/cars.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/staff/snapshot.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/waybill/list.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/pages/waybill/waybillDetail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/views/FireFighting.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen/src/views/SecurityControl.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/public/template/member.xlsx
Binary files differ
admin/src/components/business/OperaCarsWindow.vue
@@ -187,7 +187,7 @@
    },
    getCate () {
      fetchList({
        model: {},
        model: { type: 1 },
        capacity: 1000,
        page: 1
      }).then(res => {
admin/src/views/business/dangerStatic.vue
@@ -154,7 +154,7 @@
          this.yearList = res.yearList
          this.departmentList = res.departmentList.slice(0, 10)
          this.departmentList = res.departmentSortList.slice(0, 10)
          this.typeList = res.cateList || []
          this.deptList = res.departmentList || []
admin/src/views/vehicle/cars.vue
@@ -198,7 +198,7 @@
    },
    getCate() {
      fetchList({
        model: {},
        model: { type: 1 },
        capacity: 1000,
        page: 1,
      }).then(res => {
h5/pages/staff/snapshot.vue
@@ -234,10 +234,10 @@
                    title: '请输入情况说明',
                    icon: 'none'
                })
                if (param.content.length < 10) return uni.showToast({
                    title: '情况说明不得小于10个字',
                    icon: 'none'
                })
                // if (param.content.length < 10) return uni.showToast({
                //     title: '情况说明不得小于10个字',
                //     icon: 'none'
                // })
                DangerCreate({
                    ...param,
h5/pages/waybill/list.vue
@@ -19,9 +19,10 @@
        <scroll-view scroll-y="true" class="scroll_Y" @scrolltolower="scrolltolower">
            <view class="main_list">
                <view class="item" v-for="item,index in list" :key="index">
                    <view class="head">
                    <view class="head"
                    :style="{ backgroundColor: item.orderStatus === 9 ? 'linear-gradient(270deg, #FEFEFF 0%, #FEE1E1 100%)' : 'linear-gradient(270deg, #FEFEFF 0%, #E1F7FE 100%)' }">
                        <view class="code">{{item.contractNumber}}</view>
                        <view class="status">{{item.orderStatusDesc }}</view>
                        <view :class="item.orderStatus === 9 ? 'error' : 'status'">{{item.orderStatusDesc }}</view>
                    </view>
                    <view class="content">
                        <view class="line">
@@ -347,7 +348,7 @@
                    width: 690rpx;
                    height: 84rpx;
                    margin: 0 -30rpx;
                    background: linear-gradient(270deg, #FEFEFF 0%, #E1F7FE 100%);
                    // background: linear-gradient(270deg, #FEFEFF 0%, #E1F7FE 100%);
                    .code {
                        font-weight: 500;
@@ -358,6 +359,10 @@
                    .status {
                        color: $uni-color-primary;
                    }
                    .error {
                        color: #EE3821;
                    }
                }
                .content {
h5/pages/waybill/waybillDetail.vue
@@ -85,7 +85,7 @@
                            </view>
                            <view v-else class="icon_wrap"></view>
                            <view class="text" :class="{placeholder3: k==0 && i== 0}">
                                {{item.orderStatusDes}}
                                <text :style="{ color: item.orderStatus === 9 ? 'red' : '#666666'}">{{item.orderStatusDes}}</text>
                                <text v-if="item.tel">,发货仓库电话:</text>
                                <template v-if="item.tel">
                                    <text v-for="phone,p in item.tel.split(',')" @click="callPhone(phone)" class="primaryColor">{{phone}}<text v-if="p < item.tel.split(',').length - 1">,</text></text>
screen/src/views/FireFighting.vue
@@ -400,7 +400,7 @@
    grid: {
      top: '0%',
      left: '0%',
      right: '%',
      right: '0%',
      bottom: '0%',
      containLabel: true
    },
@@ -561,7 +561,12 @@
  let minNum = item.min
  let conNum = maxNum
  let acNum = item.obj.value.replaceAll('M', '')
  var data = (((acNum - minNum) / conNum) * 100).toFixed(0)
  var data = 0
  if (acNum > conNum) {
    data = 100
  } else{
    data = ((acNum / conNum) * 100).toFixed(0)
  }
  console.log('data', data)
  const option = {
@@ -1093,7 +1098,7 @@
  setInterval(() => {
    changeData8(1)
    changeData9(1)
  }, 1000 * 5)
  }, 1000 * 10)
  setTimeout(() => {
    loopFn1()
    loopFn2()
screen/src/views/SecurityControl.vue
@@ -99,7 +99,7 @@
                      <div class="safe_left_dian" :style="{ backgroundColor: item.color }"></div>
                      <div class="safe_left_name">{{item.name}}</div>
                    </div>
                    <div class="safe_num" :style="{ color: item.color }">{{item.total}}</div>
                    <div class="safe_num" :style="{ color: item.color }">{{item.value}}</div>
                  </div>
<!--                  <div class="safe_chat_info_row">-->
<!--                    <div class="safe_left">-->
@@ -312,7 +312,7 @@
              <div class="com_header">
                <div class="title">
                  <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" />
                  <div>隐患随手拍</div>
                  <div>本月隐患随手拍</div>
                </div>
                <img src="@/assets/images/task/title@2x.png" class="bg" alt="" />
              </div>
@@ -816,6 +816,7 @@
  CarList.value = []
  getEnergyCenterData().then(res => {
    if (res.code == 200) {
      totalCar.value = 0
      const result = res.data
      data.value = result
      res.data.inParkCarList.forEach(item => {
@@ -829,7 +830,7 @@
        } else if (item.name === '货运车辆') {
          CarList.value.push({ name: '货运车辆', value: item.total, color: '#01ABFE' })
        } else if (item.name === '未知车辆') {
          CarList.value.push({ name: '未知车辆', value: item.total, color: '#0028ff' })
          CarList.value.push({ name: '未知车辆', value: item.total, color: '#cccccc' })
        }
      })
      nextTick(() => {