zhuzeyu před 11 měsíci
rodič
revize
9f9b08b398

+ 6 - 1
src/views/business/drawing/drawingDetail.vue

@@ -156,7 +156,7 @@
                 </div>
             </template>
         </el-dialog>
-        
+
     </div>
 </template>
 <script setup name="drawingDetails">
@@ -272,11 +272,16 @@ function handleDetailsFormChange() {
 
 function openDrawing() {
     window.open(drawingUrl.value)
+
+    // console.log(fileUrl + hostUrl + webHost + row.url,9797)
+    // console.log(document.location.protocol)
 }
 
 function handleSelectionChange(row) {
     currentDrawing.value = row
     drawingUrl.value = fileUrl + encodeURIComponent(Base64.encode(hostUrl + webHost + row.url))
+    console.log(hostUrl + webHost + row.url)
+    console.log(document.location)
 }
 
 /**文件数量超出的回调 */

+ 2 - 2
src/views/system/user/profile/index.vue

@@ -45,12 +45,12 @@
                 </el-upload>
               </li>
 
-              <li class="list-group-item" v-if="state.user.userId == 1">
+              <!-- <li class="list-group-item" v-if="state.user.userId == 1">
                 <el-upload  :action="webHost + '/common/upload'" :headers="headers" :limit="1" :on-success="handleSealSuccess"
                   :on-exceed="handleSealExceed" :before-upload="beforeUpload" :show-file-list="false">
                   <el-button  v-hasPermi="['business:electronicDrawings:publicSeal']" icon="Upload">上传公共章</el-button>
                 </el-upload>
-              </li>
+              </li> -->
             </ul>
           </div>
         </el-card>