zhuzhuanzhuan
2023-08-09 90e466c3e52c189e802ad1898becba54c55d91e8
部门产线的权限控制、设备工作日历界面的样式调整
已添加1个文件
已修改26个文件
843 ■■■■ 文件已修改
src/main.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/getters.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/index.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/DepartTree.js 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/Departs.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/Production.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/mutation-types.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/ComparativeAnalysis.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/DeviceCalendar.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/DeviceRepair.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/EfficiencyPOReport.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/EfficiencyReport.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/EfficiencyShiftReport.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/HolidayManagement.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/Torqueconfiguration.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/UnplannedDowntimemManager.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/equipmentAvailCompare.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/equipmentDayAvail.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/mdcPassRate.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/mdcProcessQuantity.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/mdcStandardProcessDuration.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/modules/deviceCalendar/DeviceCalendarModel.vue 405 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/openRateFractionAnalysis.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/openRateTrendAnalysis.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/modules/QuartzJobDetails.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js
@@ -51,6 +51,12 @@
import { rules } from '@/utils/rules'
import * as echarts from 'echarts'
import qs from 'qs'
import VCalendar from 'v-calendar'; // å¼•入日历插件
Vue.use(VCalendar, {
  componentPrefix: 'vc',
});
// import 'echarts-liquidfill'
Vue.prototype.$echarts = echarts
Vue.prototype.$qs = qs
src/store/getters.js
@@ -1,5 +1,6 @@
import Vue from 'vue'
import { USER_INFO, ENHANCE_PRE } from "@/store/mutation-types"
import DepartTree from './modules/DepartTree'
const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
@@ -19,7 +20,10 @@
  },
  sysSafeMode: state => state.user.sysSafeMode,
  ProductionNode:state => state.Production.ProductionTree,
  DepartNode:state => state.Depart.DepartTree
  DepartNode:state => state.Depart.DepartTree,
  DepartTree:state => state.DepartTree.DepartTreeType
}
export default getters
src/store/index.js
@@ -11,7 +11,8 @@
import Production from './modules/Production'
//部门树
import Departs from './modules/Departs'
//部门树权限
import DepartTree from './modules/DepartTree'
Vue.use(Vuex)
export default new Vuex.Store({
@@ -22,7 +23,8 @@
    enhance,
    online,
    Production,
    Departs
    Departs,
    DepartTree
  },
  state: {
src/store/modules/DepartTree.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,53 @@
import Vue from 'vue'
import {ajaxGetDictItems,getDictItemsFromCache} from '@/api/api'
import { SET_DEPARTTREE  } from "@/store/mutation-types"
import { getAction } from '@/api/manage'
const DepartTree = {
  state: {
    token: '',
    //部门树的权限
    DepartTreeType:""
  },
  mutations: {
    SET_TOKEN: (state, token) => {
      state.token = token
    },
    SET_DEPARTTREE:(state,DepartTreeType) => {
      state.DepartTreeType = DepartTreeType
    }
  },
  actions: {
    // äº§çº¿æ ‘
      QueryDepartTree({ commit }) {
      return new Promise((resolve, reject) => {
        //根据字典Code, åˆå§‹åŒ–字典数组
        ajaxGetDictItems('depart_is', null).then((res) => {
          if (res.success) {
            const result = res.result
            Vue.ls.set(SET_DEPARTTREE, result)
            commit('SET_DEPARTTREE', result)
            resolve(res)
          }else{
            resolve(res)
          }
        }).catch(error => {
          reject(error)
        })
      })
    },
  }
}
export default DepartTree
src/store/modules/Departs.js
@@ -25,7 +25,6 @@
    QueryDepart({ commit }) {
      return new Promise((resolve, reject) => {
        getAction("/mdc/mdcEquipment/queryTreeListByDepart").then(response => {
          console.log("----部门树--------",response);
          if(response.success){
            const result = response.result
            Vue.ls.set(SYS_DEPART, result)
src/store/modules/Production.js
@@ -25,7 +25,6 @@
      QueryProduction({ commit }) {
      return new Promise((resolve, reject) => {
        getAction("/mdc/mdcEquipment/queryTreeListByProduction").then(response => {
          console.log("----产线树--------",response);
          if(response.success){
            const result = response.result
            Vue.ls.set(SYS_PRODUCTION, result)
src/store/mutation-types.js
@@ -30,4 +30,6 @@
//产线树
export const SYS_PRODUCTION = 'SYS_PRODUCTION'
//部门树
export const SYS_DEPART = 'SYS_DEPART'
export const SYS_DEPART = 'SYS_DEPART'
//部门树权限
export const  SET_DEPARTTREE = 'SYS_DEPARTTREE'
src/views/mdc/base/ComparativeAnalysis.vue
@@ -2,23 +2,17 @@
  <a-card :bordered="false">
    <div style="width: 100%; height: 100%;overflow: hidden">
      <a-row type="flex" :gutter="16">
        <!--<a-col :md="5" :sm="24">-->
          <!--<base-tree @getCurrSelected="changeSelectionNode"></base-tree>-->
        <!--</a-col>-->
        <a-col :md="5">
          <a-tabs :activeKey="activeKey" @change="tabChange">
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
        <a-col :md="24-5" :sm="24">
          <!--<statistical-analysis-main :equip="selectEquementnode"></statistical-analysis-main>-->
          <!--<device-repair-list ref="DeviceRepairList" :nodeTree='selectEquement'  :nodePeople='selectPeople' :Type="slectTypeTree" />-->
          <comparative-analysismain  ref="comparativeAnalysismain" :nodeTree='selectEquement'  :nodePeople='selectPeople' :Type="slectTypeTree"></comparative-analysismain>
        </a-col>
      </a-row>
@@ -30,6 +24,7 @@
  import BaseTree from '../common/BaseTree'
  import comparativeAnalysismain from './modules/comparativeAnalysis/comparativeAnalysismain'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'ComparativeAnalysis',
    components:{
@@ -47,10 +42,25 @@
        slectTypeTree: '',
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val)
        this.activeKey = val
src/views/mdc/base/DeviceCalendar.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'DeviceCalendar',
    components: {
@@ -51,12 +51,25 @@
        slectTypeTree: '',
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val)
        this.activeKey = val
src/views/mdc/base/DeviceRepair.vue
@@ -2,17 +2,13 @@
  <div style="width: 100%; height: 100%;">
    <a-card :bordered="false">
      <a-row type="flex" :gutter="16">
        <!--<a-col :md="5">
          <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
        </a-col>-->
        <a-col :md="5">
          <a-tabs :activeKey="activeKey" @change="tabChange">
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -36,6 +32,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'DeviceRepair',
@@ -57,12 +54,25 @@
        slectTypeTree: '',
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val)
        this.activeKey = val
src/views/mdc/base/EfficiencyPOReport.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
import JSuperQuery from '@/components/jeecg/JSuperQuery'
import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
import {mapActions} from 'vuex'
export default {
  name: 'EfficiencyPOReport',
  components: {
@@ -52,12 +52,25 @@
      slectTypeTree:"",
      url: {
        equipmentStatistics: '/mdc/equipment/equipmentStatistics'
      }
      },
      isDepartType:'',
    }
  },
  created() {
    this.queryTreeData()
  },
  methods: {
    ...mapActions(['QueryDepartTree']),
    queryTreeData() {
      this.QueryDepartTree().then(res => {
        if (res.success) {
          this.isDepartType = res.result[0].value
        } else {
          this.$message.warn(res.message)
        }
      }).finally(() =>{
      })
    },
    tabChange(val) {
      // console.log(val);
      this.activeKey = val
src/views/mdc/base/EfficiencyReport.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
import JSuperQuery from '@/components/jeecg/JSuperQuery'
import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
import {mapActions} from 'vuex'
export default {
  name: 'EfficiencyPOReport',
  components: {
@@ -52,12 +52,25 @@
      slectTypeTree:"",
      url: {
        equipmentStatistics: '/mdc/equipment/equipmentStatistics'
      }
      },
      isDepartType:'',
    }
  },
  created() {
    this.queryTreeData()
  },
  methods: {
    ...mapActions(['QueryDepartTree']),
    queryTreeData() {
      this.QueryDepartTree().then(res => {
        if (res.success) {
          this.isDepartType = res.result[0].value
        } else {
          this.$message.warn(res.message)
        }
      }).finally(() =>{
      })
    },
    tabChange(val) {
      // console.log(val);
      this.activeKey = val
src/views/mdc/base/EfficiencyShiftReport.vue
@@ -7,9 +7,8 @@
           <a-tab-pane key="1" tab="车间层级" force-render>
             <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
           </a-tab-pane>
           <a-tab-pane key="2" tab="部门层级">
             <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
             ></depart-tree>
           <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
             <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
           </a-tab-pane>
         </a-tabs>
       </a-col>
@@ -33,6 +32,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'EfficiencyShiftReport',
    components: {
@@ -53,12 +53,25 @@
        selectPeople:{},
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/HolidayManagement.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'HolidayManagement',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/Torqueconfiguration.vue
@@ -7,14 +7,12 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane  v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
        <a-col :md="20">
          <!--<EfficiencyList ref="EfficiencyList" :nodePeople='selectPeople' :nodeTree = 'selectEquement' :Type="slectTypeTree"></EfficiencyList>-->
          <torqueconfiguration-list  ref="TorqueconfigurationList" :nodePeople='selectPeople' :nodeTree = 'selectEquement' :Type="slectTypeTree"></torqueconfiguration-list>
        </a-col>
      </a-row>
@@ -33,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'Torqueconfiguration',
    components: {
@@ -53,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/UnplannedDowntimemManager.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'UnplannedDowntimemManager',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/equipmentAvailCompare.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -25,6 +24,7 @@
  import BaseTree from '../common/BaseTree'
  import equipmentAvailCompareMain from './modules/equipmentAvailCompare/equipmentAvailCompareMain'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'equipmentAvailCompare',
    components:{
@@ -42,10 +42,25 @@
        slectTypeTree: '',
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val)
        this.activeKey = val
src/views/mdc/base/equipmentDayAvail.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">
              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -25,6 +24,7 @@
  import BaseTree from '../common/BaseTree'
  import equipmentDayAvailMain from './modules/equipmentDayAvail/equipmentDayAvailMain'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'equipmentDayAvail',
    components:{
@@ -42,10 +42,25 @@
        slectTypeTree: '',
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val)
        this.activeKey = val
src/views/mdc/base/mdcPassRate.vue
@@ -7,14 +7,13 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
        <a-col :md="20">
          <mdc-pass-rate-list    ref="MdcStandardProcessDurationList" :nodePeople='selectPeople' :nodeTree = 'selectEquement' :Type="slectTypeTree"></mdc-pass-rate-list>
          <mdc-pass-rate-list ref="MdcStandardProcessDurationList" :nodePeople='selectPeople' :nodeTree = 'selectEquement' :Type="slectTypeTree"></mdc-pass-rate-list>
        </a-col>
      </a-row>
    </a-card>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'mdcPassRate',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/mdcProcessQuantity.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'mdcProcessQuantity',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/mdcStandardProcessDuration.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'mdcStandardProcessDuration',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/modules/deviceCalendar/DeviceCalendarModel.vue
@@ -1,6 +1,6 @@
<template>
  <div ref="device">
    <a-modal :title="title" :width="800" :visible="visible" :confirmLoading="confirmLoading" :getContainer="() => this.$refs.device"
    <a-modal :title="title" :width="900" :visible="visible" :confirmLoading="confirmLoading" :getContainer="() => this.$refs.device"
             :okButtonProps="{ props: {disabled: disableSubmit} }" @ok="handleOk" @cancel="handleCancel" cancelText="关闭">
      <a-spin :spinning="confirmLoading">
        <a-form :form="form">
@@ -13,22 +13,8 @@
            </a-col>
          </a-row>
          <a-row :gutter="24">
            <a-col :span="12">
              <a-form-item label="生效时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-date-picker v-decorator="['takeEffectDate',validatorRules.takeEffectDate]" :disabled="disableSubmit"
                               :readOnly="disableSubmit" :disabledDate="disabledDate"/>
              </a-form-item>
            </a-col>
            <a-col :span="12">
              <a-form-item label="失效时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-date-picker v-decorator="['invalidDate',validatorRules.invalidDate]" :disabled="disableSubmit"
                               :readOnly="disableSubmit" :disabledDate="disabledDateEnd"/>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="24">
            <a-col :span='12'>
              <a-form-item label="星期一" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <a-col :span="24">
              <a-form-item label="班制" :labelCol="labelColLong" :wrapperCol="wrapperColLong">
                <a-select v-decorator="['monShiftId', validatorRules.monShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'   @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
@@ -37,112 +23,24 @@
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :span="12">
              <a-form-item label="星期二" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['tueShiftId', validatorRules.tueShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'  @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="24">
            <a-col :span='12'>
              <a-form-item label="星期三" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['wedShiftId', validatorRules.wedShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'  @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :span="12">
              <a-form-item label="星期四" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['thuShiftId', validatorRules.thuShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'   @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            <a-col :span="24">
              <a-form-item label="生效时间" :labelCol="labelColLong" :wrapperCol="wrapperColLong">
                <div class="mainBox">
                  <Calendar
                    v-on:choseDay="clickDay"
                    v-on:changeMonth="changeDate"
                    v-on:isToday="clickToday"
                    :markDate = 'shiData'
                    :agoDayHide = 'value'
                  ></Calendar>
                </div>
            </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="24">
            <a-col :span='12'>
              <a-form-item label="星期五" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['friShiftId', validatorRules.friShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'  @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :span="12">
              <a-form-item label="星期六" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['satShiftId', validatorRules.satShiftId]" placeholder="请选择班制"
                          :allowClear='allowClear'   @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="24">
            <a-col :span='12'>
              <a-form-item label="星期日" :labelCol="labelCol" :wrapperCol="wrapperCol">
                <a-select v-decorator="['sunShiftId', validatorRules.sunShiftId]" placeholder="请选择班制"
                        :allowClear='allowClear'  @change="initShiftSubList">
                  <a-select-option v-for="(em,index) in shiftList" :key="index" :value="em.value">
                    {{ em.label }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :span="12">
            </a-col>
          </a-row>
          <!--<a-row :gutter="24">-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="设备" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-input v-decorator="['equmentName',validatorRules.equmentName]" :disabled="true" :readOnly="true"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="是否跨天" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-switch v-model="isDaySpan" :disabled="true" checked-children="是" un-checked-children="否"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--</a-row>-->
          <!--<a-row :gutter="24">-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-input v-decorator="['startDate',validatorRules.startDate]" :disabled="true" :readOnly="true"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="结束时间" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-input v-decorator="['endDate',validatorRules.endDate]" :disabled="true" :readOnly="true"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--</a-row>-->
          <!--<a-row :gutter="24">-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="开始休息时间" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-input v-decorator="['sleepStartDate',validatorRules.sleepStartDate]" :disabled="true"-->
          <!--:readOnly="true"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--<a-col :span="12">-->
          <!--<a-form-item label="结束休息时间" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
          <!--<a-input v-decorator="['sleepEndDate',validatorRules.sleepEndDate]" :disabled="true" :readOnly="true"/>-->
          <!--</a-form-item>-->
          <!--</a-col>-->
          <!--</a-row>-->
        </a-form>
      </a-spin>
      <device-calend-list-model ref="deviceRepairListModel" @sendSelectionRows="getDeviceRows"></device-calend-list-model>
@@ -163,12 +61,19 @@
    duplicateCheck
  } from '@/api/api'
  import Calendar from 'vue-calendar-component';
  export default {
    name: 'ShiftInfoModel',
    components: {DeviceCalendListModel},
    components: {DeviceCalendListModel,Calendar},
    props: {},
    data() {
      return {
        value:'',
        date:'',
        week:"",
        selectDate: [],
        // å½“前日期
        allowClear:true,
        title: '',
        isDaySpan: false,
@@ -226,13 +131,112 @@
        },
        shiftList: [],
        shiftSubList: [],
        disableSubmit: true
        disableSubmit: true,
        calData:undefined,
        shiData:[],
        sendDte:[]
      }
    },
    created() {
      this.value = Math.round(new Date().getTime()/1000).toString()
      var now = new Date();
      this.date = now.getDate();//得到日期
      var day = now.getDay();//得到周几
      var arr_week = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
      this.week = arr_week[day];
      this.getWorking()
    },
    methods: {
      // clickDay(data) {
      //   console.log(data); //选中某天
      // },
      changeDate(data) {
        console.log(data); //左右点击切换月份
      },
      clickToday(data) {
        console.log(data); // è·³åˆ°äº†æœ¬æœˆ
      },
      // markChange(){
      //
      // },
      getWorking(){//获取当前月工作日
        let myDate = new Date();
        let tY = myDate.getFullYear();//得到当前年
        let tM = myDate.getMonth();//得到当前月+1
        let tD = new Date(tY,tM+1,0);
        let tT=tD.getDate();//得到当前月的天数
        for(var i=1;i<=tT;i++){
          let week =new Date(tY,tM,i).getDay()
          if(week>=1&&week<=5){
            let dd = tY + "/" + (tM + 1) + "/" + i;
            let temp={className: "mark1",date:dd}
            this.selectDate.push(temp)
          }
        }
//console.log(JSON.stringify(this.selectDate))
      },
      resetSelect(){//重置选中的日期
        this.selectDate=[]
        this.shiData = []
        this.sendDte = []
      },
      fun(obj){
        console.log(obj)
        if(obj){
          if(obj = obj.split("/")){
            var timShi = obj[1];
            var timFen = obj[2];
            if(timShi < 10){
              timShi = '0'+timShi
            }
            if(timFen < 10){
              timFen = '0'+timFen
            }
            var dd = (obj[0] + timShi +timFen)
            return dd
          }
        }
      },
      clickDay(today){//选中日期
        // today = this.fun(today)
        console.log("当前选中日期===>", today);
        let existDate = this.selectDate;
        let isExist = true;
        for (var i = 0; i < existDate.length; i++) {
          if (existDate[i].date === today) {
            console.log("当前日期存已在===>",today);
            this.selectDate.splice(i,1);
            this.shiData.splice(i,1);
            this.sendDte.splice(i,1)
            isExist = false;
          }
        }
        if (isExist) {//当前日期存在移除
          console.log("不存在-添加===>");
          let tempDate = {date: today, className: "mark1"}
          // let ddd = this.fun(today)
          let ddd = today
          let ccc = this.fun(today)
          this.selectDate.push(tempDate)
          this.shiData.push(ddd)
          this.sendDte.push(ccc)
        }
        console.log("this.selectDate===>",JSON.stringify(this.selectDate));
        console.log(this.sendDte)
      },
      onSelect(value) {
        console.log(value);
        let arr = []
        arr.push(value);
        this.value = arr
        // this.value =  value;
        // this.selectedValue = value;
      },
      onPanelChange(value) {
        this.value = value;
      },
      deviceSearch() {
        this.$refs.deviceRepairListModel.openPage()
        this.$refs.deviceRepairListModel.title = '选择设备'
@@ -276,16 +280,17 @@
        // })
      },
      add(record) {
        this.resetSelect()
        let _this = this
        this.visible = true
        this.form.resetFields()
        this.model = Object.assign({}, record)
        this.initShiftList()
        this.$nextTick(() => {
          this.form.setFieldsValue(pick(this.model, 'equmentName'))
          this.form.setFieldsValue(pick(this.model))
          this.form.setFieldsValue({
            takeEffectDate: moment(),
            invalidDate: moment().endOf('month')
            // takeEffectDate: moment(),
            // invalidDate: moment().endOf('month')
          })
        })
      },
@@ -301,6 +306,9 @@
          if (!err) {
            that.confirmLoading = true
            let formData = Object.assign(this.model, values)
            formData.dateList = this.sendDte
            console.log(formData)
            postAction(this.url.settingCalendar, formData).then((res) => {
              if (res.success) {
                that.$message.success(res.message)
@@ -318,37 +326,14 @@
      handleCancel() {
        this.close()
      },
      // shiftSubChange(val) {
      //   let _this = this
      //   getAction(this.url.getShiftSubById, { shiftSubId: val }).then((res) => {
      //     if (res.success) {
      //       if (res.result.isDaySpan == 'true') {
      //         _this.isDaySpan = true
      //       } else {
      //         _this.isDaySpan = false
      //       }
      //       _this.form.setFieldsValue({
      //         startDate: res.result.startDate,
      //         endDate: res.result.endDate
      //       })
      //       if (res.result.sleepStartDate) {
      //         _this.form.setFieldsValue({
      //           sleepStartDate: res.result.sleepStartDate
      //         })
      //       }
      //       if (res.result.sleepStartDate) {
      //         _this.form.setFieldsValue({
      //           sleepEndDate: res.result.sleepEndDate
      //         })
      //       }
      //     }
      //   })
      // }
    }
  }
</script>
<style scoped lang="less">
  /deep/ .ant-modal-content{
    /*background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.27) 100%);*/
    /*background: -webkit-gradient(linear, left left, right right, color-stop(0%, rgba(0, 0, 0, 0.66)), color-stop(100%, rgba(0, 0, 0, 0.4)));*/
@@ -383,4 +368,124 @@
  .ant-tabs-content .ant-form-item {
    margin-bottom: 0px;
  }
  /deep/ .mark1{
    color:white!important;
    background-color: #1890ff!important;
    border-radius: 50%;
  }
  /deep/.mainBox .wh_content_all{
    background-color: #ffffff;
    border: 1px silver solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  /deep/ .mainBox .wh_content_all .wh_jiantou1{
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
  }
  /deep/ .mainBox .wh_content_all .wh_jiantou2{
    border-top: 2px solid #000000;
    border-right: 2px solid #000000;
  }
  /deep/ .mainBox .wh_content_all .wh_top_changge li{
    color: black;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item{
    margin-top: 5px;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_top_tag{
    color: #000000;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_item_date {
    color: #000000;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_item_date:hover{
    color: #1890ff;
    border:1px solid  #1890ff;
    border-radius: 50%;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_other_dayhide{
    color: #bfbfbf!important;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_want_dayhide{
    color: #bfbfbf!important;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_chose_day{
    background: #ffffff;
    color: #000000;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_isMark {
    color: #1890ff;
    border:1px solid  #1890ff;
    border-radius: 50%;
  }
  /deep/ .mainBox .wh_content_all .wh_content_item .wh_isToday {
    /*background: #33ad53;*/
    /*background: #ff4d4d!important;*/
    background-color: #ffffff;
    color: #000000;
  }
</style>
<!--<style lang="scss">-->
  <!--.mark1 {-->
    <!--color: white !important;-->
    <!--background: #1890ff !important;-->
    <!--border-radius: 50%;-->
  <!--}-->
  <!--.mainBox {-->
    <!--.wh_content_all { /*主体*/-->
      <!--background-color: #ffffff;-->
      <!--border: 1px silver solid;-->
      <!--border-radius: 5px;-->
      <!--.wh_jiantou1{/*左箭头*/-->
        <!--border-top: 2px solid #000000;-->
        <!--border-left: 2px solid #000000;-->
      <!--}-->
      <!--.wh_jiantou2{/*右箭头*/-->
        <!--border-top: 2px solid #000000;-->
        <!--border-right: 2px solid #000000;-->
      <!--}-->
      <!--.wh_top_changge li { /*当前年月标题*/-->
        <!--color: black;-->
      <!--}-->
      <!--.wh_content_item {-->
        <!--margin-top: 5px;-->
        <!--.wh_top_tag{/*星期标题*/-->
          <!--color: #000000;-->
        <!--}-->
        <!--.wh_item_date {/*当前月*/-->
          <!--color: #000000;-->
        <!--}-->
        <!--.wh_item_date:hover { //悬浮-->
          <!--color: #1890ff;-->
          <!--background: #ffffff;-->
          <!--border-radius: 50%;-->
        <!--}-->
        <!--.wh_other_dayhide { /*上月和下月时间*/-->
          <!--color: #bfbfbf;-->
        <!--}-->
        <!--.wh_chose_day { //选中-->
          <!--background: #ffffff;-->
          <!--color: #000000;-->
        <!--}-->
        <!--.wh_isToday { /*当前天*/-->
          <!--/*background: #33ad53;*/-->
          <!--background: #ff4d4d;-->
          <!--color: #ffffff;-->
        <!--}-->
      <!--}-->
    <!--}-->
  <!--}-->
<!--</style>-->
src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue
@@ -419,8 +419,11 @@
      this.queryParam.startTime = '00:00'
      this.queryParam.endTime = "08:00"
      this.queryParams.typeTree = "1";
      this.initEquipment()
    },
    mounted() {
      this.initEquipment()
    },
  }
</script>
src/views/mdc/base/modules/equipmentDayAvail/equipmentDayAvailMain.vue
@@ -163,6 +163,7 @@
      }
    },
    methods: {
      moment,
      drawTu(){
        let dayAvailBar = this.$echarts.init(document.getElementById('dayAvailBar'), 'macarons');
        //dayAvailLine = echarts.init(document.getElementById('dayAvailLine'));
src/views/mdc/base/openRateFractionAnalysis.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'openRateFractionAnalysis',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/mdc/base/openRateTrendAnalysis.vue
@@ -7,9 +7,8 @@
            <a-tab-pane key="1" tab="车间层级" force-render>
              <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
            </a-tab-pane>
            <a-tab-pane key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"
              ></depart-tree>
            <a-tab-pane v-if="isDepartType == 0" key="2" tab="部门层级">,
              <depart-tree  @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
            </a-tab-pane>
          </a-tabs>
        </a-col>
@@ -32,6 +31,7 @@
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton'
  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
  import {mapActions} from 'vuex'
  export default {
    name: 'openRateTrendAnalysis',
    components: {
@@ -52,12 +52,25 @@
        slectTypeTree:"",
        url: {
          equipmentStatistics: '/mdc/equipment/equipmentStatistics'
        }
        },
        isDepartType:'',
      }
    },
    created() {
      this.queryTreeData()
    },
    methods: {
      ...mapActions(['QueryDepartTree']),
      queryTreeData() {
        this.QueryDepartTree().then(res => {
          if (res.success) {
            this.isDepartType = res.result[0].value
          } else {
            this.$message.warn(res.message)
          }
        }).finally(() =>{
        })
      },
      tabChange(val) {
        // console.log(val);
        this.activeKey = val
src/views/system/modules/QuartzJobDetails.vue
@@ -41,7 +41,7 @@
    },
    methods: {
        showDetails(record){
          console.log(record)
          // console.log(record)
          this.visible = true
          this.textContent = record.exceptionDetail
        },