lsun 维修管理
This commit is contained in:
		
							parent
							
								
									67f2029cd8
								
							
						
					
					
						commit
						0b500b85af
					
				| 
						 | 
					@ -1,44 +1,9 @@
 | 
				
			||||||
import request from '@/utils/request'
 | 
					import request from '@/utils/request'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 查询修试审核任务列表
 | 
					// 查询修试审核详细列表
 | 
				
			||||||
export function getQuestListApi(query) {
 | 
					export function getListTestExamineApply(query) {
 | 
				
			||||||
  return request({
 | 
					  return request({
 | 
				
			||||||
    url: '/material/details/questList',
 | 
					    url: '/material/repair_audit_details/list',
 | 
				
			||||||
    method: 'get',
 | 
					 | 
				
			||||||
    params: query
 | 
					 | 
				
			||||||
  })
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
// 查询修试审核任务列表
 | 
					 | 
				
			||||||
export function getRepairAuditListApi(query) {
 | 
					 | 
				
			||||||
  return request({
 | 
					 | 
				
			||||||
    url: '/material/details/getRepairAuditList',
 | 
					 | 
				
			||||||
    method: 'get',
 | 
					 | 
				
			||||||
    params: query
 | 
					 | 
				
			||||||
  })
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
export function addDetailsAuditApi(data) {
 | 
					 | 
				
			||||||
  return request({
 | 
					 | 
				
			||||||
    url: '/material/details/audit',
 | 
					 | 
				
			||||||
    method: 'post',
 | 
					 | 
				
			||||||
    // contentType: 'application/json',
 | 
					 | 
				
			||||||
    data: data
 | 
					 | 
				
			||||||
  })
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
//
 | 
					 | 
				
			||||||
export function getRepairRecord(query) {
 | 
					 | 
				
			||||||
  return request({
 | 
					 | 
				
			||||||
    url: '/material/details/getRepairRecord',
 | 
					 | 
				
			||||||
    method: 'get',
 | 
					 | 
				
			||||||
    params: query
 | 
					 | 
				
			||||||
  })
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
//
 | 
					 | 
				
			||||||
export function getPartRecord(query) {
 | 
					 | 
				
			||||||
  return request({
 | 
					 | 
				
			||||||
    url: '/material/details/getPartRecord',
 | 
					 | 
				
			||||||
    method: 'get',
 | 
					    method: 'get',
 | 
				
			||||||
    params: query
 | 
					    params: query
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -171,7 +171,7 @@
 | 
				
			||||||
      >
 | 
					      >
 | 
				
			||||||
        <template slot-scope="scope">
 | 
					        <template slot-scope="scope">
 | 
				
			||||||
          <dict-tag
 | 
					          <dict-tag
 | 
				
			||||||
            :options="dict.type.lease_apply_status"
 | 
					            :options="dict.type.repair_task_status"
 | 
				
			||||||
            :value="scope.row.status"
 | 
					            :value="scope.row.status"
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
| 
						 | 
					@ -221,306 +221,12 @@
 | 
				
			||||||
      :limit.sync="queryParams.pageSize"
 | 
					      :limit.sync="queryParams.pageSize"
 | 
				
			||||||
      @pagination="getList"
 | 
					      @pagination="getList"
 | 
				
			||||||
    />
 | 
					    />
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!-- 验收单弹窗 -->
 | 
					 | 
				
			||||||
    <el-dialog
 | 
					 | 
				
			||||||
      :title="title"
 | 
					 | 
				
			||||||
      :visible.sync="openPrint"
 | 
					 | 
				
			||||||
      width="1100px"
 | 
					 | 
				
			||||||
      append-to-body
 | 
					 | 
				
			||||||
    >
 | 
					 | 
				
			||||||
      <div style="height: 500px; overflow-y: scroll">
 | 
					 | 
				
			||||||
        <vue-easy-print tableShow ref="remarksPrintRef" class="print">
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="title"
 | 
					 | 
				
			||||||
            style="text-align: center; font-weight: 600; font-size: 16px"
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            机具设备到货验收单
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="info"
 | 
					 | 
				
			||||||
            style="margin-top: 10px; display: flex; flex-wrap: wrap"
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 100%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>单据编号:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>生产厂家(供应商):</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>到货日期:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
          <el-table
 | 
					 | 
				
			||||||
            :data="printTableData"
 | 
					 | 
				
			||||||
            class="table"
 | 
					 | 
				
			||||||
            style="margin-top: 20px; width: 1000px; padding-bottom: 1px"
 | 
					 | 
				
			||||||
            border
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <!--          <el-table-column type="selection" width="55" align="center" />-->
 | 
					 | 
				
			||||||
            <el-table-column label="序号" align="center" type="index" row="2" />
 | 
					 | 
				
			||||||
            <el-table-column
 | 
					 | 
				
			||||||
              label="物资名称"
 | 
					 | 
				
			||||||
              align="center"
 | 
					 | 
				
			||||||
              prop="machineTypeName"
 | 
					 | 
				
			||||||
            />
 | 
					 | 
				
			||||||
            <el-table-column
 | 
					 | 
				
			||||||
              label="规格型号"
 | 
					 | 
				
			||||||
              align="center"
 | 
					 | 
				
			||||||
              prop="specificationType"
 | 
					 | 
				
			||||||
            />
 | 
					 | 
				
			||||||
            <el-table-column label="单位" align="center" prop="unitName" />
 | 
					 | 
				
			||||||
            <el-table-column label="配送信息" align="center">
 | 
					 | 
				
			||||||
              <el-table-column
 | 
					 | 
				
			||||||
                label="到货数量"
 | 
					 | 
				
			||||||
                align="center"
 | 
					 | 
				
			||||||
                prop="purchaseNum"
 | 
					 | 
				
			||||||
              />
 | 
					 | 
				
			||||||
              <el-table-column
 | 
					 | 
				
			||||||
                label="验收结论"
 | 
					 | 
				
			||||||
                align="center"
 | 
					 | 
				
			||||||
                prop="purchaseNum"
 | 
					 | 
				
			||||||
              />
 | 
					 | 
				
			||||||
              <el-table-column label="质保质量" align="center">
 | 
					 | 
				
			||||||
                <el-table-column
 | 
					 | 
				
			||||||
                  label="实收份数"
 | 
					 | 
				
			||||||
                  align="center"
 | 
					 | 
				
			||||||
                  prop="purchaseNum"
 | 
					 | 
				
			||||||
                />
 | 
					 | 
				
			||||||
                <el-table-column
 | 
					 | 
				
			||||||
                  label="符合要求"
 | 
					 | 
				
			||||||
                  align="center"
 | 
					 | 
				
			||||||
                  prop="purchaseNum"
 | 
					 | 
				
			||||||
                />
 | 
					 | 
				
			||||||
              </el-table-column>
 | 
					 | 
				
			||||||
            </el-table-column>
 | 
					 | 
				
			||||||
            <el-table-column label="备注" align="center" prop="unitName" />
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!--                        <el-table-column-->
 | 
					 | 
				
			||||||
            <!--                            label="合格证及技术资料"-->
 | 
					 | 
				
			||||||
            <!--                            align="center"-->
 | 
					 | 
				
			||||||
            <!--                            prop=""-->
 | 
					 | 
				
			||||||
            <!--                        />-->
 | 
					 | 
				
			||||||
            <!--                        <el-table-column label="包装" align="center" prop="" />-->
 | 
					 | 
				
			||||||
          </el-table>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="fillIn"
 | 
					 | 
				
			||||||
            style="
 | 
					 | 
				
			||||||
              margin-top: 20px;
 | 
					 | 
				
			||||||
              display: flex;
 | 
					 | 
				
			||||||
              justify-content: space-between;
 | 
					 | 
				
			||||||
            "
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <div class="item" style="width: 33%">
 | 
					 | 
				
			||||||
              <div>
 | 
					 | 
				
			||||||
                <span>供应科:</span>
 | 
					 | 
				
			||||||
              </div>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <div class="item" style="width: 33%">
 | 
					 | 
				
			||||||
              <div>
 | 
					 | 
				
			||||||
                <span>生产技术科:</span>
 | 
					 | 
				
			||||||
              </div>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <div class="item" style="width: 33%">
 | 
					 | 
				
			||||||
              <div>
 | 
					 | 
				
			||||||
                <span>库管班:</span>
 | 
					 | 
				
			||||||
              </div>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
        </vue-easy-print>
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <div slot="footer" class="dialog-footer" style="text-align: center">
 | 
					 | 
				
			||||||
        <el-button type="primary" @click="print">打 印</el-button>
 | 
					 | 
				
			||||||
        <el-button @click="openPrint = false">关 闭</el-button>
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
    </el-dialog>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!-- 领料单弹窗 -->
 | 
					 | 
				
			||||||
    <el-dialog :visible.sync="open" width="800px" append-to-body>
 | 
					 | 
				
			||||||
      <div style="height: 500px; overflow-y: scroll; padding: 0 20px">
 | 
					 | 
				
			||||||
        <vue-easy-print tableShow ref="remarksPrintRef" class="print">
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="title"
 | 
					 | 
				
			||||||
            style="text-align: center; font-weight: 600; font-size: 16px"
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            领料单
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="info"
 | 
					 | 
				
			||||||
            style="margin-top: 10px; display: flex; flex-wrap: wrap"
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>领料单位:</span>
 | 
					 | 
				
			||||||
              {{ leaseApplyData.leaseUnit }}
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>工程名称:</span>
 | 
					 | 
				
			||||||
              {{ leaseApplyData.leaseProject }}
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>时间:</span>
 | 
					 | 
				
			||||||
              {{ leaseApplyData.createTime }}
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div
 | 
					 | 
				
			||||||
              class="item"
 | 
					 | 
				
			||||||
              style="
 | 
					 | 
				
			||||||
                width: 50%;
 | 
					 | 
				
			||||||
                flex-shrink: 0;
 | 
					 | 
				
			||||||
                margin-bottom: 5px;
 | 
					 | 
				
			||||||
                font-size: 14px;
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <span>编号:</span>
 | 
					 | 
				
			||||||
              {{ leaseApplyData.code }}
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
          <el-table
 | 
					 | 
				
			||||||
            :data="leaseApplyDetails"
 | 
					 | 
				
			||||||
            class="table"
 | 
					 | 
				
			||||||
            border
 | 
					 | 
				
			||||||
            style="margin-top: 20px; padding: 1px"
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <el-table-column label="序号" align="center" type="index" />
 | 
					 | 
				
			||||||
            <el-table-column label="类型名称" align="center" prop="typeName" />
 | 
					 | 
				
			||||||
            <!--            <el-table-column type="expand">
 | 
					 | 
				
			||||||
              <template slot-scope="scope">
 | 
					 | 
				
			||||||
                <div class="nested-table-container">
 | 
					 | 
				
			||||||
                  <el-table :data="scope.row.maTypeDetails" style="width: 100%">
 | 
					 | 
				
			||||||
                    <!– 子表格的列 –>
 | 
					 | 
				
			||||||
                    <el-table-column label="序号" align="center" type="index"/>
 | 
					 | 
				
			||||||
                    <el-table-column label="类型名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
 | 
					 | 
				
			||||||
                    <el-table-column
 | 
					 | 
				
			||||||
                      label="规格型号"
 | 
					 | 
				
			||||||
                      align="center"
 | 
					 | 
				
			||||||
                      prop="typeName"
 | 
					 | 
				
			||||||
                      :show-overflow-tooltip="true"
 | 
					 | 
				
			||||||
                    />
 | 
					 | 
				
			||||||
                    <el-table-column
 | 
					 | 
				
			||||||
                      label="单位"
 | 
					 | 
				
			||||||
                      align="center"
 | 
					 | 
				
			||||||
                      prop="unitName"
 | 
					 | 
				
			||||||
                      :show-overflow-tooltip="true"
 | 
					 | 
				
			||||||
                    />
 | 
					 | 
				
			||||||
                    <el-table-column
 | 
					 | 
				
			||||||
                      label="预领数量"
 | 
					 | 
				
			||||||
                      align="center"
 | 
					 | 
				
			||||||
                      prop="preNum"
 | 
					 | 
				
			||||||
                      :show-overflow-tooltip="true"
 | 
					 | 
				
			||||||
                    />
 | 
					 | 
				
			||||||
                  </el-table>
 | 
					 | 
				
			||||||
                </div>
 | 
					 | 
				
			||||||
              </template>
 | 
					 | 
				
			||||||
            </el-table-column>-->
 | 
					 | 
				
			||||||
            <el-table-column label="规格型号" align="center" prop="typeName" />
 | 
					 | 
				
			||||||
            <el-table-column label="计量单位" align="center" prop="unitName" />
 | 
					 | 
				
			||||||
            <el-table-column label="预领数量" align="center" prop="preNum" />
 | 
					 | 
				
			||||||
            <el-table-column label="备注" align="center" prop="remark" />
 | 
					 | 
				
			||||||
            <el-table-column
 | 
					 | 
				
			||||||
              label="出库方式"
 | 
					 | 
				
			||||||
              align="center"
 | 
					 | 
				
			||||||
              prop="manageTypeName"
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <template slot-scope="scope">
 | 
					 | 
				
			||||||
                <dict-tag
 | 
					 | 
				
			||||||
                  :options="dict.type.ma_type_manage_type"
 | 
					 | 
				
			||||||
                  :value="scope.row.manageType"
 | 
					 | 
				
			||||||
                />
 | 
					 | 
				
			||||||
              </template>
 | 
					 | 
				
			||||||
            </el-table-column>
 | 
					 | 
				
			||||||
            <!--            <el-table-column-->
 | 
					 | 
				
			||||||
            <!--              label="出库方式"-->
 | 
					 | 
				
			||||||
            <!--              align="center"-->
 | 
					 | 
				
			||||||
            <!--              prop="manageTypeName"-->
 | 
					 | 
				
			||||||
            <!--            />-->
 | 
					 | 
				
			||||||
          </el-table>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
          <div
 | 
					 | 
				
			||||||
            class="fillIn"
 | 
					 | 
				
			||||||
            style="
 | 
					 | 
				
			||||||
              margin-top: 30px;
 | 
					 | 
				
			||||||
              display: flex;
 | 
					 | 
				
			||||||
              justify-content: space-between;
 | 
					 | 
				
			||||||
            "
 | 
					 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
            <div class="item" style="width: 25%">
 | 
					 | 
				
			||||||
              <span>审核:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="item" style="width: 25%">
 | 
					 | 
				
			||||||
              <span>领料:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="item" style="width: 25%">
 | 
					 | 
				
			||||||
              <span>仓库:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="item" style="width: 25%">
 | 
					 | 
				
			||||||
              <span>操作人:</span>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
          </div>
 | 
					 | 
				
			||||||
        </vue-easy-print>
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
      <div slot="footer" class="dialog-footer" style="text-align: center">
 | 
					 | 
				
			||||||
        <el-button type="primary" @click="print">打 印</el-button>
 | 
					 | 
				
			||||||
        <el-button @click="open = false">关 闭</el-button>
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
    </el-dialog>
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  // getListLeaseApply,
 | 
					  getListTestExamineApply,
 | 
				
			||||||
  // getPurchaseCheckInfo,
 | 
					  // getPurchaseCheckInfo,
 | 
				
			||||||
  // getAcceptanceForm,
 | 
					  // getAcceptanceForm,
 | 
				
			||||||
  // purchaseCheckInfoRemove,
 | 
					  // purchaseCheckInfoRemove,
 | 
				
			||||||
| 
						 | 
					@ -531,12 +237,9 @@ import {
 | 
				
			||||||
  // applySendAll,
 | 
					  // applySendAll,
 | 
				
			||||||
} from "@/api/repair/testExamine";
 | 
					} from "@/api/repair/testExamine";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import vueEasyPrint from "vue-easy-print";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: "Home",
 | 
					  name: "Home",
 | 
				
			||||||
  dicts: ["lease_apply_status", "ma_type_manage_type"],
 | 
					  dicts: ["repair_task_status"],
 | 
				
			||||||
  // components: { vueEasyPrint },
 | 
					 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      // 遮罩层
 | 
					      // 遮罩层
 | 
				
			||||||
| 
						 | 
					@ -605,21 +308,9 @@ export default {
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    // this.getStatusList();
 | 
					 | 
				
			||||||
    this.getList();
 | 
					    this.getList();
 | 
				
			||||||
    // this.getTypeList()
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  components: { vueEasyPrint },
 | 
					 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    // getTypeList() {
 | 
					 | 
				
			||||||
    //     getTypeList({ level: '3' }).then((response) => {
 | 
					 | 
				
			||||||
    //         this.typesList = response.data
 | 
					 | 
				
			||||||
    //     })
 | 
					 | 
				
			||||||
    //     getTypeList({ level: '4' }).then((response) => {
 | 
					 | 
				
			||||||
    //         this.modelList = response.data
 | 
					 | 
				
			||||||
    //     })
 | 
					 | 
				
			||||||
    // },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // 多选框选中数据
 | 
					    // 多选框选中数据
 | 
				
			||||||
    handleSelectionChange(selection) {
 | 
					    handleSelectionChange(selection) {
 | 
				
			||||||
      this.sendTemp = [];
 | 
					      this.sendTemp = [];
 | 
				
			||||||
| 
						 | 
					@ -645,11 +336,10 @@ export default {
 | 
				
			||||||
        keyWord: this.queryParams.keyWord,
 | 
					        keyWord: this.queryParams.keyWord,
 | 
				
			||||||
        startTime: this.queryParams.time && this.queryParams.time[0],
 | 
					        startTime: this.queryParams.time && this.queryParams.time[0],
 | 
				
			||||||
        endTime: this.queryParams.time && this.queryParams.time[1],
 | 
					        endTime: this.queryParams.time && this.queryParams.time[1],
 | 
				
			||||||
        typeId: this.queryParams.typeId,
 | 
					 | 
				
			||||||
        pageSize: this.queryParams.pageSize,
 | 
					        pageSize: this.queryParams.pageSize,
 | 
				
			||||||
        pageNum: this.queryParams.pageNum,
 | 
					        pageNum: this.queryParams.pageNum,
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      getListLeaseApply(this.addDateRange(params)).then((response) => {
 | 
					      getListTestExamineApply(this.addDateRange(params)).then((response) => {
 | 
				
			||||||
        this.typeList = response.rows;
 | 
					        this.typeList = response.rows;
 | 
				
			||||||
        this.total = response.total;
 | 
					        this.total = response.total;
 | 
				
			||||||
        this.loading = false;
 | 
					        this.loading = false;
 | 
				
			||||||
| 
						 | 
					@ -760,9 +450,9 @@ export default {
 | 
				
			||||||
    /** 导出按钮操作 */
 | 
					    /** 导出按钮操作 */
 | 
				
			||||||
    handleExport() {
 | 
					    handleExport() {
 | 
				
			||||||
      this.download(
 | 
					      this.download(
 | 
				
			||||||
        "/material/lease_apply_info/export",
 | 
					        "/material/repair_audit_details/export",
 | 
				
			||||||
        { ...this.queryParams },
 | 
					        { ...this.queryParams },
 | 
				
			||||||
        `领料申请_${new Date().getTime()}.xlsx`
 | 
					        `修试审核_${new Date().getTime()}.xlsx`
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue