From f39bc9d667e68526c79387d754e6304a80825ef5 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Tue, 24 Mar 2020 22:07:59 +0800 Subject: [PATCH] 提交 --- SunshineIns/src/page/ApplyForEdit.jsx | 4 ++-- SunshineIns/src/fetch/_fetch.js | 2 +- SunshineLnsMinApp/pages/xsjb/xsjb.wxml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SunshineIns/src/fetch/_fetch.js b/SunshineIns/src/fetch/_fetch.js index c9e22ba..c922b3f 100644 --- a/SunshineIns/src/fetch/_fetch.js +++ b/SunshineIns/src/fetch/_fetch.js @@ -6,7 +6,7 @@ // export const base = 'http://1p885086k1.iok.la'; - export const base = 'http://localhost:6060'; +// export const base = 'http://localhost:8080'; export const domain = base + '/nsjc-charge/'; diff --git a/SunshineIns/src/page/ApplyForEdit.jsx b/SunshineIns/src/page/ApplyForEdit.jsx index 7a102bd..bd5a04b 100644 --- a/SunshineIns/src/page/ApplyForEdit.jsx +++ b/SunshineIns/src/page/ApplyForEdit.jsx @@ -242,7 +242,7 @@ }, fileList: fileList, onDownload: (file) => { - Fetch.attachmentDownload(file.id) + Fetch.attachmentDownload(file.uid) .then(res => { message.success("下载成功!"); }); @@ -294,7 +294,7 @@ </div> { - savedate ? + savedate.status ? <div style={{ display: 'flex', justifyContent: 'center' }}> <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> </div> diff --git a/SunshineLnsMinApp/pages/xsjb/xsjb.wxml b/SunshineLnsMinApp/pages/xsjb/xsjb.wxml index f0cf6ce..12a76f7 100644 --- a/SunshineLnsMinApp/pages/xsjb/xsjb.wxml +++ b/SunshineLnsMinApp/pages/xsjb/xsjb.wxml @@ -50,7 +50,7 @@ <div class="activity-uploadImage"> <view class="educt_hasupload_pic" wx:for="{{evalList.evalList1000}}" wx:key="index"> <image src="{{item.pic}}" class="upload" bindtap="previewImage" data-src="{{item.pic}}"></image> - <image src="{{del}}" bindtap='clearImg' data-index="{{index}}" id="{{item.id}}" data-associatetypeid="{{1000}}"></image> + <image src="{{del}}" class="{{imgdisabled? 'displayNone':'activity-uploadImag-del'}}" bindtap='clearImg' data-index="{{index}}" id="{{item.id}}" data-associatetypeid="{{1000}}"></image> </view> <view bindtap="joinPicture" data-index="{{0}}" data-associatetypeid="{{1000}}"> <image class="{{disabled? 'educt_upload_add activity-uploadImag-icon':'displayNone activity-uploadImag-icon'}}" src="{{add}}"></image> -- Gitblit v1.8.0