| 
					
				 | 
			
			
				@@ -7,7 +7,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @click-right="onClickright" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     :style="{ 'background-color': selectColor }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   <template #right> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <template #right> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <van-icon name="plus" size="18" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </van-nav-bar> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -24,7 +24,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div @click="search1">搜索</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </van-search> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <van-pull-refresh v-if="show==true" v-model="refreshing" @refresh="onRefresh"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <van-pull-refresh 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-if="show == true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-model="refreshing" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @refresh="onRefresh" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <van-list 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         v-model:loading="loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :finished="finished" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -37,7 +41,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_top_left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 {{ item.brandName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <div class="item_top_right" style="color: red">¥{{ item.sacrificeExpenses }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div class="item_top_right" style="color: red"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ¥{{ item.sacrificeExpenses }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="item_down"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_down_left" style="color: #a2a2a2"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -46,10 +52,23 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_down_right">场管:{{ item.siteContact }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <template #right> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <van-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              square 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              text="删除" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              type="danger" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @click="del(item.id)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              class="delete-button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </van-swipe-cell> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </van-list> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </van-pull-refresh> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <van-pull-refresh v-if="show==false" v-model="refreshing" @refresh="onRefresh"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <van-pull-refresh 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-if="show == false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-model="refreshing" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @refresh="onRefresh" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <van-list 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         v-model:loading="loading1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :finished="finished1" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -62,7 +81,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_top_left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 {{ item.brandName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <div class="item_top_right" style="color: red">¥{{ item.sacrificeExpenses }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div class="item_top_right" style="color: red"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ¥{{ item.sacrificeExpenses }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="item_down"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_down_left" style="color: #a2a2a2"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,6 +92,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div class="item_down_right">场管:{{ item.siteContact }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <template #right> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <van-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              square 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              text="删除" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              type="danger" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @click="del(item.id)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              class="delete-button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </van-swipe-cell> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </van-list> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </van-pull-refresh> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,7 +139,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       information: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //搜索事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const show = ref(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const show = ref(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const searchName = ref(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const searchList = ref([]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const loading1 = ref(false); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -117,27 +147,29 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const refreshing1 = ref(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let index1 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const search = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      show.value = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      show.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       loading1.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       finished1.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      new TabletServer().list({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        current:index1 + 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        size:11, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        brandName:searchName.value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }).then(({records,pages})=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        searchList.value = searchList.value.concat(records) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        loading1.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      new TabletServer() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .list({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          current: index1 + 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          size: 11, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          brandName: searchName.value, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then(({ records, pages }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          searchList.value = searchList.value.concat(records); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loading1.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (index1 + 1 >= pages) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             finished1.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           index1++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const search1 = ()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const search1 = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchList.value = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      search() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      search(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //页面跳转以及数据传递 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let router = useRouter(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const goTabletInfo = (item) => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -159,7 +191,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .list({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           current: index + 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           size: 11, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ...inputForm.value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ...inputForm.value, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then(({ records, pages }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           TabletData.value = TabletData.value.concat(records); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -183,6 +215,33 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const onClickLeft = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       history.back(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //牌位删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const del = (id) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      xm.showConfirm({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        title: "删除确认", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        message: "确认删除该记录", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then((result) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (result == "ok") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          new TabletServer().tabletDelete(id).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (res.status == 200 || res.statusText == "OK") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              xm.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                message: res.data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            index = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            loading.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            finished.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TabletData.value = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            onLoad(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            index1 = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            loading1.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            finished1.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            searchList.value = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            search(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //进入场所录入页面 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const onClickright = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       router.push("/placeTabletAdd"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -207,7 +266,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       search, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       show, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      search1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      search1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      del, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -240,7 +300,7 @@ html { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   .list-item { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     background-color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     padding: 10px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    margin-bottom: 5px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    border-bottom: 1px solid #f5f5f5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     overflow: hidden; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .item_top { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width: 100%; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -263,7 +323,6 @@ html { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       font-size: 16px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       padding: 5px 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      border-bottom: 1px solid 	#F5F5F5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       .item_down_left { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         width: 70%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         float: left; 
			 |