|  |  | @ -1,4 +1,5 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <template> |  |  |  | <template> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   <!-- 本企业资质页面 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-form |  |  |  |     <el-form | 
			
		
	
		
		
			
				
					
					|  |  |  |       :model="inputQuery" |  |  |  |       :model="inputQuery" | 
			
		
	
	
		
		
			
				
					|  |  | @ -7,49 +8,58 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       label-width="100px" |  |  |  |       label-width="100px" | 
			
		
	
		
		
			
				
					
					|  |  |  |     > |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-card class="el-card"> |  |  |  |       <el-card class="el-card"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div> |  |  |  |         <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <span> |  |  |  |           <span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         本企业信息审核状态: |  |  |  |             本企业信息审核状态: | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                <el-tag :type="(inputQuery.auditStatus) | statusFilterType"> |  |  |  |             <el-tag :type="inputQuery.auditStatus | statusFilterType"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 {{ checkSupFlag[inputQuery.auditStatus] }} |  |  |  |               {{ checkSupFlag[inputQuery.auditStatus] }} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             </el-tag> |  |  |  |             </el-tag> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     </span> |  |  |  |           </span> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div style="float:right ;margin-top: -20px"> |  |  |  |         <div style="float: right; margin-top: -20px"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             size="mini" |  |  |  |             size="mini" | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="search" |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             v-if="inputQuery.auditStatus == 0" |  |  |  |             v-if="inputQuery.auditStatus == 0" | 
			
		
	
		
		
			
				
					
					|  |  |  |             @click="onModifySubmit(0)" |  |  |  |             @click="onModifySubmit(0)" | 
			
		
	
		
		
			
				
					
					|  |  |  |           >草稿保存 |  |  |  |             >草稿保存 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button |  |  |  |           </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             size="mini" |  |  |  |             size="mini" | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="search" |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             v-if="inputQuery.auditStatus == 0|| inputQuery.auditStatus == 6" |  |  |  |             v-if="inputQuery.auditStatus == 0 || inputQuery.auditStatus == 6" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             @click="onModifySubmit(6)" |  |  |  |             @click="onModifySubmit(6)" | 
			
		
	
		
		
			
				
					
					|  |  |  |           >提交审核 |  |  |  |             >提交审核 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button |  |  |  |           </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             size="mini" |  |  |  |             size="mini" | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="search" |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             v-if="inputQuery.auditStatus == 3|| inputQuery.auditStatus == 1|| inputQuery.auditStatus == 2" |  |  |  |             v-if=" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               inputQuery.auditStatus == 3 || | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               inputQuery.auditStatus == 1 || | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               inputQuery.auditStatus == 2 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             " | 
			
		
	
		
		
			
				
					
					|  |  |  |             @click="onModifySubmit(3)" |  |  |  |             @click="onModifySubmit(3)" | 
			
		
	
		
		
			
				
					
					|  |  |  |           >提交审核 |  |  |  |             >提交审核 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button |  |  |  |           </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row :gutter="20" class="el-row" type="flex" style="margin-top: 25px"> |  |  |  |         <el-row | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :gutter="20" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           class="el-row" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           type="flex" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           style="margin-top: 25px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="10" class="el-col"> |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item label="企业名称:" label-width="150px" prop="companyName"> |  |  |  |             <el-form-item | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label="企业名称:" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label-width="150px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               prop="companyName" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input |  |  |  |               <el-input | 
			
		
	
		
		
			
				
					
					|  |  |  |                 size="small" |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 splaceholder="请输入内容" |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
	
		
		
			
				
					|  |  | @ -58,7 +68,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="10" class="el-col"> |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item label="统一社会信用代码:" label-width="150px" prop="creditNum"> |  |  |  |             <el-form-item | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label="统一社会信用代码:" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label-width="150px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               prop="creditNum" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input |  |  |  |               <el-input | 
			
		
	
		
		
			
				
					
					|  |  |  |                 size="small" |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 splaceholder="请输入内容" |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
	
		
		
			
				
					|  |  | @ -75,9 +89,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 size="small" |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="inputQuery.classes" |  |  |  |                 v-model="inputQuery.classes" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 placeholder="企业类别" |  |  |  |                 placeholder="企业类别" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 style="width: 100%;" |  |  |  |                 style="width: 100%" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               > |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-option v-if="classesDisplay" label="医院" value="1"></el-option> |  |  |  |                 <el-option | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   v-if="classesDisplay" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   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> | 
			
		
	
	
		
		
			
				
					|  |  | @ -104,12 +122,16 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 size="small" |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 placeholder="请输入内容" |  |  |  |                 placeholder="请输入内容" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="inputQuery.contacts" |  |  |  |                 v-model="inputQuery.contacts" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 @blur="inputQuery.contacts=$event.target.value.trim()" |  |  |  |                 @blur="inputQuery.contacts = $event.target.value.trim()" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               ></el-input> |  |  |  |               ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="10" class="el-col"> |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item label="详细地址:" label-width="150px" prop="detailAddr"> |  |  |  |             <el-form-item | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label="详细地址:" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               label-width="150px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               prop="detailAddr" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input |  |  |  |               <el-input | 
			
		
	
		
		
			
				
					
					|  |  |  |                 size="small" |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 placeholder="请输入内容" |  |  |  |                 placeholder="请输入内容" | 
			
		
	
	
		
		
			
				
					|  |  | @ -140,48 +162,76 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row :gutter="20" v-show="inputQuery.auditStatus==2" class="el-row" type="flex" style="margin-top: 0px"> |  |  |  |         <el-row | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :gutter="20" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           v-show="inputQuery.auditStatus == 2" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           class="el-row" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           type="flex" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           style="margin-top: 0px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="10" class="el-col"> |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item label="结果说明:" label-width="150px" prop="mobile"> |  |  |  |             <el-form-item label="结果说明:" label-width="150px" prop="mobile"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input size="small" v-model="inputQuery.auditComment" disabled></el-input> |  |  |  |               <el-input | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 v-model="inputQuery.auditComment" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 disabled | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-card> |  |  |  |       </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-card> |  |  |  |       <el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div style="float: right;text-align: right;margin-bottom: 8px;"> |  |  |  |         <div style="float: right; text-align: right; margin-bottom: 8px"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" size="mini" icon="search" @click="selectCert" |  |  |  |           <el-button | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      style="text-align:right" |  |  |  |             type="primary" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           >选入资质证书 |  |  |  |             size="mini" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button |  |  |  |             icon="search" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |             @click="selectCert" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             style="text-align: right" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" size="mini" icon="search" @click="addCert()" |  |  |  |             >选入资质证书 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      style="text-align:right" |  |  |  |           </el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           >添加资质证书 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             size="mini" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             @click="addCert()" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             style="text-align: right" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             >添加资质证书 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table v-loading="certLoading" :data="certList" style="width: 100%" border highlight-current-row> |  |  |  |         <el-table | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column type="index" label="序号" width="50"></el-table-column> |  |  |  |           v-loading="certLoading" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :data="certList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           style="width: 100%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           border | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           highlight-current-row | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             type="index" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             label="序号" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             width="50" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="证书名称" prop="name"></el-table-column> |  |  |  |           <el-table-column label="证书名称" prop="name"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="证书编号" prop="code"></el-table-column> |  |  |  |           <el-table-column label="证书编号" prop="code"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="生效期" prop="vailDate"></el-table-column> |  |  |  |           <el-table-column label="生效期" prop="vailDate"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="失效期" prop="expireDate"></el-table-column> |  |  |  |           <el-table-column label="失效期" prop="expireDate"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="确认状态" prop="auditStatus" width="120"> |  |  |  |           <el-table-column label="确认状态" prop="auditStatus" width="120"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <template slot-scope="scope"> |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-tag :type="(scope.row.auditStatus) | statusFilterType"> |  |  |  |               <el-tag :type="scope.row.auditStatus | statusFilterType"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 {{ checkFlag[scope.row.auditStatus] }} |  |  |  |                 {{ checkFlag[scope.row.auditStatus] }} | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-tag> |  |  |  |               </el-tag> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </template> |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-table-column> |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             label="确认说明" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             prop="auditComment" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="状态" prop="status" width="120"> |  |  |  |           <el-table-column label="状态" prop="status" width="120"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <template slot-scope="scope"> |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-tag :type="(scope.row.status) | statusType"> |  |  |  |               <el-tag :type="scope.row.status | statusType"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 {{ statusFlag[scope.row.status] }} |  |  |  |                 {{ statusFlag[scope.row.status] }} | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-tag> |  |  |  |               </el-tag> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </template> |  |  |  |             </template> | 
			
		
	
	
		
		
			
				
					|  |  | @ -191,17 +241,48 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="操作" width="180"> |  |  |  |           <el-table-column label="操作" width="180"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <template slot-scope="scope"> |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="text" size="small" @click.native="addCert(scope.row)">编辑</el-button> |  |  |  |               <el-button | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="text" size="small" @click.native="showImgViewer(scope.row)">预览</el-button> |  |  |  |                 type="text" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="text" size="small" v-if="scope.row.auditStatus == 0 || scope.row.auditStatus == 2|| scope.row.auditStatus == 6" @click.native="deleteCompanyCert(scope.row)">删除</el-button> |  |  |  |                 size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="text" size="small" v-if="scope.row.auditStatus == 2" @click.native="explainCompanyCert(scope.row)">说明</el-button> |  |  |  |                 @click.native="addCert(scope.row)" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 >编辑</el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @click.native="showImgViewer(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 >预览</el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 v-if=" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   scope.row.auditStatus == 0 || | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   scope.row.auditStatus == 2 || | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   scope.row.auditStatus == 6 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 " | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @click.native="deleteCompanyCert(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 >删除</el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 v-if="scope.row.auditStatus == 2" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @click.native="explainCompanyCert(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 >说明</el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |             </template> |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-table-column> |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table> |  |  |  |         </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/> |  |  |  |         <el-image-viewer | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           v-if="imgViewerVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           style="z-index: 9999" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :on-close="closeImgViewer" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :url-list="imgList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         /> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <pagination |  |  |  |         <pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |           v-show="certTotal>0" |  |  |  |           v-show="certTotal > 0" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           :total="certTotal" |  |  |  |           :total="certTotal" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :limit.sync="certQuery.limit" |  |  |  |           :limit.sync="certQuery.limit" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :page.sync="certQuery.page" |  |  |  |           :page.sync="certQuery.page" | 
			
		
	
	
		
		
			
				
					|  |  | @ -209,7 +290,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></pagination> |  |  |  |         ></pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-card> |  |  |  |       </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-dialog |  |  |  |       <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |         :title="formMap[formName]" |  |  |  |         :title="formMap[formName]" | 
			
		
	
		
		
			
				
					
					|  |  |  |         :visible.sync="addCertVisible" |  |  |  |         :visible.sync="addCertVisible" | 
			
		
	
	
		
		
			
				
					|  |  | @ -218,7 +298,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         width="60%" |  |  |  |         width="60%" | 
			
		
	
		
		
			
				
					
					|  |  |  |         v-if="addCertVisible" |  |  |  |         v-if="addCertVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |         append-to-body |  |  |  |         append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |         @close='closeLocalDialog' |  |  |  |         @close="closeLocalDialog" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <companyAddCert |  |  |  |         <companyAddCert | 
			
		
	
		
		
			
				
					
					|  |  |  |           :closeDialog="closeLocalDialog" |  |  |  |           :closeDialog="closeLocalDialog" | 
			
		
	
	
		
		
			
				
					|  |  | @ -228,7 +308,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></companyAddCert> |  |  |  |         ></companyAddCert> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-dialog> |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-dialog |  |  |  |       <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |         title="选入资质证书" |  |  |  |         title="选入资质证书" | 
			
		
	
		
		
			
				
					
					|  |  |  |         :visible.sync="selectCertVisible" |  |  |  |         :visible.sync="selectCertVisible" | 
			
		
	
	
		
		
			
				
					|  |  | @ -237,7 +316,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         width="60%" |  |  |  |         width="60%" | 
			
		
	
		
		
			
				
					
					|  |  |  |         v-if="selectCertVisible" |  |  |  |         v-if="selectCertVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |         append-to-body |  |  |  |         append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |         @close='closeLocalDialog' |  |  |  |         @close="closeLocalDialog" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <supCertSetSelectDialog |  |  |  |         <supCertSetSelectDialog | 
			
		
	
		
		
			
				
					
					|  |  |  |           :certType="certType" |  |  |  |           :certType="certType" | 
			
		
	
	
		
		
			
				
					|  |  | @ -257,34 +336,39 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form-item label="拒绝原因:"><el-input v-model="explainMsg"  placeholder="请输入内容"></el-input></el-form-item> |  |  |  |       <el-form-item label="拒绝原因:"><el-input v-model="explainMsg"  placeholder="请输入内容"></el-input></el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-dialog> --> |  |  |  |       </el-dialog> --> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-form> |  |  |  |     </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  |   </div> |  |  |  |   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import {modifyCompany, addCompany, getSubCompany} from "@/api/supplier/supCompany"; |  |  |  | import { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   modifyCompany, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   addCompany, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   getSubCompany, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | } from "@/api/supplier/supCompany"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import store from "@/store/index"; |  |  |  | import store from "@/store/index"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {regionDataPlus, CodeToText,} from "element-china-area-data"; |  |  |  | import { regionDataPlus, CodeToText } from "element-china-area-data"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import {filterCompanyCert, deleteCompanyCert, updateCompanyCert} from "@/api/purchase/companyCert"; |  |  |  | import { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   filterCompanyCert, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   deleteCompanyCert, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   updateCompanyCert, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | } from "@/api/purchase/companyCert"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import companyAddCert from "@/views/purchase/cert/supCertAddDialog"; |  |  |  | import companyAddCert from "@/views/purchase/cert/supCertAddDialog"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import supCertSetSelectDialog from "@/views/purchase/cert/supCertSetSelectDialog"; |  |  |  | import supCertSetSelectDialog from "@/views/purchase/cert/supCertSetSelectDialog"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import draggable from "vuedraggable"; |  |  |  | import draggable from "vuedraggable"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getCompany} from "@/api/supplier/company"; |  |  |  | import { getCompany } from "@/api/supplier/company"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import { previewImage } from '@/api/purchase/supCompany'; |  |  |  | import { previewImage } from "@/api/purchase/supCompany"; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import ElImageViewer from "element-ui/packages/image/src/image-viewer"; |  |  |  | import ElImageViewer from "element-ui/packages/image/src/image-viewer"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: "supCompanyEdit", |  |  |  |   name: "supCompanyEdit", | 
			
		
	
		
		
			
				
					
					|  |  |  |   data() { |  |  |  |   data() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  |       BASE_URL: process.env.VUE_APP_BASE_API, |  |  |  |       BASE_URL: process.env.VUE_APP_BASE_API, | 
			
		
	
		
		
			
				
					
					|  |  |  |       inputQuery: {}, |  |  |  |       inputQuery: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       headers: {}, |  |  |  |       headers: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       imgViewerVisible:false, |  |  |  |       imgViewerVisible: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       imgList:[], |  |  |  |       imgList: [], | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       classesDisplay: false, |  |  |  |       classesDisplay: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       selectedOptions: [], |  |  |  |       selectedOptions: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       options: regionDataPlus, |  |  |  |       options: regionDataPlus, | 
			
		
	
	
		
		
			
				
					|  |  | @ -293,74 +377,74 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入企业名称", |  |  |  |             message: "请输入企业名称", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "blur" |  |  |  |             trigger: "blur", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         creditNum: [ |  |  |  |         creditNum: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入统一社会信用代码", |  |  |  |             message: "请输入统一社会信用代码", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "blur" |  |  |  |             trigger: "blur", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         classes: [ |  |  |  |         classes: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请选择企业类别", |  |  |  |             message: "请选择企业类别", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         area: [ |  |  |  |         area: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请选择所属地区", |  |  |  |             message: "请选择所属地区", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         detailAddr: [ |  |  |  |         detailAddr: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入详细地址", |  |  |  |             message: "请输入详细地址", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         contacts: [ |  |  |  |         contacts: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入联系人", |  |  |  |             message: "请输入联系人", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         mobile: [ |  |  |  |         mobile: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入联系电话", |  |  |  |             message: "请输入联系电话", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         email: [ |  |  |  |         email: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入邮箱", |  |  |  |             message: "请输入邮箱", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         updateCause: [ |  |  |  |         updateCause: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             message: "请输入变更原因", |  |  |  |             message: "请输入变更原因", | 
			
		
	
		
		
			
				
					
					|  |  |  |             trigger: "change" |  |  |  |             trigger: "change", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           }, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       uploadUrl: "", |  |  |  |       uploadUrl: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       fileUrl: "", |  |  |  |       fileUrl: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       certFileUrl: "", |  |  |  |       certFileUrl: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       url: 'http://127.0.0.1:9996/udiwms/image/register/file/getImage?type=image1&name=t11111.jpg', |  |  |  |       url: "http://127.0.0.1:9996/udiwms/image/register/file/getImage?type=image1&name=t11111.jpg", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       certQuery: { |  |  |  |       certQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: 1, |  |  |  |         type: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20 |  |  |  |         limit: 20, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       certList: [], |  |  |  |       certList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       certTotal: 0, |  |  |  |       certTotal: 0, | 
			
		
	
	
		
		
			
				
					|  |  | @ -370,14 +454,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       salesmanQuery: { |  |  |  |       salesmanQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         name: "", |  |  |  |         name: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20 |  |  |  |         limit: 20, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       salesmanList: [], |  |  |  |       salesmanList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       salesmanTotal: 0, |  |  |  |       salesmanTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       salesmanLoading: false, |  |  |  |       salesmanLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       addSalesmanVisible: false, |  |  |  |       addSalesmanVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       certTypeMap: { |  |  |  |       certTypeMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '身份证' |  |  |  |         1: "身份证", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       selectLocalVisible: false, |  |  |  |       selectLocalVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       productQuery: { |  |  |  |       productQuery: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -385,7 +469,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         cpmctymc: "", |  |  |  |         cpmctymc: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |         ggxh: "", |  |  |  |         ggxh: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20 |  |  |  |         limit: 20, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       productList: [], |  |  |  |       productList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       productTotal: 0, |  |  |  |       productTotal: 0, | 
			
		
	
	
		
		
			
				
					|  |  | @ -393,7 +477,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       uuid: null, |  |  |  |       uuid: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       companyApplyUpdateVisible: false, |  |  |  |       companyApplyUpdateVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       explainCertVisible: false, |  |  |  |       explainCertVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       explainMsg: '', |  |  |  |       explainMsg: "", | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       companyEditDisabled: true, |  |  |  |       companyEditDisabled: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       companyEditButtonStr: "编辑", |  |  |  |       companyEditButtonStr: "编辑", | 
			
		
	
		
		
			
				
					
					|  |  |  |       addType: "1", //证书类型:1:供应商;2.生产企业;3.产品品种 |  |  |  |       addType: "1", //证书类型:1:供应商;2.生产企业;3.产品品种 | 
			
		
	
	
		
		
			
				
					|  |  | @ -432,13 +516,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { |  |  |  |   components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     draggable, companyAddCert, supCertSetSelectDialog,  ElImageViewer |  |  |  |     draggable, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     companyAddCert, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     supCertSetSelectDialog, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     ElImageViewer, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     getCompanyInfo() { |  |  |  |     getCompanyInfo() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         customerId: this.$store.getters.customerId |  |  |  |         customerId: this.$store.getters.customerId, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       }; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getCompany(query) |  |  |  |       getCompany(query) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.inputQuery = response.data; |  |  |  |           this.inputQuery = response.data; | 
			
		
	
	
		
		
			
				
					|  |  | @ -448,40 +535,42 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.getCompanyCertList(); |  |  |  |           this.getCompanyCertList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.selectedOptions = this.inputQuery.areaCode.split(","); |  |  |  |           this.selectedOptions = this.inputQuery.areaCode.split(","); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |         .catch(() => {}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     onModifySubmit(val) { |  |  |  |     onModifySubmit(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       var status = this.inputQuery.auditStatus; |  |  |  |       var status = this.inputQuery.auditStatus; | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.editType == 0) { //新增保存 |  |  |  |       if (this.editType == 0) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         //新增保存 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$refs["inputQuery"].validate(valid => { |  |  |  |         this.$refs["inputQuery"].validate((valid) => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           if (valid) { |  |  |  |           if (valid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$confirm("是否确定提交保存?", "提示", { |  |  |  |             this.$confirm("是否确定提交保存?", "提示", { | 
			
		
	
		
		
			
				
					
					|  |  |  |               confirmButtonText: "确定", |  |  |  |               confirmButtonText: "确定", | 
			
		
	
		
		
			
				
					
					|  |  |  |               cancelButtonText: "取消", |  |  |  |               cancelButtonText: "取消", | 
			
		
	
		
		
			
				
					
					|  |  |  |               type: "warning", |  |  |  |               type: "warning", | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).then(() => { |  |  |  |             }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.loading = true; |  |  |  |               .then(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.inputQuery.auditStatus = val; |  |  |  |                 this.loading = true; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               addCompany(this.inputQuery).then(response => { |  |  |  |                 this.inputQuery.auditStatus = val; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.loading = false; |  |  |  |                 addCompany(this.inputQuery).then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 if (response.code === 20000) { |  |  |  |                   this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.$message.success("提交成功"); |  |  |  |                   if (response.code === 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.closeDialog(); |  |  |  |                     this.$message.success("提交成功"); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 } else { |  |  |  |                     this.closeDialog(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.$message.error(response.message); |  |  |  |                   } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.inputQuery.auditStatus = status; |  |  |  |                     this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                     this.inputQuery.auditStatus = status; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |                   } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch(() => { |  |  |  |                 }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |               }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               .catch(() => {}); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return false; |  |  |  |             return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } else {                //编辑保存 |  |  |  |       } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         //编辑保存 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (val == 0) { |  |  |  |         if (val == 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           var str = "是否确定草稿保存?"; |  |  |  |           var str = "是否确定草稿保存?"; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else if (val == 6) { |  |  |  |         } else if (val == 6) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -489,27 +578,28 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           var str = "企业信息已通过审核,是否确认重新提交审核?"; |  |  |  |           var str = "企业信息已通过审核,是否确认重新提交审核?"; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$refs["inputQuery"].validate(valid => { |  |  |  |         this.$refs["inputQuery"].validate((valid) => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           if (valid) { |  |  |  |           if (valid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$confirm(str, "提示", { |  |  |  |             this.$confirm(str, "提示", { | 
			
		
	
		
		
			
				
					
					|  |  |  |               confirmButtonText: "确定", |  |  |  |               confirmButtonText: "确定", | 
			
		
	
		
		
			
				
					
					|  |  |  |               cancelButtonText: "取消", |  |  |  |               cancelButtonText: "取消", | 
			
		
	
		
		
			
				
					
					|  |  |  |               type: "warning", |  |  |  |               type: "warning", | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).then(() => { |  |  |  |             }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.loading = true; |  |  |  |               .then(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.inputQuery.auditStatus = val; |  |  |  |                 this.loading = true; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               modifyCompany(this.inputQuery).then(response => { |  |  |  |                 this.inputQuery.auditStatus = val; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.loading = false; |  |  |  |                 modifyCompany(this.inputQuery).then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 if (response.code === 20000) { |  |  |  |                   this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.$message.success("提交成功"); |  |  |  |                   if (response.code === 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.closeDialog(); |  |  |  |                     this.$message.success("提交成功"); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 } else { |  |  |  |                     this.closeDialog(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.$message.error(response.message); |  |  |  |                   } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   this.inputQuery.auditStatus = status; |  |  |  |                     this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                     this.inputQuery.auditStatus = status; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |                   } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch(() => { |  |  |  |                 }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |               }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               .catch(() => {}); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return false; |  |  |  |             return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
	
		
		
			
				
					|  |  | @ -517,13 +607,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     onAuditSubmit() { |  |  |  |     onAuditSubmit() {}, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     disableCert(row, status) { |  |  |  |     disableCert(row, status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       row.status = status; |  |  |  |       row.status = status; | 
			
		
	
		
		
			
				
					
					|  |  |  |       updateCompanyCert(row).then(response => { |  |  |  |       updateCompanyCert(row).then((response) => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false; |  |  |  |         this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (response.code === 20000) { |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.success("更新成功!"); |  |  |  |           this.$message.success("更新成功!"); | 
			
		
	
	
		
		
			
				
					|  |  | @ -532,27 +620,35 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error(response.message); |  |  |  |           this.$message.error(response.message); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     showImgViewer(row){ |  |  |  |     showImgViewer(row) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; |  |  |  |       this.certFileUrl = | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.imgList=[]; |  |  |  |         this.BASE_URL + | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         previewImage({imageUrl:row.filePath,certFileUrl:this.certFileUrl}).then(response => { |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name="; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |       this.imgList = []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.imgList=response.data; |  |  |  |       previewImage({ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |         imageUrl: row.filePath, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           console.log(this.imgList) |  |  |  |         certFileUrl: this.certFileUrl, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.imgViewerVisible = true; |  |  |  |       }).then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         if (response.code === 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         const m = (e) => { e.preventDefault() }; |  |  |  |           this.imgList = response.data; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         document.body.style.overflow = 'hidden'; |  |  |  |         } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         document.addEventListener("touchmove", m, false); // 禁止页面滑动 |  |  |  |         console.log(this.imgList); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.imgViewerVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       const m = (e) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         e.preventDefault(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       document.body.style.overflow = "hidden"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       document.addEventListener("touchmove", m, false); // 禁止页面滑动 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     closeImgViewer(){ |  |  |  |     closeImgViewer() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.imgViewerVisible = false; |  |  |  |       this.imgViewerVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |       const m = (e) => { e.preventDefault() }; |  |  |  |       const m = (e) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       document.body.style.overflow = 'auto'; |  |  |  |         e.preventDefault(); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       document.body.style.overflow = "auto"; | 
			
		
	
		
		
			
				
					
					|  |  |  |       document.removeEventListener("touchmove", m, true); |  |  |  |       document.removeEventListener("touchmove", m, true); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -575,7 +671,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     addCert(row) { |  |  |  |     addCert(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.$isNotBlank(row)) { |  |  |  |       if (this.$isNotBlank(row)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formName = 2 |  |  |  |         this.formName = 2; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.inputQuery.formData = row; |  |  |  |         this.inputQuery.formData = row; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.editTye = 2; |  |  |  |         this.editTye = 2; | 
			
		
	
		
		
			
				
					
					|  |  |  |       } else { |  |  |  |       } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -591,7 +687,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     toViewCompanyCert(row) { |  |  |  |     toViewCompanyCert(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; |  |  |  |       this.certFileUrl = | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.BASE_URL + | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name="; | 
			
		
	
		
		
			
				
					
					|  |  |  |       window.open(this.certFileUrl + row.filePath); |  |  |  |       window.open(this.certFileUrl + row.filePath); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -605,7 +703,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.certQuery.customerId = this.inputQuery.customerId; |  |  |  |       this.certQuery.customerId = this.inputQuery.customerId; | 
			
		
	
		
		
			
				
					
					|  |  |  |       filterCompanyCert(this.certQuery) |  |  |  |       filterCompanyCert(this.certQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.certLoading = false; |  |  |  |           this.certLoading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.certList = response.data.list || []; |  |  |  |           this.certList = response.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.certTotal = response.data.total; |  |  |  |           this.certTotal = response.data.total; | 
			
		
	
	
		
		
			
				
					|  |  | @ -620,42 +717,39 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         confirmButtonText: "确定", |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: "warning", |  |  |  |         type: "warning", | 
			
		
	
		
		
			
				
					
					|  |  |  |         showCancelButton: false, |  |  |  |         showCancelButton: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => {}); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteCompanyCert(row) { |  |  |  |     deleteCompanyCert(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$confirm("是否删除?", "提示", { |  |  |  |       this.$confirm("是否删除?", "提示", { | 
			
		
	
		
		
			
				
					
					|  |  |  |         confirmButtonText: "确定", |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
		
			
				
					
					|  |  |  |         cancelButtonText: "取消", |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: "warning", |  |  |  |         type: "warning", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.certLoading = true; |  |  |  |         .then(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         let tquery = { |  |  |  |           this.certLoading = true; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           id: row.id, |  |  |  |           let tquery = { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           filePath: row.filePath, |  |  |  |             id: row.id, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |             filePath: row.filePath, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         deleteCompanyCert(tquery) |  |  |  |           }; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           .then((response) => { |  |  |  |           deleteCompanyCert(tquery) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.certLoading = false; |  |  |  |             .then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (response.code === 20000) { |  |  |  |               this.certLoading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.getCompanyCertList(); |  |  |  |               if (response.code === 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.$message({ |  |  |  |                 this.getCompanyCertList(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 type: "success", |  |  |  |                 this.$message({ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 message: "删除成功!", |  |  |  |                   type: "success", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |                   message: "删除成功!", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |                 }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.$message.error(response.message); |  |  |  |               } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |                 this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }) |  |  |  |               } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           .catch(() => { |  |  |  |             }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.certLoading = false; |  |  |  |             .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }); |  |  |  |               this.certLoading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |             }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         .catch(() => {}); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   filters: { |  |  |  |   filters: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     statusFilterType(status) { |  |  |  |     statusFilterType(status) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -669,7 +763,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       return statusMap[status]; |  |  |  |       return statusMap[status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     statusType(status) { |  |  |  |     statusType(status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       const statusMap = { |  |  |  |       const statusMap = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         0: "success", |  |  |  |         0: "success", | 
			
		
	
	
		
		
			
				
					|  |  | @ -677,8 +770,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       return statusMap[status]; |  |  |  |       return statusMap[status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  | }; |  |  |  | }; | 
			
		
	
		
		
			
				
					
					|  |  |  | </script> |  |  |  | </script> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |