|
|
@@ -288,7 +288,7 @@
|
|
|
:on-change="dealImgChange"
|
|
|
:before-upload="beforeAvatarUpload"
|
|
|
multiple
|
|
|
- :limit="20"
|
|
|
+ :limit="12"
|
|
|
:on-exceed="handleExceed"
|
|
|
list-type="picture-card"
|
|
|
:file-list="sfzList"
|
|
|
@@ -566,14 +566,14 @@ export default {
|
|
|
this.reset();
|
|
|
const scyId = row.scyId || this.ids;
|
|
|
getFund(scyId).then((response) => {
|
|
|
- console.log(response);
|
|
|
this.form = response.data.list[0];
|
|
|
if (response.data.data && response.data.data.length != 0) {
|
|
|
- this.sfzList.push({
|
|
|
- uid: response.data.data[0].uid,
|
|
|
- url: response.data.data[0].pfiUrl + "/" + getToken(),
|
|
|
- });
|
|
|
-
|
|
|
+ for(var i = 0;i<response.data.data.length;i++){
|
|
|
+ this.sfzList.push({
|
|
|
+ uid: response.data.data[i].uid,
|
|
|
+ url: response.data.data[i].pfiUrl + "/" + getToken(),
|
|
|
+ });
|
|
|
+ }
|
|
|
this.noneBtnImg = true;
|
|
|
}
|
|
|
this.open = true;
|
|
|
@@ -590,10 +590,12 @@ export default {
|
|
|
console.log(response);
|
|
|
this.form = response.data.list[0];
|
|
|
if (response.data.data && response.data.data.length != 0) {
|
|
|
- this.sfzList.push({
|
|
|
- name: "合作协议",
|
|
|
- url: response.data.data[0].pfiUrl + "/" + getToken(),
|
|
|
- });
|
|
|
+ for(var i = 0;i<response.data.data.length;i++){
|
|
|
+ this.sfzList.push({
|
|
|
+ uid: response.data.data[i].uid,
|
|
|
+ url: response.data.data[i].pfiUrl + "/" + getToken(),
|
|
|
+ });
|
|
|
+ }
|
|
|
this.noneBtnImg = true;
|
|
|
}
|
|
|
this.open = true;
|