瀏覽代碼

显示修改

zouling 6 月之前
父節點
當前提交
1693e4d459
共有 3 個文件被更改,包括 17 次插入9 次删除
  1. 2 2
      manifest.json
  2. 10 5
      work/components/business/ewjcj.vue
  3. 5 2
      work/pages/business/details.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "皖源融资担保",
     "appid" : "__UNI__FA20DEF",
     "description" : "",
-    "versionName" : "1.2.6",
-    "versionCode" : 126,
+    "versionName" : "1.2.7",
+    "versionCode" : 127,
     "transformPx" : false,
     "app-plus" : {
         "usingComponents" : true,

+ 10 - 5
work/components/business/ewjcj.vue

@@ -75,7 +75,7 @@
 		</view>
 		<!-- 文件出具信息 -->
 		<view class="mt18" v-if="fileFj">
-			<block v-for="(ite,name, index) in fileFj" :key="index">
+			<view v-for="(ite,name, index) in fileFj" :key="index">
 				<view class="fjlists"  v-for="(fite,fidx) in ite" :key='fidx'>
 					<view class="flext flex1" @click="getDown(fite.url)">
 						<view class="imgl"><image :src="filico" ></image></view>
@@ -106,9 +106,10 @@
 						</template>
 						<text class="txta coa1" v-if="checkPermi(['system:fj:edit'])" @click="getfjXiu(name,fite.fjId)">修改</text>
 					</template>
+					<view class="upimg" @click="getXzFn(fite)"><image :src="fupimg"></image></view>
 					<text class="txta" @click="getDown(fite.url)">预览</text>
 				</view>
-			</block>
+			</view>
 			
 		</view>
 		<!-- <text class="txta" @click="getDown(fite.url)">预览</text> -->
@@ -127,6 +128,7 @@
 					</view>
 					<text class="txta coa1" v-if="checkPermi(['system:fj:edit'])" @click="getQtfjEdit('qtfj',fite.fjId)">修改</text>
 				</template>
+				<view class="upimg" @click="getXzFn(fite)"><image :src="fupimg"></image></view>
 				<text class="txta" @click="getDown(fite.url)">预览</text>
 			</view>
 		</view>
@@ -177,7 +179,7 @@
 	data(){
 		return{
 			upimg: require('@/work/static/images/up.png'),
-			fupimg:require('@/work/static/images/fup.png'),
+			fupimg:require('@/work/static/images/fdown.png'),
 			filico:require('@/work/static/images/filico.png'),
 			edit:require('@/work/static/images/edit.png'),
 			editf:require('@/work/static/images/editfile.png'),
@@ -219,6 +221,9 @@
 		getQmFn(url){
 			this.$emit('getQmFn',url)
 		},
+		getXzFn(ite){
+			this.$emit("getXzFn",ite)
+		},
 	},
 	
   }
@@ -229,10 +234,10 @@
 .txt{display: flex;align-items: flex-start;
 	view{font-weight: bold;font-size: 30rpx;color: #222327;}
 	text{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 46rpx;padding: 0 6rpx;}
-	.upimg{width:40rpx;height: 40rpx;margin-left: 18rpx;display: flex;align-items: center;justify-content: center;
+}
+.upimg{width:40rpx;height: 40rpx;margin-left: 18rpx;display: flex;align-items: center;justify-content: center;
 		image{width: 30rpx;height: 28rpx;}
 	}
-}
 .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
 	&:last-child{margin-bottom: 0;}
 	.imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;

+ 5 - 2
work/pages/business/details.vue

@@ -86,7 +86,7 @@
 					<dfjxx @getDown="getDown" :datainfo="datainfo" :declareFj="declareFj" :sbfjlist="sbfjlist" @getXzFn="getXzFn"></dfjxx>
 				</block>
 				<block v-if="tabval==4">
-					<ewjcj @getDown="getDown" :pfrom="pfrom" @getQmFn="getQmFn" :datainfo="datainfo"  @getDelwjFj="getDelwjFj" @getfjXiu="getfjXiu" @getfjEdit="getfjEdit" @getQtfjEdit="getQtfjEdit" :wjcjlist="wjcjlist" :qtfileFj="datainfo.otherFj" :fileFj="datainfo.fileFj"></ewjcj>
+					<ewjcj @getDown="getDown" :pfrom="pfrom" @getQmFn="getQmFn" :datainfo="datainfo"  @getDelwjFj="getDelwjFj" @getfjXiu="getfjXiu" @getfjEdit="getfjEdit" @getQtfjEdit="getQtfjEdit" :wjcjlist="wjcjlist" :qtfileFj="datainfo.otherFj" :fileFj="datainfo.fileFj" @getXzFn="getXzFn"></ewjcj>
 				</block>
 				<block v-if="tabval==5">
 					<fshxx @getDown="getDown" :shztlist="shztlist" :shjdlist="shjdlist"  :datalist="shlist" ></fshxx>
@@ -149,7 +149,7 @@
 				</template>
 				<template v-else>
 					<!-- a角色,管理员和可以全程修改 -->
-					<view class="fbtns bge" v-if="checkPermi(['system:application:edit'])&&(stepval<3||userId==datainfo.aUserId&&stepval>2||checkPermi(['*:*:*']))" @click="getedit">修改</view>
+					<view class="fbtns bge" v-if="checkPermi(['system:application:edit'])&&(userId==datainfo.aUserId&&stepval>2||checkPermi(['*:*:*']))" @click="getedit">修改</view>
 					<view class="fbtns bgc" v-if="checkPermi(['system:application:remove'])&&stepval<3" @click="getDel">删除</view>
 					<!-- 申诉状态除了修改,都不给 -->
 					<block v-if="datainfo.auditType!=4&&checkPermi(['system:application:sh'])&&datainfo.loanApplicationType==2">
@@ -970,6 +970,9 @@
 					}			
 				})
 				// #endif
+				// #ifndef APP-PLUS
+				this.getDown(path)
+				// #endif
 			},
 			getClose(){
 				this.type='';