zouling 1 rok temu
rodzic
commit
6ff66dd86c

+ 8 - 1
api/mine/card.js

@@ -113,6 +113,13 @@ export function getChangeFace(data) {
   })
 }
 
-
+// word文档签名
+export function getWordFilePath(data) {
+  return request({
+    'url': '/word/wordFilePath',
+    'method': 'post',
+	'data':data
+  })
+}
 
 

+ 4 - 1
pages/custom/index.vue

@@ -78,7 +78,10 @@
 	onUnload() {
 		uni.$off('refreshdatalist')
 	},
-	onLoad: function() {
+	onLoad: function(e) {
+		if(e.name){
+			this.usename=e.name
+		}
 		// uni.$on('refreshdatalist',(e) => {
 		// 	this.reachflag=false;
 		// 	this.pageNum=1;

+ 45 - 8
pages/index/index.vue

@@ -34,7 +34,7 @@
 						<view class="img"><image :src="topbimg" class="imgb"></image></view>
 						<view>担保初审</view>
 					</view>
-					<view class="grid-item-box" >
+					<view class="grid-item-box" @click="getMoreFn" v-if="checkPermi(['system:hyperlink:list'])">
 						<view class="img"><image :src="topcimg" class="imgc"></image></view>
 						<view>外部工具</view>
 					</view>
@@ -108,6 +108,12 @@
 				<wait-list type='dbtx' :datalist="list" :wtdt="wtdt"  @getDetail="getDetail"></wait-list>
 			</view>
 		</view>
+	<view class="bgbox" @click="getClose" v-if="mtype" style="z-index: 100;"></view>
+	<view v-if="mtype" class="morebox">
+		<view class="molists">
+			<view v-for="(ite,idx) in linkList" :key="idx" @click="getWebUel(ite.url)">{{ite.name}}</view>
+		</view>
+	</view>
 	<pop-up :type="type" :initFace="initFace" @getFaFn="getFaFn" @getClose="getClose" @getXxwsFn="getXxwsFn"></pop-up>
 	<footers v-if="isfootflag"  :footerindex="footerindex"  :isHomeIndex="true"></footers>
   </view>
@@ -120,6 +126,7 @@
 	import {getRemindList,getNoticeList,getbannerList} from "@/api/common.js"
 	import {getChangeFace} from "@/api/mine/card.js"
 	import {getDictionaryFn} from "@/api/mine/register.js"
+	import {getHyperlinkList} from "@/api/mine/work.js"
 	import popUp from "@/components/popup/popup.vue"
 	import banner from "@/components/toptab/banner.vue"
 	import hNotice from '@/components/swiper/notice.vue'
@@ -171,6 +178,7 @@
 			initFace:'Y',//initFace Y不需要,N需要人脸认证
 			bannerlist:[],
 			metaInfo:'',
+			mtype:false,
 		}
 	},
 	onPageScroll(e) {
@@ -209,6 +217,9 @@
 		if(checkPermi(['system:remind:list'])){
 			this.getDataFn()
 		}
+		if(checkPermi(['system:hyperlink:list'])){
+			this.getHyperlinkList()
+		}
 		this.getNoticeFn()
 		this.getbannerList()
 		uni.getSystemInfo({
@@ -232,11 +243,31 @@
 	methods:{
 		checkPermi, checkRole,
 		getClose(){
-			this.type=''
+			this.type='';
+			this.mtype=false;
 		},
 		getXxwsFn(){
 			this.$tab.navigateTo(`/work/pages/prove/index`)
 		},
+		getMoreFn(){
+			console.log(123)
+			this.mtype=true;
+		},
+		getWebUel(url){
+			this.mtype=false;
+			this.$tab.navigateTo("/pages/common/webview/index?url="+url)
+		},
+		// 外部链接
+		getHyperlinkList(){
+			var params={
+				type:1
+			}
+			getHyperlinkList(params).then(res=>{
+				if(res.code==200){
+					this.linkList=res.rows
+				}
+			})
+		},
 		getFaFn(type,ptype){
 			if(ptype=='zcta'){
 				if(type=='new'){
@@ -269,11 +300,11 @@
 			return
 		},
 		getConfirm(){
-			// this.$tab.navigateTo("/pages/order/list")
-			// this.init()
+			this.$tab.reLaunch('/pages/custom/index?name='+this.usename)
 		},
 		getProveFn(){
-			this.$tab.navigateTo("/work/pages/prove/zctype")
+			// this.$tab.navigateTo("/work/pages/prove/zctype")
+			this.$tab.navigateTo("/work/pages/business/add")
 		},
 		getBusListFn(type,from){
 			// this.$tab.navigateTo("/work/pages/business/list?type="+type)
@@ -344,9 +375,6 @@
 				}
 			})
 		},
-		getMoreFn(){
-			this.$tab.navigateTo("/pages/order/list")
-		},
 		time() {
 			var date = new Date();
 			var y = date.getFullYear();
@@ -508,4 +536,13 @@
 		}
 	}
 }
+.morebox{
+	position: fixed;left: 0;right: 0;bottom: 0;z-index: 110;
+	.molists{
+		view{width: 100%;background: #ffffff;font-weight: 500;font-size: 30rpx;color: #222327;border-bottom: 2rpx solid #E6E6E6;min-height: 100rpx;display: flex;align-items: center;justify-content: center;padding: 10rpx;
+		box-sizing: border-box;
+		 &.mcoa{color: #00A9F0;}
+		}
+	}
+}
 </style>

+ 3 - 6
pages/mine/index.vue

@@ -287,13 +287,10 @@
 			getCount(type){
 				var params={
 					type:type,
+					params:{
+						beginTime:type==1?this.year:this.monthtime
+					}
 				}
-				if(type==1){
-					params['params[beginTime]']=this.year
-				}else{
-					params['params[beginTime]']=this.monthtime
-				}
-				
 				getCount(params).then(res=>{
 					if(res.code==200){
 						if(type==1){

+ 2 - 1
pages/work/index.vue

@@ -258,7 +258,8 @@
 				loanApplicationType:4,
 			}
 			if(this.sbnd){
-				params.createTime=this.sbnd
+				// params.beginTime=this.sbnd
+				params['params[beginTime]']=this.sbnd
 			}
 			if(this.usename){
 				params.enterpriseName=this.usename

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

@@ -10,10 +10,10 @@
 			</view>
 			</view>
 			<!-- v-if="ite.qflag" -->
-			<view class="edit" v-if="ite.val=='psyjqpb'||ite.val=='gdhyjy'||ite.val=='wtdbht'">
+			<!-- <view class="edit" v-if="ite.val=='psyjqpb'||ite.val=='gdhyjy'||ite.val=='wtdbht'" @click="getQmFn">
 				<image :src="edit"></image>
 				<view>在线签名</view>
-			</view>
+			</view> -->
 			<!-- <view class="flex1"></view>
 			<text class="txta" @click="getDown(ite.val)">预览</text> -->
 		</view>
@@ -25,6 +25,10 @@
 					<view class="imgl"><image :src="filico" ></image></view>
 					<view class="tit">{{fite.name}}</view>
 				</view>
+				<view class="edit" v-if="ite.val=='psyjqpb'||ite.val=='gdhyjy'||ite.val=='wtdbht'" @click="getQmFn(fite.url)">
+					<image :src="edit"></image>
+					<view>在线签名</view>
+				</view>
 				<view class="delimg flex0" v-if="checkPermi(['system:fj:remove'])" @click.stop="getDelwjFj(fite.fjId)">
 					<image :src="fdelimg"></image>
 				</view>
@@ -137,6 +141,9 @@
 		getDelwjFj(id){
 			this.$emit('getDelwjFj',id)
 		},
+		getQmFn(url){
+			this.$emit('getQmFn',url)
+		},
 	},
 	
   }

+ 74 - 17
work/pages/business/details.vue

@@ -72,7 +72,7 @@
 					<dfjxx @getDown="getDown" :datainfo="datainfo" :declareFj="datainfo.declareFj" :sbfjlist="sbfjlist" @getXzFn="getXzFn"></dfjxx>
 				</block>
 				<block v-if="tabval==4">
-					<ewjcj @getDown="getDown" :datainfo="datainfo"  @getDelwjFj="getDelwjFj" @getfjEdit="getfjEdit" :wjcjlist="wjcjlist" :qtfileFj="datainfo.otherFj" :fileFj="datainfo.fileFj"></ewjcj>
+					<ewjcj @getDown="getDown" @getQmFn="getQmFn" :datainfo="datainfo"  @getDelwjFj="getDelwjFj" @getfjEdit="getfjEdit" :wjcjlist="wjcjlist" :qtfileFj="datainfo.otherFj" :fileFj="datainfo.fileFj"></ewjcj>
 				</block>
 				<block v-if="tabval==5">
 					<fshxx @getDown="getDown" :shjdlist="shjdlist"  :datalist="shlist" ></fshxx>
@@ -131,7 +131,7 @@
 				<!-- <block v-if="auditSchedule>1&&stepval<3"> -->
 				<block v-if="checkRole(['manager'])">
 					<view class="fbtns bgb" @click="getfjEdit('dbyxh')">上传文件</view>
-					<view class="fbtns bga">查看担保意向函</view>
+					<view class="fbtns bga" @click="getIssureFn(3)">出具担保意向函</view>
 				</block>
 				<!-- 风险部门 start-->
 				<block v-if="stepval==5&&checkRole(['auditing_risk'])">
@@ -152,17 +152,16 @@
 					<view class="fbtns bgb" @click="getMoreFn('htsc')">上传附件</view>
 					<view class="fbtns bga" @click="getMoreFn('htqy')">出具合同</view>
 				</block>
-				<!-- <view class="fbtns bga" @click="getqmFn">签名</view> -->
 				<!-- 合同签约end -->
 				<!-- 风险部放款 start-->
 				<block v-if="stepval==8">
 					<view class="fbtns bgb" @click="getfjEdit('fkhgb')">上传附件</view>
-					<view class="fbtns bga" @click="">出具放款合规表</view>
+					<view class="fbtns bga" @click="getIssureFn(14)">出具放款合规表</view>
 				</block>
 				<!-- end -->
 				<block v-if="stepval==9">
-					<!-- <view class="fbtns bgb" @click="getfjEdit('fktzs')">上传附件</view> -->
-					<view class="fbtns bga" @click="">放款通知书</view>
+					<view class="fbtns bgb" @click="getfjEdit('fktzs')">上传附件</view>
+					<view class="fbtns bga" @click="getIssureFn(4)">放款通知书</view>
 				</block>	
 				<view class="fbtns bga" v-if="stepval==9&&datainfo.loanApplicationType!=4" @click="getGdFn">一键归档</view>
 			</view>
@@ -183,7 +182,7 @@
 				<!-- 更多操作 -->
 				<block v-if="mtype=='fxmore'">
 					<view @click="getShFn('fxbmsh')" v-if="auditSchedule==6&&checkPermi(['system:application:sh'])">审核</view>
-					<view>出具材料合规表</view>
+					<view @click="getIssureFn(13)">出具材料合规表</view>
 					<!-- <view @click="getfjEdit('clhgb')">上传附件</view> -->
 					<view @click="getfjEdit('clhgb')">上传材料合规表</view>
 					<view v-if="checkPermi(['system:application:cx'])" @click="getCxFn">撤回</view>
@@ -191,8 +190,9 @@
 				<!-- 风险部门 end -->
 				<!-- 上会管理员 start -->
 				<block v-if="mtype=='shmore'">
-					<view>出具评审意见签批表</view>
-					<view>上会纪要</view>
+					<view @click="getIssureFn(12)">出具评审意见签批表</view>
+					<!-- <view @click="getIssureFn()">上会纪要</view> -->
+					<view @click="getIssureFn(11)">出具股东会决议</view>
 					<view @click="getfjEdit('psyjqpb')">上传评审意见签批表</view>
 					<view @click="getfjEdit('gdhyjy')">上传上会纪要</view>
 				</block>
@@ -213,14 +213,16 @@
 					<!-- 其他附件 都给放 -->
 				</block>
 				<block v-if="mtype=='htqy'">
-					<view @click="get">委托保证合同</view>
+					<view @click="getIssureFn(2)">委托保证合同</view>
 					<block v-if="datainfo.guaranteeType=='2'">
-						<view>保证反担保合同(法人)</view>
-						<view>保证反担保合同(自然人)</view>
+						<view @click="getIssureFn(5)">保证反担保合同(法人)</view>
+						<view @click="getIssureFn(6)">保证反担保合同(自然人)</view>
 					</block>
 					<block v-if="datainfo.guaranteeType=='1'">
-						<view>抵押反担保合同(法人)</view>
-						<view>抵押反担保合同(自然人)</view>
+						<view @click="getIssureFn(7)">抵押反担保合同(法人)</view>
+						<view @click="getIssureFn(8)">抵押反担保合同(自然人)</view>
+						<!-- <view @click="getIssureFn(9)">权利质权反担保合同(适用于法人)</view>
+						<view @click="getIssureFn(10)">权利质权反担保合同(适用于自然人)</view> -->
 					</block>
 				</block>
 				<!-- 合同签约 end -->
@@ -249,7 +251,7 @@
 	import {uploadmore,selectValue} from '@/utils/common.js'
 	import {getDictionaryFn} from "@/api/mine/register.js"
 	import {getUsernoPageList,getFjAdd,getFjDel} from "@/api/common.js"
-	import {getApplicationDet,getScheduleList,getHyperlinkList,getApplicationDel,getApplicationSh,getCommentsList,getApplicationSs,getApplicationCx,getapplicationGd,getapplicationXib} from "@/api/mine/work.js"
+	import {getApplicationDet,getScheduleList,getHyperlinkList,getApplicationDel,getApplicationSh,getCommentsList,getApplicationSs,getApplicationCx,getapplicationGd,getapplicationXib,getExportMb} from "@/api/mine/work.js"
 	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
 	export default{
 		components:{aqyxx,bfrxx,cfdbrxx,dfjxx,ewjcj,fshxx,popUp},
@@ -638,6 +640,61 @@
 					this.getCommentsList()
 				}
 			},
+			// 出具
+			getIssureFn(type){
+				var that=this;
+				var params={
+					type:type,
+					loanApplicationId:this.id,
+				}
+				getExportMb(params).then(res=>{
+					if(res.code==200){
+						var data=res.data;
+						var path=data.path;
+						var name=data.fileName;
+						this.getDown(path)
+						// that.getDownloader(path,name)
+					}
+				})
+			},
+			getDownloader(path,name){
+				console.log(url)
+				var that=this;
+				// var url='http://192.168.101.245:8056/profile/upload/RZDB202405101456481709599/上一年度财务报表_20240510151142A015.xlsx'
+				// #ifdef APP-PLUS
+				var url = baseUrl + path;
+				let dtask = plus.downloader.createDownload(url, {
+					filename: 'file://storage/emulated/0/'+baseName+'/' + name
+				}, (d, status) => {
+					//d为下载的文件对象
+					if (status == 200) {
+						uni.hideLoading();
+						uni.showToast({
+							icon: 'none',
+							mask: true,
+							title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
+							duration: 3000,
+						});
+						
+						//下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
+						let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
+						setTimeout(() => {
+							plus.runtime.openFile(d.filename); //选择软件打开文件
+						}, 1500)
+					} else {
+						//下载失败
+						uni.hideLoading();
+						plus.downloader.clear(); //清除下载任务
+						uni.showToast({
+							icon: 'none',
+							mask: true,
+							title: '下载失败,请稍后重试',
+						});
+					}
+				})
+				dtask.start();	
+				// #endif
+			},
 			getClose(){
 				this.type='';
 				this.mtype='';
@@ -834,8 +891,8 @@
 					this.type='ywjd'
 				}
 			},
-			getqmFn(){
-				this.$tab.navigateTo("/work/pages/business/sign")
+			getQmFn(url){
+				this.$tab.navigateTo("/work/pages/business/sign?url="+encodeURIComponent(JSON.stringify(url)))
 			},
 			getDel(){
 				var that=this;

+ 56 - 68
work/pages/business/sign.vue

@@ -29,6 +29,9 @@
 </template>
 
 <script>
+	import {getWordFilePath} from "@/api/mine/card.js"
+	import config from '@/config'
+	const baseUrl = config.baseUrl
 	export default {
 		data() {
 			return {
@@ -58,12 +61,18 @@
 				lastPoint: 0,
 				chirography: [], //笔迹
 				currentChirography: {}, //当前笔迹
-				linePrack: [] //划线轨迹 , 生成线条的实际点
+				linePrack: [] ,//划线轨迹 , 生成线条的实际点
+				url:'d://test.docx',
 			};
 		},
+		onLoad(e) {
+			if(e.url){
+				this.url=JSON.parse(decodeURIComponent(e.url));
+			}
+		},
 		mounted() {
 			let canvasName = this.canvasName;
-			let ctx = wx.createCanvasContext(canvasName);
+			let ctx = uni.createCanvasContext(canvasName);
 
 			this.ctx = ctx;
 			var that=this;
@@ -72,10 +81,10 @@
 					// console.log(rect,1)
 					that.canvasWidth =Math.floor(rect.width)||300 ;
 					that.canvasHeight = Math.floor(rect.height)||150;
-					console.log(that.canvasWidth)
-					console.log(that.canvasHeight)
+					// console.log(that.canvasWidth)
+					// console.log(that.canvasHeight)
 					/* 将canvas背景设置为 白底,不设置  导出的canvas的背景为透明 */
-					that.setCanvasBg('#fff');
+					// that.setCanvasBg('#fff');
 				})
 				.exec();
 		},
@@ -203,7 +212,7 @@
 				this.ctx.draw();
 
 				//设置canvas背景
-				this.setCanvasBg('#fff');
+				// this.setCanvasBg('#fff');
 			},
 			//画两点之间的线条;参数为:line,会绘制最近的开始的两个点;
 			pointToLine(line) {
@@ -420,14 +429,14 @@
 				//这种写法移动端 出不来
 
 				this.ctx.draw(true, () => {
-					wx.canvasToTempFilePath({
+					uni.canvasToTempFilePath({
 						canvasId: 'handWriting',
 						fileType: 'png',
 						quality: 1, //图片质量
 						success(res) {
 							// console.log(res.tempFilePath, 'canvas生成图片地址');
 
-							wx.showToast({
+							uni.showToast({
 								title: '执行了吗?'
 							});
 
@@ -439,20 +448,20 @@
 			//完成
 			subCanvas() {
 				this.ctx.draw(true, () => {
-					wx.canvasToTempFilePath({
+					uni.canvasToTempFilePath({
 						canvasId: 'handWriting',
 						fileType: 'png',
 						quality: 1, //图片质量
 						success(res) {
 							// console.log(res.tempFilePath, 'canvas生成图片地址');
-							wx.showToast({
+							uni.showToast({
 								title: '以保存'
 							});
 							//保存到系统相册
-							wx.saveImageToPhotosAlbum({
+							uni.saveImageToPhotosAlbum({
 								filePath: res.tempFilePath,
 								success(res) {
-									wx.showToast({
+									uni.showToast({
 										title: '已成功保存到相册',
 										duration: 2000
 									});
@@ -468,10 +477,10 @@
 				/*
 				this.canvasToImg( tempImgPath=>{
 					// console.log(tempImgPath, '临时路径');
-					wx.saveImageToPhotosAlbum({
+					uni.saveImageToPhotosAlbum({
 						filePath: tempImgPath,
 						success(res) {
-							wx.showToast({
+							uni.showToast({
 								title: '已保存到相册',
 								duration: 2000
 							});
@@ -480,7 +489,7 @@
 				} );
 		*/
 				var that=this;
-				wx.canvasToTempFilePath({
+				uni.canvasToTempFilePath({
 					canvasId: 'handWriting',
 					fileType: 'png',
 					quality: 1, //图片质量
@@ -488,11 +497,10 @@
 						// 旋转图片90度在上传
 						//绘制canvas 旋转图片
 						let tempFilePaths = res.tempFilePath;
-						wx.getImageInfo({ // 获取图片的信息
+						uni.getImageInfo({ // 获取图片的信息
 							src: tempFilePaths,
 							success: (msg) => {
-								let canvas = wx.createCanvasContext('hcamCacnvs',that);
-								canvas.fillStyle = '#fff';
+								let canvas = uni.createCanvasContext('hcamCacnvs',that);
 								var canvasWidth=that.canvasWidth/2
 								var canvasHeight=that.canvasHeight/2
 								// 逆时针旋转90度
@@ -507,41 +515,33 @@
 								 			canvasId: 'hcamCacnvs',
 								 			fileType: 'png',
 								 			quality: 1, //图片质量
+											destWidth:canvasHeight/2,
+											destHeight:canvasWidth/2,
 								 			success(vas) {
-												uni.saveImageToPhotosAlbum({
-													filePath: vas.tempFilePath,
-													success(res) {
-														wx.showToast({
-															title: '已保存到相册',
-															duration: 2000
-														});
-													}
-												});
-												// uni.uploadFile({
-												// 	url: uni.getStorageSync(
-												// 			'requestPath') +
-												// 		'/app/contract/getSign', //仅为示例,非真实的接口地址
+												 const savedFilePath = vas.tempFilePath //相对路径
+												 const path = plus.io.convertLocalFileSystemURL(savedFilePath) //绝对路径
+												 const fileReader = new plus.io.FileReader()
+												 fileReader.readAsDataURL(path)
+												 fileReader.onloadend = (resa) => { //读取文件成功完成的回调函数
+												 	var result=resa.target.result;
+												 	// console.log(result,2) 
+												 	var params={
+												 		wordFilePath:baseUrl+that.url,
+												 		image:result
+												 	}
+												     getWordFilePath(params).then(resb=>{
+												 		if(resb.code==200){
+												 			that.$toast('签名成功')
+												 		}
+												 	})
+												 }
+												// uni.saveImageToPhotosAlbum({
 												// 	filePath: vas.tempFilePath,
-												// 	name: 'file',
-												// 	formData: {
-												// 		'contractId': that
-												// 			.contractId // 上传附带参数
-												// 	},
-												// 	success: (
-												// 		uploadFileRes) => {
-												// 		// 根据接口具体返回格式   赋值具体对应url
-												// 		console.log(
-												// 			uploadFileRes
-												// 		)
+												// 	success(res) {
 												// 		uni.showToast({
-												// 			title: '签名成功',
-												// 			duration: 500
+												// 			title: '已保存到相册',
+												// 			duration: 2000
 												// 		});
-												// 		setTimeout(() => {
-												// 			uni.navigateBack({
-												// 				delta: 1
-												// 			});
-												// 		}, 500)
 												// 	}
 												// });
 								 			},
@@ -550,34 +550,22 @@
 								 			}
 								 		}) 
 								 	
-								 })
-								
+								 })	
 							}
 						})
-						return 
-						// console.log(res.tempFilePath, 'canvas生成图片地址');
-						wx.saveImageToPhotosAlbum({
-							filePath: res.tempFilePath,
-							success(res) {
-								wx.showToast({
-									title: '已保存到相册',
-									duration: 2000
-								});
-							}
-						});
 					}
 				});
 			},
 			//预览
 			previewCanvasImg() {
-				wx.canvasToTempFilePath({
+				uni.canvasToTempFilePath({
 					canvasId: 'handWriting',
 					fileType: 'jpg',
 					quality: 1, //图片质量
 					success(res) {
 						// console.log(res.tempFilePath, 'canvas生成图片地址');
 
-						wx.previewImage({
+						uni.previewImage({
 							urls: [res.tempFilePath] //预览图片 数组
 						});
 					}
@@ -585,7 +573,7 @@
 
 				/*	//移动端出不来  ^~^!!
 						this.canvasToImg( tempImgPath=>{
-							wx.previewImage({
+							uni.previewImage({
 								urls: [tempImgPath], //预览图片 数组
 							})
 						} );
@@ -594,7 +582,7 @@
 			//上传
 			uploadCanvasImg() {
 
-				wx.canvasToTempFilePath({
+				uni.canvasToTempFilePath({
 					canvasId: 'handWriting',
 					fileType: 'png',
 					quality: 1, //图片质量
@@ -602,7 +590,7 @@
 						// console.log(res.tempFilePath, 'canvas生成图片地址');
 						
 						//上传
-						wx.uploadFile({
+						uni.uploadFile({
 							url: 'https://example.weixin.qq.com/upload', // 仅为示例,非真实的接口地址
 							filePath: res.tempFilePath,
 							name: 'file_signature',
@@ -663,7 +651,7 @@ font-size: 30rpx;border-radius: 20rpx;position: absolute;left: -46rpx;transform:
 	}
 
 	.handWriting {
-		background: #fff;
+		// background: transparent;
 		width: 100%;
 		height: 100%;
 	}

+ 2 - 2
work/pages/custom/details.vue

@@ -108,7 +108,7 @@
 				})
 			},
 			getDetail(e){
-				this.$tab.navigateTo("/work/pages/business/details?id=6")
+				this.$tab.navigateTo("/work/pages/business/details?id="+e)
 			},
 			getZheFn(idx){
 				this.zheList[idx].zheflag=!this.zheList[idx].zheflag
@@ -121,7 +121,7 @@
 							this.qylist=JSON.parse(JSON.stringify(res.data.sysUserEnterpriseList))||[]
 						}
 						if(res.data.loanApplicationList){
-							this.dblxlist=JSON.parse(JSON.stringify(res.data.loanApplicationList))||[]
+							this.sdjllist=JSON.parse(JSON.stringify(res.data.loanApplicationList))||[]
 						}
 					}
 				})