|
|
@@ -243,10 +243,10 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-row class="demo-uni-row uni-row1" :gutter="20">
|
|
|
<uni-col :xs="24" :sm="24" :md="10" :lg="10" :xl="10" class="mb-3">
|
|
|
- <cwg-file-picker-wrapper v-model="fileListID1.path" :editable="fileListID1.status != 2" :limit="1"
|
|
|
+ <cwg-file-picker-wrapper v-model="fileListID1.path" :disabled="fileListID1.status == 2" :limit="1" :delIcon="fileListID1.status != 2"
|
|
|
:fileMediatype="'all'" uploadUrl="/custom/file/upload/1" :baseUrl="updateUrl" :imageWidth="150"
|
|
|
:imageHeight="150" :showPreviewDelete="false" :canDelete="false" :uploadError="false"
|
|
|
- :showProgress="false" :canChoose="true" :showError="false" :show-progress="false" disablePreview
|
|
|
+ :showProgress="false" :showError="false"
|
|
|
:image-styles="imageStyle" @update:modelValue="(val) => handleFileUpdate(val, '1')"
|
|
|
customClass="avatar-uploader">
|
|
|
</cwg-file-picker-wrapper>
|
|
|
@@ -265,10 +265,10 @@
|
|
|
<!-- </view>-->
|
|
|
</uni-col>
|
|
|
<uni-col :xs="24" :sm="24" :md="10" :lg="10" :xl="10">
|
|
|
- <cwg-file-picker-wrapper v-model="fileListID2.path" :editable="fileListID2.status != 2" :limit="1"
|
|
|
+ <cwg-file-picker-wrapper v-model="fileListID2.path" :disabled="fileListID2.status == 2" :limit="1" :delIcon="fileListID2.status != 2"
|
|
|
:fileMediatype="'all'" uploadUrl="/custom/file/upload/2" :baseUrl="updateUrl" :imageWidth="150"
|
|
|
:imageHeight="150" :showPreviewDelete="false" :canDelete="false" :uploadError="false"
|
|
|
- :showProgress="false" :canChoose="true" :showError="false" :show-progress="false" disablePreview
|
|
|
+ :showProgress="false" :canChoose="true" :showError="false"
|
|
|
:image-styles="imageStyle" @update:modelValue="(val) => handleFileUpdate(val, '2')"
|
|
|
customClass="avatar-uploader">
|
|
|
</cwg-file-picker-wrapper>
|
|
|
@@ -456,7 +456,7 @@
|
|
|
</view>
|
|
|
<uni-row class="demo-uni-row uni-row1" :gutter="20">
|
|
|
<uni-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
|
- <cwg-file-picker-wrapper :limit="9" :multiple="true" :editable="true" :fileMediatype="'all'"
|
|
|
+ <cwg-file-picker-wrapper :limit="9" :multiple="true" :fileMediatype="'all'"
|
|
|
uploadUrl="/custom/file/upload/10" :baseUrl="updateUrl" :imageWidth="100" :imageHeight="60" noFileList
|
|
|
:showPreviewDelete="false" :canDelete="false" :uploadError="false" :showProgress="false"
|
|
|
:image-styles="imageStyle" @update:modelValue="(val) => handleFileUpdate(val, '10')"
|
|
|
@@ -468,9 +468,8 @@
|
|
|
</cwg-file-picker-wrapper>
|
|
|
<view class="fileList">
|
|
|
<view id="files" v-for="(item, index) in fileListOthers" :key="index">
|
|
|
-
|
|
|
<cwg-file-picker-wrapper customClass="list_upload" v-model="item.path"
|
|
|
- :editable="item.status != 2" :limit="1" :fileMediatype="'all'"
|
|
|
+ :disabled="item.status == 2" :limit="1" :fileMediatype="'all'"
|
|
|
:uploadUrl="'/custom/file/upload/10/' + item.id" :baseUrl="updateUrl" :uploadError="false"
|
|
|
:showProgress="false" :imageWidth="200" :imageHeight="150" :showPreviewDelete="true"
|
|
|
:disablePreview="true" :image-styles="imageStyle" :canChoose="true"
|