Browse Source

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

ccj 2 years ago
parent
commit
e91bb9512f

+ 2 - 2
config/index.js

@@ -7,9 +7,9 @@ const dev = {
 	// baseUrlNew: 'http://192.168.1.122:8090/',
 	// baseUrlNew: 'http://192.168.110.82:8099/',
 	// baseUrlNew: 'http://192.168.110.202:8090/',
-	// baseUrlNew: 'http://192.168.110.138:8090/',
+	baseUrlNew: 'http://192.168.110.138:8090/',
 	// 上传图片的
-	baseUrlNew: 'https://api2.eliangeyun.com/',
+	// baseUrlNew: 'https://api2.eliangeyun.com/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 1 - 1
pages.json

@@ -1475,7 +1475,7 @@
 		}, {
 			"path": "pages/reimbursement/request_funds",
 			"style": {
-				"navigationBarTitleText": "",
+				"navigationBarTitleText": "收款",
 				"enablePullDownRefresh": false
 			}
 

+ 1 - 1
pages/clock/supp_clock.vue

@@ -166,7 +166,7 @@
 											url: '/pages/clock/the_clock?value=1'
 										})
 									} else {
-										that.$api.msg('提交失败')
+										// that.$api.msg('提交失败')
 									}
 								})
 						}

+ 5 - 1
pages/clock/the_clock.vue

@@ -247,6 +247,7 @@
 							that.detailData.compId = uni.getStorageSync('pcUserInfo').compId
 							that.detailData.commonId = uni.getStorageSync('pcUserInfo').userId
 							that.detailData.dept = uni.getStorageSync('pcUserInfo').deptName
+							that.detailData.deptId = uni.getStorageSync('pcUserInfo').deptId
 							that.detailData.phone = uni.getStorageSync('pcUserInfo').userMobilePhone
 							that.detailData.empName = uni.getStorageSync('userInfo').userName
 							that.detailData.clockType = that.typevalue
@@ -262,6 +263,8 @@
 									if (res.data.code == 200) {
 										that.$api.msg('提交成功')
 										that.value = 1
+
+										that.getList()
 									} else {
 										that.$api.msg('提交失败')
 									}
@@ -449,7 +452,8 @@
 		border-radius: 50rpx;
 	}
 
-	.offClockDate {
+	.offClockDate,
+	.toClockDate {
 		display: flex;
 		justify-content: center;
 	}

+ 0 - 1
pages/fuelfilling/the_fuel_filling.vue

@@ -140,7 +140,6 @@
 					compId: uni.getStorageSync('pcUserInfo').compId,
 					commonId: uni.getStorageSync('pcUserInfo').userId,
 				}).then(res => {
-					debugger
 					if (res.data.code == 200) {
 						if (type == 'down') {
 							this.mescroll.endSuccess();

+ 18 - 3
pages/reimbursement/request_funds.vue

@@ -1,5 +1,5 @@
 <template>
-	<view>
+	<view class="content">
 		<view class='wrap'>
 			<view class="xinxi" v-if="reType == 2 || expensesType == '2'" style="font-size: 28rpx; ">请款信息</view>
 			<view class="xinxi" v-if="reType == 1 || expensesType == '1'" style="font-size: 28rpx; ">收款信息</view>
@@ -77,7 +77,7 @@
 		</view>
 		<u-toast ref="uToast" />
 		<view class="bottom-btn">
-			<u-button type="primary" class="submit" hover-class="none" @click="submit()">提交</u-button>
+			<view @click="submit()" class="btn">提交</view>
 		</view>
 	</view>
 </template>
@@ -264,7 +264,6 @@
 				} else {
 					theInterface = '/expenseInfo/api/addInfo'
 				}
-				debugger
 				uni.showModal({
 					content: title,
 					showCancel: true,
@@ -452,4 +451,20 @@
 		display: flex;
 		z-index: 9999;
 	}
+
+	.content {
+		overflow: hidden;
+	}
+
+	.btn {
+		border-radius: 50rpx;
+		padding: 20rpx 0;
+		background: #22C572;
+		color: #fff;
+		font-size: 32rpx;
+		width: 100%;
+		box-sizing: border-box;
+		display: flex;
+		justify-content: center;
+	}
 </style>

+ 34 - 14
pages/reimbursement/the_reimbursement.vue

@@ -4,13 +4,10 @@
 			<view class='wrap' v-for="(item, index) in tableData" :key="index">
 				<view class="" style="display: flex;">
 					<view class="c-row top_type_left">
-						<!-- {{index}} -------- -->
-						<view class="title">{{item.purpose}}--
-							<view @click="requestFunds(1)" style="margin-left: 65px;margin-top: -19px;"
-								v-if="item.expensesType == '1'">收款</view>
-							<view @click="requestFunds(2)" style="margin-left: 65px;margin-top: -19px;"
-								v-else-if="item.expensesType == '2'">请款
-							</view>
+						<view class="title">{{item.purpose}}—{{item.expensesType=='1'?'收款':'请款'}}
+							<!-- <view @click="requestFunds(1)" v-if="item.expensesType == '1'">收款</view>
+							<view @click="requestFunds(2)" v-else-if="item.expensesType == '2'">请款
+							</view> -->
 						</view>
 					</view>
 					<view class="top_type_right">
@@ -53,8 +50,8 @@
 
 		<u-toast ref="uToast" />
 		<view class="bottom-btn">
-			<u-button type="primary" class="submit" hover-class="none" @click="requestFunds(1)">收款</u-button>
-			<u-button type="primary" class="submit" hover-class="none" @click="requestFunds(2)">请款</u-button>
+			<view class="btn" @click="requestFunds(1)">收款</view>
+			<view class="btn" @click="requestFunds(2)">请款</view>
 		</view>
 	</view>
 </template>
@@ -94,12 +91,17 @@
 		},
 		methods: {
 			getList() {
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
 				this.$api.doRequest('get', '/expenseInfo/selectInfo', {
 					pageSize: this.pageSize,
 					currentPage: this.currentPage,
 					compId: uni.getStorageSync('pcUserInfo').compId,
 				}).then(res => {
 					if (res.data.code == 200) {
+						uni.hideLoading()
 						if (res.data.data.records.length > 0) {
 							this.isLoadMore = false
 							this.loadStatus = 'loading'
@@ -214,13 +216,17 @@
 
 	.wenzi1 {
 		margin-right: 40rpx;
-		margin-top: 10rpx;
-		height: 50rpx;
-		width: 100rpx;
-		border-radius: 30rpx;
+		/* margin-top: 10rpx; */
+		/* height: 50rpx;
+		width: 100rpx; */
+		border-radius: 50rpx;
 		background-color: #ffffff;
-		text-align: center;
+		/* text-align: center; */
 		border: 2rpx solid #AFB3BF;
+		display: flex;
+		justify-content: center;
+		align-content: center;
+		padding: 10rpx 20rpx;
 	}
 
 	.audit {
@@ -268,4 +274,18 @@
 	.top_type_left {
 		width: 50%;
 	}
+
+	.bottom-btn {
+		display: flex;
+		justify-content: space-between;
+
+		.btn {
+			border-radius: 50rpx;
+			padding: 20rpx 120rpx;
+			background: #22C572;
+			color: #fff;
+			font-size: 32rpx;
+			box-sizing: border-box;
+		}
+	}
 </style>

+ 211 - 0
pages/task/audit/Issueandreceipt_task_approval.vue

@@ -242,6 +242,53 @@
 					</view>
 
 				</view>
+				<view class="content2">
+					<view class="title row">
+						流程
+					</view>
+					<view v-for="(item,index) in auditList" :key='index' class="audit">
+						<view class="row">
+							<view class="left">
+								<view class="item1">
+									<view class="item-content">{{item.operatorTitle}}</view> 
+									<view v-if="item.status=='success'" class='status success'>
+										<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
+									</view>
+									<view v-if="item.status=='error'" class='status error'>
+										<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
+									</view>
+									<view  v-if="item.status=='question'" class='status question'>
+										<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
+									</view>
+								</view>
+								<view class="item2">
+									<view class="name">{{item.desc}}
+									</view>
+									<view class='time'>{{item.updateDate}}</view>
+									<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+									<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+									<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
+									<!-- <view  class="status success">吕波(已审核)</view> -->
+								</view>
+							</view>
+							<view v-if='item.commonStaffs1&&item.commonStaffs1.length>0' class="right">
+								<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+							</view>
+						</view>
+						<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
+							<view class='row2'>
+								<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
+									<view class="item-content">
+										<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+										<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+									</view> 
+									<view class="name">{{item1.staffName}}</view> 
+								</view>
+							</view>
+						</view>
+						<view class="row-line" v-if="index!= auditList.length - 1"></view>
+					</view>
+				</view>
 			</u-form>
 		</view>
 		<view v-if='show1' class="shade">
@@ -291,6 +338,7 @@
 				type: '移库',
 				show: false,
 				show1: false,
+				auditList:[],
 				auditMind: '',
 				pjList: [{
 						type: '一等品'
@@ -329,6 +377,9 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
+			showcontent(item){
+				item.showflow=!item.showflow
+			},
 			getList() {
 				this.$api.doRequest('get', '/inOutWarehouseTask/getTask', {
 					id: this.id
@@ -380,6 +431,64 @@
 						})
 					}
 				})
+				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
+					businessCode: 'INOUTTASK-TASK-APPROVE',
+					tmpCompId: uni.getStorageSync('pcUserInfo').compId
+				}).then(res1 => {
+					this.$api.doRequest('get', '/commonUser/getHis', {
+						workflowId: res1.data.data[0].id,
+						businessKey: this.id
+					}).then(response => {
+						// uni.hideLoading()
+						for (let i = 0; i < response.data.data.length; i++) {
+							
+							this.$set(response.data.data[i],'status','question')
+							console.log(response.data.data[i].workflowHistoricTasks,i)
+							if(response.data.data[i].commonStaffs&&response.data.data[i].commonStaffs.length>0){
+								response.data.data[i].showflow=false
+								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+								response.data.data[i].operatorName=response.data.data[i].desc
+								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
+										// response.data.data[i].status='question'
+										this.$set(response.data.data[i],'status','question')
+									}else{
+										this.$set(response.data.data[i],'status','success')
+										// response.data.data[i].status='success'
+									}
+									response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
+									var workflowdata=response.data.data[i].workflowHistoricTasks
+									var staffsdata=response.data.data[i].commonStaffs
+									for (let q = 0; q < staffsdata.length; q++) {
+										staffsdata[q].status=false
+										staffsdata[q].staffTitle=staffsdata[q].staffName
+										for (let k = 0; k < workflowdata.length; k++) {
+											if(staffsdata[q].staffId==workflowdata[k].operatorId){
+												staffsdata[q].status=true
+											}
+										}
+									}
+								}
+								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
+							}else{
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									this.$set(response.data.data[i],'status','success')
+									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
+									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
+								}else{
+									this.$set(response.data.data[i],'status','question')
+									// response.data.data[i].status='question'
+									response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+									response.data.data[i].operatorName=response.data.data[i].desc
+								}
+							}
+							
+						}
+						console.log(response.data.data)
+						this.auditList = response.data.data
+					})
+				})
 			},
 			pjPicker(e) {
 				this.OutList.grade = this.pjList[e[0]].type
@@ -1023,4 +1132,106 @@
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 	}
+	.content2 {
+		background: white;
+		margin: 20rpx 0;
+		border-radius: 20rpx;
+		padding: 20rpx;
+	
+		.row {
+			display: flex;
+			justify-content: space-between;
+	
+			.left {
+				display: flex;
+				align-items: center;
+				.item1{
+					position:relative;
+					.item-content{
+						background:#22C572;
+					    width: 50px;
+					    height: 50px;
+					    border-radius: 50%;
+					    line-height: 50px;
+					    text-align: center;
+					    font-size: 20px;
+					    color: #fff;
+					}
+					.status{
+						position:absolute;
+						border-radius: 50%;
+						padding: 1px 2px;
+						right: 0;
+						bottom: 0;
+						background:#fff;
+					}
+					.status.success{
+						border:1px solid rgb(60, 156, 255);
+					}
+					.status.error{
+						border:1px solid rgb(245, 108, 108);
+					}
+					.status.question{
+						border:1px solid #f9ae3d;
+					}
+				}
+				.item2 {
+					margin-left: 20rpx;
+	
+					.name {
+						font-size: 32rpx;
+						font-weight: 800;
+					}
+	
+					.status.success {
+						color: #6CC48C;
+					}
+					.status.error {
+						color: rgb(245, 108, 108);
+					}
+					.status.question {
+						color: #f9ae3d;
+					}
+					.time{
+						color:#999;
+					}
+				}
+			}
+	
+			.right {
+				color: #B0B1B5;
+				margin-top: 10px;
+			}
+		}
+		.row2{
+			display:flex;
+			.item-content{
+				background:#22C572;
+			    width: 30px;
+			    height: 30px;
+			    border-radius: 50%;
+			    line-height: 30px;
+			    text-align: center;
+			    font-size: 12px;
+			    color: #fff;
+				padding:0 2px;
+				margin:0 auto;
+			}
+			.status{
+				position:absolute;
+				top:0;right:0;
+			}
+		}
+		.row-line {
+			width: 1px;
+			height: 30px;
+			background: #F2F2F2;
+			margin: 10rpx 50rpx;
+	
+		}
+	
+		.audit {
+			margin-top: 20rpx;
+		}
+	}
 </style>

+ 15 - 60
pages/task/audit/acquisitioncontract.vue

@@ -121,13 +121,13 @@
 						<view class="left">
 							<view class="item1">
 								<view class="item-content">{{item.operatorTitle}}</view> 
-								<view v-if="item.status='success'" class='status success'>
+								<view v-if="item.status=='success'" class='status success'>
 									<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
 								</view>
-								<view v-if="item.status='error'" class='status error'>
+								<view v-if="item.status=='error'" class='status error'>
 									<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
 								</view>
-								<view  v-if="item.status='question'" class='status question'>
+								<view  v-if="item.status=='question'" class='status question'>
 									<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
 								</view>
 							</view>
@@ -135,72 +135,29 @@
 								<view class="name">{{item.desc}}
 								</view>
 								<view class='time'>{{item.updateDate}}</view>
-								<view :class="{'color':item.approved ? 'green':'red'}" class="status">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view>
+								<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+								<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+								<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
 								<!-- <view  class="status success">吕波(已审核)</view> -->
 							</view>
 						</view>
 						<view v-if='item.commonStaffs1' class="right">
-							<u-icon @click='showcontent(item)' :name="showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+							<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
 						</view>
 					</view>
 					<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
 						<view class='row2'>
 							<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
-								<view class="item-content">{{item1.staffTitle}}</view> 
+								<view class="item-content">
+									<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+									<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+								</view> 
 								<view class="name">{{item1.staffName}}</view> 
 							</view>
 						</view>
 					</view>
 					<view class="row-line" v-if="index!= auditList.length - 1"></view>
 				</view>
-			
-	<!-- 		<view  class="audit">
-				<view>
-					<view class="row">
-						<view class="left">
-							<view class="item1">
-								<view class="item-content">长江</view> 
-								<view class='status question'>
-									<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
-								</view>
-								
-							</view>
-							<view class="item2">
-								<view class="name">单证中心审核
-								</view>
-								<view class='time'>2022-10-14 15:17:15</view>
-								<view  class="status">共3人</view>
-							</view>
-						</view>
-						<view class="right">
-							<u-icon @click='showcontent' :name="showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
-						</view>
-					</view>
-					
-					
-				</view>
-			 	
-			 	<view class="row-line"></view>
-				<view class="row">
-					<view class="left">
-						<view class="item1">
-							<view class="item-content">大光</view> 
-							<view class='status error'>
-								<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
-							</view>
-							
-						</view>
-						<view class="item2">
-							<view class="name">决策人审核
-
-							</view>
-							<view class='time'>2022-10-14 15:17:15</view>
-							<view  class="status error">杜大光(已驳回)</view>
-							
-						</view>
-					</view>
-				</view>
-			 </view> -->
 			</view>
 		</u-form>
 		<view style='padding:10px;' class='flex bottom-btn'>
@@ -324,12 +281,14 @@
 					}).then(response => {
 						// uni.hideLoading()
 						for (let i = 0; i < response.data.data.length; i++) {
+							this.$set(response.data.data[i],'status','question')
 							console.log(response.data.data[i].workflowHistoricTasks,i)
 							if(response.data.data[i].commonStaffs){
+								response.data.data[i].showflow=false
 								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
 								response.data.data[i].operatorName=response.data.data[i].desc
 								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
-								if(response.data.data[i].workflowHistoricTasks){
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
 									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
 										// response.data.data[i].status='question'
 										this.$set(response.data.data[i],'status','question')
@@ -342,7 +301,6 @@
 									var staffsdata=response.data.data[i].commonStaffs
 									for (let q = 0; q < staffsdata.length; q++) {
 										staffsdata[q].status=false
-										staffsdata[q].showflow=!staffsdata[q].showflow
 										staffsdata[q].staffTitle=staffsdata[q].staffName
 										for (let k = 0; k < workflowdata.length; k++) {
 											if(staffsdata[q].staffId==workflowdata[k].operatorId){
@@ -353,10 +311,7 @@
 								}
 								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
 							}else{
-								console.log(111111111)
-								if(response.data.data[i].workflowHistoricTasks){
-									console.log(222222)
-									debugger
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
 									this.$set(response.data.data[i],'status','success')
 									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
 									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName

+ 1 - 0
pages/task/audit/purchase_settlement_approval.vue

@@ -119,6 +119,7 @@
 			this.getList()
 		},
 		methods: {
+			
 			getList(id) {
 				this.$api.doRequest('get', '/stockPurchaseReceiptReport/getInfo', {
 					id: this.id

+ 210 - 0
pages/task/audit/warehouse_approval.vue

@@ -71,6 +71,53 @@
 				</view>
 			</view>
 		</view>
+		<view class="content3">
+			<view class="title row">
+				流程
+			</view>
+			<view v-for="(item,index) in auditList" :key='index' class="audit">
+				<view class="row">
+					<view class="left">
+						<view class="item1">
+							<view class="item-content">{{item.operatorTitle}}</view> 
+							<view v-if="item.status=='success'" class='status success'>
+								<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
+							</view>
+							<view v-if="item.status=='error'" class='status error'>
+								<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
+							</view>
+							<view  v-if="item.status=='question'" class='status question'>
+								<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
+							</view>
+						</view>
+						<view class="item2">
+							<view class="name">{{item.desc}}
+							</view>
+							<view class='time'>{{item.updateDate}}</view>
+							<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+							<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+							<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
+							<!-- <view  class="status success">吕波(已审核)</view> -->
+						</view>
+					</view>
+					<view v-if='item.commonStaffs1' class="right">
+						<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+					</view>
+				</view>
+				<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
+					<view class='row2'>
+						<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
+							<view class="item-content">
+								<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+								<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+							</view> 
+							<view class="name">{{item1.staffName}}</view> 
+						</view>
+					</view>
+				</view>
+				<view class="row-line" v-if="index!= auditList.length - 1"></view>
+			</view>
+		</view>
 		<view v-if='show1' class="shade">
 			<view class="wrap">
 				<view class="alert-top">
@@ -142,6 +189,7 @@
 				rejectInfo1: "",
 				id: 0,
 				list: {},
+				auditList:[],
 				pcUserInfo: uni.getStorageSync('pcUserInfo'),
 				switchVal: false,
 				contractNoList: []
@@ -174,6 +222,9 @@
 				this.show1 = false
 				this.show2 = false
 			},
+			showcontent(item){
+				item.showflow=!item.showflow
+			},
 			getData() {
 				var data = []
 				this.$api.doRequest('get', '/purchasePrice/purchasePriceLook', {
@@ -183,6 +234,63 @@
 						this.list = res.data.data
 					}
 				})
+				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
+					businessCode: 'PROCUREMENT-PRICE-APPROVE',
+					tmpCompId: uni.getStorageSync('pcUserInfo').compId
+				}).then(res1 => {
+					this.$api.doRequest('get', '/commonUser/getHis', {
+						workflowId: res1.data.data[0].id,
+						businessKey: this.id
+					}).then(response => {
+						// uni.hideLoading()
+						for (let i = 0; i < response.data.data.length; i++) {
+							this.$set(response.data.data[i],'status','question')
+							console.log(response.data.data[i].workflowHistoricTasks,i)
+							if(response.data.data[i].commonStaffs){
+								response.data.data[i].showflow=false
+								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+								response.data.data[i].operatorName=response.data.data[i].desc
+								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
+										// response.data.data[i].status='question'
+										this.$set(response.data.data[i],'status','question')
+									}else{
+										this.$set(response.data.data[i],'status','success')
+										// response.data.data[i].status='success'
+									}
+									response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
+									var workflowdata=response.data.data[i].workflowHistoricTasks
+									var staffsdata=response.data.data[i].commonStaffs
+									for (let q = 0; q < staffsdata.length; q++) {
+										staffsdata[q].status=false
+										staffsdata[q].staffTitle=staffsdata[q].staffName
+										for (let k = 0; k < workflowdata.length; k++) {
+											if(staffsdata[q].staffId==workflowdata[k].operatorId){
+												staffsdata[q].status=true
+											}
+										}
+									}
+								}
+								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
+							}else{
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									this.$set(response.data.data[i],'status','success')
+									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
+									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
+								}else{
+									this.$set(response.data.data[i],'status','question')
+									// response.data.data[i].status='question'
+									response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+									response.data.data[i].operatorName=response.data.data[i].desc
+								}
+							}
+							
+						}
+						console.log(response.data.data)
+						this.auditList = response.data.data
+					})
+				})
 			},
 			confirm(item) {
 				this.list.contractNo = item[0].value
@@ -480,4 +588,106 @@
 		right: 0;
 		color: #22C572;
 	}
+	.content3 {
+		background: white;
+		margin: 20rpx 0;
+		border-radius: 20rpx;
+		padding: 20rpx;
+	
+		.row {
+			display: flex;
+			justify-content: space-between;
+	
+			.left {
+				display: flex;
+				align-items: center;
+				.item1{
+					position:relative;
+					.item-content{
+						background:#22C572;
+					    width: 50px;
+					    height: 50px;
+					    border-radius: 50%;
+					    line-height: 50px;
+					    text-align: center;
+					    font-size: 20px;
+					    color: #fff;
+					}
+					.status{
+						position:absolute;
+						border-radius: 50%;
+						padding: 1px 2px;
+						right: 0;
+						bottom: 0;
+						background:#fff;
+					}
+					.status.success{
+						border:1px solid rgb(60, 156, 255);
+					}
+					.status.error{
+						border:1px solid rgb(245, 108, 108);
+					}
+					.status.question{
+						border:1px solid #f9ae3d;
+					}
+				}
+				.item2 {
+					margin-left: 20rpx;
+	
+					.name {
+						font-size: 32rpx;
+						font-weight: 800;
+					}
+	
+					.status.success {
+						color: #6CC48C;
+					}
+					.status.error {
+						color: rgb(245, 108, 108);
+					}
+					.status.question {
+						color: #f9ae3d;
+					}
+					.time{
+						color:#999;
+					}
+				}
+			}
+	
+			.right {
+				color: #B0B1B5;
+				margin-top: 10px;
+			}
+		}
+		.row2{
+			display:flex;
+			.item-content{
+				background:#22C572;
+			    width: 30px;
+			    height: 30px;
+			    border-radius: 50%;
+			    line-height: 30px;
+			    text-align: center;
+			    font-size: 12px;
+			    color: #fff;
+				padding:0 2px;
+				margin:0 auto;
+			}
+			.status{
+				position:absolute;
+				top:0;right:0;
+			}
+		}
+		.row-line {
+			width: 1px;
+			height: 30px;
+			background: #F2F2F2;
+			margin: 10rpx 50rpx;
+	
+		}
+	
+		.audit {
+			margin-top: 20rpx;
+		}
+	}
 </style>