xiaohaizhao 1 месяц назад
Родитель
Сommit
37ad6cce8b

+ 0 - 1
src/DRP/HDrpManagement/systemNotice/detail/index.vue

@@ -159,7 +159,6 @@ const priviewNotice = ()=>{
   visible.value = true
 }
 onMounted(()=>{
-  console.log('111')
   mainData()
 })
 </script>

+ 0 - 2
src/MAR/archivesMag/modules/add.vue

@@ -333,7 +333,6 @@ const addClass = async () => {
     }
   })
   selectAllTable()
-  console.log(res.data,'111');
   queryNoticeMain(res.data.sat_coursewareid)
 }
 
@@ -431,7 +430,6 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
   })
 }
 const addData = async (key,data,callback) => {

+ 0 - 1
src/MAR/archivesMag/modules/edit.vue

@@ -427,7 +427,6 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
   })
 }
 const addData = async (key,data,callback) => {

+ 1 - 2
src/MAR/assetsStore/modules/Add.vue

@@ -440,7 +440,6 @@ const addClass = async () => {
     }
   })
   selectAllTable()
-  console.log(res.data,'111');
   queryNoticeMain(res.data.sat_sharematerialid)
 }
 
@@ -558,7 +557,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 const addData = async (key,data,callback) => {

+ 1 - 1
src/MAR/assetsStore/modules/Edit.vue

@@ -502,7 +502,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 const addData = async (key,data,callback) => {

+ 1 - 1
src/MAR/extendManage/detail/modules/extendList/Add.vue

@@ -374,7 +374,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 let type = ref(1)

+ 1 - 1
src/MAR/extendManage/detail/modules/extendList/Edit.vue

@@ -366,7 +366,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 let type = ref(1)

+ 1 - 1
src/MAR/noticeManage/modules/addNotice.vue

@@ -449,7 +449,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 const addData = async (key,data,callback) => {

+ 1 - 1
src/MAR/noticeManage/modules/editNotice.vue

@@ -391,7 +391,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 
 }

+ 1 - 1
src/MAR/testManage/modules/Add.vue

@@ -351,7 +351,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 const addData = async (key,data,callback) => {

+ 1 - 1
src/MAR/testManage/modules/Edit.vue

@@ -316,7 +316,7 @@ const selectAllTable = async () => {
     "accesstoken": "aa8ff16868041aacfd9c768d879d655e"
   }).then(res => {
     roleObject.value.depArr = res.data
-    console.log(roleObject.value,'111');
+    
   })
 }
 

+ 3 - 33
src/components/photoWall/index.vue

@@ -31,7 +31,9 @@
           </template>
           <div
             style="display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative; cursor: pointer; overflow: hidden;">
-            <a-image v-if="isImageFile(item)" :preview="false" :src="item.cover" :style="{
+            <a-image v-if="isImageFile(item)" :preview="{
+              src: item.url,
+            }" :src="item.cover" :style="{
               width: '100%',
               height: '100%',
               objectFit: 'cover',
@@ -353,8 +355,6 @@ function beforeUpload(file) {
         method: "uploadSuccess",
         content: {
           serialfilename,
-          ownerid: props.ownerid,
-          ownertable: props.ownertable,
           usetype: "file",
         },
       }).then((feedback) => {
@@ -362,7 +362,6 @@ function beforeUpload(file) {
         if (feedback.code != 1)
           return (list.value[file.sequence].exception = "exception");
         const attachmentid = feedback.data.attachmentids[0];
-        return
         Api.requested({
           id: 20240407135802,
           content: {
@@ -375,35 +374,6 @@ function beforeUpload(file) {
           console.log("绑定", binding);
           if (binding.code != 1)
             return (list.value[file.sequence].exception = "exception");
-
-
-          // Api.requested({
-          //   id: "20240407140002",
-          //   content: {
-          //     ownerid: props.ownerid,
-          //     ownertable: props.ownertable,
-          //     pageNumber: 1,
-          //     pageSize: 100,
-          //     where: {
-          //       // condition: serialfilename,
-          //     },
-          //   },
-          // })
-          // .then((getList) => {
-          //   if (getList.code != 1)
-          //     return (list.value[file.sequence].exception = "exception");
-          //   list.value[file.sequence] = getList.data
-          //     .filter((v) => v.attachmentid == attachmentid)
-          //     .map((v) => {
-          //       if (v.attinfos && v.attinfos.length) {
-          //         v = Object.assign(v, v.attinfos[0]);
-          //         delete v.attinfos;
-          //       }
-          //       const subfile = v.subfiles && v.subfiles.length ? v.subfiles.find((s) => s.type == props.coverType) : null;
-          //       v.cover = props.coverType && subfile ? subfile.url : v.url;
-          //       return v;
-          //     })[0];
-          // });
         });
       });
     });