USER-20230908AJ\Administrator 1 tahun lalu
induk
melakukan
2aac378b82

+ 3 - 3
page_task/task_details/module/identity.vue

@@ -7,7 +7,7 @@
 			</view>
 			<view class="sys-from-background-color r-30 p-20 m-t30 size-26">
 				<view class="row-c">
-					<view class="capsule sys-bg-BFD2CC" v-if="verifyKey('education_name')">{{business.education_name}}</view>
+					<view class="capsule sys-bg-BFD2CC" v-if="verifyKey('education_type')">{{business.education_name}}</view>
 					<view class="capsule sys-bg-BFD2CC m-l10" v-if="verifyKey('employ_type')">{{business.employ_type===1?'受薪':'自雇'}}</view>
 				</view>
 				<view class="row-c m-t20" v-if="verifyKey('identity_one')">
@@ -76,7 +76,7 @@
               <EnImage :list="[business.m_identity_one,business.m_identity_two]"></EnImage>
             </view>
             <view class="">
-              <text class="size-26 sys-weight-600" v-if="verifyKey('mate_name')">>{{business.mate_name}}</text>
+              <text class="size-26 sys-weight-600" v-if="verifyKey('mate_name')">{{business.mate_name}}</text>
               <view class="row-c m-t20" v-if="verifyKey('mate_phone')">
                 <image class="wh-30 m-r20" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task-details/phone.png" mode="aspectFill">
                 </image>
@@ -158,7 +158,7 @@
 		},
     methods: {
       verifyKey(key,type){
-       if(type===2){
+       if(type!==2){
          return this.clientKey.indexOf(key)>=0
        }else {
          return this.linkmanKey.indexOf(key)>=0

+ 4 - 3
page_task/task_details/task_details.vue

@@ -44,12 +44,12 @@
 			<view class="m-lr20 m-t20">
 				<z-swiper style="width: 95vw;" v-model="list" :options="options" v-if="current === 1">
 					<z-swiper-item>
-						<Identity :business="business" :linkman="linkman"></Identity>
+						<Identity :business="business" :linkman="linkman" :client-key="clientKey" :linkman-key="linkmanKey"></Identity>
 					</z-swiper-item>
-					<z-swiper-item v-if="product.product_types.indexOf('3')>=0">
+					<z-swiper-item v-show="product.product_types.indexOf('3')>=0">
 						<Apply :apply-for="applyFor"></Apply>
 					</z-swiper-item>
-					<z-swiper-item  v-if="product.product_types.indexOf('4')>=0">
+					<z-swiper-item  v-show="product.product_types.indexOf('4')>=0">
 						<ThirdParty :tripartite="tripartite"></ThirdParty>
 					</z-swiper-item>
 				</z-swiper>
@@ -182,6 +182,7 @@
 			}
 		},
 		onLoad(data) {
+      console.log(data)
 			if (data.taskId !== undefined) {
 				this.businessId = data.taskId
 				this.getTaskDetail()

+ 0 - 5
pages.json

@@ -210,11 +210,6 @@
   "condition": {
     "current": 0,
     "list": [
-      {
-        "name": "任务详情",
-        "path": "/page_task/task_details/task_details",
-        "query": "taskId=4278"
-      },
       {
         "name": "添加任务",
         "path": "/page_task/information/information",