Browse Source

百度人脸识别

zouling 1 year ago
parent
commit
a758bccbfc

+ 6 - 5
1.txt

@@ -1,11 +1,12 @@
-包名:zs.yuanqu.app
+包名:zs.rongzidanbao.app
 
 
 
 
-证书别名:__uni__9ace566
-证书私钥密码:UmhugJmm
+证书别名:__uni__fa20def
+证书私钥密码:XPoFx0mn
 
 
-SHA1: 73:E5:A0:DD:64:51:C9:85:18:EF:A1:00:23:3E:81:90:C8:9F:12:3C
+MD5: AD:64:6C:1F:B6:FD:4A:F9:35:0F:77:97:7F:A4:BF:5F
+SHA1: C3:9C:FB:30:66:12:DC:CD:23:8D:3A:2E:77:19:B4:96:30:20:8C:AE
 
 
-高德key:b85f0c64b3c9a082d740912cf3019c88
+高德key:
 
 
 极光appkey:
 极光appkey:

BIN
40fbd6d4d4e4b2feea076c59423a03ce.keystore


BIN
7b803a3799835a4e43e797769d7f349c.keystore


+ 10 - 0
api/common.js

@@ -0,0 +1,10 @@
+import request from '@/utils/request'
+
+// 行业类别-树列表
+export function getCategoryTree(data) {
+  return request({
+    'url': '/system/category/categoryTree',
+    'method': 'get',
+	'data':data
+  })
+}

+ 9 - 1
api/login.js

@@ -1,10 +1,11 @@
 import request from '@/utils/request'
 import request from '@/utils/request'
 // 登录方法
 // 登录方法
-export function login(username, password, code, uuid) {
+export function login(username, password, code,type, uuid) {
   const data = {
   const data = {
     username,
     username,
     password,
     password,
     code,
     code,
+	type,
     uuid
     uuid
   }
   }
   return request({
   return request({
@@ -63,3 +64,10 @@ export function sendSmsFn(data) {
     'method': 'get'
     'method': 'get'
   })
   })
 }
 }
+export function sendSmsOnly(data) {
+  return request({
+    'url': '/sendSms/sendLoginSms',
+    'method': 'POST',
+	data:data
+  })
+}

+ 3 - 3
config.js

@@ -1,9 +1,9 @@
 // 应用全局配置
 // 应用全局配置
 module.exports = {
 module.exports = {
-  baseUrl: 'https://vue.ruoyi.vip/prod-api',
+  // baseUrl: 'https://vue.ruoyi.vip/prod-api',
   // baseUrl: 'https://lyyy.qs163.cn/prod-api',
   // baseUrl: 'https://lyyy.qs163.cn/prod-api',
-  // baseUrl: 'http://192.168.101.168:8065',
-  // baseUrl: 'http://192.168.101.11:8089',
+  baseUrl: 'http://192.168.101.168:8056',
+  // baseUrl: 'http://192.168.101.245:8089',
   // baseUrlimg: 'http://114.99.127.243:2001',
   // baseUrlimg: 'http://114.99.127.243:2001',
   Clientid:'428a8310cd442757ae699df5d894f051',//
   Clientid:'428a8310cd442757ae699df5d894f051',//
  // https://xygl.cnzxy.cn h5链接地址
  // https://xygl.cnzxy.cn h5链接地址

+ 18 - 2
manifest.json

@@ -1,6 +1,6 @@
 {
 {
-    "name" : "园区安防",
-    "appid" : "__UNI__9ACE566",
+    "name" : "皖源融资担保",
+    "appid" : "__UNI__FA20DEF",
     "description" : "",
     "description" : "",
     "versionName" : "1.0.0",
     "versionName" : "1.0.0",
     "versionCode" : 100,
     "versionCode" : 100,
@@ -64,6 +64,22 @@
                     "xhdpi" : "static/logo.png"
                     "xhdpi" : "static/logo.png"
                 }
                 }
             }
             }
+        },
+        "nativePlugins" : {
+            "longyoung-BDFaceAuth" : {
+                "__plugin_info__" : {
+                    "name" : "【支持横竖屏】安卓人脸识别、百度活体检测、人脸采集android端",
+                    "description" : "longyoung出品,如有疑问,关注公众号「longyoung」后台发消息提问。",
+                    "platforms" : "Android",
+                    "url" : "",
+                    "android_package_name" : "",
+                    "ios_bundle_id" : "",
+                    "isCloud" : false,
+                    "bought" : -1,
+                    "pid" : "",
+                    "parameters" : {}
+                }
+            }
         }
         }
     },
     },
     "quickapp" : {},
     "quickapp" : {},

+ 2 - 0
nativeplugins/longyoung-BDFaceAuth/android/assets/idl-license.face-android

@@ -0,0 +1,2 @@
+738967F2E1CD4C6BDD03D7B320FAEB4E1C301C14513F9C9F1C519D98179634818FE77DF5ED5142898BAC499B5926ACACA70E3587B535766B86FA74269327D63758D42020E4AB88FD27D5E773B13DEAA10D5B7FF95D68A0920F1C780FD7477BB93300BD6BD99B8A5266D1FA72386837603AE8DE66D5017D23063922A9A322934CEADAA3278B7F334A8A686F7958C9D76DD997412513CE5A6B179AE83DE0E47F37600B57D6FAADA0E70FD17BFF6D30466764B61ADCAA95260C09466E46818E3583F78E286CC65C93D735F9A87E36F04C7CB1E90CCE2326ADC451EB05B8217C37EF7CFABC79ADC53D879011F9FE1AAEF41D233379964F51F9B82264C477A4B63099
+7C92140EC11528589BA8CF8F42EFBC3A2A1707838D491EF68B503C44FA1A3ACD5B4228963B498598D0EC45D3EC52FDEC6265600C2486B0233AFBD61C3B57070D6EB62FC387A8B7EE5AACECE157C6F9C5F25382078A00E594D7163BA889898089A6310B19C0539D57FC85CD3EE0A616A80DFF05EC0F33D6CCB1013055F5ADA75D97D1F69DF7120A4BBCB711AE5BCD3732CC53E89AF72DA7E550CF7E312C3864D004346BF0544733B87A1E4F683D482A048DBB48E1EA14AB8C7DF54194D4125533D85458A745D0F3F631A21648AC7910BA5317500836E084096D1E2DA2A6490CC1E7D403C9AF2EE55FE0E2CF7EB7362B04FE53947A28490329DDCCB26912A2273F

BIN
nativeplugins/longyoung-BDFaceAuth/android/faceplatform-release.aar


BIN
nativeplugins/longyoung-BDFaceAuth/android/faceplatform-ui-release.aar


BIN
nativeplugins/longyoung-BDFaceAuth/android/longyoung_bdfaceauth-release.aar


+ 30 - 0
nativeplugins/longyoung-BDFaceAuth/package.json

@@ -0,0 +1,30 @@
+{  
+    "name": "【支持横竖屏】安卓人脸识别、百度活体检测、人脸采集android端",  
+    "id": "longyoung-BDFaceAuth",  
+    "version": "1.0.4",  
+    "description": "longyoung出品,如有疑问,关注公众号「longyoung」后台发消息提问。",  
+    "_dp_type":"nativeplugin",  
+    "_dp_nativeplugin":{  
+        "android": {  
+            "plugins": [  
+                {  
+                    "type": "module",  
+                    "name": "longyoung-BDFaceAuth",  
+                    "class": "com.longyoung.ly_bdfaceauth.ScanFaceWXModule"  
+                }  
+            ],  
+            "hooksClass": "com.longyoung.ly_bdfaceauth.ScanFace_AppProxy",  
+            "integrateType": "aar",  
+            "compileOptions": {
+                "sourceCompatibility": "1.8",  
+                "targetCompatibility": "1.8"  
+            },  
+            "abis": [  
+                "armeabi-v7a",  
+				"arm64-v8a",
+				"x86"  				
+            ],  
+            "minSdkVersion": "17"
+        }  
+    }  
+}

+ 27 - 9
pages.json

@@ -1,6 +1,11 @@
 {
 {
   "pages": [
   "pages": [
-	  
+	 {
+	   "path": "pages/index/index",
+	   "style": {
+	     "navigationBarTitleText": "皖源融资担保",
+	     "navigationStyle": "custom"
+	   }}, 
 	{
 	{
 	"path": "pages/login",
 	"path": "pages/login",
 	"style": {
 	"style": {
@@ -10,12 +15,7 @@
 			}
 			}
 		}
 		}
 	},
 	},
-	{
-	  "path": "pages/index/index",
-	  "style": {
-	    "navigationBarTitleText": "皖源融资担保",
-	    "navigationStyle": "custom"
-	  }},
+	
 	{
 	{
 	  "path": "pages/index/notice",
 	  "path": "pages/index/notice",
 	  "style": {
 	  "style": {
@@ -148,6 +148,15 @@
 					"h5":{"titleNView":false}
 					"h5":{"titleNView":false}
 				}
 				}
 			},
 			},
+			{
+				"path": "pages/prove/qylist",
+				"style": {
+					"navigationBarTitleText": "添加企业",
+					"navigationBarBackgroundColor": "#00A9F0",
+					"navigationBarTextStyle": "white",
+					"h5":{"titleNView":false}
+				}
+			},
 			{
 			{
 				"path": "pages/prove/zctype",
 				"path": "pages/prove/zctype",
 				"style": {
 				"style": {
@@ -167,7 +176,7 @@
 				}
 				}
 			},
 			},
 			{
 			{
-				"path": "/pages/business/limit",
+				"path": "pages/business/limit",
 				"style": {
 				"style": {
 					"navigationBarTitleText": "业务申报",
 					"navigationBarTitleText": "业务申报",
 					"navigationBarBackgroundColor": "#00A9F0",
 					"navigationBarBackgroundColor": "#00A9F0",
@@ -176,7 +185,7 @@
 				}
 				}
 			},
 			},
 			{
 			{
-				"path": "/pages/business/add",
+				"path": "pages/business/add",
 				"style": {
 				"style": {
 					"navigationBarTitleText": "业务申报",
 					"navigationBarTitleText": "业务申报",
 					"navigationBarBackgroundColor": "#00A9F0",
 					"navigationBarBackgroundColor": "#00A9F0",
@@ -247,6 +256,15 @@
 					"h5":{"titleNView":false}
 					"h5":{"titleNView":false}
 				}
 				}
 			},
 			},
+			{
+				"path": "pages/file/ledgertable",
+				"style": {
+					"navigationBarTitleText": "台账表",
+					"navigationBarBackgroundColor": "#00A9F0",
+					"navigationBarTextStyle": "white",
+					"h5":{"titleNView":false}
+				}
+			},
 			{
 			{
 				"path": "pages/custom/details",
 				"path": "pages/custom/details",
 				"style": {
 				"style": {

+ 5 - 2
pages/index/index.vue

@@ -53,7 +53,7 @@
 						<view class="img"><image :src="topfimg" class="imgc"></image></view>
 						<view class="img"><image :src="topfimg" class="imgc"></image></view>
 						<view>签署合同</view>
 						<view>签署合同</view>
 					</view>
 					</view>
-					<view class="grid-item-box">
+					<view class="grid-item-box" @click="getLedgerFn">
 						<view class="img"><image :src="topgimg" class="imge"></image></view>
 						<view class="img"><image :src="topgimg" class="imge"></image></view>
 						<view>台账表</view>
 						<view>台账表</view>
 					</view>
 					</view>
@@ -226,7 +226,7 @@
 			// this.init()
 			// this.init()
 		},
 		},
 		getProveFn(){
 		getProveFn(){
-			this.$tab.navigateTo("/work/pages/prove/index")
+			this.$tab.navigateTo("/work/pages/business/add")
 		},
 		},
 		getBusListFn(){
 		getBusListFn(){
 			this.$tab.navigateTo("/work/pages/business/list")
 			this.$tab.navigateTo("/work/pages/business/list")
@@ -234,6 +234,9 @@
 		getNoticeFn(){
 		getNoticeFn(){
 			this.$tab.navigateTo("/pages/index/notice")
 			this.$tab.navigateTo("/pages/index/notice")
 		},
 		},
+		getLedgerFn(){
+			this.$tab.navigateTo("/work/pages/file/ledgertable")
+		},
 		getFileFn(){
 		getFileFn(){
 			this.$tab.navigateTo("/work/pages/file/list")
 			this.$tab.navigateTo("/work/pages/file/list")
 		},
 		},

+ 9 - 10
pages/login.vue

@@ -13,13 +13,12 @@
 		  <!-- #endif -->
 		  <!-- #endif -->
 		  <!-- #ifdef MP-WEIXIN -->
 		  <!-- #ifdef MP-WEIXIN -->
 		   <!-- #endif -->
 		   <!-- #endif -->
-		  <!-- <view class="tab flexcc">
+		  <view class="tab flexcc">
 			  <block v-for="(ite,idx) in tablist" :key="idx">
 			  <block v-for="(ite,idx) in tablist" :key="idx">
 				  <view   class="tabtit" :class="tabidx==ite.val?'act':''" @click="getTab(ite.val)">
 				  <view   class="tabtit" :class="tabidx==ite.val?'act':''" @click="getTab(ite.val)">
 				  {{ite.tit}}</view> 
 				  {{ite.tit}}</view> 
 			  </block>
 			  </block>
-			 
-		  </view> -->
+		  </view>
 		  <!-- 手机号登录 -->
 		  <!-- 手机号登录 -->
 		  <view class="login-form-content">
 		  <view class="login-form-content">
 		  	<block v-if="tabidx==1">
 		  	<block v-if="tabidx==1">
@@ -96,9 +95,9 @@
 			 <!-- <view class="bbcode">版本号:ZXY_YY_1.3</view> -->
 			 <!-- <view class="bbcode">版本号:ZXY_YY_1.3</view> -->
 	  </view>
 	  </view>
 	 
 	 
-	   <view class="loginb" @click="getTab(1)" v-if="tabidx==2">账号密码登录</view> 
-	   <view class="loginb" @click="getTab(2)" v-if="tabidx==1">手机登录</view> 
-	  <!-- <view class="rtxt mt26" @click="getregister">还没账号?去申请注册</view> -->
+	   <!-- <view class="loginb" @click="getTab(1)" v-if="tabidx==2">账号密码登录</view> 
+	   <view class="loginb" @click="getTab(2)" v-if="tabidx==1">手机登录</view> -->
+	  <view class="rtxt mt26" @click="getregister">还没账号?去注册</view>
 	  <phone-btn :type="typeflag" @getPhoneNumber='getPhoneNumber' @getClose="getClose"></phone-btn>
 	  <phone-btn :type="typeflag" @getPhoneNumber='getPhoneNumber' @getClose="getClose"></phone-btn>
   </view>
   </view>
 </template>
 </template>
@@ -133,12 +132,12 @@
 			time:'',
 			time:'',
 			timefalg:'',
 			timefalg:'',
 			tabidx:1,
 			tabidx:1,
-			tablist:[{tit:'账号登录',val:1},{tit:'验证码登录',val:2},],
+			tablist:[{tit:'账号登录',val:1},{tit:'手机登录',val:2},],
 			loginForm: {
 			loginForm: {
 				username: "",
 				username: "",
 				code: "",
 				code: "",
 				password:'',
 				password:'',
-				type:1,//1:账号密码 2:短信验证码
+				type:1,//1:账号密码 2:手机登录
 			},
 			},
 			voList:[],
 			voList:[],
 			voindex:0,
 			voindex:0,
@@ -166,8 +165,8 @@
 			this.$tab.navigateTo(`/pages/mine/pwd/forgetpwd`)
 			this.$tab.navigateTo(`/pages/mine/pwd/forgetpwd`)
 		},
 		},
 		 getregister(){
 		 getregister(){
-			 this.$tab.navigateTo(`/mine/pages/login/register`)
-			 // this.$tab.navigateTo(`/mine/pages/mine/applyregister`)
+			 // this.$tab.navigateTo(`/mine/pages/login/register`)
+			 this.$tab.navigateTo(`/work/pages/prove/index`)
 			 // this.$tab.navigateTo(`/mine/pages/mine/auth`)
 			 // this.$tab.navigateTo(`/mine/pages/mine/auth`)
 		 },
 		 },
 		 getLogin(){
 		 getLogin(){

+ 12 - 0
pages/mine/index.vue

@@ -102,6 +102,13 @@
 					<view class="tit flex1">待办事项</view>
 					<view class="tit flex1">待办事项</view>
 					<image :src="rimg" class="rimg"></image>
 					<image :src="rimg" class="rimg"></image>
 				</view>
 				</view>
+				<view class="flexc mine_list" @click="handleToAddQy" v-if="checkPermi(['sqmyInfo:info:list'])">
+					<view class="limg">
+						<image :src="listimgk" class="imgc"></image>
+					</view>
+					<view class="tit flex1">添加企业</view>
+					<image :src="rimg" class="rimg"></image>
+				</view>
 				<view class="flexc mine_list" @click="handleToAddNews" v-if="checkPermi(['sqmyInfo:info:list'])">
 				<view class="flexc mine_list" @click="handleToAddNews" v-if="checkPermi(['sqmyInfo:info:list'])">
 					<view class="limg">
 					<view class="limg">
 						<image :src="listimgd" class="imga"></image>
 						<image :src="listimgd" class="imga"></image>
@@ -194,6 +201,7 @@
 				listimgh: require('@/static/images/mine/mineh.png'),
 				listimgh: require('@/static/images/mine/mineh.png'),
 				listimgi: require('@/static/images/mine/minei.png'),
 				listimgi: require('@/static/images/mine/minei.png'),
 				listimgj: require('@/static/images/mine/minej.png'),
 				listimgj: require('@/static/images/mine/minej.png'),
+				listimgk: require('@/static/images/mine/minek.png'),
 				
 				
 				headl:require('@/static/images/mine/headl.png'),
 				headl:require('@/static/images/mine/headl.png'),
 				headr:require('@/static/images/mine/headr.png'),
 				headr:require('@/static/images/mine/headr.png'),
@@ -277,6 +285,9 @@
 			handleToAddNews(){
 			handleToAddNews(){
 				this.$tab.navigateTo('/work/pages/news/add')
 				this.$tab.navigateTo('/work/pages/news/add')
 			},
 			},
+			handleToAddQy(){
+				this.$tab.navigateTo('/work/pages/prove/qylist')
+			},
 			handleToLogin() {
 			handleToLogin() {
 				this.$tab.reLaunch('/pages/login')
 				this.$tab.reLaunch('/pages/login')
 			},
 			},
@@ -430,6 +441,7 @@ page{background-color: #f6f6f6;}
 				.limg{flex: 0 0 auto;width: 42rpx;height: 42rpx;margin-right: 26rpx;display: flex;align-items: center;justify-content: center;
 				.limg{flex: 0 0 auto;width: 42rpx;height: 42rpx;margin-right: 26rpx;display: flex;align-items: center;justify-content: center;
 					.imga{width: 40rpx;height: 40rpx;}
 					.imga{width: 40rpx;height: 40rpx;}
 					.imgb{width: 38rpx;height: 40rpx;}
 					.imgb{width: 38rpx;height: 40rpx;}
+					.imgc{width: 42rpx;height: 42rpx;}
 				}
 				}
 				.tit{font-weight: bold;font-size: 30rpx;color: #222327;}
 				.tit{font-weight: bold;font-size: 30rpx;color: #222327;}
 				.txt{font-weight: 500;font-size: 30rpx;color: #666666;margin-left: 20rpx;flex: 0 0 auto;}
 				.txt{font-weight: 500;font-size: 30rpx;color: #666666;margin-left: 20rpx;flex: 0 0 auto;}

+ 2 - 2
permission.js

@@ -4,8 +4,8 @@ import { getToken } from '@/utils/auth'
 const loginPage = "/pages/login"
 const loginPage = "/pages/login"
   
   
 // 页面白名单
 // 页面白名单
-const whiteList = ['/pages/mine/pwd/resetpwd','/pages/mine/pwd/forgetpwd','/pages/order/notice','/pages/order/search','/a/code',
-  '/pages/login', '/pages/register', '/pages/common/webview/index','/pages/agreement','/pages/order/come','/pages/order/comedetail',
+const whiteList = ['/pages/mine/pwd/resetpwd','/pages/mine/pwd/forgetpwd',
+  '/pages/login', '/pages/register', '/pages/common/webview/index','/pages/agreement','/work/pages/prove/index',
 ]
 ]
 
 
 // 检查地址白名单
 // 检查地址白名单

BIN
static/images/mine/minek.png


+ 1 - 0
static/style.css

@@ -58,6 +58,7 @@ font-size: 30rpx;color: #FFFFFF;background: #00A9F0;text-align: center;line-heig
 .mt12{margin-top: 24rpx;}
 .mt12{margin-top: 24rpx;}
 .mt18{margin-top: 36rpx;}
 .mt18{margin-top: 36rpx;}
 .mt24{margin-top: 48rpx;}
 .mt24{margin-top: 48rpx;}
+.mt26{margin-top: 52rpx;}
 .mt38{margin-top: 76rpx;}
 .mt38{margin-top: 76rpx;}
 .mt50{margin-top: 100rpx;}
 .mt50{margin-top: 100rpx;}
 
 

+ 2 - 1
store/modules/user.js

@@ -57,10 +57,11 @@ const user = {
       const username = userInfo.username.trim()
       const username = userInfo.username.trim()
       const password = userInfo.password
       const password = userInfo.password
       const code = userInfo.code
       const code = userInfo.code
+	  const type = userInfo.type
       const uuid = userInfo.uuid
       const uuid = userInfo.uuid
 	  const strfrom = userInfo.strfrom||""
 	  const strfrom = userInfo.strfrom||""
       return new Promise((resolve, reject) => {
       return new Promise((resolve, reject) => {
-        login(username, password, code, uuid).then(res => {
+        login(username, password, code,type, uuid).then(res => {
           setToken(res.token)
           setToken(res.token)
           commit('SET_TOKEN', res.token)
           commit('SET_TOKEN', res.token)
 		  commit('SET_AUTOLOGIN',true)
 		  commit('SET_AUTOLOGIN',true)

+ 40 - 0
utils/permission.js

@@ -48,4 +48,44 @@ export function checkRole(value) {
     console.error(`need roles! Like checkRole="['admin','editor']"`)
     console.error(`need roles! Like checkRole="['admin','editor']"`)
     return false
     return false
   }
   }
+}
+
+
+// Android权限查询
+function requestAndroidPermission(permissionID) {
+	return new Promise((resolve, reject) => {
+		plus.android.requestPermissions(
+			[permissionID], // 理论上支持多个权限同时查询,但实际上本函数封装只处理了一个权限的情况。有需要的可自行扩展封装
+			function(resultObj) {
+				var result = 0;
+				for (var i = 0; i < resultObj.granted.length; i++) {
+					var grantedPermission = resultObj.granted[i];
+					console.log('已获取的权限:' + grantedPermission);
+					result = 1
+				}
+				for (var i = 0; i < resultObj.deniedPresent.length; i++) {
+					var deniedPresentPermission = resultObj.deniedPresent[i];
+					console.log('拒绝本次申请的权限:' + deniedPresentPermission);
+					result = 0
+				}
+				for (var i = 0; i < resultObj.deniedAlways.length; i++) {
+					var deniedAlwaysPermission = resultObj.deniedAlways[i];
+					console.log('永久拒绝申请的权限:' + deniedAlwaysPermission);
+					result = -1
+				}
+				resolve(result);
+				// 若所需权限被拒绝,则打开APP设置界面,可以在APP设置界面打开相应权限
+				// if (result != 1) {
+				// gotoAppPermissionSetting()
+				// }
+			},
+			function(error) {
+				console.log('申请权限错误:' + error.code + " = " + error.message);
+				resolve({
+					code: error.code,
+					message: error.message
+				});
+			}
+		);
+	});
 }
 }

+ 15 - 2
work/components/business/ewjcj.vue

@@ -2,12 +2,16 @@
   <view>
   <view>
 	<view class="boxt" v-for="(ite,idx) in fileList" :key="idx">
 	<view class="boxt" v-for="(ite,idx) in fileList" :key="idx">
 		<view class="txt">
 		<view class="txt">
-			<view class="flex1">{{ite.tit}}</view>
+			<view class="flex1 flexc">{{ite.tit}}
+			<view class="editf" @click="getEdit()">
+				<image :src="editf"></image>
+				<view>修改</view>
+			</view>
+			</view>
 			<view class="edit" v-if="ite.qflag">
 			<view class="edit" v-if="ite.qflag">
 				<image :src="edit"></image>
 				<image :src="edit"></image>
 				<view>在线签名</view>
 				<view>在线签名</view>
 			</view>
 			</view>
-			<text  @click="getDown(a)">预览</text>
 		</view>
 		</view>
 		<view class="mt18" v-if="ite.files&&ite.files.length">
 		<view class="mt18" v-if="ite.files&&ite.files.length">
 			<view class="fjlists"  v-for="(fite,fidx) in ite.files" :key='fidx'>
 			<view class="fjlists"  v-for="(fite,fidx) in ite.files" :key='fidx'>
@@ -47,6 +51,8 @@
 			fupimg:require('@/work/static/images/fup.png'),
 			fupimg:require('@/work/static/images/fup.png'),
 			filico:require('@/work/static/images/filico.png'),
 			filico:require('@/work/static/images/filico.png'),
 			edit:require('@/work/static/images/edit.png'),
 			edit:require('@/work/static/images/edit.png'),
+			editf:require('@/work/static/images/editfile.png'),
+			fdelimg:require('@/work/static/images/del.png'),
 			gdfilelist:[{name:'123'}],
 			gdfilelist:[{name:'123'}],
 			zheList:[{zheflag:true}],
 			zheList:[{zheflag:true}],
 			fileList:[
 			fileList:[
@@ -71,6 +77,9 @@
 		getZheFn(idx){
 		getZheFn(idx){
 			this.zheList[idx].zheflag=!this.zheList[idx].zheflag
 			this.zheList[idx].zheflag=!this.zheList[idx].zheflag
 		},
 		},
+		getEdit(url){
+			this.$emit('getEdit',url)
+		},
 		getDown(url){
 		getDown(url){
 			this.$emit('getDown',url)
 			this.$emit('getDown',url)
 		},
 		},
@@ -106,6 +115,10 @@
 	image{width: 30rpx;height: 26rpx;margin-bottom: 18rpx;transform: rotate(180deg);}
 	image{width: 30rpx;height: 26rpx;margin-bottom: 18rpx;transform: rotate(180deg);}
 	view{font-weight: 500;font-size: 26rpx;color: #666666;}
 	view{font-weight: 500;font-size: 26rpx;color: #666666;}
 }
 }
+.editf{flex:0 0 auto;display: flex;align-items: center;margin-left: 24rpx;
+	view{font-weight: 500;font-size: 26rpx;color: #00A9F0;}
+	image{width: 22rpx;height: 24rpx;margin-right:8rpx;}
+}
 .edit{flex:0 0 auto;display: flex;align-items: center;
 .edit{flex:0 0 auto;display: flex;align-items: center;
 	view{font-weight: 500;font-size: 26rpx;color: #00A9F0;}
 	view{font-weight: 500;font-size: 26rpx;color: #00A9F0;}
 	image{width: 20rpx;height: 24rpx;margin-right: 2rpx;}
 	image{width: 20rpx;height: 24rpx;margin-right: 2rpx;}

+ 46 - 3
work/components/business/list.vue

@@ -51,7 +51,7 @@
 		<!-- 企业 -->
 		<!-- 企业 -->
 		<block v-if="type=='qy'">
 		<block v-if="type=='qy'">
 			<view class="lists qy" v-for="(ite,idx) in datalist" @click="getDetail"  >
 			<view class="lists qy" v-for="(ite,idx) in datalist" @click="getDetail"  >
-				<view class="listtop" style="display: block;">
+				<view class="listtop">
 					<view class="flexc">
 					<view class="flexc">
 						<view class="toptit over f20">安徽嘉欣医疗用品有限公司</view>
 						<view class="toptit over f20">安徽嘉欣医疗用品有限公司</view>
 						<view class="statbox">专精特新<image :src="start"></image></view>
 						<view class="statbox">专精特新<image :src="start"></image></view>
@@ -71,6 +71,27 @@
 				</view>
 				</view>
 			</view>
 			</view>
 		</block>
 		</block>
+		<block v-if="type=='qylist'">
+			<view class="lists" v-for="(ite,idx) in datalist">
+				<view class="listtop flexcj" >
+					<view class="toptit over">安徽嘉欣医疗用品有限公司</view>
+					<view class="looktxt" @click="getDetail">修改</view>
+				</view>
+				<view class="listsm">
+					<view class="txt"><text class="tit">统一社会信用代码:</text><text>91101085620732606</text></view>
+					<view class="txt"><text class="tit">企业类型:</text><text>其他有限责任公司</text></view>
+					<view class="txt"><text class="tit">企业地址:</text><text>潜山市经济开发区</text></view>
+					<view class="flexcw">
+						<view class="txt"><text class="tit">法人姓名:</text><text>林振宇</text></view>
+						<view class="txt"><text class="tit">注册资金:</text><text>1000万元</text></view>
+					</view>
+					<view class="txt"><text class="tit">成立日期:</text><text>2018年09月20日</text></view>
+					<view class="txt"><text class="tit">营业期限:</text><text>2018年09月20日 至 2038年09月19日</text></view>
+					<view class="txt"><text class="tit">经营范围:</text><text class="overtwo"> 生产经营I、II类6864医用卫生材料、辅料及制品和相关产品一次性消耗品及成型包装;全…</text></view>
+
+				</view>
+			</view>
+		</block>
 		<!-- 历史申贷记录 -->
 		<!-- 历史申贷记录 -->
 		<block v-if="type=='sdjl'">
 		<block v-if="type=='sdjl'">
 			<view class="lists sdjl" v-for="(ite,idx) in datalist" @click="getDetail"  >
 			<view class="lists sdjl" v-for="(ite,idx) in datalist" @click="getDetail"  >
@@ -99,7 +120,7 @@
 		<!-- 文件 -->
 		<!-- 文件 -->
 		<block v-if="type=='file'">
 		<block v-if="type=='file'">
 			<view class="lists" v-for="(ite,idx) in datalist" @click="getDetail"  >
 			<view class="lists" v-for="(ite,idx) in datalist" @click="getDetail"  >
-				<view class="listtop" style="display: block;">
+				<view class="listtop" >
 					<view class="toptit over">安徽嘉欣医疗用品有限公司</view>
 					<view class="toptit over">安徽嘉欣医疗用品有限公司</view>
 				</view>
 				</view>
 				<view class="listsm">
 				<view class="listsm">
@@ -134,6 +155,27 @@
 				</view>
 				</view>
 			</view>
 			</view>
 		</block>
 		</block>
+		<!-- 台账表 -->
+		<block v-if="type=='ledger'">
+			<view class="lists" v-for="(ite,idx) in datalist" @click="getDetail"  >
+				<view class="listtop" >
+					<view class="toptit over">安徽嘉欣医疗用品有限公司</view>
+				</view>
+				<view class="listsm">
+					<view class="txt"><text class="tit">债务人类别</text><text class="line">|</text><text>类别名称</text></view>
+					<view class="flexcw">
+						<view class="txt"><text class="tit">债务人姓名</text><text class="line">|</text><text>刘安鑫</text></view>
+						<view class="txt"><text class="tit">债务人证件类型</text><text class="line">|</text><text>身份证</text></view>
+					</view>
+					<view class="txt"><text class="tit">债务人证件号码</text><text class="line">|</text><text>34282419730618003X</text></view>
+					<view class="flexcw">
+						<view class="txt"><text class="tit">法人姓名</text><text class="line">|</text><text>林振宇</text></view>
+						<view class="txt"><text class="tit">法人证件类型</text><text class="line">|</text><text>身份证</text></view>
+					</view>
+					<view class="txt"><text class="tit">法人证件号码</text><text class="line">|</text><text>34282419811214002X</text></view>
+				</view>
+			</view>
+		</block>
 		<view class="shax" v-if="wtdt">{{wtdt}}</view>
 		<view class="shax" v-if="wtdt">{{wtdt}}</view>
 	</view>
 	</view>
 	<block v-else>
 	<block v-else>
@@ -306,12 +348,13 @@ font-size: 40rpx;display: flex;align-items: center;justify-content: center;color
 		.copyimg{width: 30rpx;height: 30rpx;margin-left: 8rpx;display: flex;align-items: center;justify-content: center;
 		.copyimg{width: 30rpx;height: 30rpx;margin-left: 8rpx;display: flex;align-items: center;justify-content: center;
 			image{width: 18rpx;height: 20rpx;}
 			image{width: 18rpx;height: 20rpx;}
 		}
 		}
-		.looktxt{font-weight: 500;flex: 0 0 auto;font-size: 26rpx;color: #00A9F0;margin-left: 10rpx;}
 		.flexcw{
 		.flexcw{
 			display: flex;align-items: center;flex-wrap: wrap;
 			display: flex;align-items: center;flex-wrap: wrap;
 			.txt{min-width: 50%;}
 			.txt{min-width: 50%;}
 		}
 		}
 	}
 	}
+	.looktxt{font-weight: 500;flex: 0 0 auto;font-size: 26rpx;color: #00A9F0;margin-left: 10rpx;}
+	
 }
 }
 // 文件
 // 文件
 .files{padding:40rpx 36rpx 36rpx;border-bottom: 2rpx solid #E6E6E6;
 .files{padding:40rpx 36rpx 36rpx;border-bottom: 2rpx solid #E6E6E6;

+ 1 - 1
work/components/popup/popup.vue

@@ -164,7 +164,7 @@
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class="conbtns flexcj">
 			<view class="conbtns flexcj">
-				<view class="cbtns bga">暂存</view>
+				<!-- <view class="cbtns bga">暂存</view> -->
 				<view class="cbtns bgb">确认</view>
 				<view class="cbtns bgb">确认</view>
 			</view>
 			</view>
 		</view>
 		</view>

+ 12 - 1
work/pages/business/details.vue

@@ -68,7 +68,7 @@
 					<dfjxx @getDown="getDown" :datainfo="datainfo"></dfjxx>
 					<dfjxx @getDown="getDown" :datainfo="datainfo"></dfjxx>
 				</block>
 				</block>
 				<block v-if="tabval==4">
 				<block v-if="tabval==4">
-					<ewjcj @getDown="getDown" :datainfo="datainfo"></ewjcj>
+					<ewjcj @getDown="getDown" :datainfo="datainfo" @getEdit="getEdit"></ewjcj>
 				</block>
 				</block>
 			</view>
 			</view>
 			<!-- 法人信息 -->
 			<!-- 法人信息 -->
@@ -277,6 +277,17 @@
 					}
 					}
 				});
 				});
 			},
 			},
+			onuploadEnd(item) {
+				var newobj={}
+				var responseText=JSON.parse(item.responseText)
+				newobj.name=responseText.originalFilename;
+				newobj.url=responseText.fileName;
+				this.filelist.push(newobj)
+				// this.datainfo.zsyzFjList=JSON.parse(JSON.stringify(this.filelist))
+			},
+			getEdit(){
+				this.type='shhj'
+			},
 			getDown(e){
 			getDown(e){
 				uni.showLoading({
 				uni.showLoading({
 					title: '加载中'
 					title: '加载中'

+ 3 - 3
work/pages/business/talbclass.vue

@@ -27,7 +27,7 @@
 </template>
 </template>
 
 
 <script>
 <script>
-	// import {getCasetalbFn} from "@/api/mine/case.js"
+	import {getCategoryTree} from "@/api/common.js"
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
@@ -54,7 +54,7 @@
 				this.ricurrent=newobj.id;
 				this.ricurrent=newobj.id;
 				this.categoryName=newobj.name
 				this.categoryName=newobj.name
 			}
 			}
-			// this.getCasetalbFn()
+			this.getCasetalbFn()
 		},
 		},
 		mounted() {
 		mounted() {
 			setTimeout(() => {
 			setTimeout(() => {
@@ -63,7 +63,7 @@
 		},
 		},
 		methods: {
 		methods: {
 			getCasetalbFn(){
 			getCasetalbFn(){
-				getCasetalbFn().then(res=>{
+				getCategoryTree().then(res=>{
 					if(res.code==200){
 					if(res.code==200){
 						this.cateList=res.data;
 						this.cateList=res.data;
 					}
 					}

+ 147 - 0
work/pages/file/ledgertable.vue

@@ -0,0 +1,147 @@
+<template>
+	<view class="listbox">
+		<view class="fixedt">
+			<!-- 选择器 -->
+			<view class="flexc checkbox">
+				<picker mode="date" fields="year"  @change='bindDateChangea'>
+					<view class="chekt">
+						<view>{{sbsj|| "申报年份"}}</view>
+						<image :src="upimg"></image>
+					</view>
+				</picker>
+				<view class="reset" @click="getResetFn">
+					<image :src="resetimg"></image>
+				</view>
+				<view class="topc flexc">
+					<image :src="secimg"></image>
+					<input  placeholder="请输入客户名称" confirm-type="search" v-model="usename" @confirm="getConfirm"/>
+				</view>
+			</view>
+		</view>
+		<!-- 列表 -->
+		<view class="plr18">
+			<bus-list :datalist="list" :wtdt="wtdt" :type="type" @getDetail="getDetail"></bus-list>
+		</view>
+		<view class="scanbox flexcc">预览总表</view>
+	</view>
+</template>
+
+<script>
+	import config from '@/config'
+	const baseUrl = config.baseUrl
+	import busList from "@/work/components/business/list.vue"
+	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
+	export default{
+		components:{busList},
+		data(){
+			return{
+				secimg:require("@/static/images/home/hsearch.png"),
+				upimg:require('@/work/static/images/sup.png'),
+				resetimg:require('@/work/static/images/reset.png'),
+				scanimg:require('@/work/static/images/scan.png'),
+				list:[{tit:'123'},{tit:'123'}],
+				pageSize: 10,
+				pageNum: 1,
+				reachflag: true,
+				wtdt:'',
+				// limit:''
+				type:'qylist',
+			}
+		},
+		// 上拉触底加载更多触发事件
+		onReachBottom() {
+			// if (this.reachflag) {
+			// 	this.pageNum++
+			// 	this.getDataFn()
+			// }
+		},
+		methods:{
+			checkPermi, checkRole,
+			getDetail(){
+				// 打开文件
+				// this.$tab.navigateTo("/work/pages/file/details")
+			},
+			getTabFn(val){
+				this.tabval=val
+			},
+			bindDateChangea(e){
+				var val=e.detail.value;
+				this.sbsj=val;
+				this.getrefreshData()
+			},
+			bindDateChangeb(e){
+				var val=e.detail.value;
+				this.shzt=this.shlist[val].label;
+				this.shztid=this.shlist[val].value;
+				this.getrefreshData()
+			},
+			getResetFn(){
+				// 重置
+				this.getrefreshData()
+			},
+			getrefreshData(){
+				// this.pageNum=1;
+				// this.list=[];
+				// this.reachflag=true;
+				// this.getDataFn()
+			},
+			getDataFn(){
+				var params={
+					pageSize:this.pageSize,
+					pageNum: this.pageNum,
+				}
+				getCaseListFn(params).then(res=>{
+					if(res.code==200){
+						if (res.rows.length < this.pageSize) {
+							this.reachflag = false
+							this.wtdt = '到底了~';
+						} else {
+							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
+							if (num < res.total) {
+								this.reachflag = true
+								this.wtdt = ''
+							} else {
+								this.reachflag = false
+								this.wtdt = '到底了~';
+							}
+						}
+						if (this.pageNum == 1) {
+							this.list = res.rows;
+						} else {
+							this.list = this.list.concat(res.rows)
+						}
+					}else{
+						this.$toast(res.msg)
+					}
+				}) 
+			},
+		},
+		
+	}
+</script>
+
+<style lang="scss" scoped>
+.fixedt{position: fixed;left: 0;right: 0;top: 0;z-index: 2;}
+// .fixedt /deep/ uni-picker{flex: 1;}
+
+.checkbox{padding:16rpx 32rpx;background-color: #efefef;
+	.chekt{display: flex;align-items: center;margin-right: 12rpx;height:88rpx;
+		view{text-align: center;
+			font-weight: bold;font-size: 26rpx;color: #374B61;width: 136rpx;word-break: break-all;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;white-space: normal;}
+		image{width: 16rpx;height: 12rpx;flex: 0 0 auto;margin-left: 4rpx;}
+	}
+}
+.reset{width:56rpx; height: 88rpx;display: flex;align-items: center;justify-content: center;
+	image{width: 26rpx;height: 30rpx;}
+}
+.topc{border-radius: 34rpx;height:68rpx;box-sizing: border-box;padding:0 28rpx;position: relative;flex:1;background-color:rgba(90, 135, 186, 0.2);width: 260rpx;
+	flex:1;margin-left: 20rpx;
+	input{font-weight: 500;font-size: 26rpx;color: #222327;}
+	image{width: 30rpx;height: 30rpx;margin-right: 16rpx;flex: 0 0 auto;}
+}
+.listbox{padding-top: 120rpx;padding-bottom: 100rpx;}
+.scanbox{position: fixed;left: 0;right: 0;bottom: 0;height: 100rpx;
+background: #00A9F0;font-weight: bold;font-size: 30rpx;color: #FFFFFF;
+	image{width: 26rpx;height: 26rpx;margin-right: 24rpx;}
+}
+</style>

+ 1 - 1
work/pages/prove/addqy.vue

@@ -58,7 +58,7 @@
 			<view class="rzbtns bgb" @click="getAddQyFn">
 			<view class="rzbtns bgb" @click="getAddQyFn">
 				<image :src="addqy"></image>添加企业
 				<image :src="addqy"></image>添加企业
 			</view>
 			</view>
-			<view class="rzbtns bga" @click="getNext">下一步</view>
+			<view class="rzbtns bga" @click="getNext">提交</view>
 		</view>
 		</view>
 
 
 	</view>
 	</view>

+ 152 - 2
work/pages/prove/face.vue

@@ -35,6 +35,11 @@
 	const baseUrl = config.baseUrl
 	const baseUrl = config.baseUrl
 	import {uploadmore} from '@/utils/common.js'
 	import {uploadmore} from '@/utils/common.js'
 	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
 	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
+	import permijs from '@/utils/permission.js'
+	
+	// #ifdef APP-PLUS
+	const lyBDFaceAuth = uni.requireNativePlugin('longyoung-BDFaceAuth'); //android
+	// #endif
 	export default{
 	export default{
 		components:{},
 		components:{},
 		data(){
 		data(){
@@ -46,13 +51,158 @@
 				ftipc:require('@/work/static/images/prove/ftipc.png'),
 				ftipc:require('@/work/static/images/prove/ftipc.png'),
 				user:{
 				user:{
 					
 					
-				}
+				},
+				licenseIDStr: 'longyoung-face-android',
+				items: [{
+						value: 'Eye',
+						name: '眨眨眼',
+						checked: 'true'
+					},
+					{
+						value: 'Mouth',
+						name: '张张嘴',
+						checked: 'true'
+					},
+					{
+						value: 'HeadLeft',
+						name: '向左转头'
+					},
+					{
+						value: 'HeadRight',
+						name: '向右转头'
+					},
+					{
+						value: 'HeadLeftOrRight',
+						name: '左右摇头'
+					},
+					{
+						value: 'HeadUp',
+						name: '缓慢抬头'
+					},
+					{
+						value: 'HeadDown',
+						name: '缓慢低头'
+					}
+				],
+				isLivenessRandom: 0,
+				isSound: 1,
+				txtColor:'#3987FD',
+				bgColor:'#2F2F33',
+				roundColor:'#3987FD',
+				
+				resultStr: "",
+				imgBase64Str: ""
 			}
 			}
 		},
 		},
+		onLoad() {
+			//权限
+			// #ifdef APP-PLUS
+			if (uni.getSystemInfoSync().platform == "ios") {
+				// this.judgeIosPermission('camera');//相机
+				this.licenseIDStr = "longyoung-face-ios";
+			} else if (uni.getSystemInfoSync().platform == "android") {
+				this.requestAndroidPermission('android.permission.CAMERA'); //相机
+				// this.requestAndroidPermission('android.permission.READ_EXTERNAL_STORAGE');//外部存储(含相册)读取权限
+				// this.requestAndroidPermission('android.permission.WRITE_EXTERNAL_STORAGE');//外部存储(含相册)写入权限
+				this.licenseIDStr = "longyoung-face-android";
+			}
+			// #endif
+		},
 		methods:{
 		methods:{
 			checkPermi, checkRole,
 			checkPermi, checkRole,
 			getSumit(){
 			getSumit(){
-				this.$tab.navigateTo("/work/pages/prove/addqy")
+				// this.$tab.navigateTo("/work/pages/prove/addqy")
+			},
+			//刷脸
+			onScanFace() {
+				console.error("tagg.onScanFace");
+			
+				self = this;
+			
+				var ary = [];
+				for (var i = 0; i < this.items.length; i++) {
+					var item = this.items[i];
+					if (item.checked) {
+						ary[i] = item.value;
+					}
+				}
+			
+				if (uni.getSystemInfoSync().platform == "android") {//安卓
+					lyBDFaceAuth.scanFace({
+						licenseID: this.licenseIDStr,
+						actionAry: ary, //不传无动作
+						isLivenessRandom: this.isLivenessRandom, //不传默认有序,0有序,1随机
+						isSound: this.isSound, //不传默认有声音,0无声,1有声
+						txtColor:this.txtColor,//文字颜色
+						bgColor:this.bgColor,//背景颜色
+						roundColor:this.roundColor//圆的颜色
+					}, result => {
+						console.log('file://' + result.imgPath);
+			
+						self.resultStr = "返回结果:\n" + JSON.stringify(result);
+			
+						//图片上传服务器
+						uni.uploadFile({
+							url: 'http://api.longyoung.com/api/open/common/uploadImgTemp', //图片上传地址
+							filePath: 'file://' + result.imgPath, //图片本地路径,上传服务器需要加这个头'file://'
+							method: 'post',
+							name: 'imgFile', //上传图片参数名
+							success: (res) => {
+								var data = res.data;
+							}
+						});
+			
+						//***有些同学,后台强烈要求传base64,下面是图片转base64的方法,没此需求的可以无视。
+						var bitmapT = new plus.nativeObj.Bitmap("test"); //test标识随便取
+						// 从本地加载Bitmap图片
+						bitmapT.load(result.imgPath, function() {
+							console.log('加载图片成功');
+							var base4 = bitmapT.toBase64Data();
+							console.log('lygg.base64=' + base4);
+							self.resultStr = self.resultStr + "\n======base64字符串(太长,截取前100字符):\n" + base4.substring(0, 100);
+							self.imgBase64Str = base4.replace(/[\r\n]/g, ""); //显示图片
+						}, function(e) {
+							console.log('加载图片失败:' + JSON.stringify(e));
+						});
+						//***有些同学,后台强烈要求传base64,下面是图片转base64的方法,没此需求的可以无视。
+			
+					});
+				} else if (uni.getSystemInfoSync().platform == "ios") {//苹果
+					lyBDFaceAuthIOS.scanFace({
+						licenseID: this.licenseIDStr,
+						actionAry: ary, //不传无动作
+						isLivenessRandom: this.isLivenessRandom, //不传默认有序,0有序,1随机
+						isSound: this.isSound, //不传默认有声音,0无声,1有声
+					}, result => {
+						console.log('result=' + result);
+						self.resultStr = "返回结果(太长,截取前100字符):\n" + JSON.stringify(result).substring(0, 100);
+						self.resultStr = self.resultStr + "\n======base64字符串(太长,截取前100字符):\n" + result.bestImgBase64.substring(0, 100);
+						self.imgBase64Str = "data:image/png;base64," + result.bestImgBase64.replace(/[\r\n]/g, ""); //显示图片
+					});
+				}
+			
+			},
+			//权限
+			async requestAndroidPermission(permisionID) {
+				var result = await permijs.requestAndroidPermission(permisionID);
+				var strStatus;
+				if (result == 1) {
+					strStatus = "已获得授权";
+				} else if (result == 0) {
+					strStatus = "未获得授权";
+					uni.showToast({
+						title: "请打开权限,否则无法使用",
+						icon: 'none'
+					});
+				} else {
+					strStatus = "被永久拒绝权限";
+					permijs.gotoAppPermissionSetting();
+					uni.showToast({
+						title: '请打开权限,否则无法使用',
+						icon: 'none'
+					});
+				}
+				console.log("lygg.strStatus=" + strStatus + ",result=" + result);
 			},
 			},
 		}
 		}
 	}
 	}

+ 132 - 0
work/pages/prove/qylist.vue

@@ -0,0 +1,132 @@
+<template>
+	<view class="listbox">
+		<!-- 列表 -->
+		<view class="plr18">
+			<bus-list :datalist="list" :wtdt="wtdt" :type="type" @getDetail="getDetail"></bus-list>
+		</view>
+		<view class="scanbox flexcc" @click="getAddQy">
+			<image :src="addqy"></image>添加企业</view>
+	</view>
+</template>
+
+<script>
+	import config from '@/config'
+	const baseUrl = config.baseUrl
+	import busList from "@/work/components/business/list.vue"
+	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
+	export default{
+		components:{busList},
+		data(){
+			return{
+				secimg:require("@/static/images/home/hsearch.png"),
+				upimg:require('@/work/static/images/sup.png'),
+				resetimg:require('@/work/static/images/reset.png'),
+				addqy:require('@/work/static/images/prove/addqya.png'),
+				list:[{tit:'123'},{tit:'123'}],
+				pageSize: 10,
+				pageNum: 1,
+				reachflag: true,
+				wtdt:'',
+				// limit:''
+				type:'qylist',
+			}
+		},
+		// 上拉触底加载更多触发事件
+		onReachBottom() {
+			// if (this.reachflag) {
+			// 	this.pageNum++
+			// 	this.getDataFn()
+			// }
+		},
+		methods:{
+			checkPermi, checkRole,
+			getDetail(){
+				this.$tab.navigateTo("/work/pages/prove/addqy?type=edit")
+			},
+			getAddQy(){
+				this.$tab.navigateTo("/work/pages/prove/addqy?type=add")
+			},
+			getTabFn(val){
+				this.tabval=val
+			},
+			bindDateChangea(e){
+				var val=e.detail.value;
+				this.sbsj=val;
+				this.getrefreshData()
+			},
+			bindDateChangeb(e){
+				var val=e.detail.value;
+				this.shzt=this.shlist[val].label;
+				this.shztid=this.shlist[val].value;
+				this.getrefreshData()
+			},
+			getResetFn(){
+				// 重置
+				this.getrefreshData()
+			},
+			getrefreshData(){
+				// this.pageNum=1;
+				// this.list=[];
+				// this.reachflag=true;
+				// this.getDataFn()
+			},
+			getDataFn(){
+				var params={
+					pageSize:this.pageSize,
+					pageNum: this.pageNum,
+				}
+				getCaseListFn(params).then(res=>{
+					if(res.code==200){
+						if (res.rows.length < this.pageSize) {
+							this.reachflag = false
+							this.wtdt = '到底了~';
+						} else {
+							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
+							if (num < res.total) {
+								this.reachflag = true
+								this.wtdt = ''
+							} else {
+								this.reachflag = false
+								this.wtdt = '到底了~';
+							}
+						}
+						if (this.pageNum == 1) {
+							this.list = res.rows;
+						} else {
+							this.list = this.list.concat(res.rows)
+						}
+					}else{
+						this.$toast(res.msg)
+					}
+				}) 
+			},
+		},
+		
+	}
+</script>
+
+<style lang="scss" scoped>
+.fixedt{position: fixed;left: 0;right: 0;top: 0;z-index: 2;}
+// .fixedt /deep/ uni-picker{flex: 1;}
+
+.checkbox{padding:16rpx 32rpx;background-color: #efefef;
+	.chekt{display: flex;align-items: center;margin-right: 12rpx;height:88rpx;
+		view{text-align: center;
+			font-weight: bold;font-size: 26rpx;color: #374B61;width: 136rpx;word-break: break-all;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;white-space: normal;}
+		image{width: 16rpx;height: 12rpx;flex: 0 0 auto;margin-left: 4rpx;}
+	}
+}
+.reset{width:56rpx; height: 88rpx;display: flex;align-items: center;justify-content: center;
+	image{width: 26rpx;height: 30rpx;}
+}
+.topc{border-radius: 34rpx;height:68rpx;box-sizing: border-box;padding:0 28rpx;position: relative;flex:1;background-color:rgba(90, 135, 186, 0.2);width: 260rpx;
+	flex:1;margin-left: 20rpx;
+	input{font-weight: 500;font-size: 26rpx;color: #222327;}
+	image{width: 30rpx;height: 30rpx;margin-right: 16rpx;flex: 0 0 auto;}
+}
+.listbox{padding-top: 24rpx;padding-bottom: 100rpx;}
+.scanbox{position: fixed;left: 0;right: 0;bottom: 0;height: 100rpx;
+background: #00A9F0;font-weight: bold;font-size: 30rpx;color: #FFFFFF;
+	image{width: 30rpx;height: 30rpx;margin-right: 10rpx;}
+}
+</style>

+ 4 - 4
work/pages/prove/zctype.vue

@@ -1,16 +1,16 @@
 <template>
 <template>
 	<view class="zcbox">
 	<view class="zcbox">
 		<view class="flex1 zctop">
 		<view class="flex1 zctop">
-			<view class="tit">请选择注册类型</view>
-			<view class="txt">注册前请先按下方的《皖源融资担保有限公司担保材料清单》提 前准备各项资料,以便减少您的操作次数。</view>
+			<view class="tit">请选择申报类型</view>
+			<view class="txt">申报前请先按下方的《皖源融资担保有限公司担保材料清单》提 前准备各项资料,以便减少您的操作次数。</view>
 			<view class="zclist" @click="getywFn">
 			<view class="zclist" @click="getywFn">
 				<image :src="grimg" class="headimg"></image>
 				<image :src="grimg" class="headimg"></image>
-				<view>个人用户注册</view>
+				<view>个人用户申报</view>
 				<image :src="rimg" class="rimg"></image>
 				<image :src="rimg" class="rimg"></image>
 			</view>
 			</view>
 			<view class="zclist">
 			<view class="zclist">
 				<image :src="qyimg" class="headimg"></image>
 				<image :src="qyimg" class="headimg"></image>
-				<view>企业用户注册</view>
+				<view>企业用户申报</view>
 				<image :src="rimg" class="rimg"></image>
 				<image :src="rimg" class="rimg"></image>
 			</view>
 			</view>
 		</view>
 		</view>

BIN
work/static/images/editfile.png


BIN
work/static/images/prove/addqya.png