dedsudiyu před 4 dny
rodič
revize
5543762ee9

+ 2 - 1
api/request/config.js

@@ -3,6 +3,7 @@ const config = {
 	
 	// base_url: 'http://192.168.1.43/api', //43服务器
 	// base_url: 'http://192.168.1.8/api',//1.8服务器
+	base_url: 'http://192.168.1.88/labSystem',//1.88服务器
 	// base_url: 'http://192.168.1.9:8080',//柴
 	// base_url: 'http://192.168.1.24:8080',//林总
 	// base_url: 'http://192.168.1.7:8080',//刘波
@@ -13,7 +14,7 @@ const config = {
 	// base_url: 'http://192.168.1.29:8080',//何成
 	// base_url: 'https://demo.zjznai.com/xzgd/',
 	// base_url: 'https://lab.zjznai.com/labNhSystem/',//43服务器高升测试
-	base_url: 'https://lab.zjznai.com/labTest/',//1.8外网
+	// base_url: 'https://lab.zjznai.com/labTest/',//1.8外网
 	// base_url: 'https://lab.zjznai.com/labapp/',//43服务器线上
 	// base_url: 'https://lab.zjznai.com/appTest/',//88服务器线上
 	// base_url: 'https://lab.zjznai.com/labSystem/', //矿大地址

+ 152 - 152
pages.json

@@ -300,170 +300,170 @@
 				}
 			]
 		},
-		// {
-		// 	/* 供应商端分包 */
-		// 	"root": "pages_supplier", //分包根路径
-		// 	"name": "supplier", //分包名字可写可不写
-		// 	"pages": [
-		// 		/* 待办事项 */
-		// 		{
-		// 			"path": "views/backlogManage/backlogManage",
-		// 			"style": {
-		// 				"navigationBarTitleText": "待办清单"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/backlogManage/backlogManageAirDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "配送申请"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/backlogManage/backlogManageRecycleDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "回收申请"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/backlogManage/backlogManageIssueDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "货品问题"
-		// 			}
-		// 		},
+		{
+			/* 供应商端分包 */
+			"root": "pages_supplier", //分包根路径
+			"name": "supplier", //分包名字可写可不写
+			"pages": [
+				/* 待办事项 */
+				{
+					"path": "views/backlogManage/backlogManage",
+					"style": {
+						"navigationBarTitleText": "待办清单"
+					}
+				},
+				{
+					"path": "views/backlogManage/backlogManageAirDetail",
+					"style": {
+						"navigationBarTitleText": "配送申请"
+					}
+				},
+				{
+					"path": "views/backlogManage/backlogManageRecycleDetail",
+					"style": {
+						"navigationBarTitleText": "回收申请"
+					}
+				},
+				{
+					"path": "views/backlogManage/backlogManageIssueDetail",
+					"style": {
+						"navigationBarTitleText": "货品问题"
+					}
+				},
 
-		// 		/* 气瓶管理 */
-		// 		{
-		// 			"path": "views/gasManage/gasManageDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "气瓶详情"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/gasManage/gasManageAdd",
-		// 			"style": {
-		// 				"navigationBarTitleText": "新增气瓶"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/gasManage/gasManage",
-		// 			"style": {
-		// 				"navigationBarTitleText": "气瓶管理"
-		// 			}
-		// 		},
-		// 		/* 运输车辆 */
-		// 		{
-		// 			"path": "views/transportCar/transportCar",
-		// 			"style": {
-		// 				"navigationBarTitleText": "运输车辆管理"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/transportCar/transportCarDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "查看运输车辆"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/transportCar/transportCarAdd",
-		// 			"style": {
-		// 				"navigationBarTitleText": "新增运输车辆"
-		// 			}
-		// 		},
+				/* 气瓶管理 */
+				{
+					"path": "views/gasManage/gasManageDetail",
+					"style": {
+						"navigationBarTitleText": "气瓶详情"
+					}
+				},
+				{
+					"path": "views/gasManage/gasManageAdd",
+					"style": {
+						"navigationBarTitleText": "新增气瓶"
+					}
+				},
+				{
+					"path": "views/gasManage/gasManage",
+					"style": {
+						"navigationBarTitleText": "气瓶管理"
+					}
+				},
+				/* 运输车辆 */
+				{
+					"path": "views/transportCar/transportCar",
+					"style": {
+						"navigationBarTitleText": "运输车辆管理"
+					}
+				},
+				{
+					"path": "views/transportCar/transportCarDetail",
+					"style": {
+						"navigationBarTitleText": "查看运输车辆"
+					}
+				},
+				{
+					"path": "views/transportCar/transportCarAdd",
+					"style": {
+						"navigationBarTitleText": "新增运输车辆"
+					}
+				},
 
 
 
 
-		// 		/* 运输人员 */
-		// 		{
-		// 			"path": "views/transportPerson/transportPersonDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "查看运输人员"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/transportPerson/transportPersonAdd",
-		// 			"style": {
-		// 				"navigationBarTitleText": "新增运输人员"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/transportPerson/transportPerson",
-		// 			"style": {
-		// 				"navigationBarTitleText": "运输人员管理"
-		// 			}
-		// 		},
-		// 		/* 供气回收记录 */
-		// 		{
-		// 			"path": "views/gasRecycle/gasRecycleAirDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "配送申请"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/gasRecycle/gasRecycleRecycleDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "回收申请"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/gasRecycle/gasRecycleIssueDetail",
-		// 			"style": {
-		// 				"navigationBarTitleText": "货品问题"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/gasRecycle/gasRecycle",
-		// 			"style": {
-		// 				"navigationBarTitleText": "供气回收记录"
-		// 			}
-		// 		},
+				/* 运输人员 */
+				{
+					"path": "views/transportPerson/transportPersonDetail",
+					"style": {
+						"navigationBarTitleText": "查看运输人员"
+					}
+				},
+				{
+					"path": "views/transportPerson/transportPersonAdd",
+					"style": {
+						"navigationBarTitleText": "新增运输人员"
+					}
+				},
+				{
+					"path": "views/transportPerson/transportPerson",
+					"style": {
+						"navigationBarTitleText": "运输人员管理"
+					}
+				},
+				/* 供气回收记录 */
+				{
+					"path": "views/gasRecycle/gasRecycleAirDetail",
+					"style": {
+						"navigationBarTitleText": "配送申请"
+					}
+				},
+				{
+					"path": "views/gasRecycle/gasRecycleRecycleDetail",
+					"style": {
+						"navigationBarTitleText": "回收申请"
+					}
+				},
+				{
+					"path": "views/gasRecycle/gasRecycleIssueDetail",
+					"style": {
+						"navigationBarTitleText": "货品问题"
+					}
+				},
+				{
+					"path": "views/gasRecycle/gasRecycle",
+					"style": {
+						"navigationBarTitleText": "供气回收记录"
+					}
+				},
 
 
 
-		// 		/* 个人中心 */
+				/* 个人中心 */
 
-		// 		{
-		// 			"path": "views/mine/changePassword",
-		// 			"style": {
-		// 				"navigationBarTitleText": "修改密码"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/mine/mine",
-		// 			"style": {
-		// 				"navigationBarTitleText": "资料信息"
-		// 			}
-		// 		},
+				{
+					"path": "views/mine/changePassword",
+					"style": {
+						"navigationBarTitleText": "修改密码"
+					}
+				},
+				{
+					"path": "views/mine/mine",
+					"style": {
+						"navigationBarTitleText": "资料信息"
+					}
+				},
 
-		// 		/* 注册 */
+				/* 注册 */
 
-		// 		{
-		// 			"path": "views/register/forgotPassword", //忘记密码
-		// 			"style": {
-		// 				"navigationBarTitleText": "密码重置申请"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/register/registerSuccess", //注册
-		// 			"style": {
-		// 				"navigationBarTitleText": "申请入驻"
-		// 			}
-		// 		},
+				{
+					"path": "views/register/forgotPassword", //忘记密码
+					"style": {
+						"navigationBarTitleText": "密码重置申请"
+					}
+				},
+				{
+					"path": "views/register/registerSuccess", //注册
+					"style": {
+						"navigationBarTitleText": "申请入驻"
+					}
+				},
 
-		// 		{
-		// 			"path": "views/register/register", //注册
-		// 			"style": {
-		// 				"navigationBarTitleText": "注册"
-		// 			}
-		// 		},
-		// 		{
-		// 			"path": "views/register/registerTow", //注册
-		// 			"style": {
-		// 				"navigationBarTitleText": "注册"
-		// 			}
-		// 		}
-		// 	]
-		// },
+				{
+					"path": "views/register/register", //注册
+					"style": {
+						"navigationBarTitleText": "注册"
+					}
+				},
+				{
+					"path": "views/register/registerTow", //注册
+					"style": {
+						"navigationBarTitleText": "注册"
+					}
+				}
+			]
+		},
 		{
 			/* 学生端分包 */
 			"root": "pages_student", //分包根路径

+ 18 - 0
pages/api/index.js

@@ -562,4 +562,22 @@ export const systemUserGetPost = (data) => {
 		method: 'POST',
 		data: { ...data }
 	})
+};
+
+//供应商-待办事项-首页列表
+export const storageListTaskIndex  = (data) => {
+    return apiResquest({
+        url: `/airbottle/storage/listTaskIndex`,
+        method: 'GET',
+        data: data,
+    })
+};
+
+//根据登录用户获取供应商详细信息
+export const supplierDetail  = (data) => {
+    return apiResquest({
+        url: `/airbottle/supplier/detail`,
+        method: 'GET',
+        data: data,
+    })
 };

+ 7 - 2
pages/views/home/home.vue

@@ -1,7 +1,8 @@
 <template>
 	<view id="home">
-		<teacherHome class="flex-box-page" v-if="userType==1"></teacherHome>
-		<pupilHome class="flex-box-page" v-if="userType==2"></pupilHome>
+		<!-- <teacherHome class="flex-box-page" v-if="userType==1"></teacherHome>
+		<pupilHome class="flex-box-page" v-if="userType==2"></pupilHome> -->
+		<supplierWorkbench class="flex-box-page"></supplierWorkbench>
 	</view>
 </template>
 <script>
@@ -14,11 +15,15 @@
 	import {
 		pupilHome
 	} from '@/pages/views/pupilPage/pupilHome'
+	import {
+		supplierWorkbench
+	} from '@/pages/views/supplierWorkbenchPage/supplierWorkbench'
 	export default {
 		name: "home",
 		components: {
 			teacherHome,
 			pupilHome,
+			supplierWorkbench,
 		},
 		data() {
 			return {

+ 87 - 0
pages/views/supplierWorkbenchPage/forbidden.vue

@@ -0,0 +1,87 @@
+<!-- 停用 -->
+<template>
+    <view class="register">
+		<view class="register_li">
+			<img  class="register_li_t" :src="imagesUrl('supplier/img_xgzl_zgty.png')">
+			<view class="register_li_m">
+				<text>您的供应商资格已被停用,详情请联系管理人员; </text>
+				<text>联系电话:13227872231</text>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+				form:{
+					name:'',
+				},
+            }
+        },
+        onLoad(option) {
+			
+        },
+        onShow(){
+			
+			
+			
+        },
+		
+        methods: {
+			
+        }
+    }
+</script>
+
+<style lang="stylus" scoped>
+    .register{
+        height:100%;
+        width:100%;
+        display flex
+        flex-direction column;
+		//padding-bottom: 220rpx;
+		.register_li{
+			background #fff;
+			border-radius:20rpx;
+			margin:20rpx 20rpx 0;
+			padding:20rpx 0;
+			box-sizing: border-box;
+			.register_li_t{
+				width:204rpx;
+				height:200rpx;
+				margin: 125rpx 0 0 258rpx;
+			}
+			.register_li_m{
+				margin-top: 92rpx;
+				margin-bottom: 60rpx;
+				text-align: left;
+				padding: 0 50rpx;
+				box-sizing: border-box;
+				>text{
+					display: block;
+				}
+				>text:nth-child(1){
+					font-size: 28rpx;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #333333;
+					line-height: 28rpx;
+					margin-bottom: 24rpx;
+				}
+				>text:nth-child(2){
+					font-size: 28rpx;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #333333;
+					line-height: 28rpx;
+				}
+			}
+			
+		}
+	}
+	/deep/.input-value-border{
+		display :none !important;
+	}
+</style>

+ 95 - 0
pages/views/supplierWorkbenchPage/hasten.vue

@@ -0,0 +1,95 @@
+<!-- 催办 -->
+<template>
+    <view class="register">
+		<view class="register_li">
+			<img  class="register_li_t" :src="imagesUrl('supplier/icon_xgzl_shz.png')">
+			<view class="register_li_m">您提交的信息正在审核中,请耐心等待</view>
+		</view>
+		<view class="sub_btn" @click="hasten()">立即催办</view>
+	</view>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+				form:{
+					name:'',
+				},
+            }
+        },
+        onLoad(option) {
+			
+        },
+        onShow(){
+			
+			
+			
+        },
+		
+        methods: {
+			hasten(){
+				uni.showToast({
+					title: '催办成功!',
+					icon:"none",
+					mask:true,
+					duration: 2000
+				});
+			},
+        }
+    }
+</script>
+
+<style lang="stylus" scoped>
+    .register{
+        height:100%;
+        width:100%;
+        display flex
+        flex-direction column;
+		//padding-bottom: 220rpx;
+		.register_li{
+			background #fff;
+			border-radius:20rpx;
+			margin:20rpx 20rpx 0;
+			padding:20rpx 0;
+			box-sizing: border-box;
+			.register_li_t{
+				width:156rpx;
+				height:200rpx;
+				margin: 128rpx 0 0 276rpx;
+			}
+			.register_li_m{
+				margin-top: 80rpx;
+				margin-bottom: 116rpx;
+				text-align: center;
+				font-size: 28rpx;
+				font-family: PingFang SC;
+				font-weight: 500;
+				color: #333333;
+				line-height: 28rpx;
+				
+			}
+			
+		}
+		/* 按钮 */
+		.sub_btn{
+			width: 650rpx;
+			height: 100rpx;
+			background: #FFAE00;
+			border-radius: 20rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC;
+			font-weight: 500;
+			color: #FFFFFF;
+			line-height: 100rpx;
+			text-align: center;
+			margin-left: 50rpx;
+			position: fixed;
+			bottom:30rpx;
+			z-index: 1000;
+		}
+	}
+	/deep/.input-value-border{
+		display :none !important;
+	}
+</style>

+ 116 - 0
pages/views/supplierWorkbenchPage/reject.vue

@@ -0,0 +1,116 @@
+<!-- 驳回 -->
+<template>
+    <view class="register">
+		<view class="register_li">
+			<img  class="register_li_t" :src="imagesUrl('supplier/img_xgzl_zgty.png')">
+			<view class="register_li_m">
+				<text>您提交申请被驳回</text>
+				<text>驳回原因为:{{infoData}}</text>
+			</view>
+		</view>
+		<view class="sub_btn" @click="againSubmit()">重新申请</view>
+	</view>
+	
+</template>
+
+<script>
+    export default {
+		props:{
+			infoData:{}
+		},
+        data() {
+            return {
+				form:{
+					name:'',
+				},
+            }
+        },
+        onLoad(option) {
+			
+        },
+        onShow(){
+			
+        },
+        methods:{
+			//重新提交
+			againSubmit(){
+				uni.redirectTo({
+				   url: '/pages_supplier/register/register?pageStatus=1',
+				});
+			},
+        },
+		mounted(){
+			
+		},
+    }
+</script>
+
+<style lang="stylus" scoped>
+    .register{
+        height:100%;
+        width:100%;
+        display flex
+        flex-direction column;
+		//padding-bottom: 220rpx;
+		.register_li{
+			background #fff;
+			border-radius:20rpx;
+			margin:20rpx 20rpx 0;
+			padding:20rpx 0;
+			box-sizing: border-box;
+			.register_li_t{
+				width:204rpx;
+				height:200rpx;
+				margin: 125rpx 0 0 258rpx;
+			}
+			.register_li_m{
+				margin-bottom: 60rpx;
+				text-align: left;
+				padding: 0 50rpx;
+				box-sizing: border-box;
+				>text{
+					display: block;
+				}
+				>text:nth-child(1){
+					font-size: 28rpx;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #333333;
+					line-height: 28rpx;
+					margin-bottom: 24rpx;
+					text-align: center;
+					margin-top: 42rpx;
+				}
+				>text:nth-child(2){
+					font-size: 28rpx;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #333333;
+					line-height: 48rpx;
+					margin-top: 48rpx;
+				}
+			}
+			
+		}
+		/* 按钮 */
+		.sub_btn{
+			width: 650rpx;
+			height: 100rpx;
+			background: #0183FA;
+			border-radius: 20rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC;
+			font-weight: 500;
+			color: #FFFFFF;
+			line-height: 100rpx;
+			text-align: center;
+			margin-left: 50rpx;
+			position: fixed;
+			bottom:30rpx;
+			z-index: 1000;
+		}
+	}
+	/deep/.input-value-border{
+		display :none !important;
+	}
+</style>

+ 446 - 0
pages/views/supplierWorkbenchPage/supplierWorkbench.vue

@@ -0,0 +1,446 @@
+<!-- 整改列表 -->
+<template>
+  <view class="supplier" style="display: flex;flex-direction: column;flex: 1;">
+    <view v-if="pageType==0">
+      <view class="supplier_h" @click="handleClick('mine')">
+        <img :src="imagesUrl('supplier/img_gysglpt_bg.png')">
+        <img :src="imagesUrl('supplier/img_gysglpt_icom.png')">
+        <img :src="imagesUrl('supplier/icon_gyspt_gd.png')">
+        <view>{{form.companyName}}</view>
+      </view>
+      <view class="supplier_tab">
+        <view class="supplier_tab_li" @click="handleClick('people')">
+          <text>{{form.peopleSum}}</text>
+          <text>运输人员</text>
+        </view>
+        <view class="supplier_tab_line"></view>
+        <view class="supplier_tab_li" @click="handleClick('car')">
+          <text>{{form.carSum}}</text>
+          <text>运输车辆</text>
+        </view>
+        <view class="supplier_tab_line"></view>
+        <view class="supplier_tab_li" @click="handleClick('bottle')">
+          <text>{{form.bottleSum}}</text>
+          <text>气瓶管理</text>
+        </view>
+      </view>
+      <scroll-view scroll-y @scrolltolower="scrollGet" class="for-max-box">
+        <view class="for-big-box">
+          <view class="backlog" @click="handleClick('backlog')">
+            <img class="backlog_l" :src="imagesUrl('supplier/icon_glpt_dbqd.png')">
+            <view class="backlog_c">待办清单</view>
+            <img class="backlog_r" :src="imagesUrl('supplier/icon_wdwg_gd.png')">
+          </view>
+          <view class="for-box" @click="goInfo(item)" v-for="(item,index) in dataList" :key="index">
+            <view class="for-title-box">
+              <view v-if="item.remark=='gq'"  class="viewColor1">供气</view>
+              <view v-if="item.remark=='hs'" class="viewColor3">回收</view>
+              <view v-if="item.remark=='wt'" class="viewColor2">问题</view>
+              <view v-if="item.remark=='hs' || item.remark=='wt'">{{item.airName}}-{{item.configName}}</view>
+              <view  v-if="item.remark=='gq'" ><text v-for="(item2,index2) in item.detailListVO" :key="index2" v-if="index2<2">{{item2.airName}}-{{item2.configName}}*{{item2.bottleNumber}}<text>{{index2<1?' ':'...'}}</text></text></view>
+            </view>
+            <view class="for-address-box">
+              <img :src="imagesUrl('supplier/icon_wtzg_xx.png')">
+              <view >{{item.campus}}-{{item.building}}-{{item.room}}</view>
+            </view>
+            <view class="for-time-box">
+              <img :src="imagesUrl('supplier/icon_wtzg_sj.png')">
+              <view>{{item.createTime}}</view>
+            </view>
+          </view>
+        </view>
+        <img class="null-img" v-if="!dataList[0]" :src="imagesUrl('supplier/null-data-1.png')">
+      </scroll-view>
+      <img class="supernatant"  @click="handleClick('recycle')" :src="imagesUrl('supplier/icon_glpt_gqhsjl.png')">
+    </view>
+    <view class="empty" v-if="emptyList==4 && pageType==0">
+      <img class="for-back-img" :src="imagesUrl('supplier/img_ysrygl_zwsj.png')">
+      <view>暂无数据</view>
+    </view>
+    <hasten-page v-if="pageType==1"></hasten-page>
+    <reject-page v-if="pageType==2" :infoData="infoData"></reject-page>
+    <forbidden-page v-if="pageType==3"></forbidden-page>
+  </view>
+
+</template>
+
+<script>
+import { config } from '@/api/request/config.js'
+import { supplierDetail,storageListTaskIndex } from '@/pages/api/index.js'
+import { hastenPage } from './hasten.vue'
+import { rejectPage } from './reject.vue'
+import { forbiddenPage } from './forbidden.vue'
+export default {
+  name: "rectifyList",
+  components: {
+    hastenPage,//供应商正在审核
+    rejectPage,//供应商驳回
+    forbiddenPage,//供应商停用
+  },
+  data() {
+    return {
+      emptyList:0,
+      pageType:4,
+      dataList:[],
+      //列表请求参数
+      getData:{
+        pageNum:1,
+        pageSize:5,
+      },
+      form:{
+        companyName:'',//企业名称
+        peopleSum:'0',//人员数量总数
+        carSum:'0',//运输车辆总数
+        bottleSum:'0',//气瓶数量总数
+      },
+      infoData:'',//驳回原因
+      state:'',
+    }
+  },
+  onLoad() {
+
+  },
+  onShow() {
+		console.log('1');
+    this.infoList=[];
+
+  },
+  mounted(){
+		console.log('2');
+    this.getInfo();
+    this.getList();
+  },
+  methods: {
+    //滚动加载事件
+    scrollGet(){
+      if(this.getData.getType){
+        this.getData.page += 1;
+        this.getList();
+      }
+    },
+    goInfo(d){
+      if(d.remark=='gq'){
+        uni.navigateTo({
+          url:'/pages_supplier/backlogManage/backlogManageAirDetail?item='+encodeURIComponent(JSON.stringify(d))
+        });
+      }else if(d.remark=='hs'){
+        uni.navigateTo({
+          url:'/pages_supplier/backlogManage/backlogManageRecycleDetail?item='+encodeURIComponent(JSON.stringify(d))
+        });
+      }else if(d.remark=='wt'){
+        uni.navigateTo({
+          url:'/pages_supplier/backlogManage/backlogManageIssueDetail?item='+encodeURIComponent(JSON.stringify(d))
+        });
+      }
+
+    },
+    handleClick(doType) {
+      if(doType=='people'){
+        uni.navigateTo({
+          url:'/pages_supplier/transportPerson/transportPerson'
+        });
+      }else if(doType=='car'){
+        uni.navigateTo({
+          url:'/pages_supplier/transportCar/transportCar'
+        });
+      }else if(doType=='bottle'){
+        uni.navigateTo({
+          url:'/pages_supplier/gasManage/gasManage'
+        });
+      }else if(doType=='mine'){
+        uni.navigateTo({
+          url: '/pages_supplier/mine/mine?state='+this.state
+        });
+      }else if(doType=='backlog'){//待办清单
+        uni.navigateTo({
+          url:'/pages_supplier/backlogManage/backlogManage'
+        });
+      }else if(doType=='recycle'){//供气回收
+        uni.navigateTo({
+          url:'/pages_supplier/gasRecycle/gasRecycle'
+        });
+      }
+
+
+    },
+    //获取首页详情
+    async getInfo(){
+      let _this = this;
+      const {data} = await supplierDetail()
+      let res=data.data
+      if(data.code==200){
+        this.state=res.state;
+        if(res.state==0){//审核状态(0:未审核,1:审核通过,2:审核未通过)
+          this.pageType=1;
+        }else if(res.state==1){
+          this.pageType=0;
+        }else if(res.state==2){
+          this.pageType=2;
+          this.infoData=res.audit.auditContent//驳回原因
+        }
+        this.form.companyName=res.companyName
+        this.form.peopleSum=res.peopleSum
+        this.form.carSum=res.carSum
+        this.form.bottleSum=res.bottleSum
+
+      }else if(data.code==500){//资格状态status(0:启用,1:停用)
+        this.pageType=3;
+      }
+    },
+    //获取列表数据
+    async getList(){
+      let _this = this;
+      const {data} = await storageListTaskIndex(_this.getData);
+      if(data.code==200){
+        let res=data.rows;
+        _this.dataList=res;
+        if(_this.dataList.length<=0){
+          _this.emptyList=4
+        }
+      }
+    },
+  }
+}
+</script>
+
+<style lang="stylus" scoped>
+.empty{
+  text-align: center;
+  margin-top: 116rpx;
+  >img{
+    width: 336rpx;
+    height: 222rpx;
+    margin-left: 208rpx;
+  }
+  >view{
+    font-size: 30rpx;
+    font-family: PingFang SC;
+    font-weight: 500;
+    color: #E0E0E0;
+    line-height: 30rpx;
+    margin-top: 48rpx;
+  }
+}
+.supplier{
+  .supplier_h{
+    width: 750rpx;
+    height: 200rpx;
+    position: relative;
+    >img:nth-child(1){
+      width: 750rpx;
+      height: 200rpx;
+      position: absolute;
+      left: 0;
+      top: 0;
+    }
+    >img:nth-child(2){
+      width: 110rpx;
+      height: 110rpx;
+      position: absolute;
+      left: 18rpx;
+      top: 44rpx;
+    }
+    >img:nth-child(3){
+      width: 12rpx;
+      height: 24rpx;
+      position: absolute;
+      left: 716rpx;
+      top: 92rpx;
+    }
+    >view{
+      width: 550rpx;
+      font-size: 30rpx;
+      font-family: PingFang SC;
+      font-weight: 500;
+      color: #FFFFFF;
+      line-height: 30rpx;
+      position: absolute;
+      left: 164rpx;
+      top: 84rpx;
+    }
+  }
+  .supplier_tab{
+    width: 710rpx;
+    height: 180rpx;
+    background: #FFFFFF;
+    border-radius: 10rpx;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    margin: 20rpx 20rpx 0;
+    .supplier_tab_line{
+      width: 2rpx;
+      height: 30rpx;
+      background: #E0E0E0;
+    }
+    .supplier_tab_li{
+      flex: 1;
+      text-align: center;
+      >text{
+        display: block;
+      }
+      >text:nth-child(1){
+        font-size: 30rpx;
+        font-family: PingFang SC;
+        font-weight: 500;
+        color: #0183FA;
+        line-height: 30rpx;
+      }
+      >text:nth-child(2){
+        font-size: 30rpx;
+        font-family: PingFang SC;
+        font-weight: 500;
+        color: #333333;
+        line-height: 30rpx;
+        margin-top: 36rpx;
+      }
+    }
+  }
+  /* 列表 */
+  .for-max-box{
+    flex:1;
+    overflow-y scroll;
+    .for-big-box{
+      background:#fff;
+      border-radius:20rpx;
+      margin:20rpx;
+      .backlog{
+        height: 100rpx;
+        display: flex;
+        justify-content: flex-start;
+        align-items: center;
+        .backlog_l{
+          width: 34rpx;
+          height: 32rpx;
+          margin-left:20rpx;
+        }
+        .backlog_c{
+          font-size: 30rpx;
+          font-family: PingFang SC;
+          font-weight: 500;
+          color: #333333;
+          line-height: 30rpx;
+          margin-left:16rpx;
+        }
+        .backlog_r{
+          width: 24rpx;
+          height: 24rpx;
+          margin-left:472rpx;
+        }
+
+      }
+      .for-box:nth-child(1){
+        .for-title-box{
+          border:none;
+        }
+      }
+      .for-box{
+        overflow hidden
+        .for-title-box{
+          display:flex;
+          margin:0 26rpx 0;
+          border-top:1rpx solid #dedede;
+          padding-top:45rpx;
+          view:nth-child(1){
+            width:98rpx;
+            line-height:38rpx;
+            height:38rpx;
+            border-radius:6rpx;
+            font-size:20rpx;
+            text-align center;
+            margin-right:10rpx;
+          }
+          view:nth-child(2){
+            flex:1;
+            font-size:30rpx;
+            color:#333;
+            height:36rpx;
+            lin-height:36rpx;
+            margin-right:10rpx;
+            display:block;
+            overflow:hidden;
+            text-overflow:ellipsis;
+            white-space:nowrap;
+          }
+          view:nth-child(3){
+            font-size:30rpx;
+            color:#333;
+            height:36rpx;
+            lin-height:36rpx;
+            color:#D80000;
+          }
+          .viewColor1{
+            background #ffe6e6;
+            color:#ff5555;
+          }
+          .viewColor2{
+            background #fef2dd;
+            color:#f6a71d;
+          }
+          .viewColor3{
+            background #e0f1e2;
+            color:#30a23d;
+          }
+          .viewColor4{
+            background #f2dddd;
+            color:#a51919;
+          }
+          .viewColor5{
+            background #e2f6f8;
+            color:#3ac3d3;
+          }
+          .viewColor6{
+            background #d9edfe;
+            color:#0183fa;
+          }
+        }
+        .for-address-box{
+          display:flex;
+          margin:33rpx 26rpx 0;
+          img{
+            width:28rpx;
+            height:28rpx;
+            margin-right:20rpx;
+          }
+          view{
+            font-size:28rpx;
+            line-height:28rpx;
+            color:#666;
+          }
+        }
+        .for-time-box{
+          display:flex;
+          margin:26rpx 26rpx 0;
+          padding-bottom:32rpx;
+          img{
+            width:28rpx;
+            height:28rpx;
+            margin-right:20rpx;
+          }
+          view{
+            font-size:28rpx;
+            line-height:28rpx;
+            color:#666;
+          }
+        }
+      }
+    }
+    .null-img{
+      display block
+      width:276rpx;
+      height:321rpx;
+      position absolute
+      top:100rpx;
+      left:274rpx;
+    }
+  }
+  /* 供求回收记录 */
+  .supernatant{
+    width: 152rpx;
+    height: 152rpx;
+    position: fixed;
+    right: 0rpx;
+    bottom: 60rpx;
+  }
+}
+</style>