|  |  | @ -12,18 +12,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form-item class="query-form-item"> |  |  |  |           <el-form-item class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-select v-model="filterQuery.status" placeholder="处理状态"> |  |  |  |             <el-select v-model="filterQuery.status" placeholder="处理状态"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-option label="全部" value=""></el-option> |  |  |  |               <el-option label="全部" value=""></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-option label="等待处理" value="0"></el-option> |  |  |  |               <el-option label="异常" value="1"></el-option> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-option label="已处理" value="1"></el-option> |  |  |  |               <el-option label="已处理" value="2"></el-option> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-option label="异常" value="2"></el-option> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-select> |  |  |  |             </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |           </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form-item class="query-form-item"> |  |  |  |           <el-form-item class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-date-picker |  |  |  |             <el-date-picker v-model="filterQuery.syncTime" type="datetime" format="yyyy-MM-dd HH:mm:ss" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               v-model="filterQuery.syncTime" |  |  |  |               value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择同步时间"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               type="datetime" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               format="yyyy-MM-dd HH:mm:ss" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               value-format="yyyy-MM-dd HH:mm:ss" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               placeholder="请选择同步时间"> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-date-picker> |  |  |  |             </el-date-picker> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |           </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form-item> |  |  |  |           <el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -31,114 +26,56 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> |  |  |  |               <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="getList">查询</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(1)" |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(1)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                          :disabled="!configParms.orderScanFinish&& !configParms.orderUnReceive&& !configParms.orderUnCheck"> |  |  |  |                 v-if="configParms.orderScanFinish==1 || configParms.orderUnReceive==1 || configParms.orderUnCheck==1"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 同步单据 |  |  |  |                 同步单据 | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-button> |  |  |  |               </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(2)" |  |  |  |            <!--   <el-button type="primary" icon="search" @click="createScheduleDialog(2)" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                          :disabled="!configParms.typeBus&& !configParms.typeScan&& !configParms.typeThird"> |  |  |  |                 v-if="configParms.typeBus==1||configParms.typeScan==1||configParms.typeThird==1"> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 同步单据类型 |  |  |  |                 同步单据类型 | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-button> |  |  |  |               </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(3)" |  |  |  |               <el-button type="primary" icon="search" @click="createScheduleDialog(3)" v-if="configParms.basicProducts==1||configParms.basicCorp==1||configParms.basicInv==1||configParms.basicThirdProducts==1|| | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                          :disabled="!configParms.basicProducts&& !configParms.basicCorp&& |  |  |  |               configParms.basicThirdCorp==1||configParms.basicThirdInv==1||configParms.basicThirdBusOrder==1||configParms.sysUser==1">同步基础信息 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                         !configParms.basicInv&&!configParms.basicThirdProducts&& !configParms.basicThirdCorp&& !configParms.basicThirdInv |  |  |  |               </el-button> --> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 && !configParms.basicThirdBusOrder&& !configParms.sysUser">同步基础信息 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-button> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-button-group> |  |  |  |             </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |           </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-form> |  |  |  |       </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-table |  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         v-loading="loading" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         :data="list" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         style="width: 100%" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="序号" type="index"></el-table-column> |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column |  |  |  |         <el-table-column label="任务ID" prop="id" width="140" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           label="任务ID" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           prop="id" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           width="140" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           show-overflow-tooltip |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></el-table-column> |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column |  |  |  |         <el-table-column label="任务类型" prop="type" width="140" show-overflow-tooltip> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           label="任务类型" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           prop="idDatas" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           width="140" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           show-overflow-tooltip |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         > |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           <template slot-scope="scope"> |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <span>{{ type[scope.row.idDatas] }}</span> |  |  |  |             <span>{{ scope.row.type }}</span> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column |  |  |  |         <el-table-column label="状态" prop="status" width="140" show-overflow-tooltip> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           label="状态" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           prop="status" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           width="140" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           show-overflow-tooltip |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         > |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           <template slot-scope="scope"> |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-tag |  |  |  |             <el-tag :type="statusFilterType(scope.row.status)">{{ status[scope.row.status] }} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :type="statusFilterType(scope.row.status)" |  |  |  |             </el-tag> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             >{{ status[scope.row.status] }} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-tag |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column |  |  |  |         <el-table-column label="开始时间" width="180" prop="startTime" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           label="开始时间" |  |  |  |         <el-table-column label="结束时间" width="180" prop="endTime" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           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 |  |  |  |         <el-table-column label="同步信息" prop="remark" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           label="同步信息" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           prop="remark" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           show-overflow-tooltip |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></el-table-column> |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="操作" fixed="right" width="160"> |  |  |  |         <el-table-column label="操作" fixed="right" width="160"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <template slot-scope="scope"> |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |             <el-button type="text" size="small" @click.native.stop="detailDialog(scope.row.id)">详情 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |             </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               size="small" |  |  |  |             <el-button type="text" size="small" @click.native.stop="deleteDialog(scope.row.id)">删除 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native.stop="detailDialog(scope.row.id)" |  |  |  |             </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             >详情 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-button |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               size="small" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native.stop="deleteDialog(scope.row.id)" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             >删除 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-button |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-table> |  |  |  |       </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-pagination |  |  |  |       <el-pagination :page-size="filterQuery.limit" @current-change="handleCurrentChange" layout="prev, pager, next" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :page-size="filterQuery.limit" |  |  |  |         :total="total" :current-page="filterQuery.page"></el-pagination> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         @current-change="handleCurrentChange" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         layout="prev, pager, next" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         :total="total" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         :current-page="filterQuery.page" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       ></el-pagination> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-dialog |  |  |  |     <el-dialog title="同步信息" width="25%" :close-on-click-modal="false" :close-on-press-escape="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       title="同步信息" |  |  |  |       :visible.sync="syncVisible"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       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> |  |  |  |       <span v-text="syncInfo" style="white-space:pre-line;" class="syncInfo"></span> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-dialog> |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -146,7 +83,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterLog, deleteLog, createSchedule, findConfig, updateConfig} from "@/api/sync/spsSyncStatus"; |  |  |  |   import { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     filterLog, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     deleteLog, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     createSchedule, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     findConfig, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     updateConfig | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   } from "@/api/sync/spsSyncStatus"; | 
			
		
	
		
		
			
				
					
					|  |  |  |   import store from "@/store"; |  |  |  |   import store from "@/store"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   export default { |  |  |  |   export default { | 
			
		
	
	
		
		
			
				
					|  |  | @ -167,16 +110,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         total: 0, |  |  |  |         total: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |         currentRow: null, |  |  |  |         currentRow: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         editQuery: null, |  |  |  |         editQuery: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       type: { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "AutoUploadOrder": "已完成单据", |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "AutoUploadBusType": "单据类型", |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "AutoUploadAllData": "基础信息", |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "AutoDownloadDiProducts": "国家库DI数据" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         status: { |  |  |  |         status: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         0: "等待处理", |  |  |  |           1: "处理异常", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         1: "处理完成", |  |  |  |           2: "处理完成", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         2: "处理异常", |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         configQuery: { |  |  |  |         configQuery: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -278,13 +214,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (val) { |  |  |  |         if (val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.getList(); |  |  |  |           this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |       }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       handleCurrentChange(val) { |  |  |  |       handleCurrentChange(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.filterQuery.page = val; |  |  |  |         this.filterQuery.page = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.getList(); |  |  |  |         this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |       }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       createScheduleDialog(type) { |  |  |  |       createScheduleDialog(type) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -297,8 +231,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             .then(() => { |  |  |  |             .then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.createSchedule(type); |  |  |  |               this.createSchedule(type); | 
			
		
	
		
		
			
				
					
					|  |  |  |             }) |  |  |  |             }) | 
			
		
	
		
		
			
				
					
					|  |  |  |           .catch(() => { |  |  |  |             .catch(() => {}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.createSchedule(type); |  |  |  |           this.createSchedule(type); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -351,10 +284,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.loading = false; |  |  |  |                 this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |               }); | 
			
		
	
		
		
			
				
					
					|  |  |  |           }) |  |  |  |           }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => {}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |       }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       handleChange(response, files, fileList) { |  |  |  |       handleChange(response, files, fileList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         console.log(response); |  |  |  |         console.log(response); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (response.code != 20000) { |  |  |  |         if (response.code != 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -365,17 +296,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.success(response.data); |  |  |  |           this.$message.success(response.data); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.getList(); |  |  |  |           this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |       }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       statusFilterType(status) { |  |  |  |       statusFilterType(status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         const statusMap = { |  |  |  |         const statusMap = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         0: "warning", |  |  |  |           2: "success", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         1: "success", |  |  |  |           1: "danger", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         2: "danger", |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |         return statusMap[status]; |  |  |  |         return statusMap[status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |       }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getSyncConfig() { |  |  |  |       getSyncConfig() { | 
			
		
	
		
		
			
				
					
					|  |  |  |         findConfig() |  |  |  |         findConfig() | 
			
		
	
		
		
			
				
					
					|  |  |  |           .then((response) => { |  |  |  |           .then((response) => { | 
			
		
	
	
		
		
			
				
					|  |  | @ -383,8 +311,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.configParms = response.data; |  |  |  |               this.configParms = response.data; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |           }) |  |  |  |           }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => {}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       detailDialog(id) { |  |  |  |       detailDialog(id) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.syncVisible = true; |  |  |  |         this.syncVisible = true; | 
			
		
	
	
		
		
			
				
					|  |  | @ -396,8 +323,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   mounted() { |  |  |  |     mounted() {}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     components: {}, |  |  |  |     components: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |     created() { |  |  |  |     created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.headers = { |  |  |  |       this.headers = { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |