shish 1 жил өмнө
parent
commit
02d4734e66

+ 4 - 4
hdApp/src/admin/ll/components/event.vue

@@ -25,7 +25,7 @@
         </view>
         <view class="list-bottom">
             <view class="list-button">
-                <button class="admin-button-com bule" @click.stop="share">分享</button>
+                <button class="admin-button-com bule" @click.stop="getUser(item)">失信人员详情</button>
             </view>
         </view>
     </view>
@@ -45,9 +45,9 @@ export default {
 		};
 	},
 	methods: {
-    share(){
-      this.$msg('开发中')
-    }
+		getUser(info){
+			this.$util.pageTo({url: '/admin/ll/userDetail?id='+info.userId})
+		}
 	}
 };
 </script>

+ 34 - 10
hdApp/src/admin/ll/eventDetail.vue

@@ -3,11 +3,27 @@
 		<view class="info-content_box">
 			<view class="title">
 				信息
-				<button class="admin-button-com bule" style="float:right;font-weight:normal;" @click="">添加手机</button>
-				<button class="admin-button-com bule" style="float:right;font-weight:normal;margin-right:8upx;" @click="">添加微信</button>
-				<button class="admin-button-com bule" style="float:right;font-weight:normal;margin-right:8upx;" @click="">添加身份证</button>
+				<button class="admin-button-com bule" style="float:right;font-weight:normal;" @click="showAddMobile=true">添加手机</button>
+				<button class="admin-button-com bule" style="float:right;font-weight:normal;margin-right:8upx;" @click="showAddWx=true">添加微信</button>
+				<button class="admin-button-com bule" style="float:right;font-weight:normal;margin-right:8upx;" @click="showAddNo=true">添加身份证</button>
+			</view>
+			<view v-if="showAddMobile" style="display:flex;margin:10upx 0 10upx 0;">
+				<input v-model="mobile" name="mobile" type="number" style="width:580upx;border:2upx solid #bbb8b8;margin-right:10upx;" placeholder="请填写手机号" />
+				<button class="admin-button-com bule" @click="">添加</button>
+			</view>
+			<view v-if="showAddWx" style="display:flex;margin:10upx 0 10upx 0;">
+				<input v-model="wx" name="wx" type="text" style="width:580upx;border:2upx solid #bbb8b8;margin-right:10upx;" placeholder="请填写微信" />
+				<button class="admin-button-com bule" @click="">添加</button>
+			</view>
+			<view v-if="showAddNo" style="display:flex;margin:10upx 0 10upx 0;">
+				<input v-model="no" name="no" type="text" style="width:580upx;border:2upx solid #bbb8b8;margin-right:10upx;" placeholder="请填写身份证号" />
+				<button class="admin-button-com bule" @click="">添加</button>
 			</view>
 			<view class="bills-info_box content-box">
+				<view class="order-info_box">
+					<view>人员名称:</view>
+					<view>{{ eventInfo.name }}</view>
+				</view>
 				<view class="order-info_box">
 					<view>手机号码:</view>
 					<view>{{ eventInfo.mobile }}</view>
@@ -22,8 +38,9 @@
 				</view>
 				<view class="order-info_box">
 					<view>失信证据:</view>
-					<view @click="showImg()">
-						<image :src="item" v-for="(item, index) in eventInfo.proveSmall" mode="widthFix" style="width:60upx;height:60upx;"></image>
+					<view>
+						<image :src="item" v-for="(item, index) in eventInfo.proveSmall" mode="widthFix" 
+						style="width:90upx;height:90upx;display:inline-block;float:right;margin-left:10upx;" @click="showImg(index)"></image>
 					</view>
 				</view>
 			</view>
@@ -36,9 +53,10 @@
 					</tui-list-cell>
 				</div>
 			</view>
+
 		</view>
 		<div class="app-footer">
-			<button class="admin-button-com bule" @click="getUser">失信人员信息</button>
+			<button class="admin-button-com bule" @click="getUser" style="width:240upx;">失信人员详情</button>
 		</div>
 	</view>
 </template>
@@ -52,7 +70,13 @@ export default {
 	mixins: [],
 	data() {
 		return {
-			eventInfo:{}
+			eventInfo:{},
+			mobile:'',
+			wx:'',
+			no:'',
+			showAddMobile:false,
+			showAddWx:false,
+			showAddNo:false
 		};
 	},
 	onPullDownRefresh() {
@@ -64,11 +88,11 @@ export default {
 		...mapGetters({ loginInfo: "getLoginInfo" }),
 	},
 	methods: {
-		goUser(){
+		getUser(){
 			this.$util.pageTo({url: '/admin/ll/userDetail?id='+this.eventInfo.userId})
 		},
-		showImg(){
-			uni.previewImage({urls: this.eventInfo.proveBig})
+		showImg(index){
+			uni.previewImage({current:index,urls:this.eventInfo.proveBig})
 		},
 		share(){
 			this.$msg('开发中')