|  |  |  | @ -12,19 +12,16 @@ | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-select v-model="filterQuery.status" placeholder="处理状态"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="等待处理" value="0"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="已处理" value="1"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="异常" value="2"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="任务待触发" value="1"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="文件待生成" value="2"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="文件待同步" value="3"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-option label="任务完成" value="4"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="syncTime" | 
			
		
	
		
			
				
					|  |  |  |  |               type="datetime" | 
			
		
	
		
			
				
					|  |  |  |  |               format="yyyy-MM-dd HH:mm:ss" | 
			
		
	
		
			
				
					|  |  |  |  |               value-format="yyyy-MM-dd HH:mm:ss" | 
			
		
	
		
			
				
					|  |  |  |  |               placeholder="请选择同步时间"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-date-picker v-model="syncTime" type="datetime" format="yyyy-MM-dd HH:mm:ss" | 
			
		
	
		
			
				
					|  |  |  |  |               value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择同步时间"> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -32,135 +29,74 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button-group style="display:flex;"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="getList">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(1)" | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |               >同步单据 | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(1)">同步单据 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               <!--               :disabled="!configParms.orderScanFinish&& !configParms.orderUnReceive&& !configParms.orderUnCheck"--> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(2)" | 
			
		
	
		
			
				
					|  |  |  |  |                          :disabled="!configParms.typeBus&& !configParms.typeScan&& !configParms.typeThird"> | 
			
		
	
		
			
				
					|  |  |  |  |                 v-if="!configParms.typeBus&& !configParms.typeScan&& !configParms.typeThird"> | 
			
		
	
		
			
				
					|  |  |  |  |                 同步单据类型 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(3)" | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                          :disabled="!configParms.basicProducts&& !configParms.basicCorp&& | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(3)" v-if="!configParms.basicProducts&& !configParms.basicCorp&& | 
			
		
	
		
			
				
					|  |  |  |  |                                         !configParms.basicInv&&!configParms.basicThirdProducts&& !configParms.basicThirdCorp&& !configParms.basicThirdInv | 
			
		
	
		
			
				
					|  |  |  |  |                                 && !configParms.basicThirdBusOrder&& !configParms.sysUser" | 
			
		
	
		
			
				
					|  |  |  |  |               >同步基础信息 | 
			
		
	
		
			
				
					|  |  |  |  |                                 && !configParms.basicThirdBusOrder&& !configParms.sysUser">同步基础信息 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(4)" | 
			
		
	
		
			
				
					|  |  |  |  |                          :disabled="!configParms.dbDiProducts">同步国家库DI数据 | 
			
		
	
		
			
				
					|  |  |  |  |                 v-if="configParms.dbDiProducts==2">同步国家库DI数据 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-form> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table | 
			
		
	
		
			
				
					|  |  |  |  |         v-loading="loading" | 
			
		
	
		
			
				
					|  |  |  |  |         :data="list" | 
			
		
	
		
			
				
					|  |  |  |  |         style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="任务ID" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="id" | 
			
		
	
		
			
				
					|  |  |  |  |           width="140" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="任务类型" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="type" | 
			
		
	
		
			
				
					|  |  |  |  |           width="140" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="任务ID" prop="id" width="140" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="任务类型" prop="type" width="140" show-overflow-tooltip> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="中继服务状态" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="status" | 
			
		
	
		
			
				
					|  |  |  |  |           width="140" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="中继服务状态" prop="status" width="140" show-overflow-tooltip> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |               :type="statusFilterType(scope.row.status)" | 
			
		
	
		
			
				
					|  |  |  |  |             >{{ status[scope.row.status] }} | 
			
		
	
		
			
				
					|  |  |  |  |             </el-tag | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-tag :type="statusFilterType(scope.row.status)">{{ status[scope.row.status] }} | 
			
		
	
		
			
				
					|  |  |  |  |             </el-tag> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="管理系统状态" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="receiveStatus" | 
			
		
	
		
			
				
					|  |  |  |  |           width="140" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="管理系统状态" prop="receiveStatus" width="140" show-overflow-tooltip> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |               :type="wmsFilterType(scope.row.receiveStatus)" | 
			
		
	
		
			
				
					|  |  |  |  |             >{{ wmsstatus[scope.row.receiveStatus] }} | 
			
		
	
		
			
				
					|  |  |  |  |             </el-tag | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-tag :type="wmsFilterType(scope.row.receiveStatus)">{{ wmsstatus[scope.row.receiveStatus] }} | 
			
		
	
		
			
				
					|  |  |  |  |             </el-tag> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="开始时间" | 
			
		
	
		
			
				
					|  |  |  |  |           width="180" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="startTime" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="结束时间" | 
			
		
	
		
			
				
					|  |  |  |  |           width="180" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="endTime" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="同步信息" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="cacheFilePath" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |         ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="开始时间" width="180" prop="startTime" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="结束时间" width="180" prop="endTime" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="备注" prop="remark" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="同步信息" prop="cacheFilePath" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="操作" fixed="right" width="160"> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
		
			
				
					|  |  |  |  |               size="small" | 
			
		
	
		
			
				
					|  |  |  |  |               @click.native.stop="detailDialog(scope.row.id)" | 
			
		
	
		
			
				
					|  |  |  |  |             >详情 | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
		
			
				
					|  |  |  |  |               size="small" | 
			
		
	
		
			
				
					|  |  |  |  |               @click.native.stop="deleteDialog(scope.row.id)" | 
			
		
	
		
			
				
					|  |  |  |  |             >删除 | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-popconfirm @confirm="downFile(scope.row)" confirm-button-text='下载' cancel-button-text='不用了' class="mr10" | 
			
		
	
		
			
				
					|  |  |  |  |               icon="el-icon-info" icon-color="blck" title="是否确认要下载文件?" v-if="scope.row.cacheFilePath"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="text" size="small" slot="reference">下载 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-popconfirm> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-popconfirm @confirm="deleteData(scope.row.id)" confirm-button-text='删除' cancel-button-text='不用了' | 
			
		
	
		
			
				
					|  |  |  |  |               icon="el-icon-info" icon-color="red" title="是否确认要删除这条数据?"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button type="text" size="small" slot="reference">删除 | 
			
		
	
		
			
				
					|  |  |  |  |               </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-popconfirm> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |         :page-size="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |         @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |         layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |         :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |         :current-page="filterQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |       ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-pagination :page-size="filterQuery.limit" @current-change="handleCurrentChange" layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |         :total="total" :current-page="filterQuery.page"></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-card> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |       title="同步信息" | 
			
		
	
		
			
				
					|  |  |  |  |       width="25%" | 
			
		
	
		
			
				
					|  |  |  |  |       :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |       :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |       :visible.sync="syncVisible" | 
			
		
	
		
			
				
					|  |  |  |  |     > | 
			
		
	
		
			
				
					|  |  |  |  |     <el-dialog title="同步信息" width="25%" :close-on-click-modal="false" :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |       :visible.sync="syncVisible"> | 
			
		
	
		
			
				
					|  |  |  |  |       <span v-text="syncInfo" style="white-space:pre-line;" class="syncInfo"></span> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -168,7 +104,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  |  | import {filterLog, deleteLog, createSchedule, findConfig, updateConfig} from "../../api/sync/spsSyncStatus"; | 
			
		
	
		
			
				
					|  |  |  |  |   import { | 
			
		
	
		
			
				
					|  |  |  |  |     filterLog, | 
			
		
	
		
			
				
					|  |  |  |  |     deleteLog, | 
			
		
	
		
			
				
					|  |  |  |  |     createSchedule, | 
			
		
	
		
			
				
					|  |  |  |  |     findConfig, | 
			
		
	
		
			
				
					|  |  |  |  |     updateConfig, | 
			
		
	
		
			
				
					|  |  |  |  |     infoByStatus | 
			
		
	
		
			
				
					|  |  |  |  |   } from "../../api/sync/spsSyncStatus"; | 
			
		
	
		
			
				
					|  |  |  |  |   import store from "@/store"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   export default { | 
			
		
	
	
		
			
				
					|  |  |  | @ -176,7 +119,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       return { | 
			
		
	
		
			
				
					|  |  |  |  |         filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |           id: null, | 
			
		
	
		
			
				
					|  |  |  |  |         status: "0", | 
			
		
	
		
			
				
					|  |  |  |  |           status: "1", | 
			
		
	
		
			
				
					|  |  |  |  |           page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |           limit: 10, | 
			
		
	
		
			
				
					|  |  |  |  |           syncTime: null, | 
			
		
	
	
		
			
				
					|  |  |  | @ -196,13 +139,14 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           "AutoDownloadDiProducts": "国家库DI数据" | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         status: { | 
			
		
	
		
			
				
					|  |  |  |  |         0: "等待处理", | 
			
		
	
		
			
				
					|  |  |  |  |         1: "处理完成", | 
			
		
	
		
			
				
					|  |  |  |  |         2: "处理异常", | 
			
		
	
		
			
				
					|  |  |  |  |           1: "任务待触发", | 
			
		
	
		
			
				
					|  |  |  |  |           2: "文件待生成", | 
			
		
	
		
			
				
					|  |  |  |  |           3: "文件待同步", | 
			
		
	
		
			
				
					|  |  |  |  |           4: "任务完成", | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         wmsstatus: { | 
			
		
	
		
			
				
					|  |  |  |  |         "处理成功": "处理成功", | 
			
		
	
		
			
				
					|  |  |  |  |           "1": "处理成功", | 
			
		
	
		
			
				
					|  |  |  |  |           "": "未处理", | 
			
		
	
		
			
				
					|  |  |  |  |           null: "未处理", | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
	
		
			
				
					|  |  |  | @ -310,13 +254,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         if (val) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       handleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.page = val; | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       createScheduleDialog(type) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (this.$isNotBlank(this.syncTime)) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -328,8 +270,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |               this.createSchedule(type); | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |             .catch(() => {}); | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |           this.createSchedule(type); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
	
		
			
				
					|  |  |  | @ -352,8 +293,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$alert(response.message, '提示', { | 
			
		
	
		
			
				
					|  |  |  |  |                 confirmButtonText: '确定', | 
			
		
	
		
			
				
					|  |  |  |  |                 type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |               callback: action => { | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |                 callback: action => {} | 
			
		
	
		
			
				
					|  |  |  |  |               }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
	
		
			
				
					|  |  |  | @ -389,10 +329,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |               }); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => {}); | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       handleChange(response, files, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (response.code != 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(response.message); | 
			
		
	
	
		
			
				
					|  |  |  | @ -401,8 +339,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.success(response.data); | 
			
		
	
		
			
				
					|  |  |  |  |           this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       statusFilterType(status) { | 
			
		
	
		
			
				
					|  |  |  |  |         const statusMap = { | 
			
		
	
		
			
				
					|  |  |  |  |           0: "warning", | 
			
		
	
	
		
			
				
					|  |  |  | @ -427,8 +364,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |               this.configParms = response.data; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => {}); | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       detailDialog(id) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.syncVisible = true; | 
			
		
	
	
		
			
				
					|  |  |  | @ -437,11 +373,38 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             this.syncInfo = item.remark; | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       downFile(rows) { | 
			
		
	
		
			
				
					|  |  |  |  |         infoByStatus({ | 
			
		
	
		
			
				
					|  |  |  |  |           'id': rows.id | 
			
		
	
		
			
				
					|  |  |  |  |         }).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |           let blob = new Blob([res]) | 
			
		
	
		
			
				
					|  |  |  |  |           let fileName = rows.cacheFilePath.substring(rows.cacheFilePath.lastIndexOf('/')) | 
			
		
	
		
			
				
					|  |  |  |  |           let link = document.createElement("a") | 
			
		
	
		
			
				
					|  |  |  |  |           link.href = window.URL.createObjectURL(blob) | 
			
		
	
		
			
				
					|  |  |  |  |           link.download = fileName | 
			
		
	
		
			
				
					|  |  |  |  |           link.style.display = 'none' | 
			
		
	
		
			
				
					|  |  |  |  |           document.body.appendChild(link) | 
			
		
	
		
			
				
					|  |  |  |  |           link.click() | 
			
		
	
		
			
				
					|  |  |  |  |           window.URL.revokeObjectURL(link.href) | 
			
		
	
		
			
				
					|  |  |  |  |           document.body.removeChild(link) | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       deleteData(id) { | 
			
		
	
		
			
				
					|  |  |  |  |         deleteLog({id}).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |               this.filterQuery.page = 1 | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.success("删除成功"); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => {}); | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |     mounted() {}, | 
			
		
	
		
			
				
					|  |  |  |  |     components: {}, | 
			
		
	
		
			
				
					|  |  |  |  |     created() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.headers = { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |