wangtao 3 år sedan
förälder
incheckning
2a87c37da6
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/views/comprehensive-disposal copy.vue

+ 2 - 1
src/views/comprehensive-disposal copy.vue

@@ -10,7 +10,7 @@
                 <el-form-item label="场所分类">
                 <el-form-item label="场所分类">
                   <el-select v-model="barForm.fireType" @change="getHouse()" filterable clearable placeholder="场所" >
                   <el-select v-model="barForm.fireType" @change="getHouse()" filterable clearable placeholder="场所" >
                     <el-option :label="item" :value="item" v-for="(item,ind) in fireTypeList" :key="ind"></el-option>
                     <el-option :label="item" :value="item" v-for="(item,ind) in fireTypeList" :key="ind"></el-option>
-                  </el-select>
+                  </el-select> 
                 </el-form-item>
                 </el-form-item>
               </el-form>
               </el-form>
             </el-row>
             </el-row>
@@ -86,6 +86,7 @@
                 <gauge ref="gauge2" :dataMap="proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').number/(proptionList.find(val=>val.type === '火灾').number + proptionList.find(val=>val.type === '社会救助').number + proptionList.find(val=>val.type === '抢险救援').number) || 0" :dataNumber="proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').number || 0" color="#06B1B9"></gauge>
                 <gauge ref="gauge2" :dataMap="proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').number/(proptionList.find(val=>val.type === '火灾').number + proptionList.find(val=>val.type === '社会救助').number + proptionList.find(val=>val.type === '抢险救援').number) || 0" :dataNumber="proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').number || 0" color="#06B1B9"></gauge>
               </el-row>
               </el-row>
               <el-row class="rightTopNumber">
               <el-row class="rightTopNumber">
+                <!-- 同比 -->
                 <span>
                 <span>
                   同比:{{proptionList.find(val=>val.type === '社会救助') && (proptionList.find(val=>val.type === '社会救助').radio * 100).toFixed(2) || 0}}%
                   同比:{{proptionList.find(val=>val.type === '社会救助') && (proptionList.find(val=>val.type === '社会救助').radio * 100).toFixed(2) || 0}}%
                   <span :style="{color: proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').sameStatus === 2 ? 'green' : 'red'}">
                   <span :style="{color: proptionList.find(val=>val.type === '社会救助') && proptionList.find(val=>val.type === '社会救助').sameStatus === 2 ? 'green' : 'red'}">