| 
					
				 | 
			
			
				@@ -22,7 +22,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="mt-5" style="text-align: center" v-if="personnelList.length==0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      class="mt-5" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      style="text-align: center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-if="personnelList.length == 0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       请至少添加一名加油员,否则小程序无法进行支付~ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-table :data="personnelList" v-else> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -45,6 +49,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         label="操作" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         class-name="small-padding fixed-width" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        width="200" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -61,6 +66,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleDelete(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >删除</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            icon="el-icon-download" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="exportQr(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            >导出加油员码</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-table> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -76,7 +88,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form ref="form" :model="form" :rules="rules" label-width="80px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item label="姓名" prop="personnelName"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-input v-model="form.personnelName" placeholder="请输入加油员姓名" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model="form.personnelName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder="请输入加油员姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item label="负责枪号" prop="checkedGunList"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template v-if="allGunList.length === 0"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,7 +124,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      :title="personnelList.length == 0 ? '添加加油员须知' : personnelList.length == 1 ? '添加加油员确认' : '删除加油员确认'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :title=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        personnelList.length == 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ? '添加加油员须知' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          : personnelList.length == 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ? '添加加油员确认' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          : '删除加油员确认' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       :visible.sync="confirmDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width="500px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       append-to-body 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,10 +141,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           1、请至少添加一名加油员,否则小程序无法进行支付。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div style="color: red; font-size: 12px; text-indent: 2em" class="mt-2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          2、当您只添加 【<b>一名加油员</b>】 :小程序采取开放模式(即用户<b>可以不通过扫加油员码进入</b>),小程序会拉取该加油员所管理的油枪,用户产生的订单全部算在该加油员的名下。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          2、当您只添加 【<b>一名加油员</b>】 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :小程序采取开放模式(即用户<b>可以不通过扫加油员码进入</b>),小程序会拉取该加油员所管理的油枪,用户产生的订单全部算在该加油员的名下。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div style="color: red; font-size: 12px; text-indent: 2em" class="mt-2 mb-3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          3、当您添加了 【<b>多名加油员</b>】 :小程序采取限制模式(即<b>只能够通过扫加油员码进入</b>),小程序会拉取对应加油员码下的加油员所管理的油枪,用户扫加油员码产生的订单算在对应加油员的名下。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          style="color: red; font-size: 12px; text-indent: 2em" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          class="mt-2 mb-3" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          3、当您添加了 【<b>多名加油员</b>】 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :小程序采取限制模式(即<b>只能够通过扫加油员码进入</b>),小程序会拉取对应加油员码下的加油员所管理的油枪,用户扫加油员码产生的订单算在对应加油员的名下。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="m-2" v-else-if="personnelList.length == 1"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -151,7 +177,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="m-2" v-else-if="personnelList.length == 2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div>您目前有两名加油员,订单会根据加油员码计入加油员名下。</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div>您正在删除一名加油员,操作成功之后,<b>系统将发生以下变化:</b></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          您正在删除一名加油员,操作成功之后,<b>系统将发生以下变化:</b> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div style="color: red; font-size: 12px; text-indent: 2em" class="mt-4"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           1、小程序端会开放用户进入的方式,用户可以通过多种方式进入小程序进行支付。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -169,11 +197,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div slot="footer" class="dialog-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          :type="personnelList.length == 0 || personnelList.length == 1 ? 'primary' : 'danger'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :type=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            personnelList.length == 0 || personnelList.length == 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ? 'primary' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              : 'danger' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @click="confirmSubmit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           >{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            personnelList.length == 0 ? '我知道了~': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            personnelList.length == 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            personnelList.length == 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ? "我知道了~" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              : personnelList.length == 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               ? "我已经了解,继续添加加油员" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               : "我已经了解,确认删除该加油员" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }}</el-button 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -181,6 +214,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button @click="confirmCancel">取 消</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :visible.sync="exportQrDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      width="600px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      append-to-body 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title="导出标签" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <qr text="121111" @downloadImg="downloadImg" name="员工码"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div>员工码:{{ this.currentExport.personnelName }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div >负责枪号:  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <span v-for="ele in currentExport.checkedGunList" :key="ele"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                {{ ele + '号枪-' + transferGunnumToOilname(ele) + "  "}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </qr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -195,6 +246,10 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/station/personnel"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { stationinfo, listGun } from "@/api/station/gun"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getDept } from "@/api/system/dept"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import Base64 from "@/utils/base64"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import vueQr from "vue-qr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import qr from "@/components/QrCode"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "Station_Employee", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -240,13 +295,27 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       pageStatus: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       confirmDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       deletePersonnelId: undefined, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      exportQrDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      qrStr: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      currentExport: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  components: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    vueQr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    qr, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const base = new Base64(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const a = base.encode("12李哈哈"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    console.log("加密", a); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    console.log("解密", base.decode(a)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.setPageStatus(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    downloadImg() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.msgSuccess("导出成功~"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 查询油站加油员信息列表 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listPersonnel(this.queryParams).then((response) => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -286,6 +355,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         stationId: this.deptId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.allGunList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        console.log('this.allGunList',this.allGunList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 取消按钮 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -365,21 +435,22 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.deletePersonnelId = row.personnelId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.personnelList.length == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.confirmDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$confirm("是否确认删除油站加油员信息", "警告", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }).then( ()=> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(123); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delPersonnel(this.deletePersonnelId).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.msgSuccess("删除成功~"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }).catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.msgError("删除失败~"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        delPersonnel(this.deletePersonnelId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.msgSuccess("删除成功~"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          .catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.msgError("删除失败~"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 导出按钮操作 */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -397,6 +468,32 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.download(response.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    exportQr(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.currentExport = JSON.parse(JSON.stringify(row)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (row.gunNo !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.currentExport.checkedGunList = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ...new Set(row.gunNo.split(",")), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ].filter((ele) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return ele.toString().trim() !== ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.currentExport.checkedGunList = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const base = new Base64(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const encodeStr = "e" + row.personnelId + "/"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const encodedStr = base.encode(encodeStr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const trimEqualStr = encodedStr.replace(/={1,}$/g, ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(base.decode(trimEqualStr)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.qrStr = "https://goto.huijy.net/" + this.deptId + "/" + trimEqualStr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.exportQrDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    transferGunnumToOilname(gunNo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const gun = this.allGunList.find((ele)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return ele.oilGunNo == gunNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return gun.oilName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |