瀏覽代碼

客户页面

wangxy 3 天之前
父節點
當前提交
b652f0c780
共有 2 個文件被更改,包括 16 次插入8 次删除
  1. 11 7
      pages/admin/Hetong/addSanfangHetong.vue
  2. 5 1
      pages/admin/Hetong/sanfangHetong.vue

+ 11 - 7
pages/admin/Hetong/addSanfangHetong.vue

@@ -1,8 +1,10 @@
 <template>
-	<view>
-		<button @click="handleSelct('kh')">选择客户</button>
-		<button @click="handleSelct('jz')">选择家政</button>
+	<view class="phone-navBar-box">
+		<view @click="goUpPage" class="nav-bar-icon"></view>
+		<text class="nav-bar-title">新增三方合同</text>
 	</view>
+	<button @click="handleSelct('kh')">选择客户</button>
+	<button @click="handleSelct('jz')">选择家政</button>
 	<!-- 客户 -->
 	<selectKh ref="khRef"></selectKh>
 	<!-- 家政 -->
@@ -21,10 +23,10 @@
 	import * as httpApi from "@/api/sanfang.js"
 	import selectKh from "./components/selectKh.vue"
 	import selectJz from "./components/selectJz.vue"
-	
+
 	const khRef = ref(null)
 	const jzRef = ref(null)
-	
+
 	function handleSelct(code) {
 		if (code == 'kh') {
 			khRef.value.handleShow();
@@ -33,9 +35,11 @@
 		}
 	}
 	
-
+	function goUpPage() {
+		uni.navigateBack()
+	}
 </script>
 
 <style>
 
-</style>
+</style>

+ 5 - 1
pages/admin/Hetong/sanfangHetong.vue

@@ -136,7 +136,11 @@
 		searchDialogRef.value.handleShow();
 	}
 
-	function goUpPage() {}
+	function goUpPage() {
+		uni.redirectTo({
+			url: '/pages/admin/ShouYe/shouye'
+		})
+	}
 
 	function clickAlltype() {
 		isOpen.value = !isOpen.value;