永康嘉持电器有限公司前端
小小儁爺
2024-12-30 ff2f7d7bad0132c130c305364a863ff446e926b2
1.在缓存模式下   页面切换会请求接口
已修改66个文件
573 ■■■■ 文件已修改
src/views/attendanceModule/attendanceClockIn.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/attendanceModule/attendanceDay.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/attendanceModule/attendanceMonth.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/attendanceModule/attendanceRecord.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/attendanceModule/attendanceSettings.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/contactUnitList.vue 164 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/cronTime.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/groupList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/installLampList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/meterPrice.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/organizationList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/personList.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/postList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/powerDivider.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/processList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/processRoute.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/roleDivider.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/roleList.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/storageList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicSettings/warehouseList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/checkPosition.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/checkRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/checkStandard.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/deviceList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/maintainPosition.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/maintainRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/maintainStandard.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/deviceManager/repairRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/materialManager/inventoryList.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/materialManager/unitList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldCheck.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldCheckRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldCheckStand.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldCirculateRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldList.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldMaintain.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldMaintainRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldMaintainStand.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldOutInRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldRepairRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mouldManager/mouldUpDownRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/produce/reportCorrect.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/produce/reportVerify.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/produce/stepReport.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/defectDefine.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/processCheck.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/processCheckItem.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/processCheckRecord.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/qualityPlaning.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sopManager/sopDevice.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sopManager/sopRoute.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sopManager/sopWorkOrder.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/defectDetailList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/groupSalaryList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/installationLampList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/personSalaryList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/repairDetailList.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/subcontractingOperation.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statistic/workOrderProcess.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/encodingRules.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/processSetting.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/workOrder/produceOrderList.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/workOrder/workOrderClose.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/workOrder/workOrderList.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/workOrder/workOrderSend.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/attendanceModule/attendanceClockIn.vue
@@ -124,6 +124,7 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.inputFocus()
  },
  created() {
  },
src/views/attendanceModule/attendanceDay.vue
@@ -457,6 +457,9 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDailyWageReportSearch()
    this.getPrentOrganizationNoCompany()
    this.getPersonPermissions()
  },
  created() {
    this.getDailyWageReportSearch()
src/views/attendanceModule/attendanceMonth.vue
@@ -392,6 +392,8 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMonthlyWageReportSearch()
    this.getPrentOrganizationNoCompany()
  },
  created() {
    this.getMonthlyWageReportSearch()
src/views/attendanceModule/attendanceRecord.vue
@@ -354,6 +354,9 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getAttendanceRecordSearch()
    this.getPrentOrganizationNoCompany()
    this.getPersonPermissions()
  },
  created() {
    this.getAttendanceRecordSearch()
src/views/attendanceModule/attendanceSettings.vue
@@ -394,6 +394,9 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getAttendanceSettSearch()
    this.getPrentOrganizationNoCompany()
    this.getPersonPermissions()
  },
  created() {
    this.getAttendanceSettSearch()
src/views/basicSettings/contactUnitList.vue
@@ -7,8 +7,10 @@
          <div style="margin: 20px 10px 0 10px;display: flex;justify-content: space-between;">
            <div style="display: flex;">
              <div style="width: 5px;height: 100%;border-radius: 5px;"
                :style="{background:$store.state.settings.theme}" />
              <div
                style="width: 5px;height: 100%;border-radius: 5px;"
                :style="{background:$store.state.settings.theme}"
              />
              <div style="margin-left: 8px;">往来单位</div>
            </div>
@@ -20,19 +22,36 @@
          </div>
          <el-tree ref="treeLeftRef" style="padding: 10px;overflow: auto" :style="{height:(tableHeight+222)+'px'}"
            :data="treeLeft" node-key="code" highlight-current :props="defaultPropsLeft" :default-expand-all="true"
            :expand-on-click-node="false" @node-click="getTCunstomerData">
          <el-tree
            ref="treeLeftRef"
            style="padding: 10px;overflow: auto"
            :style="{height:(tableHeight+222)+'px'}"
            :data="treeLeft"
            node-key="code"
            highlight-current
            :props="defaultPropsLeft"
            :default-expand-all="true"
            :expand-on-click-node="false"
            @node-click="getTCunstomerData"
          >
            <span slot-scope="{ node, data }" class="custom-tree-node">
              <span v-if="!data.isEdit">{{ data.name }}</span>
              <span v-if="!data.isEdit">
                <el-tooltip v-del-tab-index class="item" effect="dark" content="编辑" placement="top">
                  <i v-if="data.code!=='-1'" class="el-icon-edit" style="margin-right:10px;color: #999"
                    @click.stop="treeEditClick(node,data,'edit')" />
                  <i
                    v-if="data.code!=='-1'"
                    class="el-icon-edit"
                    style="margin-right:10px;color: #999"
                    @click.stop="treeEditClick(node,data,'edit')"
                  />
                </el-tooltip>
                <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top">
                  <i v-if="data.code!=='-1'" class="el-icon-delete" style="margin-right: 4px;color: #999"
                    @click.stop="treeDeleteClick(node,data)" />
                  <i
                    v-if="data.code!=='-1'"
                    class="el-icon-delete"
                    style="margin-right: 4px;color: #999"
                    @click.stop="treeDeleteClick(node,data)"
                  />
                </el-tooltip>
              </span>
            </span>
@@ -43,8 +62,12 @@
          <div class="bodyTopButtonGroup" style="justify-content: space-between">
            <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button>
            <div style="display: flex">
              <el-button v-waves type="success" icon="el-icon-download"
                @click="$router.push('./../systemSetting/dataImport?fileCode=5')">导入</el-button>
              <el-button
                v-waves
                type="success"
                icon="el-icon-download"
                @click="$router.push('./../systemSetting/dataImport?fileCode=5')"
              >导入</el-button>
              <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">同步往来单位</el-button>
            </div>
@@ -81,10 +104,16 @@
                <!--                  <el-input v-model="form.username" placeholder="请输入" style="width: 200px" />-->
                <!--                </el-form-item>-->
              </div>
              <div class="bodySearchReset"
                :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}">
                <el-button v-waves type="primary" icon="el-icon-search"
                  @click="getTCunstomerData($refs.treeLeftRef.getCurrentNode())">查询
              <div
                class="bodySearchReset"
                :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"
              >
                <el-button
                  v-waves
                  type="primary"
                  icon="el-icon-search"
                  @click="getTCunstomerData($refs.treeLeftRef.getCurrentNode())"
                >查询
                </el-button>
                <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">重置</el-button>
              </div>
@@ -107,10 +136,19 @@
          </div>
          <div class="elTableDiv">
            <el-table ref="tableDataRef" class="tableFixed" :data="tableData"
              :height="isExpandForm?tableHeight:(tableHeight+80)+'px'" border row-class-name="custom-row"
              :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}" highlight-current-row
              :header-cell-style="this.$headerCellStyle" :cell-style="this.$cellStyle" @sort-change="sortChange">
            <el-table
              ref="tableDataRef"
              class="tableFixed"
              :data="tableData"
              :height="isExpandForm?tableHeight:(tableHeight+80)+'px'"
              border
              row-class-name="custom-row"
              :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}"
              highlight-current-row
              :header-cell-style="this.$headerCellStyle"
              :cell-style="this.$cellStyle"
              @sort-change="sortChange"
            >
              <!--            prop="RowNum"-->
              <el-table-column prop="rowNum" width="50" fixed label="序号" />
              <el-table-column prop="code" label="往来单位编码" sortable="custom" />
@@ -152,8 +190,11 @@
                <template slot-scope="{row}">
                  <div class="operationClass">
                    <el-tooltip class="item" effect="dark" content="编辑" placement="top">
                      <i class="el-icon-edit-outline" :style="{color:$store.state.settings.theme}"
                        @click="edit('edit',row)" />
                      <i
                        class="el-icon-edit-outline"
                        :style="{color:$store.state.settings.theme}"
                        @click="edit('edit',row)"
                      />
                    </el-tooltip>
                    <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top">
                      <i class="el-icon-delete" :style="{color:$store.state.settings.theme}" @click="del(row)" />
@@ -165,17 +206,31 @@
          </div>
          <!--分页-->
          <pagination :total="total" :page.sync="form.page" :limit.sync="form.rows" align="right"
            layout="total,prev, pager, next,sizes,jumper" popper-class="select_bottom"
            @pagination="getTCunstomerData($refs.treeLeftRef.getCurrentNode())" />
          <pagination
            :total="total"
            :page.sync="form.page"
            :limit.sync="form.rows"
            align="right"
            layout="total,prev, pager, next,sizes,jumper"
            popper-class="select_bottom"
            @pagination="getTCunstomerData($refs.treeLeftRef.getCurrentNode())"
          />
        </div>
      </div>
    </div>
    <!--    往来类别新增修改-->
    <el-dialog v-el-drag-dialog :title="operation==='add'?'新增':'编辑'" :visible.sync="dialogClassVisible" width="800px"
      :close-on-click-modal="false" top="15vh" @closed="handleClassClose" @close="handleClassClose">
    <el-dialog
      v-el-drag-dialog
      :title="operation==='add'?'新增':'编辑'"
      :visible.sync="dialogClassVisible"
      width="800px"
      :close-on-click-modal="false"
      top="15vh"
      @closed="handleClassClose"
      @close="handleClassClose"
    >
      <el-form ref="dialogClassForm" inline :rules="dialogClassFormRules" :model="dialogClassForm" label-width="80px">
        <el-form-item label="分类编码" prop="customerclasscode">
          <el-input v-model="dialogClassForm.customerclasscode" :disabled="operation!=='add'" style="width: 200px" />
@@ -184,8 +239,13 @@
          <el-input v-model="dialogClassForm.customerclassname" style="width: 200px" />
        </el-form-item>
        <el-form-item label="上级分类">
          <el-select v-model="dialogClassForm.parentcode" style="width:200px" placeholder="请选择"
            :popper-append-to-body="false" clearable>
          <el-select
            v-model="dialogClassForm.parentcode"
            style="width:200px"
            placeholder="请选择"
            :popper-append-to-body="false"
            clearable
          >
            <el-option v-for="item in treeLeftArr" :key="item.code" :label="item.name" :value="item.code" />
          </el-select>
        </el-form-item>
@@ -194,15 +254,28 @@
      <span slot="footer" class="dialog-footer">
        <div class="footerButton">
          <el-button v-waves @click="dialogVisibleClassCancel">取 消</el-button>
          <el-button v-waves type="primary" :loading="$store.state.app.buttonIsDisabled"
            :disabled="$store.state.app.buttonIsDisabled" @click="dialogVisibleClassConfirm">确 定</el-button>
          <el-button
            v-waves
            type="primary"
            :loading="$store.state.app.buttonIsDisabled"
            :disabled="$store.state.app.buttonIsDisabled"
            @click="dialogVisibleClassConfirm"
          >确 定</el-button>
        </div>
      </span>
    </el-dialog>
    <!--    往来单位新增修改-->
    <el-dialog v-el-drag-dialog :title="operation==='add'?'新增':'编辑'" :visible.sync="dialogVisible" width="800px"
      :close-on-click-modal="false" top="15vh" @closed="handleClose" @close="handleClose">
    <el-dialog
      v-el-drag-dialog
      :title="operation==='add'?'新增':'编辑'"
      :visible.sync="dialogVisible"
      width="800px"
      :close-on-click-modal="false"
      top="15vh"
      @closed="handleClose"
      @close="handleClose"
    >
      <el-form ref="dialogForm" class="" inline :rules="dialogFormRules" :model="dialogForm" label-width="110px">
        <!--        <el-divider content-position="left">基本信息</el-divider>-->
@@ -214,8 +287,13 @@
        </el-form-item>
        <el-form-item label="所属类别" prop="customerclasscode">
          <el-select v-model="dialogForm.customerclasscode" style="width:200px" placeholder="请选择" filterable
            :popper-append-to-body="false">
          <el-select
            v-model="dialogForm.customerclasscode"
            style="width:200px"
            placeholder="请选择"
            filterable
            :popper-append-to-body="false"
          >
            <el-option v-for="item in treeLeftArr" :key="item.code" :label="item.name" :value="item.code" />
          </el-select>
        </el-form-item>
@@ -233,8 +311,12 @@
          <el-input v-model="dialogForm.conttphone" style="width: 200px" />
        </el-form-item>
        <el-form-item label="地址">
          <el-input v-model="dialogForm.addr" type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
            style="width: 520px;" />
          <el-input
            v-model="dialogForm.addr"
            type="textarea"
            :autosize="{ minRows: 2, maxRows: 4}"
            style="width: 520px;"
          />
        </el-form-item>
      </el-form>
@@ -242,8 +324,13 @@
      <span slot="footer" class="dialog-footer">
        <div class="footerButton">
          <el-button v-waves @click="dialogVisibleCancel">取 消</el-button>
          <el-button v-waves type="primary" :loading="$store.state.app.buttonIsDisabled"
            :disabled="$store.state.app.buttonIsDisabled" @click="dialogVisibleConfirm">确 定</el-button>
          <el-button
            v-waves
            type="primary"
            :loading="$store.state.app.buttonIsDisabled"
            :disabled="$store.state.app.buttonIsDisabled"
            @click="dialogVisibleConfirm"
          >确 定</el-button>
        </div>
      </span>
    </el-dialog>
@@ -369,6 +456,7 @@
    activated() {
      window.addEventListener('resize', this.getHeight)
      this.getHeight()
    this.getTCunstomerClassTree()
    },
    created() {
src/views/basicSettings/cronTime.vue
@@ -415,7 +415,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getTaskBackGroundGetJobs()
  },
  created() {
    this.getTaskBackGroundGetJobs()
  },
  mounted() {
src/views/basicSettings/groupList.vue
@@ -243,7 +243,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getGroupData()
  },
  created() {
    this.getGroupData()
  },
  mounted() {
src/views/basicSettings/installLampList.vue
@@ -293,7 +293,12 @@
      this.$refs.userTree.filter(val)
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/basicSettings/meterPrice.vue
@@ -484,7 +484,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/basicSettings/organizationList.vue
@@ -260,7 +260,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getSTorgData()
  },
  created() {
    this.getSTorgData()
  },
  mounted() {
src/views/basicSettings/personList.vue
@@ -557,6 +557,9 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getUserData()
    this.getPrentOrganization()
    this.getAllSelectData()
  },
  created() {
    this.getUserData()
src/views/basicSettings/postList.vue
@@ -250,7 +250,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getPostData()
  },
  created() {
    this.getPostData()
  },
  mounted() {
src/views/basicSettings/powerDivider.vue
@@ -216,7 +216,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getRolePermissionSearchRole()
  },
  created() {
  },
  mounted() {
src/views/basicSettings/processList.vue
@@ -310,7 +310,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getStepSearch()
  },
  created() {
    this.getStepSearch()
  },
  mounted() {
src/views/basicSettings/processRoute.vue
@@ -482,7 +482,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getRouteSearch()
  },
  created() {
    this.getRouteSearch()
  },
  mounted() {
src/views/basicSettings/roleDivider.vue
@@ -387,7 +387,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getAllSelectData()
    this.getPrentOrganization()
  },
  created() {
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
src/views/basicSettings/roleList.vue
@@ -325,7 +325,14 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getRoleData()
    this.getPrentOrganization()
    this.getDataPermissions()
  },
  created() {
    this.getRoleData()
  },
  mounted() {
src/views/basicSettings/storageList.vue
@@ -508,7 +508,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getTSecLocaTree()
  },
  created() {
  },
  mounted() {
src/views/basicSettings/warehouseList.vue
@@ -317,7 +317,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getTSecStckData()
  },
  created() {
    this.getTSecStckData()
  },
  mounted() {
src/views/deviceManager/checkPosition.vue
@@ -456,7 +456,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDeviceCheckItemSearch()
  },
  created() {
    this.getDeviceCheckItemSearch()
  },
  mounted() {
src/views/deviceManager/checkRecord.vue
@@ -398,7 +398,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/deviceManager/checkStandard.vue
@@ -597,7 +597,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/deviceManager/deviceList.vue
@@ -560,7 +560,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDeviceTypeSearch()
    this.getPrentOrganization()
  },
  created() {
  },
  mounted() {
src/views/deviceManager/maintainPosition.vue
@@ -378,7 +378,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDeviceMaiItemSearch()
  },
  created() {
    this.getDeviceMaiItemSearch()
  },
  mounted() {
src/views/deviceManager/maintainRecord.vue
@@ -417,7 +417,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/deviceManager/maintainStandard.vue
@@ -559,7 +559,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/deviceManager/repairRecord.vue
@@ -514,7 +514,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/materialManager/inventoryList.vue
@@ -1084,6 +1084,8 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getTMaterielClassTree()
    this.getSelectApi()
  },
  created() {
src/views/materialManager/unitList.vue
@@ -379,7 +379,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleGetApi('')
  },
  created() {
  },
  mounted() {
src/views/mouldManager/mouldCheck.vue
@@ -304,7 +304,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldCheckItemSearch()
  },
  created() {
    this.getMouldCheckItemSearch()
  },
  mounted() {
src/views/mouldManager/mouldCheckRecord.vue
@@ -328,7 +328,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldCheckTakeSearch()
  },
  created() {
    this.getMouldCheckTakeSearch()
  },
  mounted() {
src/views/mouldManager/mouldCheckStand.vue
@@ -448,7 +448,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/mouldManager/mouldCirculateRecord.vue
@@ -319,7 +319,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldUpDownMachinesSearch()
  },
  created() {
    this.getMouldUpDownMachinesSearch()
  },
  mounted() {
src/views/mouldManager/mouldList.vue
@@ -652,7 +652,14 @@
      this.$refs.tree.filter(val)
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldMangerSearch()
    this.getInventoryTreePermissions()
    this.getWareHouse()
  },
  created() {
    this.getMouldMangerSearch()
    this.getInventoryTreePermissions()
src/views/mouldManager/mouldMaintain.vue
@@ -308,7 +308,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldMaiItemSearch()
  },
  created() {
    this.getMouldMaiItemSearch()
  },
  mounted() {
src/views/mouldManager/mouldMaintainRecord.vue
@@ -332,7 +332,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldRepairTakeSearch()
  },
  created() {
    this.getMouldRepairTakeSearch()
  },
  mounted() {
src/views/mouldManager/mouldMaintainStand.vue
@@ -456,7 +456,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/mouldManager/mouldOutInRecord.vue
@@ -337,7 +337,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldInOutMachinesSearch()
  },
  created() {
    this.getMouldInOutMachinesSearch()
  },
  mounted() {
src/views/mouldManager/mouldRepairRecord.vue
@@ -495,7 +495,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldUpdateSearch()
  },
  created() {
    this.getMouldUpdateSearch()
  },
  mounted() {
src/views/mouldManager/mouldUpDownRecord.vue
@@ -342,7 +342,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMouldUpDownMachinesSearch()
  },
  created() {
    this.getMouldUpDownMachinesSearch()
  },
  mounted() {
src/views/produce/reportCorrect.vue
@@ -538,7 +538,15 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMesOrderStepVerifySearch()
    this.getDefectPermissions()
    this.getPrentOrganizationNoCompany()
  },
  created() {
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
src/views/produce/reportVerify.vue
@@ -384,7 +384,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getMesOrderStepReportVerifySearch()
    this.getPrentOrganizationNoCompany()
  },
  created() {
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
src/views/produce/stepReport.vue
@@ -1115,6 +1115,8 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.tabClick()
    this.getAllSelectArr()
  },
  created() {
src/views/qualityManager/defectDefine.vue
@@ -241,7 +241,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDedectSearch()
  },
  created() {
    this.getDedectSearch()
  },
  mounted() {
src/views/qualityManager/processCheck.vue
@@ -329,7 +329,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getFocus()
  },
  created() {
  },
  mounted() {
src/views/qualityManager/processCheckItem.vue
@@ -265,7 +265,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getStepCheckItemSearch()
  },
  created() {
    this.getStepCheckItemSearch()
  },
  mounted() {
src/views/qualityManager/processCheckRecord.vue
@@ -557,7 +557,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getStepCheckTableSearch()
  },
  created() {
    this.getStepCheckTableSearch()
  },
  mounted() {
src/views/qualityManager/qualityPlaning.vue
@@ -924,7 +924,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/sopManager/sopDevice.vue
@@ -324,7 +324,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getDeviceSopSearch()
    this.getDeviceTypeSearch()
  },
  created() {
    this.getDeviceSopSearch()
    this.getDeviceTypeSearch()
  },
src/views/sopManager/sopRoute.vue
@@ -383,7 +383,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getProcessSopSearch()
    this.getPartSelect()
  },
  created() {
    this.getProcessSopSearch()
    this.getPartSelect()
  },
src/views/sopManager/sopWorkOrder.vue
@@ -334,7 +334,14 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getWrkOrderSearch()
    this.getPartSelect()
    this.getWrkOrderDataSelect()
  },
  created() {
    this.getWrkOrderSearch()
    this.getPartSelect()
src/views/statistic/defectDetailList.vue
@@ -366,7 +366,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/statistic/groupSalaryList.vue
@@ -619,7 +619,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/statistic/installationLampList.vue
@@ -581,7 +581,12 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/statistic/personSalaryList.vue
@@ -601,7 +601,12 @@
  //     this.$refs.tableDataRef2.doLayout()
  //   })
  // },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/statistic/repairDetailList.vue
@@ -385,7 +385,12 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
src/views/statistic/subcontractingOperation.vue
@@ -432,7 +432,13 @@
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getOutSourceReportSearch()
    this.getPrentOrganizationNoCompany()
  },
  created() {
    this.getOutSourceReportSearch()
    this.getPrentOrganizationNoCompany()
  },
src/views/statistic/workOrderProcess.vue
@@ -328,7 +328,13 @@
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getProductionScheduleReportSearch()
    this.getPrentOrganizationNoCompany()
  },
  created() {
    this.getProductionScheduleReportSearch()
    this.getPrentOrganizationNoCompany()
  },
src/views/systemSetting/encodingRules.vue
@@ -318,7 +318,13 @@
      deep: true
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getEncodingRules()
    this.getCodeMenuSelect()
  },
  created() {
    this.getEncodingRules()
  },
  mounted() {
src/views/systemSetting/processSetting.vue
@@ -124,7 +124,12 @@
      last: false // 是否末道打印
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.init()
  },
  created() {
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
src/views/workOrder/produceOrderList.vue
@@ -762,6 +762,8 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.getErpOrderSearch()
    this.getPrentOrganizationNoCompany()
  },
  created() {
    this.getErpOrderSearch()
src/views/workOrder/workOrderClose.vue
@@ -2320,6 +2320,7 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
src/views/workOrder/workOrderList.vue
@@ -2672,6 +2672,7 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
src/views/workOrder/workOrderSend.vue
@@ -2317,6 +2317,7 @@
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
    this.handleRequest()
  },
  created() {
    this.handleRequest()
vue.config.js
@@ -52,8 +52,8 @@
    },
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        target: 'http://121.196.36.24:8035', // 本地
        // target: 'http://192.168.2.138:8002', // 嘉持电器
        // target: 'http://121.196.36.24:8035', // 本地
        target: 'http://192.168.2.138:8002', // 嘉持电器
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
          ['^' + process.env.VUE_APP_BASE_API]: '/api/'