Browse Source

Merge branch 'feature/add-subscribe' of Epans/modernDairy into master

duanxiaoduan 1 year ago
parent
commit
9512b27e5a

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 33 - 4
src/views/console/ranchManagement/index.vue

@@ -36,6 +36,8 @@
         <el-table-column label="牧场编号" min-width="150px" align="center" prop="pastureNumber" />
         <el-table-column label="地图经度" min-width="150px" align="center" prop="longitude" />
         <el-table-column label="地图纬度" min-width="150px" align="center" prop="latitude" />
+        <el-table-column label="供应负责人" min-width="150px" align="center" prop="empname" />
+        <el-table-column label="负责人电话" min-width="150px" align="center" prop="tel" />
         <el-table-column label="备注" min-width="150px" align="center" prop="note" />
         <el-table-column label="顺序" min-width="150px" align="center" prop="sort" />
         <el-table-column label="操作" align="center" width="230" class-name="small-padding fixed-width" fixed="right">
@@ -108,6 +110,22 @@
               </el-form-item>
             </el-col>
           </el-row>
+          <el-row>
+            <el-col :span="24">
+              <el-form-item label="供应负责人:" prop="empId">
+                <el-select  v-model="create.temp.empId" filterable placeholder="供应负责人" style="width: 100%;" :disabled="create.dialogStatus =='see'"  @change="changeEmp">
+                  <el-option  v-for="item in findAllEmploye" :key="item.id" :label="item.name" :value="item.id" />
+                </el-select>
+              </el-form-item>
+            </el-col>
+          </el-row>
+          <el-row>
+            <el-col :span="24">
+              <el-form-item label="负责人电话:" prop="tel">
+                <el-input ref="tel" v-model="create.temp.tel"  disabled style="width: 100%;" />
+              </el-form-item>
+            </el-col>
+          </el-row>
           <el-row>
             <el-col :span="24">
               <el-form-item label="备注:" prop="note">
@@ -145,9 +163,11 @@ export default {
       myHeight:document.documentElement.clientHeight - 85- 200,
       requestParams: [
         { name: 'findAllPasture', offset: 0, pagecount: 0, returntype: 'Map', parammaps: { 'id': Cookies.get('pastureid') }},
-        { name: 'getareaList', offset: 0, pagecount: 0, returntype: 'Map', parammaps: {}}
+        { name: 'getareaList', offset: 0, pagecount: 0, returntype: 'Map', parammaps: {}},
+        { name: 'findAllEmploye', offset: 0, pagecount: 0, parammaps: { 'pastureId': Cookies.get('pastureid') }},
       ],
       findAllPasture: [],
+      findAllEmploye: [],
       regionList: [], // 所属区域
       areaIds:[],
       table: {
@@ -174,7 +194,7 @@ export default {
           pastureNumber: [{ required: true, message: '必填', trigger: 'blur' }]
         },
         temp: {
-          areaId: '', pastureName: '', pastureNumber: '', longitude: '', latitude: '', note: '', sort: '',center:''
+          areaId: '', pastureName: '', pastureNumber: '', longitude: '', latitude: '', note: '', sort: '',center:'',empId:'',tel:''
         }
       },
       postDataParam: {},
@@ -193,6 +213,7 @@ export default {
       GetDataByNames(this.requestParams).then(response => {
         this.findAllPasture = response.data.findAllPasture.list
         this.regionList = response.data.getareaList.list
+        this.findAllEmploye = response.data.findAllEmploye.list
         this.regionList.forEach(row => {
           this.areaIds[row.id]= row.name
         });
@@ -225,6 +246,8 @@ export default {
       this.create.temp.note = ''
       this.create.temp.sort = ''
       this.create.temp.center = ''
+      this.create.temp.empId = ''
+      this.create.temp.tel = ''
     },
     form_add() {
       this.resetCreateTemp()
@@ -234,6 +257,10 @@ export default {
         this.$refs['createTemp'].clearValidate()
       })
     },
+    changeEmp(item){
+      console.log(item)
+      this.create.temp.tel = this.findAllEmploye.find(obj => obj.id == item).tel
+    },
     add_dialog_save() {
       this.$refs['createTemp'].validate(valid => {
         if (valid) {
@@ -250,7 +277,8 @@ export default {
             latitude: this.create.temp.latitude,
             note: this.create.temp.note,
             center:this.create.temp.center,
-            companyName: this.create.temp.companyName
+            companyName: this.create.temp.companyName,
+            empId: this.create.temp.empId
           }}
           this.postDataParam.data[1] = { 'name': 'insertPastureDept', 'type': 'e', 'parammaps': {
             pastureName: this.create.temp.pastureName,
@@ -295,7 +323,8 @@ export default {
             latitude: this.create.temp.latitude,
             note: this.create.temp.note,
             id: this.create.temp.id,
-            sort: this.create.temp.sort
+            sort: this.create.temp.sort,
+            empId: this.create.temp.empId
           }}
           this.postDataParam.data[1] = { 'name': 'updateDepartment', 'type': 'e', 'parammaps': {
             dname: this.create.temp.pastureName,

+ 77 - 71
src/views/cost/diesel/index.vue

@@ -107,7 +107,7 @@
           <el-button v-if="isDieselModify" type="success" size="mini" @click="handleDieselUpdate(row)">编辑</el-button>
           <!-- <el-button type="primary" size="mini" style="width:70px" @click="handleDosageRecord(row)">用量记录</el-button> -->
           <!-- <el-button v-if="isDieselUpdate" type="success" size="mini" @click="handleDieselUpdate(row)">修改</el-button> -->
-          <!-- <el-button v-if="isDieselDel" type="danger" size="mini" @click="handleDieselDel(row)">删除</el-button> -->
+          <el-button v-if="isDieselDel" type="danger" size="mini" @click="handleDieselDel(row)">删除</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -317,7 +317,7 @@
 <script>
 // 引入
 require('script-loader!file-saver')
-import { GetDataByName, GetDataByNames, PostDataByName, checkButtons, ExecDataByConfig, failproccess, GetAccount,getJson } from '@/api/common'
+import { GetDataByName, GetDataByNames, PostDataByName,postJson, checkButtons, ExecDataByConfig, failproccess, GetAccount,getJson } from '@/api/common'
 // import {  DownloadExcel, GetDataByNameXlsx } from '@/api/common'
 import waves from '@/directive/waves'
 import { parseTime, sortChange } from '@/utils/index.js'
@@ -364,7 +364,8 @@ export default {
         parammaps: {
           selTime: '',
           pastureName: Cookies.get('pasturename'),
-          departName: ''
+          departName: '',
+          inputDatetime:''
         }
       },
       // 2-3:下拉框请求后数据加入[]
@@ -482,14 +483,15 @@ export default {
     uploadData() {
       return {
         name: 'importDiesel',
-        importParams: '牧场,油卡编号,设备名称,设备编号,加油日期,加油量(升),单价,录入人,加油人,加油工班,备注',
-        sheetname: 'SheetJS'
+        importParams: '牧场,油卡编号,设备名称,设备编号,加油日期,加油量(升),单价,录入人,加油人,加油工班,备注,柴油类型',
+        sheetname: 'SheetJS',
+        pastureId:Cookies.get('pastureid')
       }
     },
     // 设置上传地址
     uploadExcelUrl() {
       // process.env.VUE_APP_BASE_API是服务器的路径,也是axios的基本路径
-      return process.env.VUE_APP_BASE_API + 'authdata/ImportExcel'
+      return process.env.VUE_APP_BASE_API + 'authdata/diese/import/excel'
     }
   },
   created() {
@@ -717,10 +719,10 @@ export default {
             const list1 = response.data.list
             console.log(list1,'list1')
             const tHeader = [
-              '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(升)', '单价', '录入人', '加油人', '加油工班', '备注'
+              '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(升)', '单价', '录入人', '加油人', '加油工班', '备注','柴油类型'
             ]
             const filterVal = [
-              'i', 'pastureName', 'cardNumber', 'assetName', 'assetNumber', 'day', '加油量(L)', '单价', 'name', '加油人', '加油工班', '备注'
+              'i', 'pastureName', 'cardNumber', 'assetName', 'assetNumber', 'day', '加油量(L)', '单价', 'name', '加油人', '加油工班', '备注','柴油类型'
             ]
             const data1 = this.formatJson(filterVal, list1)
             excel.export_json_to_excel({
@@ -766,14 +768,14 @@ export default {
       if (res.msg === 'ok') {
         this.$message({
           title: '成功',
-          message: '导入成功:' + res.data.success + '条!',
+          message: '导入成功',
           type: 'success',
           duration: 2000
         })
         if (res.data.err_count > 0) {
           this.$notify({
             title: '失败',
-            message: '导入失败:' + res.data.err_count + '条!',
+            message: '导入失败',
             type: 'danger',
             duration: 2000
           })
@@ -781,10 +783,10 @@ export default {
            import('@/vendor/Export2Excel').then(excel => {
              const list1 = res.data.result
              const tHeader = [
-               '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(L)', '单价', '录入人', '加油人', '加油工班', '备注', '错误信息'
+               '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(L)', '单价', '录入人', '加油人', '加油工班','柴油类型', '备注', '错误信息'
              ]
              const filterVal = [
-               '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(L)', '单价', '录入人', '加油人', '加油工班', '备注', 'error_msg'
+               '编号', '牧场', '油卡编号', '设备名称', '设备编号', '加油日期', '加油量(L)', '单价', '录入人', '加油人', '加油工班','柴油类型', '备注', 'error_msg'
              ]
              const data1 = this.formatJson(filterVal, list1)
              excel.export_json_to_excel({
@@ -891,6 +893,7 @@ export default {
       this.dialogFormVisible = true
       this.temp.empId = ''
       this.temp.departmentId = ''
+      this.temp.oilType = ''
       this.temp.pastureId = this.$store.state.user.pastureid
       this.$nextTick(() => {
         this.$refs['temp'].clearValidate()
@@ -907,34 +910,32 @@ export default {
             var oilName = this.dieselTypeList.find(obj => obj.value == this.temp.oilType).label
           }
           this.$set(this.temp,'oilName',oilName)
-          this.postDataPramas.common = { 'returnmap': '0' }
-          this.postDataPramas.data = []
-          this.postDataPramas.data[0] = { 'name': 'insertDiesel', 'type': 'e', 'parammaps': {
-            'pastureId': this.temp.pastureId,
-            'selTime': this.temp.selTime,
-            'oilClass': this.temp.oilClass,
-            'oilAmount': this.temp.oilAmount,
-            'eqId': this.temp.eqId,
-            'eqCode': this.temp.eqCode,
-            'departmentId': this.temp.departmentId,
-            'note': this.temp.note,
-            'nowPrice': this.temp.price * this.temp.oilAmount,
-            'oilcardId': this.temp.oilcardId,
-            'cardNumber': this.temp.cardNumber,
-            'price': this.temp.price,
-            'empId': this.temp.empId,
-            'inputId': this.temp.inputId,
-            'oilType':this.temp.oilType,
-            'oilName':this.temp.oilName,
-          }}
-          this.postDataPramas.data[1] = { 'name': 'updateOilCardExecData', 'type': 'e',
-            'parammaps': {
-              'id': this.temp.oilcardId,
-              'nowPrice': this.temp.price * this.temp.oilAmount
-
-            }}
-
-          ExecDataByConfig(this.postDataPramas).then(response => {
+          if(this.temp.eqId == '' || this.temp.eqId == null || this.temp.eqId == undefined){
+            this.temp.eqId = 0
+          }else{
+            this.temp.eqId = parseFloat(this.temp.eqId)
+          }
+          let url = 'authdata/diese/add'
+          let data = {
+            pastureId:this.temp.pastureId,
+            selTime: this.temp.selTime,
+            oilClass:this.temp.oilClass,
+            oilAmount: this.temp.oilAmount,
+            eqId: this.temp.eqId,
+            eqCode: this.temp.eqCode,
+            departmentId: this.temp.departmentId,
+            note: this.temp.note,
+            nowPrice: this.temp.price * this.temp.oilAmount,
+            oilcardId: this.temp.oilcardId,
+            cardNumber: this.temp.cardNumber,
+            price: this.temp.price,
+            empId: this.temp.empId,
+            inputId: this.temp.inputId,
+            oilType:this.temp.oilType,
+            oilName:this.temp.oilName,
+          }
+          postJson(url,data).then(response => {
+          // ExecDataByConfig(this.postDataPramas).then(response => {
             if (response.msg === 'fail') {
               this.$notify({
                 title: '保存失败',
@@ -969,35 +970,31 @@ export default {
             var oilName = this.dieselTypeList.find(obj => obj.value == this.temp.oilType).label
           }
           this.$set(this.temp,'oilName',oilName)
-          this.postDataPramas.common = { 'returnmap': '0' }
-          this.postDataPramas.data = []
-          this.postDataPramas.data[0] = { 'name': 'insertDiesel', 'type': 'e', 'parammaps': {
-
-            'pastureId': this.temp.pastureId,
-            'selTime': this.temp.selTime,
-            'oilClass': this.temp.oilClass,
-            'oilAmount': this.temp.oilAmount,
-            'eqId': this.temp.eqId,
-            'eqCode': this.temp.eqCode,
-            'departmentId': this.temp.departmentId,
-            'note': this.temp.note,
-            'nowPrice': this.temp.price * this.temp.oilAmount,
-            'oilcardId': this.temp.oilcardId,
-            'cardNumber': this.temp.cardNumber,
-            'price': this.temp.price,
-            'empId': this.temp.empId,
-            'inputId': this.temp.inputId,
-            'oilType':this.temp.oilType,
-            'oilName':this.temp.oilName,
-          }}
-
-          this.postDataPramas.data[1] = { 'name': 'updateOilCardExecData', 'type': 'e',
-            'parammaps': {
-              'id': this.temp.oilcardId,
-              'nowPrice': this.temp.price * this.temp.oilAmount
-            }}
-
-          ExecDataByConfig(this.postDataPramas).then(response => {
+          if(this.temp.eqId == '' || this.temp.eqId == null || this.temp.eqId == undefined){
+            this.temp.eqId = 0
+          }else{
+            this.temp.eqId = parseFloat(this.temp.eqId)
+          }
+          let url = 'authdata/diese/add'
+          let data = {
+            pastureId:this.temp.pastureId,
+            selTime: this.temp.selTime,
+            oilClass:this.temp.oilClass,
+            oilAmount: this.temp.oilAmount,
+            eqId: this.temp.eqId,
+            eqCode: this.temp.eqCode,
+            departmentId: this.temp.departmentId,
+            note: this.temp.note,
+            nowPrice: this.temp.price * this.temp.oilAmount,
+            oilcardId: this.temp.oilcardId,
+            cardNumber: this.temp.cardNumber,
+            price: this.temp.price,
+            empId: this.temp.empId,
+            inputId: this.temp.inputId,
+            oilType:this.temp.oilType,
+            oilName:this.temp.oilName,
+          }
+          postJson(url,data).then(response => {
             if (response.msg !== 'fail') {
               this.form_reset()
               this.$nextTick(() => {
@@ -1010,7 +1007,12 @@ export default {
                 duration: 2000
               })
             } else {
-              failproccess(response, this.$notify)
+              this.$notify({
+                title: '保存失败',
+                message: response.data,
+                type: 'warning',
+                duration: 2000
+              })
             }
           })
         }
@@ -1095,7 +1097,11 @@ export default {
           this.requestParam.name = 'deleteDiesel'
           this.requestParam.parammaps = {}
           this.requestParam.parammaps['id'] = row.id
-          PostDataByName(this.requestParam).then(() => {
+          let url = 'authdata/diese/off'
+          let data = {
+            id:parseInt(row.id),
+          }
+          postJson(url,data).then(response => {
             this.get_table_data()
             this.dialogFormVisible = false
             this.$notify({

+ 102 - 3
src/views/custom/subscribe/index.vue

@@ -26,7 +26,7 @@
       <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_search">搜索</el-button>
       <div>
 
-        <el-button v-if="isSubscribeAdd" class="filter-item" type="primary" icon="el-icon-edit" @click="form_add">新增</el-button>
+        <el-button v-if="isSubscribeAdd" class="filter-item" type="primary" icon="el-icon-edit" @click="apply_subscribe">新增</el-button>
         <el-button v-if="isSubscribeSpecial" class="filter-item" type="primary" icon="el-icon-edit" @click="handle_specialSubscription">特殊申购</el-button>
         <el-button v-if="isSubscribeExport" v-waves class="filter-item" type="success" icon="el-icon-upload2" @click="handleDownload">导出</el-button>
         <el-radio-group v-model="radioAll" style="margin-top:-9px" @change="changeAll()">
@@ -228,6 +228,7 @@
                   :fetch-suggestions="sparePartSearch"
                   placeholder="请输入备件编号或备件名称或备件规格"
                   style="width:100%"
+                  ref="autocomplete"
                   @select="handleSelectSparePart"
                 >
                   <template slot-scope="{ item }">
@@ -570,6 +571,56 @@
     </el-dialog>
 
 
+    <!-- 查看备件 -->
+    <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible_seepart" :close-on-click-modal="false" width="90%">
+      <div>
+        <el-input v-model="seepart.getdataListParm.parammaps.partName" placeholder="备件" style="width: 200px;" class="filter-item" />
+        <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="seepart_search">搜索</el-button>
+        <h3 v-if="seepartList.length == 0" style="text-align: center;height: 300px;line-height:300px;">呆滞库存查询(如可调拨使用,请优先消耗)</h3>
+        <div v-else>
+          <el-table
+            :key="seepart.tableKey"
+            v-loading="seepart.listLoading"
+            element-loading-text="给我一点时间"
+            :data="seepartList"
+            border
+            fit
+            highlight-current-row
+            style="width: 100%;margin-bottom:30px;margin-top:20px;"
+            :row-style="rowStyle"
+            :cell-style="cellStyle"
+            class="elTable"
+            height="300"
+          >
+            <el-table-column label="序号" align="center" type="index" width="50px" />
+            <el-table-column label="牧场名称" prop="pastureName" align="center" min-width="90" />
+            <el-table-column label="备件编号" prop="partCode" align="center" min-width="90" />
+            <el-table-column label="备件名称" prop="partName" align="center" min-width="90" />
+            <el-table-column label="备件规格" prop="specification" align="center" min-width="90" />
+            <el-table-column label="备件图片" prop="picpath" align="center" min-width="90">
+            <template slot-scope="scope">
+                <el-popover placement="right" title="" trigger="hover">
+                  <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath">
+                  <img v-if="scope.row.picpath !== ''" slot="reference" :src="scope.row.picpath" :alt="scope.row.srcpath" style="height: 100px;width:100px;">
+                </el-popover>
+              </template>
+            </el-table-column>
+            <el-table-column label="备件品牌" prop="brand" align="center" min-width="90" />
+            <el-table-column label="计量单位" prop="unit" align="center" min-width="90" />
+            <el-table-column label="现有库存" sortable prop="reportery" align="center" min-width="60" />
+            <el-table-column label="价格" sortable prop="price" align="center" min-width="60" />
+            <el-table-column label="在库天数" sortable prop="daysInStorage" align="center" min-width="60" />
+            <el-table-column label="负责人" prop="dutyPersonal" align="center" min-width="90" />
+            <el-table-column label="联系方式" prop="telphone" align="center" min-width="90" />
+          </el-table>
+          <pagination v-show="seepart.total>0" :total="seepart.total" :page.sync="seepart.getdataListParm.offset" :limit.sync="seepart.getdataListParm.pagecount" @pagination="get_seepart_data" />
+        </div>
+      </div>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" :disabled="isokDisable" @click="form_add()">继续申购</el-button>
+        <el-button @click="dialogFormVisible_seepart = false;">取消</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -622,7 +673,8 @@ export default {
         examine3: '审核3',
         examine4: '审核4',
         examine5: '审核5',
-        special: '特殊申购'
+        special: '特殊申购',
+        seepart:'备件申购'
       },
       rules: {
         equipmentName: [{ required: true, message: '必填', trigger: 'blur' }]
@@ -736,6 +788,21 @@ export default {
         }
       },
       providerList:[],
+      dialogFormVisible_seepart:false,
+      seepartList:[],
+      seepart:{
+        tableKey: 0,
+        listLoading: true,
+        total: 0,
+        getdataListParm: {
+          page: 1, offset: 1, pagecount: 10,
+          name:'getIdleSpareParts',
+          parammaps:{
+            partName:''
+          }
+        }
+      },
+      apply_subscribeData:{},
       myHeight:document.documentElement.clientHeight - 85- 150
     }
   },
@@ -983,6 +1050,7 @@ export default {
       this.getCreateDepartDownList()
       this.dialogStatus = 'create'
       this.dialogFormVisible = true
+      this.dialogFormVisible_seepart = false
       this.$nextTick(() => {
         this.$refs['createTemp'].clearValidate()
       })
@@ -1049,6 +1117,37 @@ export default {
       if(this.dialogStatus==='special' && this.createTemp.purchaseType == '1' && this.createTemp.providerId == ''){
         this.createTemp.providerId = item.providerId
       }
+      this.public_select(item)
+    },
+    apply_subscribe(){
+      this.dialogStatus = 'seepart'
+      this.seepartList = []
+      console.log(this.seepartList.length,'===')
+      this.dialogFormVisible_seepart = true
+      // this.apply_subscribeData = item
+    },
+    seepart_search(){
+      this.get_seepart_data()
+    },
+    get_seepart_data() {
+      this.seepart.listLoading = true
+      GetDataByName(this.seepart.getdataListParm).then(response => {
+        if (response.data.list !== null) {
+          console.log('table数据', response.data.list)
+          this.seepartList = response.data.list
+          this.seepart.pageNum = response.data.pageNum
+          this.seepart.pageSize = response.data.pageSize
+        } else {
+          this.seepartList = []
+        }
+        this.seepart.total = response.data.total
+
+        setTimeout(() => {
+          this.seepart.listLoading = false
+        }, 100)
+      })
+    },
+    public_select(item){
       if (this.createTemp.providerId == '') {
         if (this.listAdd.length > 0) {
           if (this.listAdd.find(obj => obj.partId == item.partId)) {
@@ -1145,7 +1244,7 @@ export default {
         }
         this.$forceUpdate()
       }
-      console.log(this.listAdd,'this.listAdd')
+
     },
     add_dialog_save() {
       this.isokDisable = true

+ 7 - 7
src/views/maintenance/maintain/index.vue

@@ -181,7 +181,7 @@
                 <!-- <el-form-item label="保养人:" prop="upkeepPerson">
                   <el-input ref="upkeepPerson" v-model="seeTemp.upkeepPerson" disabled />
                 </el-form-item> -->
-                <el-form-item label="保养人:" prop="useEmpName">
+                <el-form-item label="机修 :" prop="useEmpName">
                   <el-input ref="useEmpName" v-model="seeTemp.useEmpName" disabled />
                 </el-form-item>
               </el-col>
@@ -194,7 +194,7 @@
                 <!-- <el-form-item label="使用人:" prop="useEmpName">
                   <el-input ref="useEmpName" v-model="seeTemp.useEmpName" disabled />
                 </el-form-item> -->
-                <el-form-item label="使用人:" prop="upkeepPerson">
+                <el-form-item label="保养人:" prop="upkeepPerson">
                   <el-input ref="upkeepPerson" v-model="seeTemp.upkeepPerson" disabled />
                 </el-form-item>
               </el-col>
@@ -1375,10 +1375,10 @@ export default {
         return '审核中'
       } else if (cellValue.SHStatue == 4) {
         return '未通过'
- 
+
       } else if (cellValue.SHStatue == 8) {
         return '未通过'
-    
+
       } else if (cellValue.SHStatue == 7) {
         return '已通过'
       }
@@ -1402,7 +1402,7 @@ export default {
       if (this.seeTemp.SHStatue === 1) {
         this.activeList = [{ title: '保养人审核' }, { title: '机修审核' },   { title: '设备主管审核' }]
         this.active = 0
-        
+
       } else if (this.seeTemp.SHStatue === 2) {
         this.activeList = [{ title: '保养人审核', name: this.seeTemp.upkeepPerson, date: this.seeTemp.finishedTime, status: '', reason: '' }, { title: '机修审核' },  { title: '设备主管审核' }]
         this.active = 1
@@ -1413,7 +1413,7 @@ export default {
       } else if (this.seeTemp.SHStatue === 4) {
         this.active = 2
         this.activeList = [{ title: '保养人审核', name: this.seeTemp.upkeepPerson, date: this.seeTemp.finishedTime, status: '', reason: '' }, { title: '机修审核', date: this.seeTemp.useChargeDate, name: this.seeTemp.useChargePerson, status: 'error', reason: reason }, { title: '设备主管审核' }]
-        
+
 
       } else if (this.seeTemp.SHStatue === 7) {
         this.activeList = [{ title: '保养人审核', name: this.seeTemp.upkeepPerson, date: this.seeTemp.finishedTime, status: '', reason: '' }, { title: '机修审核', date: this.seeTemp.useChargeDate, name: this.seeTemp.useChargePerson, status: '', reason: '', scores: scores },  { title: '设备主管审核', date: this.seeTemp.chargeDate, name: this.seeTemp.chargePerson }]
@@ -1842,7 +1842,7 @@ export default {
               }
 
 
-              
+
 
 
             } else {

Some files were not shown because too many files changed in this diff