Browse Source

失信人员信息

shish 1 year ago
parent
commit
5222c99620
1 changed files with 23 additions and 74 deletions
  1. 23 74
      hdApp/src/admin/ll/detail.vue

+ 23 - 74
hdApp/src/admin/ll/detail.vue

@@ -2,96 +2,46 @@
 	<view class="app-content">
 	<view class="app-content">
 		<view class="info-content_box">
 		<view class="info-content_box">
 			<view class="title">
 			<view class="title">
-				制单信息
+				失信人员信息
 			</view>
 			</view>
 			<view class="bills-info_box content-box">
 			<view class="bills-info_box content-box">
 				<view class="order-info_box">
 				<view class="order-info_box">
-					<view>制单日期:</view>
-					<view></view>
+					<view>手机号码:</view>
+					<view>{{ userInfo.mobile }}</view>
 				</view>
 				</view>
 				<view class="order-info_box">
 				<view class="order-info_box">
-					<view>制单编号:</view>
-					<view>{{ detailInfo.orderSn }}</view>
+					<view>微信号码:</view>
+					<view>{{ userInfo.wx }}</view>
 				</view>
 				</view>
-				<view class="order-info_box" v-if="detailInfo.status==1">
-					<view>制作人员:</view>
-					<view>{{detailInfo.finishStaffName}}</view>
+				<view class="order-info_box" v-if="userInfo.status==1">
+					<view>身份证号:</view>
+					<view>{{ userInfo.no }}</view>
 				</view>
 				</view>
 				<view class="order-info_box">
 				<view class="order-info_box">
-					<view>制单状态:</view>
-					<view>{{ detailInfo.status==0?'待完成':detailInfo.status==1?'已完成':detailInfo.status==2?'已取消':'待完成' }}</view>
+					<view>失信次数:</view>
+					<view>{{ userInfo.breakNum }}</view>
 				</view>
 				</view>
 				<view class="order-info_box">
 				<view class="order-info_box">
-					<view>订单金额:</view>
-					<view>369</view>
+					<view>失信金额:</view>
+					<view>{{ userInfo.breakAmount }}</view>
 				</view>
 				</view>
-			</view>
-			<view class="flex-space title" v-if="!$util.isEmpty(goodsInfo)"> 作品 </view>
-			<view class="module-com content-box" v-if="!$util.isEmpty(goodsInfo)">
-				<view class="commodity-view">
-					<view class="commodity-list">
-						<view class="commodity-item" >
-							<image class="item-icon" :src="goodsInfo.cover" @click="pageTo({url:'/admin/goods/detail',query:{id: goodsInfo.id}})" ></image>
-							<view class="item-info">
-								<view class="info-line">
-									<text class="item-name">{{ goodsInfo.name }}</text>
-									<text class="item-price">
-										<text class="unit"></text>
-										<text class="price">
-											<text>{{ detailInfo.num }}份</text>
-										</text>
-									</text>
-								</view>
-							</view>
-						</view>
-					</view>
+				<view class="order-info_box">
+					<view>最近失信:</view>
+					<view>{{ userInfo.lastDate }}</view>
 				</view>
 				</view>
 			</view>
 			</view>
 
 
-			<view class="flex-space title"> 使用花材 </view>
-			<view class="module-com content-box">
-				<view class="commodity-view">
-					<view class="commodity-list">
-						<view v-for="(s, idx) in workItem" :key="idx" class="commodity-item" >
-							<image class="item-icon" :src="s.cover" @click="pageTo({url:'/admin/item/detail',query:{id: s.itemId}})" ></image>
-							<view class="item-info">
-								<view class="info-line">
-									<text class="item-name">{{ s.name }}</text>
-									<text class="item-price">
-										<text class="unit"></text>
-										<text class="price">
-											<text>{{s.num}}{{s.unitName}}</text>
-											<text></text>
-										</text>
-									</text>
-								</view>
-								<view class="info-line">
-									<text class="item-type">{{s.ratio}}{{s.smallName}}/{{s.bigName}}</text>
-								</view>
-							</view>
-						</view>
-					</view>
-					<view class="summary-bar">
-						<view class="operate-view" ></view>
-						<view class="describe-view">
-							<text>
-								<text> </text>
-							</text>
-						</view>
-					</view>
-				</view>
-			</view>
-			<view v-if="detailInfo.remark!=''" class="content-box price-detail">
+			<view v-if="userInfo.remark!=''" class="content-box price-detail">
 				<div class="module-com input-line-wrap">
 				<div class="module-com input-line-wrap">
 					<tui-list-cell class="line-cell" :hover="false">
 					<tui-list-cell class="line-cell" :hover="false">
 						<div class="tui-title">备注</div>
 						<div class="tui-title">备注</div>
-						<div>{{ detailInfo.remark }}</div>
+						<div>{{ userInfo.remark }}</div>
 					</tui-list-cell>
 					</tui-list-cell>
 				</div>
 				</div>
 			</view>
 			</view>
 		</view>
 		</view>
 		<div class="app-footer">
 		<div class="app-footer">
-			<button class="admin-button-com bule" @click="">打印</button>
+			<button class="admin-button-com bule" @click="share">分享</button>
 		</div>
 		</div>
 	</view>
 	</view>
 </template>
 </template>
@@ -105,9 +55,7 @@ export default {
 	mixins: [],
 	mixins: [],
 	data() {
 	data() {
 		return {
 		return {
-			detailInfo:{},
-			workItem:[],
-			goodsInfo:[]
+			userInfo:{}
 		};
 		};
 	},
 	},
 	onPullDownRefresh() {
 	onPullDownRefresh() {
@@ -119,11 +67,12 @@ export default {
 		...mapGetters({ loginInfo: "getLoginInfo" }),
 		...mapGetters({ loginInfo: "getLoginInfo" }),
 	},
 	},
 	methods: {
 	methods: {
+		share(){
+			this.$msg('开发中')
+		},
 		async init() {
 		async init() {
 			const res = await getUserDetail({ id: this.option.id })
 			const res = await getUserDetail({ id: this.option.id })
-			this.detailInfo = res.data.info;
-			this.workItem = res.data.item
-			this.goodsInfo = res.data.goods
+			this.userInfo = res.data.user ? res.data.user : {}
 		}
 		}
 	}
 	}
 };
 };